/coding-audit
Medical-coding / revenue-cycle compliance audit. Invokes rcm-reviewer to assess autonomous ICD-10-CM / CPT / HCPCS coding for False Claims Act exposure (upcoding/unbundling), NCCI edits + MUEs, medical necessity (LCD/NCD), modifier discipline, HIPAA minimum-necessary — and force
$ npx -y skills add avelikiy/great_cto --agent claude-codeShips with great-cto. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/coding-audit
Context preview
What this command does when you run it.
Medical-coding / revenue-cycle compliance audit. Invokes rcm-reviewer to assess autonomous ICD-10-CM / CPT / HCPCS coding for False Claims Act exposure (upcoding/unbundling), NCCI edits + MUEs, medical necessity (LCD/NCD), modifier discipline, HIPAA minimum-necessary — and force
Command definition
coding-audit.mddescription: "Medical-coding / revenue-cycle compliance audit. Invokes rcm-reviewer to assess autonomous ICD-10-CM / CPT / HCPCS coding for False Claims Act exposure (upcoding/unbundling), NCCI edits + MUEs, medical necessity (LCD/NCD), modifier discipline, HIPAA minimum-necessary — and force a certified-coder (CPC/CCS) sign-off."
argument-hint: "[slug]"
user-invocable: true
allowed-tools: Read, Write, Bash, Glob, Grep, Agent
model: sonnet
<!-- great_cto-managed -->
You are the great_cto **/coding-audit** command — the revenue-cycle / medical-coding entrypoint.
Step 1 — Locate ARCH + detect coding surface
ARGS="${ARGUMENTS:-}"
SLUG="$ARGS"
[ -z "$SLUG" ] && SLUG=$(ls docs/architecture/ARCH-*.md 2>/dev/null | sort -V | tail -1 | xargs -I{} basename {} .md | sed 's/^ARCH-//')
ARCH="docs/architecture/ARCH-${SLUG}.md"
[ ! -f "$ARCH" ] && echo "BLOCKED: no ARCH-${SLUG}.md — run architect first." && exit 1
RCM_HITS=$(grep -ciE "medical coding|icd-?10|cpt|hcpcs|drg|revenue cycle|\brcm\b|claim scrub|837|835|cms-?1500|ub-?04|e/m level|prior auth|charge capture|denial management|ncci|modifier|upcoding|payer" "$ARCH" .great_cto/PROJECT.md 2>/dev/null || echo 0)
echo "rcm-surface signal hits: ${RCM_HITS}"
[ "${RCM_HITS:-0}" -eq 0 ] && echo "No RCM signals found — is this a medical-billing product? Proceeding to invoke rcm-reviewer anyway (explicit /coding-audit)."Step 2 — Invoke rcm-reviewer
Invoke the **rcm-reviewer** subagent against `ARCH-${SLUG}.md`. It will: 1. Require a documentation-evidence trace for every autonomously-assigned code (the FCA defence). 2. Check NCCI PTP + MUE edits (current quarterly tables) and the upcoding/unbundling + modifier guardrail. 3. Verify ICD↔CPT medical-necessity (LCD/NCD) linkage. 4. Set the confidence floor + FCA-high patterns that escalate to a CPC/CCS coder (`gate:coding-signoff`). 5. Write `docs/sec-threats/TM-rcm-${SLUG}.md` (from `skills/great_cto/templates/TM-rcm.md`) with a `<!-- HANDOFF -->` verdict.
Step 3 — Report
Summarise in ≤5 lines: verdict (signed-off | blocked), # FCA-high paths needing a coder, Critical/High findings, and whether `gate:coding-signoff` was created. Point the CTO at the TM doc. Do not restate the whole threat model.
Read more
description: "Medical-coding / revenue-cycle compliance audit. Invokes rcm-reviewer to assess autonomous ICD-10-CM / CPT / HCPCS coding for False Claims Act exposure (upcoding/unbundling), NCCI edits + MUEs, medical necessity (LCD/NCD), modifier discipline, HIPAA minimum-necessary — and force a certified-coder (CPC/CCS) sign-off." argument-hint: "[slug]" user-invocable: true allowed-tools: Read, Write, Bash, Glob, Grep, Agent model: sonnet
<!-- great_cto-managed -->
You are the great_cto **/coding-audit** command — the revenue-cycle / medical-coding entrypoint.
Step 1 — Locate ARCH + detect coding surface
ARGS="${ARGUMENTS:-}"
SLUG="$ARGS"
[ -z "$SLUG" ] && SLUG=$(ls docs/architecture/ARCH-*.md 2>/dev/null | sort -V | tail -1 | xargs -I{} basename {} .md | sed 's/^ARCH-//')
ARCH="docs/architecture/ARCH-${SLUG}.md"
[ ! -f "$ARCH" ] && echo "BLOCKED: no ARCH-${SLUG}.md — run architect first." && exit 1
RCM_HITS=$(grep -ciE "medical coding|icd-?10|cpt|hcpcs|drg|revenue cycle|\brcm\b|claim scrub|837|835|cms-?1500|ub-?04|e/m level|prior auth|charge capture|denial management|ncci|modifier|upcoding|payer" "$ARCH" .great_cto/PROJECT.md 2>/dev/null || echo 0)
echo "rcm-surface signal hits: ${RCM_HITS}"
[ "${RCM_HITS:-0}" -eq 0 ] && echo "No RCM signals found — is this a medical-billing product? Proceeding to invoke rcm-reviewer anyway (explicit /coding-audit)."Step 2 — Invoke rcm-reviewer
Invoke the **rcm-reviewer** subagent against `ARCH-${SLUG}.md`. It will: 1. Require a documentation-evidence trace for every autonomously-assigned code (the FCA defence). 2. Check NCCI PTP + MUE edits (current quarterly tables) and the upcoding/unbundling + modifier guardrail. 3. Verify ICD↔CPT medical-necessity (LCD/NCD) linkage. 4. Set the confidence floor + FCA-high patterns that escalate to a CPC/CCS coder (`gate:coding-signoff`). 5. Write `docs/sec-threats/TM-rcm-${SLUG}.md` (from `skills/great_cto/templates/TM-rcm.md`) with a `<!-- HANDOFF -->` verdict.
Step 3 — Report
Summarise in ≤5 lines: verdict (signed-off | blocked), # FCA-high paths needing a coder, Critical/High findings, and whether `gate:coding-signoff` was created. Point the CTO at the TM doc. Do not restate the whole threat model.
Don't buy software. Get the work done. GreatCTO ships AI autopilots that run a whole business function — medical coding, legal docs, procurement, accounting, IT, tax — from intake to outcome. A qualified human signs only the judgment calls. Live connectors, built-in compliance.
Repo: avelikiy/great_cto
Other commands on great-cto.
- /aedt-bias-audit
HR-AI / AEDT bias audit. Invokes hr-ai-reviewer to assess NYC LL 144, EEOC, Illinois AIVIA, Colorado SB 205, EU AI Act Annex III applicability and produce TM-hrai with bias-audit pipeline requirements (4/5-rule, intersectional).
Open command - /agent-retire
Gracefully retire an LLM agent from the workforce. Archives prompt, removes from sync list, keeps verdicts for audit. Like firing a human — but reversible.
Open command - /agent-review
Performance review for an LLM agent (or all agents). Verdicts breakdown, cost analysis, top failure modes, prompt-tuning suggestions. Like a human '1:1' but for AI workforce.
Open command - /api-contract-review
API platform contract review. Invokes api-platform-reviewer to audit rate-limit design, OAuth scope hygiene, webhook signing, idempotency, Sunset/deprecation, pagination, error envelope, and versioning strategy. Critical before v1 GA.
Open command - /audit
Audit an existing codebase. Detects stack, finds gaps, creates tasks, generates PROJECT.md.
Open command - /board
Open the great_cto admin board at http://localhost:3141 (Kanban, cost, pipeline, inbox, memory). Starts it in background if not running.
Open command

