codesight-ai-context — Claude Code skill: setup and code context
Builds a compact project map, wiki, and AI-tool files from a codebase. Useful when an agent needs project structure before editing code.
npx skills add reason-machines/trending-skills --skill codesight-ai-context -a claude-codeWhat codesight-ai-context does
The skill runs codesight through npx and writes a structured project view to .codesight/CODESIGHT.md. It records routes, dependency links, data-model structure, interface component inputs, and files with high impact across the project. The --wiki mode creates Markdown articles, while --init produces CLAUDE.md, .cursorrules, codex.md, and AGENTS.md.
You can open an HTML report with --open, inspect a file’s affected area with --blast, or expose the project through an MCP server. MCP tools cover context, routes, models, wiki articles, knowledge notes, and token analysis. The --watch option rebuilds the output after file changes. Node.js >= 18 is required, and the command does not need API keys or config files to start.
What it helps with
- map a codebase for an AI coding session
- build a project wiki from source and Markdown notes
- create context files for supported AI tools
- inspect the impact of changing one file
- serve project context through MCP
Example prompts for the agent
- Generate a map of this project and save it to
.codesight/CODESIGHT.md. - Create a project wiki with
npx codesight --wiki, including the architecture and authentication flow. - Check the impact of changing
src/lib/database.tswithnpx codesight --blast src/lib/database.ts.
How to install codesight-ai-context
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codesight-ai-context -a claude-code2Manually: put the files in place
~/.claude/skills/codesight-ai-context/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/codesight-ai-context/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codesight-ai-context -a codex2Manually: put the files in place
.agents/skills/codesight-ai-context/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codesight-ai-context -a cursor2Manually: put the files in place
.cursor/skills/codesight-ai-context/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills codesight-ai-context2Manually: put the files in place
.github/skills/codesight-ai-context/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codesight-ai-context -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/codesight-ai-contextManually: put the files in place
.devin/skills/codesight-ai-context/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codesight-ai-context -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about codesight-ai-context
How do I install codesight-ai-context in Claude Code?
Run npx skills add reason-machines/trending-skills --skill codesight-ai-context -a claude-code, then check ~/.claude/skills/codesight-ai-context/SKILL.md.
What does codesight-ai-context do?
It maps a codebase, creates a project wiki, and writes context files for AI tools. It can also expose project data through MCP and inspect a file’s change impact.
What does codesight-ai-context require?
Node.js >= 18 is required. Running npx codesight does not require API keys.