Codemap Skill β AI skill for Claude Code
π§Ή A code janitor for AI agents β map any codebase into functional modules, score every module 0-100 for tech debt, and clean up the spaghetti incrementally.
How to install Codemap Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Asixa/codemap-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Codemap Skill does
π§Ή A code janitor for AI agents β map any codebase into functional modules, score every module 0-100 for tech debt, and clean up the spaghetti incrementally. A Claude Code / Codex skill.
Alternatives in AI
- Agent Rules Books β AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code 2.6k β
- 09 Query Engine β Prompt 09: Get the QueryEngine (Core LLM Loop) Functional 2.3k β
- LiveAgent β A fully functional AI Agent desktop client that supports Webui access and can be creatively customized and exp 1.9k β
README
π§Ή codemap
**A code janitor for AI coding agents.** Point it at any repo and it draws an **interactive architecture map**, scores **every module 0β100** for technical debt, and helps you **pay down the cruft** β incrementally, one commit at a time.
     [](https://github.com/Asixa/codemap-skill/actions/workflows/test.yml)
Every codebase accumulates cruft over time β monkeypatches, silent fallbacks, dead "legacy" paths, half-finished stubs, copy-pasted duplication, god-files, and valueless glue. **codemap surfaces that rot, ranks it, and hands an AI agent a clear punch-list to fix it** β with a regression-gated fix loop: a change is accepted only when an independent check shows your tests still pass.

Install
codemap follows the open **Agent Skills** standard (a folder with a `SKILL.md`), now shared by **Claude Code, Codex, and Cursor**. Clone it into the tool's `skills/` folder and it auto-discovers as **`/codemap`** β no extra config:
# Claude Code β global skills folder
git clone https://github.com/Asixa/codemap-skill ~/.claude/skills/codemap
# OpenAI Codex β global skills folder
git clone https://github.com/Asixa/codemap-skill ~/.codex/skills/codemap
# Cursor β global skills folder
git clone https://github.com/Asixa/codemap-skill ~/.cursor/skills/codemap
Restart the tool (or start a new session) and type **`/codemap`**. All three also accept a **per-project** install β drop
Related Skills
Vibe Explain
Cognitive debt map for AI-generated code. Surfaces opaque blocks you don't fully own or understand, generates
Mancode
AI coding agent harness. Five modes: practice to playoffs. Stop your AI from over-engineering. Code like a man
Wikify Repo
Compile any codebase into a grounded, lint-clean markdown wiki your AI agent can actually trust β SCIP symbol
Coding Agent Heat Index
Daily leaderboard ranking 12 AI coding agents (Cursor, Claude Code, Cline, Aider, Codex, Gemini CLI and more)
Agent Janitor
menu bar janitor for AI-agent dev macs: tracks process lineage before launchd reparenting destroys it, flags o
Add Streaming Endpoint
Scaffold a token-streaming LLM endpoint β server-side streaming plus the client handler β so responses render
Related Agents
Janitor
Perform janitorial tasks on any codebase including cleanup, simplification, and tech debt remediation.
Autopsy
Full codebase health assessment β quantified health scores (0-100) per module across 6 dimensions. Identifies
Clean Code Refactor
Use this agent when you need to refactor existing code, rewrite a module for better maintainability, decompose