Agent context gate for Codex, Claude Code, Copilot, MCP, Cursor, Cline, Gemini and Windsurf repos
README
Agent Context Gate for Codex, Claude Code, GitHub Copilot, MCP, Cursor, Cline, Gemini, and Windsurf repos.
AI coding agents do not fail only because the model is weak. They fail because repositories feed them noisy instructions, unstable cache prefixes, giant tool outputs, over-broad tool configs, and unsafe Markdown they treat as trusted context.
ContextForge is a local-first CI gate for that layer. Run it before a PR, release, or long agent session to answer one practical question: is this repository ready for an agent to work efficiently, cheaply, and safely?
contextforge doctor --summary contextforge-doctor.md
contextforge scorecard --output contextforge-scorecard.md
contextforge audit --min-context-score 70 --min-cache-score 70 --min-security-score 80
contextforge surface-map --output contextforge-agent-surface-map.md
contextforge surface-inventory --output contextforge-agent-surface-inventory.md
contextforge surface-diff --base main --output contextforge-agent-surface-diff.md
The doctor report now gives one first-readiness answer across context health, security benchmark fixtures, MCP exposure, Claude Code settings, agentic workflows, GitHub Ac