Quick Start
Install
Section titled “Install”aspens runs via npx — no global install needed. Requires Node.js 20+ and at least one backend CLI.
One-command setup
Section titled “One-command setup”npx aspens doc init --recommended--recommended is the fastest path:
- Reuses existing target config when present
- Defaults to improving existing docs instead of prompting
- Auto-picks the generation mode based on repo size
- Installs hooks and save-tokens setup
Verify
Section titled “Verify”npx aspens doc impactThis shows whether your generated context covers the repo: domain coverage, hub file surfacing, freshness, and hook health.
Keep it fresh
Section titled “Keep it fresh”npx aspens doc sync --install-hookThis installs a git post-commit hook that automatically updates skills when relevant files change. The hook has a 5-minute cooldown to avoid excessive runs.
Full workflow
Section titled “Full workflow”npx aspens scan . # Map the repo (optional, just to see what aspens finds)npx aspens doc init --recommended . # Generate the recommended context setupnpx aspens doc impact . # Verify freshness and coveragenpx aspens doc sync --install-hook # Keep generated context synced on every commitAdd agents and commands
Section titled “Add agents and commands”npx aspens add agent all # Install all 11 bundled AI agentsnpx aspens customize agents # Tailor agents with your project's contextnpx aspens add command dev-docs # Add slash commandsWhat gets created
Section titled “What gets created”For Claude target:
.claude/ skills/ base/skill.md # Repo-wide context: stack, architecture, conventions auth/skill.md # Domain skill: auth patterns, key files, rules billing/skill.md # Domain skill: billing integration details ... hooks/ # Activation hooks, session tracking settings.json # Skill rules and Claude settingsCLAUDE.md # Top-level repo instructionsFor Codex target:
.agents/ skills/ base/SKILL.md auth/SKILL.md billing/SKILL.md ...AGENTS.md # Top-level repo instructions