Skip to content

flurdy/agent-skills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Skills

AI agent skills shared across clients and machines. These are the common building blocks that get assembled into active AI agent skill sets for Claude or Codex, and other AI agents.

Using the skills

  1. Clone this repo.

    git clone https://github.com/flurdy/agent-skills.git

  2. Apply the changes from the agent-skills/ folder.

    make apply

  3. Verify skills are in ~/.claude/skills.

Skills are symlinked directly into ~/.claude/skills/, coexisting with any skills you already have there.

Layout

  • skills/: each skill lives in its own folder with a SKILL.md
  • Optional: assets/, scripts/, or references/ inside a skill folder if needed
agent-skills/
  skills/
    common-skill/
      SKILL.md
  assemble.sh
  Makefile

Private skills

If you have machine- or client-specific skills or overrides, you can create a sibling repo named agent-skills-private/ alongside this agent-skills/ repo.

(You are free to name it something else, but you'll need to set the PRIVATE_REPO environment variable, see below).

This agent-skills-private/ repo is optional, and can be kept private and secure. With both repos the layout is this:

agent-skills/
  skills/
    common-skill/
      SKILL.md
  assemble.sh
  Makefile
agent-skills-private/
  clients/
    my-client/
      skills/
         my-private-skill/
           SKILL.md
   machines/
     my-machine/
       skills/
         my-machine-skill/
           SKILL.md
   profiles/
     my-machine-profile.env

You can then specify machine or clients specific skills to use:

make apply MACHINE=my-machine CLIENTS="my-client my-other-client"

Or instead configure private/profiles/my-machine-profile.env with:

MACHINE=my-machine
CLIENTS="my-client my-other-client"

make apply PROFILE=my-machine-profile to do the same

Layering order

When applying skills, if a skill exists in multiple places, the layering order is:

  1. Shared skills from agent-skills/skills/
  2. Private machine skills from agent-skills-private/machines/<machine>/skills/
  3. Private client skills from agent-skills-private/clients/<client>/skills/

Common vars

Set these as environment variables, or accept the defaults.

Path to shared repo (this repo):

  • SHARED_REPO=/path/to/agent-skills

Path to optional private repo:

  • PRIVATE_REPO=/path/to/agent-skills-private

Path to skills directory (can be Codex or Claude):

  • SKILLS_DIR=$HOME/.claude/skills

There is an example in .env.example you can use, and an example .envrc.example file if you use direnv.

Adding a new skill

  1. Create a folder under skills/
  2. Add a SKILL.md with the skill's instructions and triggers
  3. Keep it focused and general-purpose
  4. If you need supporting material, add it inside the skill folder
  5. Test by running make apply and verifying it appears in ~/.claude/skills

Coexisting with existing skills

This tool is designed to coexist with skills you already have in ~/.claude/skills/:

  • Apply creates symlinks directly in your skills folder, alongside existing skills
  • Clean only removes symlinks that point to our repos, leaving your own skills untouched
  • Collision handling: If a skill name already exists and isn't managed by us, apply will error out and the pre-existing skill wins. Remove it manually if you want to use the managed version instead.

After running make apply, your skills folder might look like this:

~/.claude/skills/
  create-pr/       -> /path/to/agent-skills/skills/create-pr       (managed symlink)
  jira-ticket/     -> /path/to/agent-skills/skills/jira-ticket     (managed symlink)
  rebase-main/     -> /path/to/agent-skills/skills/rebase-main     (managed symlink)
  my-custom-skill/                                                  (your own skill)
  another-skill/   -> /some/other/path/skill                        (your own symlink)

Cleaning up

Running make clean will only remove the symlinks pointing to agent-skills/ or agent-skills-private/, leaving my-custom-skill/ and another-skill/ untouched.

Bugs and pull requests

Creator

Created by flurdy (https://flurdy.com).

License

MIT License. See LICENSE file.

About

Shared AI agent skills

Topics

Resources

License

Stars

Watchers

Forks