agentleFS
89jobrien89jobrien/godmode/skills/agents-skill-save/SKILL.md

agents-skill-save

Skill1 starsChanged 57 days agoMITView on GitHub

Use when creating a new local skill, or when an existing skill was saved to the wrong skills tree. Explains which of ~/.claude/skills, ~/.agents/skills, ~/dev/godmode/skills, and ~/.notfiles/claude/.claude/skills is canonical, and which are projections of it.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the same skill exists in more than one canonical tree (this has happened — herald-sync drifted between ~/.agents and notfiles), pick one …

    line 76
  2. Very specific:

    Prefer repo-relative references (references/foo.md, scripts/bar.sh) over absolute ~/...

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Agents Skill Save

Which tree is which

There is no single "active" tree. Both ~/.claude/skills and ~/.agents/skills are on the harness search path, and ~/.claude/skills is a projection of the canonical sources below — never a source itself:

PathWhat it actually is
~/dev/godmode/skills/<name>/Canonical for godmode skills. Git repo. Edit here.
~/.notfiles/claude/.claude/skills/<name>/Canonical for personal/devloop skills (using-conductor, devloop-analyze, herald-sync, devloop-standup, ...). Git-tracked in the notfiles dotfiles repo.
~/.agents/skills/<name>Untracked. Partly a drifting snapshot (frequently stale), partly the live home of a few skills that ~/.claude/skills symlinks into (depgraph, using-doob, think-consistency, ...).
~/.claude/skills/<name>Projection only. Godmode skills appear as dir symlinks into ~/dev/godmode/skills; notfiles skills as a real dir whose SKILL.md is a symlink into ~/.notfiles/claude/.claude/skills.

Verify before assuming:

ls -la ~/.claude/skills | head -30      # symlink targets reveal the real source
git -C ~/dev/godmode status --porcelain # godmode tree is version controlled
git -C ~/.notfiles status --porcelain   # notfiles tree is version controlled

How to save a skill

New skill that belongs to godmode — write it into the canonical tree and link it:

mkdir -p ~/dev/godmode/skills/<skill-name>
# write ~/dev/godmode/skills/<skill-name>/SKILL.md
ln -s ~/dev/godmode/skills/<skill-name> ~/.claude/skills/<skill-name>
git -C ~/dev/godmode add skills/<skill-name> && git -C ~/dev/godmode commit

New personal skill for the devloop/dotfiles workflows — write it into the notfiles package and let notfiles link it:

mkdir -p ~/.notfiles/claude/.claude/skills/<skill-name>
# write ~/.notfiles/claude/.claude/skills/<skill-name>/SKILL.md
notfiles --dry-run link claude   # preview: should offer to link the new SKILL.md
notfiles link claude
git -C ~/.notfiles add claude/.claude/skills/<skill-name> && git -C ~/.notfiles commit

Personal skill with no git home — ~/.agents/skills/<name>/SKILL.md is acceptable, but understand you own keeping it in sync manually; nothing regenerates it.

Never do this

  • Do not mv a skill out of a git-tracked tree (~/dev/godmode, ~/.notfiles) into ~/.agents/skills. That pulls content out of version control into an untracked, drifting copy. It silently loses version history and reintroduces drift. Move the content into the canonical tree instead, then remove the .agents copy.
  • Do not edit through a ~/.claude/skills symlink and assume you edited a separate file. You edited the canonical file it points at. That is usually what you want, but confirm with git -C ~/dev/godmode status or git -C ~/.notfiles status.

Keeping the trees consistent

Both trees being loaded means a skill present in both is loaded twice, and whichever wins depends on search order. When adding a skill, check for an existing same-named skill everywhere first:

# Glob tool (path: $HOME): glob '{.agents,.claude,.notfiles/claude/.claude,dev/godmode}/skills/<skill-name>/SKILL.md'

If the same skill exists in more than one canonical tree (this has happened — herald-sync drifted between ~/.agents and notfiles), pick one canonical home, copy the newest content there, link the projection, and remove the other copy — do not leave both and hope.

Path references inside skill docs

Prefer repo-relative references (references/foo.md, scripts/bar.sh) over absolute ~/... paths. Absolute paths break as soon as a skill moves between trees. When a skill genuinely must point at a shared location, point at the canonical source (~/dev/godmode/skills/... or ~/.notfiles/claude/.claude/skills/...), not at a projection of it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.