Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/rolecraft-sh/rolecraft/setupgit clone --depth 1 https://github.com/rolecraft-sh/rolecraftWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00783 |
| Opus 5 | $0.00000 | $0.00392 |
| Sonnet 5 | $0.00000 | $0.00157 |
| Haiku 4.5 | $0.00000 | $0.00078 |
Grade A, and why
setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
rolecraft setup
One command. All agents. Skills + MCP servers. Zero configuration.
Detect every AI agent on your machine and install a skill — plus its MCP servers — to all of them at once.
Usage
rolecraft setup # detect agents only
rolecraft setup <source> # detect + install skill + MCP to all agents
rolecraft setup <source> --list # list skills without installing
rolecraft setup <source> --skill <names> # install specific skills
Description
rolecraft setup is the onboarding command. It:
- Scans your system for all installed AI agent directories (opencode, cursor, claude-code, copilot, aider, etc.)
- When a source is provided: resolves the skill(s), installs to every detected agent, and sets up any MCP servers declared in
SKILL.md
For sources with multiple skills (e.g. mattpocock/skills), you'll be prompted to select which skills to install. Use --yes to install all, or --skill to pick specific ones.
This is the fastest way to go from zero to productive — one command configures every AI agent you use.
Options
| Flag | Description |
|---|---|
--yes, -y |
Install all skills without prompt |
--dry-run |
Preview without installing |
--list |
List available skills without installing |
--skill <names> |
Install specific skills by name (comma-separated) |
Examples
Detect agents only
rolecraft setup
Shows which agents are installed and how many skills each has.
Install to all agents
rolecraft setup ./my-skill
rolecraft setup rolecraft-sh/skills
rolecraft setup npm:@org/agent-rules
Installs the skill to every detected agent automatically. No need to specify --cursor, --claude, etc.
Multi-skill source
# Show skills in a multi-skill source without installing
rolecraft setup mattpocock/skills --list
# Install specific skills
rolecraft setup mattpocock/skills --skill "typescript-rules,react-rules"
# Install all with --yes
rolecraft setup mattpocock/skills -y
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 113 lines · 0 tokens per session scan A e81b2d599fec
setup is a command published in the GitHub repository rolecraft-sh/rolecraft (75 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 783 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
harness-parallel
Run the parallel Auto-Harness orchestration flow with worktree workers. /auto-harness:harness-parallel.
harness
Run the full Auto-Harness orchestration flow. /auto-harness:harness.
speckit.opsmill.retrospect
Run a session retrospective that surfaces context-management gaps and routes them to approved follow-up actions.
add-skill
Scaffold a new skill with validation, plugin generation, and README update.
optimize
Optimize performance [target].