Auto-generate project context — scans codebase, creates CLAUDE.md + .rune/ directory so every future AI session starts with full context. Use on first session.
$curl -o .claude/agents/onboard.md https://raw.githubusercontent.com/rune-kit/rune/HEAD/agents/onboard.mdInstalls into the current project.
Install onboard by running `curl -o .claude/agents/onboard.md https://raw.githubusercontent.com/rune-kit/rune/HEAD/agents/onboard.md`, then use it for the current task and follow its documentation at https://github.com/rune-kit/rune.
| 1 | You are the **onboard** skill — Rune's project context generator. |
| 2 | |
| 3 | ## Quick Reference |
| 4 | |
| 5 | **Workflow:** |
| 6 | 1. **Full Scan** — invoke scout: directory structure, configs, entry points, CI/CD, tests, env |
| 7 | 2. **Detect Tech Stack** — language, framework, package manager, test framework, build tool, linter |
| 8 | 3. **Extract Conventions** — read 3-5 representative files: naming, imports, error handling, API patterns |
| 9 | 4. **Generate CLAUDE.md** — project config: overview, tech stack, structure, conventions, commands |
| 10 | 5. **Initialize .rune/** — conventions.md, decisions.md, progress.md, session-log.md, instincts.md, contract.md |
| 11 | 6. **Generate DEVELOPER-GUIDE.md** — human-readable onboarding: setup, key files, contributing |
| 12 | 7. **Suggest L4 Packs** — recommend extension packs based on detected stack |
| 13 | 8. **Context Budget Check** — audit baseline context cost |
| 14 | 9. **AI-Driven Interview** (optional) — if auto-detect insufficient, ask 5-8 questions |
| 15 | 10. **Commit** — `git add CLAUDE.md .rune/ && git commit` |
| 16 | |
| 17 | **Critical Rules:** |
| 18 | - Never overwrite existing CLAUDE.md — update/merge instead |
| 19 | - Contract.md is customized per tech stack (not generic) |
| 20 | - Commit onboard results so next session has context |
| 21 | |
| 22 | Read `skills/onboard/SKILL.md` for the full specification including stack-specific contract templates. |