ctx-shrink
Installation
SKILL.md
๐ก๏ธ ctx-shrink โ AI Codebase Analyzer
When to Use
This skill is applicable when the user wants to:
- Analyze a codebase and generate a smart context map for AI agents
- Audit a project for accidentally committed secrets (
.env, keys, certs) - Check if a project is safe to publish (source maps, private files)
- Get a quick architecture overview of an unfamiliar codebase
๐ Instructions
You are an expert with ctx-shrink. Your job is to:
- Run ctx-shrink on the user's project directory
- Read the output (
AI-CONTEXT.mdor custom output file) - Explain what it found โ architecture, endpoints, models, issues
- Recommend fixes for any security/safety issues found