Skip to content
Rune-kitPublic

About

Less skills. Deeper connections. 67-skill engineering mesh for AI coding agents — TDD-first workflows, security gates and project memory. Native in Claude Code, Codex, Cursor, Grok Build and Gemini CLI; works in any Agent Skills runtime. MIT.

Topics

Resources

Contributing

Stars

96 stars

Watchers

1 watching

Forks

Latest commit

 

History

369 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rune — Skill Mesh for AI Coding Assistants

Less skills. Deeper connections.
A disciplined, interconnected skill mesh for AI coding agents.
67 skills · 248 connections · 46 signals · 16 platforms · MIT

skills.sh npm MIT Website Telegram

Claude Code · OpenAI Codex · Grok Build · Cursor · Antigravity · Gemini CLI · GitHub Copilot · Cline · Windsurf · Kiro · Amp · Goose · any Agent Skills runtime

npx skills add rune-kit/rune

One command, ~80 agents: installs every Rune skill into the agents you pick, via skills.sh. For hooks, subagents and the full mesh, use the native install for your agent below.

Why Rune?

Most skill collections are either hundreds of isolated prompts that never talk to each other, or rigid pipelines where one failed step stops everything.

Rune is a mesh — 67 skills with 248 connections + 46 signals across a 5-layer architecture. Every declared outbound call is acknowledged by its target, so workflows route around failure instead of stalling.

Pipeline:  A → B → C → D         (B fails = stuck)
Mesh:      A ↔ B ↔ C             (B fails = A reaches C via D→E)
           ↕       ↕
           D ↔ E ↔ F

Rune doesn't make your model smarter — it already knows how to code. Rune makes it disciplined: TDD by default, quality gates before commit, evidence before "done", and memory across sessions. The more complex the task, the bigger the gap.

Measured on Claude Code (10 standardized tasks) Tokens Cost Time
Refactor a 450-line component −62% −17% −32%
Full feature (auth + API + tests) −36% −29% −31%
Average across all 10 tasks −16% −6% −9%
Full 10-task breakdown and method
# Task Diff Tokens Cost Time Correct
1 Zod Validation Easy -9% -28% -32% ✅ → ✅
2 Fix N+1 Query Easy +12% +25% +3% ❌ → ❌
3 Cursor Pagination Med +12% +19% -9% ✅ → ✅
4 Security Review Med +13% +32% +3% ✅ → ✅
5 Rate Limiting Med +12% +5% +5% ✅ → ✅
6 Refactor Component Med -62% -17% -32% ✅ → ✅
7 Dark Mode (6 files) Hard ~0% +10% -7% ✅ → ✅
8 DB Migration Hard +52% +11% +49% ✅ → ✅
9 Memory Leak Debug Hard +13% +28% -2% ✅ → ✅
10 Full Auth System Complex -36% -29% -31% ✅ → ✅

Method: Claude Code CLI headless mode (claude -p --output-format json), each task run once without and once with Rune against the same fixture code; correctness checked by pattern-based evaluation. Simple tasks can cost slightly more (the gates do real work); the savings show up as tasks get bigger.

Install

Pick your agent. Every route gives you the same 67 skills.

Claude Code — native plugin (skills, subagents, hooks):

/plugin marketplace add rune-kit/rune
/plugin install rune@rune-kit

On Claude Code 2.1.275+ the one-step form also works: /plugin install rune --marketplace rune-kit/rune. Then run npx @rune-kit/rune setup once to wire the lifecycle hooks.

OpenAI Codex — native plugin (skills, .codex/agents roles, synchronous hooks):

npx @rune-kit/rune setup --here --platform codex

Review and trust the new hooks with /hooks in Codex.

Grok Build (xAI's coding agent, grok CLI) — native plugin (skills + hooks):

grok plugin install rune-kit/rune --trust
# or via the marketplace: grok plugin marketplace add rune-kit/rune && grok plugin install rune --trust

Grok Build also reads .cursor/ and .claude/ skills and hooks, so a project already set up for Cursor works in Grok as-is. For project-local preset hooks: npx @rune-kit/rune hooks install --platform grok (or --platform cursor,grok to share one .cursor/hooks.json between both).

Cursor — Cursor plugin (skills, agents, /rune command) is in the repo under .cursor-plugin/; until the Marketplace listing is live, compile into your project:

npx @rune-kit/rune init --platform cursor
npx @rune-kit/rune hooks install --platform cursor   # optional: .cursor/hooks.json (also read by Grok Build)

SpaceX (which merged with xAI) acquired Anysphere, Cursor's maker, in August 2026. Reports say Cursor is being folded into Grok Build; until that is official, Rune supports both and keeps their configs compatible.

Antigravity (IDE and Antigravity CLI) — skills in .agents/skills/, rules in .agents/rules/, hooks in .agents/hooks.json:

npx @rune-kit/rune init --platform antigravity
npx @rune-kit/rune hooks install --platform antigravity   # beta

Gemini CLI — extension (skills). Gemini CLI is now the Gemini Code Assist (enterprise) CLI; individual users moved to Antigravity CLI, above.

gemini extensions install https://github.com/rune-kit/rune

Everything else — compile Rune into your agent's native skills folder:

npx @rune-kit/rune init --platform <name>   # grok · cline · copilot · windsurf · agents · …

One Rune for all your agents — rune serve

New in 2.34.0. Install Rune once on a VPS (or your PC) and connect any MCP client to it — Grok Bot, Claude Code, Grok Build, Cursor, Codex, Gemini / Antigravity, OpenCode, your own Telegram bot. Nothing to install on each machine, one update for all of them, Pro/Business included if they are on the server.

flowchart LR
  A["Grok Bot · Claude Code · Grok Build<br/>Cursor · Codex · Gemini · OpenCode"] -- "HTTPS + key" --> T(("Cloudflare tunnel<br/>/ domain / Tailscale"))
  T --> S["rune serve on your VPS"]
  S --> K["Free + Pro + Business skills"]
Loading
npm i -g @rune-kit/rune
rune serve setup              # wizard: key → public HTTPS → service → health check → connect steps
rune serve connect grok-bot   # copy-paste steps for grok-bot, claude, grok, codex, cursor, gemini, antigravity, opencode

Agents can do the whole thing over SSH with rune serve setup --yes --json --expose tunnel --key-out ~/.rune/serve.key. Then "use the Rune video skill …" or /rune cook … in any connected agent. Step-by-step guide, diagrams and limits (hooks stay local; repo edits still run on your machine): docs/SERVE.md.

VPS only, nothing on your laptop? Tell your agent: "Read https://raw.githubusercontent.com/Rune-kit/rune/master/docs/VPS-SETUP.md and set up Rune on my VPS me@host." The runbook covers the domain or tunnel, the service, the firewall, checks, and connect lines for Claude and Grok. Your key is never printed: docs/VPS-SETUP.md.

Platform support

Platform How to install Skills Lifecycle hooks Subagents
Claude Code /plugin install rune@rune-kit 67 ✅ native ✅
OpenAI Codex .codex-plugin + rune setup --platform codex 67 ✅ native ✅ spawn_agent
Grok Build (xAI) grok plugin install rune-kit/rune --trust · or --platform grok → .grok/skills/ 67 ✅ plugin hooks · or rune hooks install --platform grok → .grok/hooks/ (beta) ✅ (beta)
Cursor (Grok Build's predecessor) Cursor plugin (.cursor-plugin/) · or --platform cursor → .cursor/skills/ 67 ✅ .cursor/hooks.json via rune hooks install --platform cursor (beta; Grok Build runs the same file) —
Antigravity (IDE + CLI) --platform antigravity → .agents/skills/ + .agents/rules/ 67 ✅ .agents/hooks.json via rune hooks install --platform antigravity (beta) —
Gemini CLI (enterprise) gemini extensions install …/rune · or --platform gemini 67 ✅ native .gemini/settings.json via rune hooks install --platform gemini (beta) ¹ —
GitHub Copilot (CLI / VS Code agent mode) --platform copilot → .github/skills/ 67 — —
Cline --platform cline → .cline/skills/ 67 — —
Kiro · Amp · Goose · Factory · Junie · Trae · Roo --platform agents → .agents/skills/ · or npx skills add rune-kit/rune 67 — —
OpenCode --platform opencode → .opencode/skills/ + .opencode/agents/ + /rune + MCP config 67 ✓ native .opencode/plugins/rune/ via rune setup --platform opencode ✓ 66 .opencode/agents/rune-*.md
Windsurf · Qoder · Qwen Code --platform <name> 67 rules (Windsurf) —
Aider · OpenClaw · any other --platform aider / openclaw / generic 67 inline constraints —
Any Agent Plugins 1.0 client root plugin.json (skills) 67 — —

Every route ships all 67 core skills and the 14 free extension packs. Where a runtime has no native hooks or subagents, Rune compiles the same gates into inline MUST/NEVER constraints and sequential workflows — same knowledge, runtime-dependent enforcement.

¹ The Gemini extension's bundled hooks/hooks.json is Claude-format; Gemini skips the events it doesn't know and may log a notice at startup. Skills are unaffected, and rune hooks install --platform gemini writes Gemini-native hooks separately.

Quick start

/rune onboard                                   # map the project → CLAUDE.md / AGENTS.md + .rune/ memory
/rune cook "add user authentication with JWT"   # full TDD cycle: plan → test → build → gates → commit
/rune debug "login returns 401 for valid users" # root cause first, then fix
/rune rescue                                    # refactor legacy code behind characterization tests
/rune sentinel                                  # security scan before you commit
/rune audit                                     # 8-dimension project health report

Outside Claude Code, pick a skill from your agent's skill or slash-command menu (compiled skills are named rune-<skill>, e.g. $rune-cook in Codex), or just describe the task — each skill's description tells the agent when to use it.

What's New (v2.36.0 — Serve)

v2.36.0 (2026-12-04): "Console" — Rune Business gets a management console (rune console, rune serve --console, a public sample page), OpenCode 2 is compiled natively, builds are reproducible (manifests, config explain, golden tests), and rune serve is hardened (proxy rate limits, flaky-tunnel retries).

v2.35.0 (2026-11-28): "Proof" — Catch junk tests, read what's new after every upgrade, and zoom the skill mesh until the names are readable. rune serve is tested end-to-end through a real public tunnel (including a macOS DNS fix), with no VPS required.

v2.34.1 (2026-11-27): Patch for rune serve found in a live Windows test (PowerShell, Node 24, non-TTY shell), plus a cheaper skill list and a release script.

  • rune serve. Install Rune once and use it from every agent on every machine. Run it on a VPS (or any box) and connect Claude Code, Grok Build, Cursor, Codex, Gemini / Antigravity CLI, Grok Bot or your own bot over MCP — no local install. Four tools (list_skills, get_skill, get_reference, run_skill), plus slash-style MCP prompts.
  • rune serve setup does the wiring. A wizard (or --yes --json for agents) detects PC vs VPS, creates the key (printed once, or written to a 0600 --key-out file so it stays out of chat), exposes the server (local, Cloudflare quick tunnel, Caddyfile, or Tailscale Funnel), keeps it running, and prints copy-paste connect steps. Follow-up commands: status, doctor, connect <client>, start, stop. Docs: docs/SERVE.md.
  • Test-integrity gate. rune verify --integrity (and the same check in hook-dispatch preflight + commit sentinel) flags hollowed-out tests: deleted or loosened assertions, new skips, changed expected literals, and edits to frozen tests/char/** and tests/holdout/**. Strict blocks; gentle warns; an auditable Test-Change-Approved override is logged.
  • Context monitoring on more runtimes. Pro Context Intelligence hooks install natively on Cursor, Grok Build, Antigravity and Gemini CLI instead of falling back to rules.
  • Current model tiers. Authoring tiers are fable / opus / sonnet / haiku (Fable is optional frontier, not a new default). Gemini CLI hints use stable-GA ids; Antigravity haiku hints Gemini 4 Hydrogen (Low); Codex gains rune_frontier; Grok hints name grok-4.7 plus effort.

Full notes: CHANGELOG.md. Older release notes: CHANGELOG.md.

Free, Pro and Business

Free (this repo) Pro — $49 lifetime Business — $149 lifetime
67-skill mesh, 14 domain packs, 16 platforms ✅ ✅ ✅
Hooks: preflight, sentinel, completion-gate, quarantine ✅ ✅ ✅
Context watch tool-call counter real-% context cockpit, burn-rate ETA, auto state save before compaction ✅
Autopilot — approve a plan once, it executes and resumes across sessions — ✅ ✅
Domain packs 14 engineering +9: product, sales, data science, support, growth, media, personal brand, e-commerce, Vietnam +4: finance, legal, HR, enterprise search + cross-department orchestrators

One-time payment, no subscription. Card/PayPal (Polar) or Vietnamese bank transfer (SePay).

Rune Pro — Autopilot + Context Intelligence · $49 lifetime

Get Rune Pro Get Rune Business

What's inside Pro and Business

Context Intelligence (Pro). On Claude Code, Pulse runs as a native statusline; on Codex it runs as the Pro watcher/HUD next to Codex's own footer.

◈ Opus 5.5 │ ████████░░░ 73% WARM │ ⬡ cook·L1 │ $0.91 │ 5h ██░░ 22%  7d ███░ 61%

A glitch-proof real %, a burn-rate ETA ("~4m until auto-compaction"), and what is eating your context ("files 61% · mcp 22%"). At 70/80/90% it writes pressure into the agent's context so session-bridge + neural-memory save state before compaction; after compaction session-start reloads .rune/.

Autopilot (Pro). Autonomous multi-session execution with zero-HIGH quality gates, baseline regression checks, cross-phase coherence review and a structured completion report. cook gets the job done; autopilot gets it done while you sleep.

Pro packs. Product (PRDs, roadmaps, KPI dashboards) · Sales (account research, call prep, outreach) · Data Science (SQL → viz → stats → ML eval) · Support (triage, KB, escalations) · Growth (SEO, landing pages, CRO, 74 marketing models) · Media (raster image generation across 5 providers with safety gates) · Personal Brand (identity → strategy → content engine → monetization) · E-commerce (dropshipping pipeline, BE-ROAS pricing gate) · Vietnam (Zalo/TikTok Shop/Shopee, COD logistics, Tết calendar).

Business packs are jurisdiction-aware (VN · US · EU · SG): finance forecasts from the sales pipeline, legal audits product specs, enterprise search indexes the support KB — 40 cross-domain signals, 28 pack skills, 143 reference files, 16 calculators, 4 cross-department orchestrators. Includes everything in Pro.

How it works

Rune is a mesh, not a pipeline: 5 layers, each skill calls only what its layer allows, and declarative signals (emit / listen) wire them together without a runtime event bus.

Layer Skills Role
L0 Router (1) skill-router Routes every request to the right skill
L1 Orchestrators (5) cook · team · launch · rescue · scaffold Full lifecycle workflows
L2 Workflow hubs (30) plan · scout · brainstorm · design · ba · graft · mcp-builder · skill-forge · debug · fix · test · review · db · sentinel · preflight · audit · perf · adversary · onboard · logic-guardian · improve-architecture · review-intake · deploy · docs · incident · marketing · autopsy · safeguard · surgeon · retro Cross-hub mesh — the differentiator
L3 Utilities (31) verification · completion-gate · hallucination-guard · constraint-check · integrity-check · sast · sentinel-env · converge · quarantine · context-engine · context-pack · session-bridge · journal · neural-memory · research · docs-seeker · trend-scout · problem-solver · sequential-thinking · council · watchdog · scope-guard · browser-pilot · asset-creator · diagram · slides · video-creator · dependency-doctor · git · worktree · doc-processor Stateless capabilities
L4 Extension packs (14 free) ui · backend · devops · mobile · security · trading · saas · ecommerce · ai-ml · gamedev · content · analytics · chrome-ext · zalo Domain knowledge, loaded on demand
Key workflows

cook — build a feature

Phase 0 RESUME     → detect existing .rune/plan-*.md, load active phase
Phase 1 UNDERSTAND → scout scans codebase, ba elicits requirements
Phase 2 PLAN       → plan creates master plan + phase files
Phase 3 TEST       → test writes failing tests (TDD red)
Phase 4 IMPLEMENT  → fix writes code (TDD green)
Phase 5 QUALITY    → preflight + sentinel + review (parallel)
Phase 6 VERIFY     → verification + hallucination-guard
Phase 7 COMMIT     → git creates semantic commit
Phase 8 BRIDGE     → session-bridge saves state, announces next phase

rescue — refactor legacy code: autopsy (health score) → safeguard (characterization tests) → surgeon (one module per session) → cleanup → before/after health comparison.

launch — deploy + market: full test suite → deploy → live checks + monitoring → landing copy, social, SEO → announce.

Mesh resilience. If debug can't find the cause, problem-solver tries a different reasoning mode; if docs-seeker comes up empty, research widens the search. Loop guard: max 2 visits per skill, max chain depth 8.

Cross-session memory. .rune/ keeps decisions.md, conventions.md, progress.md and a session log; every new session loads it automatically.

Signals.

scout ──emit:codebase.scanned──→ plan, brainstorm
fix ────emit:code.changed──────→ test, sentinel, review, preflight, verification
test ───emit:tests.failed──────→ debug
debug ──emit:bug.diagnosed─────→ fix
deploy ─emit:deploy.complete───→ watchdog
Auto-discipline hooks

rune setup (or rune hooks install) wires Rune skills into the runtime so they fire on their own — no more typing /rune preflight:

Event Skill When it fires
PreToolUse(Edit|Write) preflight Before the agent edits source files
PreToolUse(Bash) sentinel Before shell commands (catches git commit, secrets)
PostToolUse(Edit|Write) dependency-doctor After dependency manifest edits
PostToolUse(MCP, WebFetch) quarantine Marks untrusted external content as data, not instructions
Stop completion-gate End of session — reminds the agent about uncommitted changes and unverified claims
PreToolUse(all) context-watch Warns at 80 / 120 tool calls; the first red warning carries a one-line Pro tip (RUNE_PRO_HINT=0 hides it)

What actually blocks. Only two gates can stop a tool call: preflight (reading or writing private keys and certificates) and sentinel (a git commit that would add secrets). In the Claude Code and Grok Build plugins they always block; with rune hooks install they block under --preset strict and only warn under --preset gentle (the default). dependency-doctor, quarantine, completion-gate and context-watch are advisory everywhere — they add context for the agent but never deny a call. On runtimes without hooks, the same rules ship as written constraints the model is asked to follow; nothing enforces them.

npx @rune-kit/rune setup                       # interactive: scope, runtime, tiers
npx @rune-kit/rune hooks install --preset gentle   # advisory (default) · strict lets preflight/sentinel block · off uninstalls
npx @rune-kit/rune hooks status

Rune only manages entries tagged with its own command signature; your hooks are preserved. Paid tiers stack with --tier pro,business (set RUNE_PRO_ROOT / RUNE_BUSINESS_ROOT). Full reference: docs/HOOKS.md.

Updating
npx @rune-kit/rune@latest update     # pulls Pro/Business repos, rewrites managed files in place, runs doctor

Claude Code: claude plugin update rune, restart, then npx @rune-kit/rune@latest setup. Compiled platforms: re-run npx @rune-kit/rune@latest init --platform <name> --force. Verify with npx @rune-kit/rune@latest doctor (add --hooks for hook drift). Releases are announced on Telegram and GitHub Releases.

Documentation

Doc What's inside
docs/GETTING_STARTED.md Your first 5 minutes — install to first /rune cook
docs/SKILLS.md All 67 skills, searchable by intent and layer
docs/guides/cli.md CLI reference and per-platform output
docs/ARCHITECTURE.md 5-layer mesh and adapter coverage
docs/SIGNALS.md Signal inventory and emit/listen graph
docs/HOOKS.md Auto-discipline hooks per platform
docs/SERVE.md rune serve — host Rune on a server, connect any agent over MCP
docs/VPS-SETUP.md Agent runbook: set up rune serve on a VPS end to end (domain or tunnel, service, firewall, client config)
docs/TROUBLESHOOTING.md Common issues and fixes
AGENTS.md · llms.txt Context for AI agents working on or with Rune
CONTRIBUTING.md · CHANGELOG.md · ROADMAP.md Contribute, history, what's next

Numbers

Core skills:       67 (L0: 1 │ L1: 5 │ L2: 30 │ L3: 31)
Extension packs:   14 free + 9 pro + 4 business
Mesh:              248 connections · 46 signals (checked by rune doctor)
Platforms:         16 compiler targets + native plugins for Claude Code, Codex, Cursor, Grok Build, Gemini CLI
Tests:             1,500+ (compiler, hooks, manifests, signals, scripts)

Acknowledgments

  • UI/UX Pro Max (MIT) — design intelligence databases behind Rune's design skill and @rune/ui pack.

License

MIT

About

Less skills. Deeper connections. 67-skill engineering mesh for AI coding agents — TDD-first workflows, security gates and project memory. Native in Claude Code, Codex, Cursor, Grok Build and Gemini CLI; works in any Agent Skills runtime. MIT.

Topics

Resources

Contributing

Stars

96 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages