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

agents-skill-save

Skill1 starsChanged 56 days agoMITView on GitHub

Use when creating a new local skill or fixing an existing skill that was saved to the wrong skills tree. Symptoms - a skill was written under ~/.claude/skills, the active setup uses ~/.agents/skills, or skill instructions still reference the old path convention.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is 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.

  • 1

    Very specific

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

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

    Use this when you need to save a new skill into the active local skills tree, or when an existing skill still points at the older …

    line 10

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

When to Use

Use this when you need to save a new skill into the active local skills tree, or when an existing skill still points at the older ~/.claude/skills/ layout. It is especially useful after creating a skill from session work and needing to place it in the right directory the first time.

Commands

# 1. Confirm the active skills tree
ls -la ~/.agents ~/.agents/skills
# Use Glob tool: glob '/Users/joe/.agents/skills/**/SKILL.md'

# 2. Inspect the existing skill content before changing it
sed -n '1,260p' /path/to/SKILL.md

# 3. Create the destination directory for the skill
mkdir -p ~/.agents/skills/<skill-name>

# 4. If the skill was saved to the wrong tree, move it
mv ~/.claude/skills/<old-path>/SKILL.md ~/.agents/skills/<skill-name>/SKILL.md

# 5. Patch stale path references inside skill docs
# Replace ~/.claude/skills/... with ~/.agents/skills/...
# Remove invented personal namespaces unless the tree already uses them

# 6. Verify the final file
sed -n '1,220p' ~/.agents/skills/<skill-name>/SKILL.md

Common Failures

SymptomFix
~/.agents/skills exists but the new skill was written under ~/.claude/skillsMove the file into ~/.agents/skills/<name>/SKILL.md and remove the misplaced copy
Skill text still mentions ~/.claude/skills/Patch the instructions so future skill writes follow the active tree
Unsure whether to use a personal namespace like joe/Do not invent one unless the existing ~/.agents/skills/ tree already uses it
Parent directory does not existCreate it first with mkdir -p ~/.agents/skills/<skill-name>
Not sure whether a manifest must be updatedCheck ~/.claude/plugins/ and ~/.agents/ metadata only if the current setup actually uses registration

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.