Zero-dependency Skills over MCP (SEP-2640 / io.modelcontextprotocol/skills) semantic spec linter, auto-fixer, SHA-256 anti-rug-pull lockfile, dual-era HTTP/stdio wire prober, multi-server .mcp.json fleet auditor, verified remote skill puller, org security policy gate, local/chaos skill server, SARIF 2.1.0 auditor, and scaffolder.
Built strictly on Web Crypto (crypto.subtle) and Node built-ins — 0 runtime dependencies, strict TypeScript, dual ESM + CommonJS, running on Node 20+.
- Enforces what JSON Schema cannot: Validates SHA-256 digest integrity, raw byte
size, URI-segment vs.frontmatter.nameagreement,skills/listvs.skills/getparity,resultType: "complete", requiredttlMs/cacheScopecache hints,resources/directory/readnegative & recursive descent rules, and the 512-file / 16 MiB SEP-2640 limits. - Multi-server MCP fleet auditing (
audit --config .mcp.json): Parses Claude Code (.mcp.json), Claude Desktop, Cursor, and VS Code (.vscode/mcp.json) configs; probes all HTTP & stdio servers concurrently; flags cross-server skill name collisions (FLEET001), totals startup metadata token cost (FLEET002), and pins/verifies a unified multi-server lockfile. - In-flight zero-disk remote security scanning:
probeaudits fetched wire bytes in memory for invisible Unicode/BiDi prompt injection (SEC001), overly broadallowed-tools(SEC002), cross-server URIs (SEC003), nestedSKILL.mdtraps (SEC004), and token budgets. - Closes SEP-2640 unsigned-digest trust gap: Pins
(serverIdentity, skillUri), per-file SHA-256 digests, raw byte sizes, frontmatter hash, andallowed-toolsinskills-mcp.lock.jsonto catch silent remote rug-pulls,"dynamic"downgrades, and permission escalations in CI. - Serve local skills, pull safely, auto-fix & chaos test:
serve --dir ./skillsexposes any local skills folder over HTTP or stdio;lint --fixrepairs BOM, CRLF, hidden Unicode, trailing newlines, and unquoted metadata;serve --faultinjects 10 deterministic spec-violation faults.
npm install sep2640Or run directly with zero install:
npx sep2640 --help# Audit every MCP server in .mcp.json / .vscode/mcp.json (auto-discovers config, collisions, secret hygiene, token cost, unified lockfile)
npx sep2640 audit --lock skills-mcp.lock.json --markdown
npx sep2640 audit --config .mcp.json --verify skills-mcp.lock.json --fail-on-collision --sarif fleet.sarif
# Generate an org security policy preset (standard, strict, or enterprise)
npx sep2640 policy init --preset strict --out sep2640.policy.json
# Inspect local project health or explain any diagnostic rule offline
npx sep2640 doctor
npx sep2640 explain SEC005
# Lint, auto-fix, or watch local skills with org policy & SARIF 2.1.0 output
npx sep2640 lint ./skills --fix --strict --policy sep2640.policy.json --sarif sep2640.sarif
npx sep2640 lint ./skills --watch
# Serve any local skills folder over SEP-2640 (HTTP with live --watch or stdio)
npx sep2640 serve --dir ./skills --watch --port 4050
npx sep2640 serve --dir ./skills --stdio
# Probe any HTTP or stdio SEP-2640 server (2026-07-28 + 2025-11-25 auto-negotiation)
npx sep2640 probe http://127.0.0.1:4050/mcp --double-read --junit probe.xml
npx sep2640 probe --stdio "node my-mcp-server.js" --double-read
# Pull remote skills safely (verified & policy-checked in memory before disk write)
npx sep2640 pull http://127.0.0.1:4050/mcp --policy sep2640.policy.json --out ./audited-skills --lockfile skills-mcp.lock.json
# Start an adversarial chaos fixture server for host/client conformance testing
npx sep2640 serve --port 4050 --fault rug-pull-on-second-read- name: SEP-2640 Skills over MCP Check
uses: seedfunded/sep2640@v1
with:
command: lint
target: ./skills
policy: sep2640.policy.json
sarif: sep2640.sarif
strict: "true"Measured with npm run bench (Node v26.13.1, Apple M5):
| Operation | Throughput | Latency |
|---|---|---|
| lintSkillDirectory (full static + security) | 9,535 ops/s | 0.105 ms/op |
| buildListSkillsManifest (Web Crypto SHA-256) | 6,924 ops/s | 0.144 ms/op |
| diffLockfiles (frozen verify) | 2,935,169 ops/s | 0.000 ms/op |
| probeSkillsServer (live HTTP + conformance + in-flight scan) | 937 ops/s | 1.067 ms/op |
MIT © 2026 (@seedfunded)