agentleFS
cubxxwcubxxw/agent-kit/skills/manage-agent-kit/SKILL.md

manage-agent-kit

Skill2 starsChanged 3 months agoMITView on GitHub

Audit, initialize, upgrade, synchronize, discover, and safely curate a shared Agent Skills repository across Claude Code, Codex, Qwen Code, OpenCode, Pi, OpenClaw, and compatible hosts. Use when setting up a machine or server, finding top GitHub skills, checking skill or upstream drift, adding or updating a skill, integrating CC Switch, resolving cross-agent installation conflicts, or reviewing whether agent configuration is safe to publish.

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. About 0 are common, 13 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Treat the checked-out agent-kit repository as the reviewed source.

    line 8
  2. Distinctive:

    Read references/operations.md for the selected installation path.

    line 18
  3. Distinctive:

    Do not silently replace a real directory or a symlink owned by another tool.

    line 24
  4. Distinctive:

    Use the smallest applicable profile:

    line 29
  5. Very specific:

    Read the checkout’s docs/top-skills.md before broad discovery.

    line 60
  6. Distinctive:

    Read every executable file and inspect network, credential, and destructive behavior.

    line 72
  7. Very specific:

    Add it to catalog.json and the narrowest profile.

    line 74
  8. Distinctive:

    Run the creator validator when first-party skill instructions change.

    line 75
  9. Very specific:

    Run the repository tests, doctor --strict, and the public safety scan.

    line 76
  10. Distinctive:

    Treat rankings and awesome lists as candidate generators:

    line 85
  11. Distinctive:

    Search official or product-owned repositories first.

    line 87
  12. Very specific:

    Use GitHub activity and skills.sh installs only as discovery signals.

    line 88
  13. Very specific:

    Update docs/top-skills.md without installing anything unless the full curation gate passes.

    line 92
  14. Distinctive:

    Never bulk-install a pack because it is popular, official, or listed in the radar.

    line 95
  15. Very specific:

    Run scripts/check_upstreams.py.

    line 100
  16. Distinctive:

    Never auto-merge upstream skill changes.

    line 107
  17. Distinctive:

    Never commit credentials, auth state, transcripts, memories, machine-local overrides, private Brain content, or absolute personal home …

    line 111
  18. Distinctive:

    Keep model choice, OAuth state, API tokens, and per-machine approvals local.

    line 115
  19. Distinctive:

    Only portable instructions, skills, hook logic, safe templates, source pins, and license evidence belong here.

    line 116
  20. Distinctive:

    no public-boundary finding remains.

    line 124

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

Manage Agent Kit

Treat the checked-out agent-kit repository as the reviewed source. Native installs receive symlink views; an existing manager such as CC Switch can own distribution instead. Choose one installation owner for each skill.

Start with evidence

  1. Identify the user's task, current host, and existing skill owner from runtime evidence and link destinations. Do not read private runtime state.
  2. Inspect catalog.json and choose the smallest useful profile. For unspecified coding work use developer, on the current host only.
  3. Read references/operations.md for the selected installation path. If CC Switch owns the skills, preserve that owner.
  4. For a native checkout run doctor --strict, then plan --profile <profile> --tool <host> --json. Explain the result the user will get and every conflict before applying the authorized setup.

Do not silently replace a real directory or a symlink owned by another tool. Report the exact conflict and preserve it.

Install or repair links

Use the smallest applicable profile:

  • base: only this management skill.
  • developer: source-grounded engineering and agent infrastructure.
  • design: recursive direction branching, official frontend guidance, UI/UX evidence, and frontend preflight.
  • diagramming: collaborative Excalidraw exploration and validated Archify technical documentation.
  • prototyping: one uncertain decision, tested with observable cases.
  • writing: optional first-person Threads drafting and confirmed publishing.
  • full-stack: explicitly combine development, design, diagramming, and prototyping.
  • top: every accepted skill, including optional writing; choose explicitly.
  • all: compatibility alias for top.

Preview first:

./bin/agent-kit plan --profile <profile> --tool <host> --json

The plan is read-only and includes ready, actions, and conflicts. With conflicts, return the complete explanation and the next action. Known conflicts block the whole install before any link is created. Then install the selected profile and verify host discovery and one small task using the repository's first-run guide. A same-named file or symlink is not task success. Use --replace-managed only for stale symlinks that already point into this checkout. It must never replace copied files or foreign links.

Curate a new skill

Read the checkout’s docs/top-skills.md before broad discovery. It separates adopted, on-demand, and discovery-only sources.

Accept a skill only when all gates pass:

  1. It solves a repeated, current task with clear marginal value.
  2. It does not duplicate a host-provided or already installed capability.
  3. Its source is attributable, actively maintained, and pinned to a full commit SHA.
  4. Its redistribution license is explicit. Do not vendor an unlicensed skill.
  5. Read every executable file and inspect network, credential, and destructive behavior.
  6. Add it to catalog.json and the narrowest profile.
  7. Run the creator validator when first-party skill instructions change.
  8. Run the repository tests, doctor --strict, and the public safety scan.
  9. Install it into the intended hosts and verify every link resolves to the same target.

Record rejected or deferred candidates in docs/skill-selection.md; this keeps the catalog small without losing the research.

Discover top skills

Treat rankings and awesome lists as candidate generators:

  1. Search official or product-owned repositories first.
  2. Use GitHub activity and skills.sh installs only as discovery signals.
  3. Identify the narrow skill directory that matches a repeated current need.
  4. Compare its triggers against the installed catalog.
  5. Return an adoption, on-demand, watch, or reject decision with evidence.
  6. Update docs/top-skills.md without installing anything unless the full curation gate passes.

Never bulk-install a pack because it is popular, official, or listed in the radar.

Update a vendored skill

Run scripts/check_upstreams.py. If an update exists:

  1. Review upstream commits between the pinned and proposed SHAs.
  2. Run scripts/update_vendor.py <skill> --ref <reviewed-full-sha>.
  3. Review the entire vendor diff, especially scripts and dependencies.
  4. Re-run all validation and security gates.

Never auto-merge upstream skill changes.

Public boundary

Never commit credentials, auth state, transcripts, memories, machine-local overrides, private Brain content, or absolute personal home paths. Public templates may name environment variables but may not contain their values.

Keep model choice, OAuth state, API tokens, and per-machine approvals local. Only portable instructions, skills, hook logic, safe templates, source pins, and license evidence belong here.

Completion criteria

For the selected installation path, finish only when:

  • repository validation passes;
  • no public-boundary finding remains;
  • native links resolve to the reviewed checkout, or manager-owned content matches its recorded version without overwriting local customizations;
  • the current host discovers a selected skill and its first-task result is recorded separately from file verification;
  • conflicts, deferred candidates, radar status, and upstream pins are explicit.

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.