Code Map
Maps drafted time entries to the client phase and task codes with the deterministic code_map engine and flags submitted-code mismatches with citations; it recommends codes only. Use it after narrative-draft and before guideline-check when the user asks "what code should this entry use?", "map my time to billing codes", "is this task code wrong?", "check my phase and task codes" or "recommend phase codes for my entries". Do NOT use for gathering activity (use activity-pull), narrative wording (use narrative-draft), overall compliance or rejection risk (use guideline-check), recoding entries in
Install
npx skills add microsoft/cat-agent-skills --skill code-mapgit clone --depth 1 https://github.com/microsoft/cat-agent-skills.git /tmp/cat-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cat-agent-skills/submissions/time-expense-narrative-compliance/skills/code-map ~/.claude/skills/code-mapPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Code Map ## Purpose Deterministically map each drafted time entry to the illustrative phase/task code structure and surface submitted-code mismatches and unmappable entries with citations. ## When to use After `narrative-draft`, whenever drafted entries need a recommended code or an existing timesheet needs code hygiene before pre-bill. ## Inputs `drafted.json` from narrative-draft, `activity.json` from activity-pull (the same packet narrative-draft read), the controlled task-code structure (`references/task-phase-codes.md`) and the signal policy `config/signal-sources.json`, both in this skill folder. ## Steps 1. Run `python3 scripts/code_map.py --activity activity.json --drafted drafted.json --out coded.json`. The engine first re-runs activity reconciliation and narrative-draft on `activity.json` (the activity-pull output) and refuses a `drafted.json` that differs from that re-derivation in any field (client-billing-guidelines.md #13.8); it then re-applies the signal policy and the recorded timekeeper scope before mapping. 2. Quote the recommended phase/task code, basis, confidence and every flag exactly. 3. Report `submitted_code_mismatch` flags as pre-bill exceptions and `unmapped_code` flags (conflicting, partly mapped or unknown classes) as held for review.
Details
- Skill name
code-map- Repository
- microsoft/cat-agent-skills
- Path
submissions/time-expense-narrative-compliance/skills/code-map/SKILL.md- License
- MIT
- Repo updated
- 15 November 2026
FAQ
What does the Code Map skill do?
Maps drafted time entries to the client phase and task codes with the deterministic code_map engine and flags submitted-code mismatches with citations; it recommends codes only. Use it after narrative-draft and before guideline-check when the user asks "what code should this entry use?", "map my time to billing codes", "is this task code wrong?", "check my phase and task codes" or "recommend phase codes for my entries". Do NOT use for gathering activity (use activity-pull), narrative wording (use narrative-draft), overall compliance or rejection risk (use guideline-check), recoding entries in
How do I install the Code Map skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add microsoft/cat-agent-skills --skill code-map. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Code Map popular?
It lives in microsoft/cat-agent-skills, which has 110 GitHub stars and 122 forks.
Related skills
3 Statements
110microsoft/cat-agent-skills
Completes existing income statement, balance sheet and cash flow templates while preserving layout, grounding historical inputs and linking forecast formulas with reconciliation checks. Use for "fill in a 3-statement template", "complete an IS/BS/CF framework", "populate my integrated financial model", "link statements in this template", or "finish the forecasts in my three-statement workbook". Do NOT use for blank-slate models or general workbook edits (use xlsx), DCF valuation (use dcf-valuation), or buyout modeling (use lbo-model).
Accessibility Pass
110microsoft/cat-agent-skills
Use this skill whenever the user asks to check, review, or fix the accessibility of a PowerPoint deck, Word document, HTML page, or Markdown file, and before handing over any deck or document this agent just generated, so it does not ship with missing alt text, untitled slides, or unreadable colour contrast.
Accessible Learning Materials
110microsoft/cat-agent-skills
Maintains instructionally equivalent, accessible variants of a set of learning materials — lessons, readings, slides, and handouts — with parity checks against the original learning goals and recorded approvals. Use when the user asks to "make these materials accessible", "audit this lesson set for accessibility", "create an accessible version of this reading", "check reading level and alt text", or "keep my accessible variants in sync". Do NOT use for individual student accommodation or support-plan decisions (IEP, EHCP, or local equivalent), and do NOT use for generic document formatting (us
Coding Rationale
110microsoft/cat-agent-skills
Assembles the cited documentation evidence for the visit level and diagnosis codes already on the claim and flags every element the note does not support. If asked to change, pick or upgrade a code it still builds the rationale and declines the change. Use when the user says "why is this coded 99214?", "does the note support this diagnosis?", "build the coding rationale", "what backs up this claim?" or "the coder is asking for the evidence". Do NOT use for quality-measure status - use quality-gap-check instead; do NOT use for documentation drafting - use document-derive instead; do NOT use to
Wechat Publisher
490731coderlee-sudo/wechat-publisher
一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。
Deadline Track
110microsoft/cat-agent-skills
Deterministic engine: calculates the appeal deadline and days remaining from today, flags urgent and expired deadlines on every queued claim, ranks the queue by deadline then recoverable value, and enforces the coding-integrity boundary. Use when asked "when is this appeal due", "how many days do we have left", "which denial should we work first", "can we recode this to a 99215 and refile", "that payer isn't in our config, just use 30 days". Run before appeal-draft and again as the last step of every run. Do NOT use for drafting the letter - use appeal-draft instead; do NOT use for gathering e
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.