Rune Guides
Everything you need to go from install to production. Rune turns your AI coding assistant into a structured engineering team with 58 interconnected skills.
What is Rune?
Rune is a 58-skill mesh ecosystem for AI coding assistants. Instead of giving your AI one prompt at a time, Rune gives it structured workflows where skills call each other automatically.
Without Rune
- You prompt "fix this bug"
- AI guesses a fix, might break tests
- No security check before commit
- Same mistake next session
- Context lost between sessions
With Rune
- You say
/rune cook "fix login bug" - scout scans codebase, debug traces root cause
- fix writes code, test verifies, sentinel blocks secrets
- session-bridge saves context for next session
- git creates semantic commit automatically
Think of it like this: without Rune, your AI is a solo intern. With Rune, your AI is a coordinated engineering team — debugger, tester, security auditor, architect, all talking to each other.
Installation
Claude Code uses Rune as a native plugin — no compilation needed.
Cursor uses .mdc rule files. Rune compiles all 58 skills into Cursor's format.
Skills are compiled into .cursor/rules/. Cursor picks them up automatically.
Windsurf uses .md rule files in its rules directory.
Google Antigravity (formerly Jules) uses the .agent/ directory.
First Run
After installing, onboard your project so Rune understands your codebase:
This creates persistent context files that every Rune skill reads. No more re-explaining your stack every session.
.rune/ directory to your repo. This way every team member
(and every AI session) starts with the same project understanding.
Add to Existing Project
"I already have a project. How do I make Rune debug it?" — Great question. Rune works on any existing codebase. Here's the 3-step flow:
- Install Rune (see platform tabs above)
- Run onboard —
/rune onboardscans your codebase, detects stack, frameworks, patterns - Start using workflows —
/rune debug "my error",/rune cook "add feature", etc.
Rune's scout skill reads your files, onboard creates context,
and from there every skill knows your project structure, conventions, and dependencies.
You don't need to configure anything manually.
Mesh Architecture
Unlike a pipeline (A→B→C) or hub-spoke (everything through one center), Rune's mesh means skills call each other bidirectionally and route around failures.
200+ connections between 58 skills. When debug can't find the cause,
it escalates to problem-solver. When cook hits a wall 3 times,
it pivots to brainstorm. When sentinel finds a vulnerability,
it blocks the commit. The mesh is self-healing.
5-Layer System
| Layer | Role | Count | Examples |
|---|---|---|---|
| L0 | Router | 1 | skill-router — routes every action to the right skill |
| L1 | Orchestrators | 5 | cook, team, launch, rescue, scaffold |
| L2 | Workflow Hubs | 27 | plan, debug, fix, test, review, sentinel, design, ba, adversary... |
| L3 | Utilities | 24 | research, verification, git, session-bridge, sentinel-env... |
| L4 | Extension Packs | 13 | @rune/trading, @rune/saas, @rune/ai-ml, @rune/gamedev... |
Layer rules: Skills only call downward (L1→L2→L3). L3 utilities never call L1 orchestrators. This prevents circular dependencies and keeps the mesh predictable.
Skill Connections
Every skill declares who it calls and who calls it. Here's how cook orchestrates a feature:
This is just one path. If fix fails 3 times, cook escalates:
first to debug, then to brainstorm (rescue mode),
then asks the user. The mesh adapts.
Model Routing
Rune auto-selects the cheapest model that can handle each task:
| Model | Cost | Used For |
|---|---|---|
| Haiku | Lowest | scout, verification, git, sentinel-env — scanning, checking |
| Sonnet | Medium | fix, test, review, design — code writing, analysis |
| Opus | Highest | plan, architect, adversary, ba — deep reasoning, decisions |
/rune cook feature costs ~$0.05-0.15 in API tokens.
Most of the work is done by Haiku and Sonnet.
/rune cook — Build Features
The primary workflow. Builds any feature with TDD discipline, security gates, and automatic verification.
Phase 2.5 (Adversary) is unique to Rune: before writing any code, the adversary skill red-teams the plan across 5 dimensions — edge cases, security, scalability, error propagation, and integration risk. It catches issues before they become bugs.
/rune debug — Root Cause Analysis
Debug uses structured reasoning to trace code paths. If it can't find the cause after 3 attempts,
it escalates to problem-solver (5 Whys, Fishbone analysis).
/rune rescue — Refactor Legacy Code
Rescue takes the safe approach: autopsy first (health score), then characterization tests (safety net), then one module at a time. Never rewrites everything at once.
/rune team — Parallel Execution
Team decomposes large tasks into a DAG, creates isolated git worktrees for each stream, runs parallel agents, then merges everything back. Use when a task spans 5+ files or 3+ modules.
/rune onboard — Project Setup
Run this once per project. After that, every Rune skill knows your stack, patterns, and conventions.
Claude Code
Rune is a native Claude Code plugin. It uses the full plugin system: subagents, hooks, commands, contexts, and skills. This is the richest experience.
Cursor
Cursor uses .mdc (Markdown Config) rule files. The compiler converts each SKILL.md
into Cursor's native format with proper frontmatter.
Windsurf
Antigravity
OpenAI Codex
OpenAI Codex uses a directory-per-skill structure inside .codex/skills/.
Each skill gets its own folder with a SKILL.md file — similar to Rune's native format.
Codex skills use YAML frontmatter with name and description fields,
matching Codex's native skill format. The compiler also maps tool names to
Codex-compatible descriptions (e.g., Read → read the file).
AGENTS.md (equivalent to Claude's CLAUDE.md).
Rune skills work alongside your existing AGENTS.md without conflicts.
OpenCode
OpenCode is an open-source AI coding agent with 120K+ GitHub stars. It supports
directory-per-skill SKILL.md format with native subagent support.
OpenCode preserves native subagent support — parallel agents are kept as true
parallel invocations rather than collapsed to sequential steps. The compiler also generates
an AGENTS.md file for project-level context.
.claude/skills/ and
.agents/skills/ — so Claude-compatible skill formats work too.
Using Extension Packs
Extension packs are domain-specific skill bundles. They're included with Rune and auto-detected when your project matches their domain.
Available Packs
Creating Your Own Pack
See docs/EXTENSION-TEMPLATE.md for the full PACK.md format.
Community packs are welcome — submit a PR to add yours!
rune.config.json
Created by rune init. Only needed for non-Claude platforms.
Disabling Skills
Don't need marketing or video skills? Disable them:
Common Issues
"Skills not loading" (Claude Code)
"npx command not found" (Cursor/Windsurf)
Make sure Node.js 18+ is installed. Or install globally:
"Skills compiled but AI doesn't use them"
Restart your IDE after running rune init or rune build.
Some IDEs cache rules and need a restart to pick up new files.
"How do I update Rune?"
FAQ
Is Rune free?
Yes. The full 58-skill mesh + 13 extension packs are free forever, MIT license. Rune Pro ($49 lifetime) adds business department skills (Product, Sales, Data Science).
Does Rune work with my existing CLAUDE.md / .cursorrules?
Yes. Rune's skills are additive — they don't overwrite your existing configuration. Your project-specific rules take precedence.
How much does it cost in API tokens?
A typical /rune cook feature: $0.05-0.15. Rune auto-routes to the cheapest model
(Haiku for scanning, Sonnet for code, Opus only for architecture decisions).
Can I create my own skills?
Yes! Use /rune skill-forge to scaffold a new skill. Skills are just Markdown files
with a specific format. See docs/SKILL-TEMPLATE.md.
Does it work offline?
Rune itself is offline (all skills are local Markdown files). But the AI model you're using (Claude, GPT, etc.) needs internet access.