Skip to main content
ContextForge
v0.1.10 · Now on npm

Registry-powered CLI

Make any repo
AI-agent
ready.

Install curated instruction packs for Codex, Claude Code, Cursor, and Copilot from one CLI.

contextforge-init
$
20+Packs available
4AI tools
1Command to set up
MITOpen source

The problem

AI agents are powerful but most repos don't instruct them.

Without repo-level instructions, agents make expensive assumptions and cut corners.

  • Guesses your architecture without reading project context
  • Skips verification and claims work is done without evidence
  • Adds packages without checking what already exists
  • Mishandles Git — merges, rebases, resets — without asking
  • Ignores your project conventions and established patterns
  • Produces inconsistent frontend code across components
  • Misses security, testing, and documentation requirements

Architecture

One command. Registry-pulled. Installed locally.

01.The registry is public, static, and versioned independently from the CLI.
02.The CLI resolves pack paths and downloads instruction files for each AI tool.
03.Instructions live in .contextforge/agents/<tool>/ and .contextforge/skills/.
04.Root files stay tiny — AGENTS.md and CLAUDE.md are pointers, not the real content.
Full walkthrough

Core packs

Installed on every project by default.

Six always-active packs that enforce the habits making AI agents reliable across every project.

verification-before-completion

Prevents agents from claiming success without fresh, observable evidence.

systematic-debugging

Forces root-cause debugging. No random patches.

code-review

Reviews changes for correctness, security, performance, and maintainability.

git-workflow

Permission-gates commits, pushes, merges, resets, and history rewrites.

dependency-management

Checks existing dependencies before adding anything new.

diataxis-docs

Keeps documentation updated using tutorial, how-to, reference, and explanation structures.

Stack packs

Detected automatically from your project.

ContextForge reads your project and installs the right stack packs. More added as the registry grows.

nextjs-best-practices
react-performance
react-composition
shadcn-ui
tailwind-v4
ui-ux-design
frontend-aesthetics
typescript-advanced-types
supabase
security-baseline
system-design
frontend-system-design
api-design
test-driven-development
Browse all packs

One command. Any repo.
Agent-ready.

Run it in any existing project. Takes less than a minute.

npx @contextforge/cli init