Skip to content

Rolecraft

The security-first skill manager for AI agents — every install runs a security scan. Manage skills & MCP servers across 90 agents. Zero-dependency CLI.

Install

$npx rolecraft --help
Claude Code
claude mcp add rolecraft -- npx rolecraft --help
Cursor / Claude Desktop (mcp.json)
{
  "mcpServers": {
    "rolecraft": {
      "command": "npx",
      "args": [
        "rolecraft",
        "--help"
      ]
    }
  }
}

Install command taken from the project's README or registry entry. Always review code before running it.

RoleCraft

The Security-First Skill Manager for AI Agents Static security scoring before any skill is installed · Skills across 90 agents (65 verified) · MCP servers for the 9 that support them Zero-dependency CLI · No signup · No marketplace required

Quick Start · Features · Commands · API · Security · Contribute

⚡ Zero dependencies · 🤖 65 verified agents · 🔌 Skills + MCP · 🔒 Security scoring · 📝 Skill testing · 🔧 Init templates · 🌐 No marketplace required


Quick Start

# Try without installing
npx rolecraft --help

# Install globally (npm, pnpm, yarn, bun)
npm install -g rolecraft

# Install a skill (local, GitHub, GitLab, SSH, npm)
rolecraft install ./my-skill --cursor

# Install a skill WITH its MCP servers
rolecraft install ./postgres-rules --cursor

# Detect all agents and install a skill to every one
rolecraft setup user/repo

Requirements: Node.js >= 22

Why zero dependencies? Every dependency is a supply-chain risk. rolecraft uses only Node.js built-ins (fs, path, crypto, https) — no node_modules surprises.

Full install guide → · Getting Started →


Features

  • Zero dependencies — only Node.js built-ins, nothing to audit
  • Any source — local folder, GitHub/GitLab/SSH URL, npm package
  • 90 agents — opencode, claude-code, cursor, copilot, aider, oh-my-pi, and more
  • No registry required — works fully without a marketplace
  • Security scoring — static analysis before every install: prompt injection, command injection, obfuscated code, credential harvesting. Scores 0–100. It is a regex linter, not a policy engine — what it does not catch
  • CI-ready — lockfile-based re-install (rolecraft ci), --yes flag, --dry-run
  • MCP + Skills — install skills and their MCP servers in a single command
  • Shell completions — bash, zsh, fish auto-completion
  • Profile system — save, apply, and share multi-agent configurations

Full feature list → · Comparison vs skills (Vercel) →


Security

A skill is statically analysed before it is written into an agent's skill directory. The scan looks for prompt injection, command injection, obfuscated code and credential harvesting, and scores 0–100:

  • 90+ → SAFE, install proceeds
  • 70–89 → REVIEW, prompts for confirmation
  • <70 → DANGER, blocked unless --yes
  • any critical finding → DANGER regardless of score

The scan runs on every install path: install, bundle, update, setup, search --interactive, watch auto-sync, ci and profile apply. It does not run under --dry-run, and setup does not scan the MCP servers a skill declares.

rolecraft install ./my-skill              # scanned before install
rolecraft install ./my-skill --yes        # force install even if DANGER

The scanner matches file contents against patterns. It does not interpret what a skill means, so a natural-language instruction that avoids every pattern will score 100. Read what this does not catch before relying on a score as an approval.

→ Full security documentation

Known limitations

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…