By derek-palmer
Routes Claude Code through the tracked codeforerunner prompt pack to keep repository documentation in sync with code.
Routes a coding agent through the tracked codeforerunner prompt pack to keep repository documentation in sync with code. Use when the user asks to generate, refresh, audit, or review README, API docs, stack docs, diagrams, flow docs, version audits, stale-doc checks, security audits, changelog entries, or AGENTS onboarding files.
Generate endpoint-level API documentation from route and handler files. Use when the user wants to document a public API or REST endpoints.
Rank architecture improvement candidates. Use when the user wants architecture friction reviewed before planning refactors.
Run a security and dependency audit against a repository. Use when the user wants a security review, dependency vulnerability check, or supply-chain audit.
Generate a Keep-a-Changelog entry from git history since the last release tag. Use when the user wants to write a CHANGELOG entry or document what changed in a release.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.

Model-agnostic repository documentation tooling. Ships a prompt pack for codebase analysis and doc generation, a thin Python CLI, an MCP server, drift-detection rules that keep docs honest — and native slash-command skills for Claude Code, Codex, Gemini CLI, and other agent CLIs.
Install forerunner's prompt pack as skills into your agent CLI. Each documentation task becomes a slash command (/forerunner-readme, /forerunner-check, etc.) available inside Claude Code, Codex, Gemini CLI, and other agents. Authentication is handled by your existing agent subscription — no separate API key needed.
# From a cloned repo
./install.sh
# One-liner (auto-detects Claude Code, Codex, Gemini CLI)
curl -fsSL https://raw.githubusercontent.com/derek-palmer/codeforerunner/main/install.sh | bash
# npm
npx -y codeforerunner
npm install -g codeforerunner
# Windows
irm https://raw.githubusercontent.com/derek-palmer/codeforerunner/main/install.ps1 | iex
# Via Python CLI
pip install codeforerunner
forerunner install --all claude
forerunner install --all codex
Then in your agent:
/forerunner-scan ← scan the repo first
/forerunner-readme ← generate README
/forerunner-check ← detect doc drift
/forerunner-refresh ← scan + update all stale docs
| Command | Task | Purpose |
|---|---|---|
/forerunner-scan | scan | Collect repo evidence (run first) |
/forerunner-readme | readme | Generate or refresh README.md |
/forerunner-api-docs | api-docs | Generate API reference docs |
/forerunner-diagrams | diagrams | Generate Mermaid architecture diagrams |
/forerunner-flows | flows | Document system flows |
/forerunner-arch-review | arch-review | Rank architecture improvement candidates, inspired by Matt Pocock's /improve-codebase-architecture |
/forerunner-stack-docs | stack-docs | Stack-specific developer docs |
/forerunner-version-audit | version-audit | Audit pinned versions vs EOL |
/forerunner-check | check | Check docs for staleness |
/forerunner-review | review | Doc-impact summary for PR review |
/forerunner-audit | audit | Security and dependency audit |
/forerunner-changelog | changelog | Generate changelog from git log |
/forerunner-init | init-agent-onboarding | Bootstrap or refresh AGENTS.md |
/forerunner-refresh | refresh | Scan + check + update all stale docs in one pass |
Slash command availability depends on the agent CLI. Claude Code, Codex, and Gemini CLI support all commands after install.
| Flag | Effect |
|---|---|
./install.sh | Auto-detect agents, prompt for global vs local, prompt which agents to install |
./install.sh --global | Skip location prompt, install to global agent dirs (all projects) |
./install.sh --local | Skip location prompt, install to .claude/skills/ and .agents/skills/ in cwd |
./install.sh --non-interactive | Skip all prompts, install globally to all detected agents (useful in CI / curl|bash) |
./install.sh --only claude | Claude Code only (skips agent selection prompt) |
./install.sh --only codex | Codex only |
./install.sh --only gemini | Gemini CLI only |
./install.sh --dry-run | Preview, write nothing |
./install.sh --list | Show detected agents + skill list |
./install.sh --uninstall | Remove all installed skills |
pip install codeforerunner
| Command | Purpose |
|---|---|
forerunner init | Resolve agent-onboarding bundle to stdout. |
forerunner scan | Resolve scan bundle to stdout. |
forerunner doc <task> | Resolve base + partials + task bundle to stdout. |
forerunner refresh | Output scan + check + all doc-task bundles in sequence for a full doc refresh. |
forerunner check | Run drift-detection rules; no-op without forerunner.config.yaml. |
forerunner doctor | Health report: skill parity, config. Add --fix to write a starter config. |
forerunner mcp-server | Serve prompt bundles as MCP tools over stdio (JSON-RPC 2.0). |
forerunner install <agent> | Install canonical skill into agent-specific directory. Add --all for all per-task skills. |
# Install skills into Claude Code
curl -fsSL https://raw.githubusercontent.com/derek-palmer/codeforerunner/main/install.sh | bash
# Or via npm
# npx -y codeforerunner
npx claudepluginhub derek-palmer/codeforerunner --plugin codeforerunnerComplete AI coding workflow system. Self-correcting memory + persistent FTS5-indexed research wikis + auto-research loop + multi-LLM council on a single SQLite store. 33 skills, 8 agents, 22 commands, 37 hook scripts across 24 events. Cross-agent via SkillKit.
Make your AI agent code with your project's architecture, rules, and decisions.
Access official Microsoft documentation, API references, and code samples for Azure, .NET, Windows, and more.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Build and maintain an LLM-curated personal knowledge base in your project — Andrej Karpathy's LLM Wiki pattern, designed to scale to thousands of pages without becoming a context bottleneck. Now with an optional compiled graph layer for typed, provenance-backed relationships.
Connect to Atlassian products including Jira and Confluence. Search and create issues, access documentation, manage sprints, and integrate your development workflow with Atlassian's collaboration tools.