Website: https://contextforge.org
ContextForge is a registry-powered CLI that installs curated AI-agent instruction packs into existing codebases.
npx @contextforge/cli initMake any repo AI-agent ready.
ContextForge is not an MCP gateway, tool proxy, API gateway, or replacement for skills.sh. It is a repo-level AI-agent instruction installer.
It fetches curated instruction packs from the official registry and installs them into the user's project under .contextforge.
- Main repo: https://github.com/Alone-Y154/ContextForge
- Registry repo: https://github.com/Alone-Y154/ContextForge-registry
- Website repo: https://github.com/Alone-Y154/Contextforge-web
- npm CLI: https://www.npmjs.com/package/@contextforge/cli
- npm Core: https://www.npmjs.com/package/@contextforge/core
- Registry: https://registry.contextforge.org/index.json
Remote registry
https://registry.contextforge.org/index.json
|
v
ContextForge CLI
npx @contextforge/cli init
|
v
User repo
.contextforge/
config.json
lock.json
agents/
skills/
|
v
Tiny root pointers
AGENTS.md
CLAUDE.mdThe registry is public and static. The CLI fetches packs from the registry. The user repo stores installed instructions under .contextforge. Root files only point to .contextforge.
Run inside an existing project:
npx @contextforge/cli initAdd extra packs:
npx @contextforge/cli add supabase
npx @contextforge/cli add nextjs-best-practices
npx @contextforge/cli add system-designSync installed packs:
npx @contextforge/cli syncCheck health:
npx @contextforge/cli doctorList and search the registry:
npx @contextforge/cli list
npx @contextforge/cli search reactContextForge uses .contextforge as the local source of truth:
.contextforge/
config.json
lock.json
agents/
codex/<pack>.md
claude/<pack>.md
cursor/<pack>.md
copilot/<pack>.md
skills/
<pack>/SKILL.mdRoot AGENTS.md and CLAUDE.md are tiny pointer files for agent auto-discovery. They tell the agent to read .contextforge instead of copying pack content into the root file.
npx @contextforge/cli init
npx @contextforge/cli add <pack>
npx @contextforge/cli sync
npx @contextforge/cli doctor
npx @contextforge/cli list
npx @contextforge/cli search <query>For registry testing, registry-backed commands support:
--registry https://example.com/index.jsonNormal users do not need to pass a registry URL.
ContextForge preserves user-written root file content. It only updates generated blocks between:
<!-- contextforge:start -->
<!-- contextforge:end -->corepack pnpm install
corepack pnpm build
corepack pnpm testPackages:
@contextforge/cli: the npm CLI users run withnpx.@contextforge/core: detection, registry fetching, config, sync, doctor, and generation logic.
MIT