CodeLookup is an intelligent dependency checker and safety skill for AI coding agents. It ensures that before making changes, agents scan your codebase to detect callers, dependents, and linked systems that might break, planning and applying cascade updates in a single step.
- Static Analysis: Scans the workspace to build a static import/dependency mapping (
.codelookup/graph.json). - Git Integration: Queries current modified and untracked files in the working directory.
- Blast Radius Analysis: Traces affected dependents and outputs a Mermaid flowchart mapping the blast radius of your modifications.
- Agent Action Protocol: Guides the agent to resolve and modify all affected systems collectively, preventing broken commits.
Run the installer interactively from the NPM registry:
npx codelookupYou can also run it silently to install to all detected directories:
npx codelookup --allTo uninstall CodeLookup from all directories:
npx codelookup --uninstallcurl -fsSL https://raw.githubusercontent.com/ZethRise/CodeLookup-Skill/main/install.sh | bashirm https://raw.githubusercontent.com/ZethRise/CodeLookup-Skill/main/install.ps1 | iexgit clone https://github.com/ZethRise/CodeLookup-Skill.git
cd CodeLookup-Skill
npm install
node dist/install.jsOnce installed, the skill instructions are copied to target agent config directories. The agent reads the instructions and performs dependency checks automatically:
- Build/update the graph cache:
npx codelookup-build
- Run the impact analysis checker:
npx codelookup-check
- Claude Code: Configured at
~/.claude/skills/codelookup/ - Gemini / Antigravity: Configured at
~/.gemini/config/skills/codelookup/ - Codex: Configured at
~/.codex/skills/codelookup/ - Cursor: Configured globally at
~/.cursor/rules/and locally at.cursor/rules/