agentleFS
LeoLin990405LeoLin990405/grimoire-skill/skills/grimoire-manage/SKILL.md

grimoire-manage

Skill8 starsChanged 8 months agoMITView on GitHub

Companion to Grimoire — the OPT-IN layer that takes a produced skill pack, asks the user which global agents to configure, installs it across them, and then manages it (status / list / sync / uninstall / preflight gate). Use after grimoire.sh has produced & you have reviewed a skill pack and the user wants it usable in their other agents (Claude Code / Codex / Trae / opencode / copilot / qwen / deepseek / stepfun), or wants to re-sync after a Trae/stepfun/deepseek app update, check cross-agent parity, remove a skill everywhere, or add a confirm-before-running gate. This deliberately crosses Grimoire's default "scripts never install skills" boundary by explicit user request and records it in the pack manifest. Triggers: 装 skill 到其它 agent / 把技能打通到所有 agent / 跨 agent 安装技能 / skill 没出现在某个 agent / 重新同步技能 / 卸载某个技能 / skill 确认门 / install skill across agents / cross-agent skill / sync skills after update / skill preflight gate / grimoire-manage.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never pick agents for the user.

    line 52

≈ “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

Grimoire-Manage · 跨 agent 安装与管理

Grimoire produces a candidate skill pack and never installs it (red line). grimoire-manage is the explicit, user-driven layer that installs and manages it across agents. Two scripts (repo scripts/, mirrored here under scripts/):

  • skill-install.sh — install a reviewed pack into chosen agents
  • skill-manage.sh — status / list / sync / uninstall / gate

When to use

NeedCommand
Scan this machine: how many skill-capable agents existskill-manage.sh scan
Check the host has a source skill's config/tools (MinerU server/token, ffmpeg/yt-dlp, Kedou)skill-manage.sh doctor [--skill <name>]
See agents + which exist (drive the user choice)skill-install.sh --pack <dir> --list
Preview install (no changes)skill-install.sh --pack <dir> --agents <csv> --dry-run
Install into chosen agentsskill-install.sh --pack <dir> --agents <csv|all>
Cross-agent parity of a skillskill-manage.sh status --name <skill>
Per-agent counts + agent-only skillsskill-manage.sh list
Re-sync after a Trae/stepfun/deepseek updateskill-manage.sh sync --pack <dir>
Remove a skill everywhereskill-manage.sh uninstall --name <skill>
Add the confirm-before-running gateskill-manage.sh gate

The flow (produce → choose → install → manage)

  1. grimoire.sh … --only skills --install (or run grimoire normally) → review/promote candidates into skills/skills/.
  2. Inventory: skill-install.sh --pack <skills-dir> --list.
  3. Ask the user which agents to configure — in Claude Code use AskUserQuestion; otherwise ask in chat. Choose only present = yes rows. Never pick agents for the user.
  4. Dry-run, confirm, install: --dry-run first, then the same command without it. Tell the user to restart each affected agent.
  5. Manage later via skill-manage.sh (status/sync/uninstall/gate).

Boundary

  • Installing crosses the default candidate-only red line by explicit user request; skill-install.sh records this in the pack manifest's red_line_note / installed_to.
  • Per-pack only: an agent's own non-shared skills (e.g. Codex ppt-master, Trae web-dev) are never enumerated, moved, or deleted; drifted same-named dirs are backed up, never clobbered.
  • The Claude settings.json preflight hook is printed for manual install (the agent cannot self-edit startup config); gate injects only the portable instruction-file paragraph and never touches settings*.json.
  • Verified agent topology and rules live in scripts/lib/agent-targets.sh.

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.