code-header-annotator
Add or refresh a fixed 20-line file-header comment that summarizes a source file and indexes key classes/functions with line-number addresses. Use when annotating large codebases for fast navigation, onboarding, refactors, or when you want LLMs/humans to locate relevant symbols quickly without reading entire files.
Installation
SKILL.md
Maintain a fixed 20-line header region per code file (marked by @codex-header: v1) that captures the file's purpose and a compact index of key symbols (with line addresses).
When exploring large repos, read headers first, only open full files when relevant:
Use the header to "walk upward" from a concrete type to its parents:
Add or refresh a fixed 20-line file-header comment that summarizes a source file and indexes key classes/functions with line-number addresses. Use when annotating large codebases for fast navigation, onboarding, refactors, or when you want LLMs/humans to locate relevant symbols quickly without reading entire files. Source: lexwdex/my_lm_skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/lexwdex/my_lm_skills --skill code-header-annotator- Source
- lexwdex/my_lm_skills
- Category
- </>Dev Tools
- Verified
- —
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is code-header-annotator?
Add or refresh a fixed 20-line file-header comment that summarizes a source file and indexes key classes/functions with line-number addresses. Use when annotating large codebases for fast navigation, onboarding, refactors, or when you want LLMs/humans to locate relevant symbols quickly without reading entire files. Source: lexwdex/my_lm_skills.
How do I install code-header-annotator?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/lexwdex/my_lm_skills --skill code-header-annotator Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/lexwdex/my_lm_skills
Details
- Category
- </>Dev Tools
- Source
- user
- First Seen
- 2026-02-01