Contextai
Description
Universal context engineering CLI – generate AGENTS.md, CLAUDE.md, .cursorrules and more from a single context.config.ts
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
contextai

[](https://www.contextai.run) [](https://www.npmjs.com/package/contextai) [](LICENSE) [](package.json) [](https://www.npmjs.com/package/contextai)
Universal context engineering CLI for AI coding agents. Define your project's conventions, stack, and architecture in a single `context.config.ts` file, then generate AI-readable context files for multiple tools from that single source of truth.
**Website:** [www.contextai.run](https://www.contextai.run)
Supported output targets
| Target | File |
|---|---|
| OpenAI Codex / generic agents | AGENTS.md |
| Claude | CLAUDE.md |
| Cursor | .cursorrules |
| GitHub Copilot | .github/copilot-instructions.md |
| LLMs.txt | llms.txt |
| Kiro (AWS) | .kiro/steering/*.md |
| Windsurf | .windsurf/rules/*.md |
| Gemini CLI / Antigravity | GEMINI.md |
| Custom | any path via config |
Quick start
npm install -g contextai
# Interactive setup — creates context.config.ts
contextai init
# Generate all enabled output files
contextai generate
Commands
| Command | Description |
|---|---|
contextai init |
Interactive setup wizard |
contextai generate |
Generate output files from config |
contextai generate --dry-run |
Preview output without writing files |
contextai generate --format json |
Output JSON IR to stdout instead of writing files |
contextai validate |
Check output files are fresh and well-structured |
contextai diff |
Show diff between config and on-disk outputs |
contextai watch |
Watch config for changes and regenerate automatically |
Configuration
Create a `context.config.ts` at your project roo
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development