Skip to main content
Glama

skillcurator

CI npm version License: MIT

Human-gated distillation, cold edge-case vault, and swarm governance for agentskills.io SKILL.md skills.

Most agent memory tools either auto-inject past notes (causing context bloat) or auto-rewrite team skills without review. skillcurator puts a strict fail-closed Inbox Ledger between agent discovery and production rules: agents stage drafts into .skillcurator/inbox/, a built-in linter blocks leaked secrets, personal paths, and duplicates, and humans promote approved items into three clean tiers:

  • active (skills/<slug>/SKILL.md) — Standard agentskills.io SKILL.md modules for recurring workflows

  • vault (vault/<slug>/SKILL.md) — Cold Edge-Case Vault for rare or one-off troubleshooting fixes (zero startup context tax; searchable on demand via CLI or MCP)

  • policy (policies/<slug>.md) — Multi-agent swarm coordination, write-lock boundaries, and QA gates

Requirements

  • Node.js 24 or later (uses built-in node:sqlite; zero external runtime dependencies)

Related MCP server: stratagent

Quick Start

Run the offline sandbox demo directly from any directory:

npx -y skillcurator --demo
npx -y skillcurator --help

Or install globally:

npm install -g skillcurator

Initialize a skill hub in your project (or clone this repo to try the bundled ./examples/*.md fixtures — export --out resolves relative to --hub, so the example below writes ./agent-hub/AGENTS.md):

npx -y skillcurator init --hub ./agent-hub
git clone https://github.com/apexhive-hq/skillcurator.git
npx -y skillcurator stage ./skillcurator/examples/docker-cache-fix.md --hub ./agent-hub
npx -y skillcurator stage ./skillcurator/examples/cold-vault-crlf.md --hub ./agent-hub
npx -y skillcurator promote docker-layer-cache-fix --approve --hub ./agent-hub
npx -y skillcurator promote windows-crlf-markdown-fence --approve --hub ./agent-hub
npx -y skillcurator search "crlf windows" --tier vault --hub ./agent-hub
npx -y skillcurator export --out AGENTS.md --hub ./agent-hub

CLI

skillcurator v1.0.0 - Human-gated curation, cold edge-case vault, and swarm governance for SKILL.md

Usage:
  skillcurator <command> [options]

Commands:
  init                       Initialize .skillcurator/, skills/, vault/, policies/, and English prompt pack
  stage <file>               Lint and stage a candidate draft into .skillcurator/inbox/
  lint <file>                Validate frontmatter, secrets, personal paths, and duplicate overlap
  promote <slug>             Promote a pending draft into skills/, vault/, or policies/ (requires --approve)
  reject <slug>              Reject and archive a pending draft (requires --approve)
  status                     Show pending inbox queue and curated counts
  search <query>             Search curated active, cold vault, and policy entries on demand
  export                     Generate AGENTS.md summary (active + policies; keeps cold vault out of prompt)
  prompts [destDir]          Export the English extraction, swarm-dispatch, and refiner prompts
  demo                       Run offline sandbox walkthrough with clean fixtures
  mcp                        Start the stdio MCP server

Options:
  --hub <dir>                Hub root directory (default: current directory)
  --tier <tier>              Filter search or override tier on promote (active | vault | policy)
  --approve                  Explicit human sign-off required for promote and reject
  --note <text>              Reviewer audit note recorded in ledger
  --include-pending          Include pending inbox drafts in search results
  --out <file>               Write export output to a file instead of stdout
  --format <fmt>             Output format: human | json (default: human)
  --json                     Shorthand for --format json
  --help, -h                 Show this help
  --version, -v              Show package version
  --demo                     Alias for demo

Examples:
  skillcurator --demo
  skillcurator init --hub ./agent-hub
  skillcurator lint ./examples/docker-cache-fix.md
  skillcurator stage ./examples/docker-cache-fix.md
  skillcurator promote docker-layer-cache-fix --approve
  skillcurator search "crlf windows" --tier vault
  skillcurator export --out AGENTS.md
  skillcurator mcp

Prompt Pack Included

Running skillcurator init or skillcurator prompts ./dest writes clean English templates ready for Claude Code, Cursor, Codex, or Gemini CLI:

  • curator-charter.md — Subagent-isolated extraction rules, cold-vault criteria, and reality checks

  • swarm-dispatch.md — Prompt instructing main agents/coordinators to spawn an isolated extractor subagent without polluting working memory

  • refiner-review.md — Clean Refiner audit workflow for triaging and deduplicating .skillcurator/inbox/

  • draft-template.md — Canonical YAML frontmatter + Guardrails + Verification skeleton

stdio MCP Server

Expose five bounded tools to coding agents over stdio (skillcurator mcp or skillcurator-mcp):

  • curator_status — Inspect pending inbox and tier counts

  • curator_search — Query the cold vault, active skills, and policy rules on demand

  • curator_lint — Validate and secret-scan a candidate Markdown draft

  • curator_stage — Submit a sanitized draft to .skillcurator/inbox/ (never bypasses human --approve)

  • curator_export_index — Render a compact AGENTS.md overview

Verification

pnpm run typecheck
pnpm run build:prod
pnpm test
pnpm run test:e2e
pnpm pack --dry-run

License

MIT. See LICENSE. Vulnerability disclosure policy: SECURITY.md. Release history: CHANGELOG.md.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents to install compatible SKILL.md skills from Git repositories or local directories into a persistent registry, then discover them through search, progressive loading, and asset reads. It exposes only user-selected hot skills as individual activation tools, keeping execution and trust decisions under explicit operator control.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding environments to discover and inspect GitHub-hosted agent skills and sub-agent definitions, review provenance, policy findings, and dry-run plans, and access read-only configuration analysis while installation approval remains in the local CLI.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables LLM agents to search, inspect, inscribe, hone, and maintain a versioned library of learned procedures stored as Git-committed SKILL.md files with SQLite metadata and filesystem content. It also supports dropping observation notes, managing drafts, scouting external skills, and running catalogue health passes through intent-shaped tools that return structured results with next-step hints.
      217 npm
      2
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables Cursor and Codex agents to audit Agent Skill structure (frontmatter, broken links, missing files), analyze dependencies for undeclared, unused or vulnerable packages via OSV, and run 28 local bug and code-quality rules with SonarQube-style A–E ratings. It can also optionally pull issues, metrics and quality-gate status from SonarQube or SonarCloud, or scan and upload results.
      9
      2
      MIT