scribe
Skill6 starsChanged 7 months agoMITView on GitHub
Use when the user wants to install, list, sync, remove, or manage AI coding-agent skills on this machine. Scribe manages a canonical skill store and links skills into Claude Code, Cursor, Codex, and other supported tools.
- Installs packages
13 other projects use a version of this.
Adopted by
Most recently taken up by
- noah-1106/Skills_Repotheir own version, first seen Nov 6, 2026
- nadiwerk/trust-no-agenttheir own version, first seen Nov 1, 2026
- ooiyeefei/ccctheir own version, first seen Oct 25, 2026
- raymondware/scribetheir own version, first seen Oct 25, 2026
- simota/agent-skillstheir own version, first seen Oct 23, 2026
- STIFLEUR390/agent-skillstheir own version, first seen Oct 16, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- anthropics/knowledge-work-plugins★ 35ksame name
- openai/plugins★ 7.8ksame name
- ooiyeefei/ccc★ 497same name
- simota/agent-skills★ 96same name
- zoom/skills★ 82same name
- noah-1106/Skills_Repo★ 32same name
- Baelfyre/Orchestra★ 27same name
- 1broseidon/skills★ 4same name
- alphazede/bearing-lite★ 3same name
- healthier-vitamins/agentic-grimoire★ 2same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
29 rules. 0 are common, 8 are distinctive, and 21 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
21
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Before running any command in this skill, check that scribe is installed and that this skill is registered locally.
- Distinctive: line 18
If the command succeeds, skip to Step 3.
- Very specific: line 43
Windows (PowerShell): Run this instead — downloads to $env:USERPROFILE\bin and adds it to your user PATH (use scribe_windows_arm64.zip on …
- Distinctive: line 58
After running, open a new terminal for PATH to take effect.
- Very specific: line 60
After install, verify scribe is reachable via PATH:
- Very specific: line 66
If command -v scribe prints nothing but the binary exists (e.g.
- Distinctive: line 73
If all install options fail, stop and tell the user which one errored and why.
- Very specific: line 81
If the output already contains an entry with "name": "scribe", you're done — continue with the user's actual request.
- Very specific: line 83
If it does not, install this skill now.
- Distinctive: line 99
Use it for installs, updates, removal, adoption of unmanaged local skills, and structured inspection.
- Very specific: line 130
Always use --json for anything you plan to parse.
- Very specific: line 131
Prefer scribe browse --query ...
- Very specific: line 132
Prefer owner/repo:skill for deterministic installs via scribe add.
- Very specific: line 133
Use --no-interaction for direct installs and removals.
- Very specific: line 134
Use scribe adopt --dry-run --json before scribe adopt --no-interaction --json.
- Very specific: line 135
Do not hand-edit ~/.scribe/state.json.
- Very specific: line 136
Do not copy skill files directly into tool directories.
- Very specific: line 152
Run scribe schema <command> --json before composing an unfamiliar call — returns JSON Schema 2020-12 for inputs and outputs.
- Very specific: line 160
If a project root has .scribe.yaml, it declares per-project intent — kits, snippets, mcp, mcp_servers, add, remove.
- Very specific: line 164
Use scribe kit create for new kits.
- Distinctive: line 185
Prefer the CLI when creating a kit:
- Very specific: line 223
All keys are optional. Empty / missing file = no project intent.
- Very specific: line 233
If .scribe.yaml changes, or generated agent files no longer match it, run scribe sync --json before assuming the active agent loadout is …
- Very specific: line 241
Don't write .scribe.yaml without being asked.
- Very specific: line 242
Don't reference skills that aren't installed locally.
- Very specific: line 243
Don't edit projected skill files under .claude/skills/<name>/ — they're symlinks.
- Distinctive: line 321
Search, then install deterministically:
- Distinctive: line 371
If you need a command not listed here, run:
- Distinctive: line 378
Do not guess flags or JSON fields.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
scribe
First-run bootstrap (do this before anything else)
Before running any command in this skill, check that scribe is installed and that this skill is registered locally. If either is missing, bootstrap them now.
Step 1 — check for the binary:
scribe --versionIf the command succeeds, skip to Step 3. If it fails with "command not found" (or similar), run Step 2.
Step 2 — install scribe. Prefer install methods that land the binary on PATH so future sessions can call scribe directly. Pick the first option that fits the machine; stop on the first success:
# macOS Homebrew (preferred on macOS — installs to a PATH directory)
brew install Naoray/tap/scribe
# macOS Apple Silicon binary (installs to /usr/local/bin)
curl -L https://github.com/Naoray/scribe/releases/latest/download/scribe_darwin_arm64.tar.gz | tar xz && sudo mv scribe /usr/local/bin/
# macOS Intel binary
curl -L https://github.com/Naoray/scribe/releases/latest/download/scribe_darwin_amd64.tar.gz | tar xz && sudo mv scribe /usr/local/bin/
# Linux amd64 binary
curl -L https://github.com/Naoray/scribe/releases/latest/download/scribe_linux_amd64.tar.gz | tar xz && sudo mv scribe /usr/local/bin/
# Linux arm64 binary
curl -L https://github.com/Naoray/scribe/releases/latest/download/scribe_linux_arm64.tar.gz | tar xz && sudo mv scribe /usr/local/bin/
# Go toolchain — LAST RESORT: installs to $(go env GOBIN) or ~/go/bin, which is
# often not on PATH. Only use if none of the above work.
go install github.com/Naoray/scribe/cmd/scribe@latestWindows (PowerShell): Run this instead — downloads to $env:USERPROFILE\bin and adds it to your user PATH (use scribe_windows_arm64.zip on ARM64 machines):
powershell -Command "
\$dest = \"\$env:USERPROFILE\bin\";
New-Item -ItemType Directory -Force -Path \$dest | Out-Null;
Invoke-WebRequest -Uri 'https://github.com/Naoray/scribe/releases/latest/download/scribe_windows_amd64.zip' -OutFile \"\$env:TEMP\scribe.zip\";
Expand-Archive -Path \"\$env:TEMP\scribe.zip\" -DestinationPath \$dest -Force;
\$current = [Environment]::GetEnvironmentVariable('PATH','User');
if (\$current -notlike \"*\$dest*\") {
[Environment]::SetEnvironmentVariable('PATH', \"\$dest;\$current\", 'User')
}
"After running, open a new terminal for PATH to take effect.
After install, verify scribe is reachable via PATH:
command -v scribe && scribe --versionIf command -v scribe prints nothing but the binary exists (e.g. at ~/go/bin/scribe or $(go env GOBIN)/scribe), the install directory is not on PATH. Fix it before continuing:
- Detect the install dir:
GOBIN=$(go env GOBIN); [ -z "$GOBIN" ] && GOBIN="$(go env GOPATH)/bin"; echo "$GOBIN" - Append to the user's shell rc (
~/.zshrcfor zsh,~/.bashrcfor bash):export PATH="$GOBIN:$PATH" - Tell the user the line you added and which file, and that they need to open a new shell (or
sourcethe file) for it to take effect. - For the rest of this bootstrap, call scribe by absolute path (
"$GOBIN"/scribe ...).
If all install options fail, stop and tell the user which one errored and why.
Step 3 — make sure this skill is registered locally so it survives future sessions:
scribe list --jsonIf the output already contains an entry with "name": "scribe", you're done — continue with the user's actual request.
If it does not, install this skill now. First trigger first-run so the Naoray/scribe built-in registry is wired up, then install:
scribe status --json
scribe add Naoray/scribe:scribe --no-interaction --json
scribe list --jsonConfirm the final scribe list --json includes scribe. If anything in this bootstrap fails, report the failing command and its stderr verbatim — do not guess around it.
Once bootstrap succeeds, proceed with the user's request using the command reference below.
What scribe does
Scribe manages local coding-agent skills.
It stores canonical copies in ~/.scribe/skills/ and links them into supported tool directories.
Use it for installs, updates, removal, adoption of unmanaged local skills, and structured inspection.
Trigger phrases to commands
| User says | Run |
| search available skills | scribe browse --json |
| search available skills matching X | scribe browse --query X --json |
| install the X skill | scribe browse --install X --no-interaction --json |
| install X from owner/repo | scribe add owner/repo:X --no-interaction --json |
| what skills are installed | scribe list --json |
| what skills are available remotely | scribe browse --json |
| sync my skills | scribe sync --json |
| show resolved project loadout | scribe show --json |
| initialize project loadout | scribe project init --json |
| initialize project with kits (local or remote) | scribe project init --kits <kit1>,<owner/repo:kit2> --json |
| list kits (local + remote, default) | scribe kit list --json |
| list only locally installed kits | scribe kit list --local --json |
| list only remote kits from one registry | scribe kit list --remote --registry <owner/repo> --json |
| show a local kit | scribe kit show <name> --json |
| remove X | scribe remove X --no-interaction --json |
| import existing local skills | scribe adopt --dry-run --json |
| actually adopt them | scribe adopt --no-interaction --json |
| explain what X does (skill or snippet) | scribe explain X --json |
| show scribe status | scribe status --json |
| audit managed skill health | scribe doctor --json |
| repair managed skill metadata/projections | scribe doctor --skill <name> --fix |
| connect a registry | scribe registry connect owner/repo |
Non-negotiable rules
- Always use
--jsonfor anything you plan to parse. - Prefer
scribe browse --query ... --jsonfor discovery andscribe browse --install ... --no-interaction --jsonfor exact-name installs. - Prefer
owner/repo:skillfor deterministic installs viascribe add. - Use
--no-interactionfor direct installs and removals. - Use
scribe adopt --dry-run --jsonbeforescribe adopt --no-interaction --json. - Do not hand-edit
~/.scribe/state.json. - Do not copy skill files directly into tool directories; use
scribe adopt. scribe syncreconciles the project loadout; it does not install an arbitrary new skill by query.scribe listis local-first. Usescribe browsefor registry discovery.- Some failures still return plain stderr plus non-zero exit, not a JSON error envelope.
JSON envelope (format_version=1)
Migrated commands wrap their output in a versioned envelope. Read payload from data, never from the top level:
{ "status": "ok", "format_version": "1", "data": { /* payload */ },
"meta": { "duration_ms": 12, "command": "scribe sync", "scribe_version": "..." } }status is "ok" on success, "partial_success" when data.summary.failed > 0 (exit code 10), or "error" (with non-zero exit). Use jq '.data.foo', not jq '.foo'.
Run scribe schema <command> --json before composing an unfamiliar call — returns JSON Schema 2020-12 for inputs and outputs.
Exit codes
0 ok · 2 usage · 3 not-found · 4 permission · 5 conflict · 6 network · 7 dependency · 8 validation · 9 user-canceled · 10 partial success.
Project file (.scribe.yaml)
If a project root has .scribe.yaml, it declares per-project intent — kits, snippets, mcp, mcp_servers, add, remove. Kits are first-class local skill bundles, and scribe kit create can scaffold them. Don't synthesize a project file without being asked.
Authoring kits and snippets
Use scribe kit create for new kits. Snippet creation has no CLI yet; when the user asks to create, edit, or remove a snippet, edit the Markdown file directly. Run scribe sync afterwards to apply.
Kit — bundle of skills, declared in ~/.scribe/kits/<name>.yaml
apiVersion: scribe/v1
kind: Kit
name: laravel-baseline
description: Default skill set for Laravel app work
skills:
- init-laravel
- tdd
- code-review
mcp_servers:
- mempalaceRequired: name, skills. description, mcp_servers, apiVersion, kind, and source are optional.
Each entry under skills: is a skill name from scribe list --json. Verify the skills exist before writing the kit; a kit referencing an unknown skill will fail at sync time.
Prefer the CLI when creating a kit:
scribe kit create laravel-baseline --skills init-laravel,tdd,code-review --mcp-servers mempalace --description "Default skill set for Laravel app work"Snippet — agent rules block, declared in ~/.scribe/snippets/<name>.md
---
name: commit-discipline
description: Commit-message rules and agent commit discipline
targets: [claude, codex, cursor]
---
Commit after each logical phase of work, not just at the end.
Use `[agent]` prefix on every commit message...Required frontmatter: name, description, targets. targets is a YAML list of agent tool names — built-ins are claude, codex, cursor, gemini; any custom tool registered via scribe tools add works here too. Body is plain markdown — no variables, no conditionals.
Wiring a kit/snippet into a project
Edit <project-root>/.scribe.yaml to declare the project's intent:
kits:
- laravel-baseline
snippets:
- commit-discipline
mcp:
- mempalace
add:
- owner/repo:extra-skill
remove:
- skill-this-project-doesnt-wantAll keys are optional. Empty / missing file = no project intent. mcp and mcp_servers both declare project-local MCP server names; server definitions must already exist in .mcp.json.
After authoring, apply
scribe sync --jsonSync resolves declared kits, merges add / remove, projects skills into the project's .claude/skills/ and .agents/skills/ dirs (Codex reads .agents/skills/), scopes selected .mcp.json definitions into Claude, Codex, and Cursor project config, and writes snippet blocks into CLAUDE.md / AGENTS.md / GEMINI.md plus Cursor rules in .cursor/rules/<name>.mdc (markers preserved; content outside markers untouched). Scribe does not start MCP server processes.
If .scribe.yaml changes, or generated agent files no longer match it, run scribe sync --json before assuming the active agent loadout is current.
Codex budget
Codex caps total skill descriptions at 5440 bytes. Sync refuses at 100% (exit 5) and warns at 70%-100%. If a kit overflows, trim it or pass --force to the sync.
Anti-patterns
- Don't write
.scribe.yamlwithout being asked. The project owner decides which kits/snippets the team adopts. - Don't reference skills that aren't installed locally. Run
scribe list --jsonfirst. - Don't edit projected skill files under
.claude/skills/<name>/— they're symlinks. Edit the source skill or usescribe push(v1.0+) to push back to a registry.
JSON shapes
scribe list --json
Top level: array.
Each item may include name, description, package, revision, content_hash, targets, managed, origin, and path.
Fresh-home output is [].
scribe browse --json
Top level: object with registries.
Each registry has registry and skills.
Each remote skill may include name, status, version, loadout_ref, maintainer, and agents. Add --query <q> to filter, or --install <name> --no-interaction to install an exact match.
scribe add query --json
Top level: object with results.
Each result may include name, registry, status, version, description, and author.
This is search output, not install output.
scribe add owner/repo:skill --no-interaction --json
Top level: object with installed.
Each installed item may include name, registry, status, and error.
Observed statuses: installed, updated, already-installed, error.
scribe sync --json
Top level: object with registries and summary.
Each registry has registry and skills.
Each skill result may include name, action, status, version, and error.
summary has installed, updated, skipped, and failed.
Observed actions: installed, updated, skipped, error, package_installed, package_updated, denied.
An optional top-level adoption object may appear.
scribe adopt --dry-run --json
Top level: object with dry_run, adopt, and conflicts.
adopt entries may include name, local_path, targets, and hash.
conflicts entries may include name, managed_hash, unmanaged_path, and unmanaged_hash.
scribe adopt --no-interaction --json
Top level: formatter envelope with registries, summary, and adoption.
adoption may include skills, conflicts_deferred, adopted, failed, and skipped.
scribe remove skill --no-interaction --json
Top level: object with removed.
Optional fields: managed_by, errors.
scribe explain skill --json
Top level: object with name and content.
Optional fields: description, revision, targets, and path.
This command only works for installed skills on disk.
scribe status --json
Top level: object with version, registries, and installed_count.
Optional field: last_sync.
scribe doctor --json
Top level: object with issues.
Optional fields: skill and fix.
Each issue may include skill, tool, kind, status, and message.
Recommended flows
Install a known skill:
scribe add owner/repo:skill --no-interaction --jsonSearch, then install deterministically:
scribe browse --query query --json
scribe browse --install owner/repo:skill --no-interaction --jsonInspect local state:
scribe list --json
scribe status --jsonReconcile connected registries:
scribe sync --jsonAudit and repair managed skill health:
scribe doctor --json
scribe doctor --fix
scribe doctor --skill recap --fixscribe doctor audits managed skills and projection health.
scribe doctor --fix applies safe metadata normalization and then repairs affected tool projections.
scribe doctor v1 does not attempt to rewrite mixed package layouts for Codex; it focuses on canonical metadata health plus projection repair.
Adopt unmanaged local skills:
scribe adopt --dry-run --json
scribe adopt --no-interaction --jsonAnti-patterns
- Bare
scribe addin automation. - Parsing styled terminal output instead of
--json. - Using
scribe syncwhen you mean “install one skill”. - Removing files by hand from tool directories.
- Editing
~/.scribe/state.jsondirectly. - Assuming every failure returns JSON.
Fallback rule
If you need a command not listed here, run:
scribe --help
scribe <subcommand> --helpDo not guess flags or JSON fields.
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
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.

