Contextai — Development skill for Claude Code
Universal context engineering CLI – generate AGENTS.md, CLAUDE.md, .cursorrules and more from a single context.config.ts.
How to install Contextai
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open madeburo/contextai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Contextai does
Universal context engineering CLI – generate AGENTS.md, CLAUDE.md, .cursorrules and more from a single context.config.ts.
Alternatives in Development
- How Claude Code Works — Deep dive into Claude Code internals — architecture, agent loop, context engineering, and more 1.9k ★
- Haft — Engineering decisions engine that know when they're stale 1.4k ★
- Contributing To Context Engineering Kit — Thank you for your interest in contributing to the Context Engineering Kit marketplace 645 ★
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
Inception Mercury Compaction
Universal context compaction tool for CLI coding agents (Claude Code, Codex CLI, OpenCode, Mistral Vibe). Dete
Claude Code Cheat Sheet
A single-page reference covering every keyboard shortcut, slash command, CLI flag, MCP server config, CLAUDE.m
Claude Config Portable
Portable CLI to export and import your entire Claude Code setup (plugins, skills, MCPs, settings) as a single
Mcptoon
Listing 255 MCP tools costs 71,929 tokens. mcptoon's name index: 581 (-99.2%, tiktoken-measured). Zero-dep CLI
Setup Stack
Generates stack-specific agents, skills, and configs, creating the active stack (config.json) without touching
Setup Copilot
Universal Claude Copilot setup. Auto-detects context and routes to the appropriate setup command.
Related Agents
Senior Swe
Phase 2 implementer for software engineering codebases. Use after an architect plan has been approved, OR for
File Searcher
Lightning-fast universal repository navigator - provides instant file/folder/line/word location services to AL
Code Audit Maintainer Node
Maintainer-only audit of the framework Node/CLI TypeScript, its render templates and test snapshots, and the C