{"id":"82f173bd-a8da-4f28-800a-d404d349af3b","shortId":"ZzVEbz","kind":"skill","title":"cli-command-surface-audit","tagline":"Audit a command surface end to end so registration, discoverability, permissions, and execution all line up before shipping.","description":"# SKILL: CLI Command Surface Audit\n**Domain:** command-surfaces  \n**Trigger:** Use when adding, migrating, or debugging commands or slash-command skills in a coding CLI that builds its surface from multiple registries.  \n**Source Pattern:** Distilled from reviewed command-surface, help-menu, and execution-path consistency implementations.\n\n## Core Method\nAudit the entire command surface, not just the handler. Confirm where the command is registered, how it is filtered, how it is described to users, and which runtime modes can actually execute it. Check help output, skill pickers, slash-command lookup, remote-safe filtering, and user-invocable flags against the real execution path. A command is only complete when the same name, description, permissions, and invocation contract stay aligned across all of those layers.\n\n## Key Rules\n- Verify both visibility and executability; a command that only exists in code is still broken.\n- Audit registration order and source precedence before debugging the handler itself.\n- Check feature gates, permission filters, and remote-safe filters separately because each can hide the command for a different reason.\n- Keep the displayed description and argument hint consistent with the actual invocation contract.\n- Exercise at least one real end-user invocation path after wiring the command in.\n\n## Example Application\nIf you add a new slash command to a coding CLI, trace it from registry construction to help output to command execution. Confirm it survives the feature gate, appears in the skill list with the right summary, remains visible in the modes that should expose it, and actually dispatches through the same runtime path the user will hit.\n\n## Anti-Patterns (What NOT to do)\n- Don’t stop after the handler compiles; the command may still be absent from the visible surface.\n- Don’t assume a help entry means the command is executable under the current permission or runtime mode.\n- Don’t let multiple registries describe the same command differently.","tags":["cli","command","surface","audit","cskill","agents","ychampion","agent-skills","ai-agents","coding-agents","context-engineering","developer-tools"],"capabilities":["skill","source-ychampion","skill-cli-command-surface-audit","topic-agent-skills","topic-ai-agents","topic-cli","topic-coding-agents","topic-context-engineering","topic-developer-tools","topic-mcp","topic-multi-agent","topic-terminal-ui"],"categories":["cskill-agents"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/ychampion/cskill-agents/cli-command-surface-audit","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add ychampion/cskill-agents","source_repo":"https://github.com/ychampion/cskill-agents","install_from":"skills.sh"}},"qualityScore":"0.467","qualityRationale":"deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 34 github stars · SKILL.md body (2,010 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T06:56:47.159Z","embedding":null,"createdAt":"2026-04-18T22:20:06.317Z","updatedAt":"2026-04-22T06:56:47.159Z","lastSeenAt":"2026-04-22T06:56:47.159Z","tsv":"'absent':309 'across':148 'actual':106,212,279 'ad':36 'add':234 'align':147 'anti':291 'anti-pattern':290 'appear':260 'applic':231 'argument':207 'assum':316 'audit':5,6,28,76,170 'broken':169 'build':51 'check':109,181 'cli':2,25,49,242 'cli-command-surface-audit':1 'code':48,166,241 'command':3,8,26,31,40,44,63,79,88,116,133,161,197,228,238,252,305,322,340 'command-surfac':30,62 'compil':303 'complet':136 'confirm':85,254 'consist':72,209 'construct':247 'contract':145,214 'core':74 'current':327 'debug':39,177 'describ':98,337 'descript':141,205 'differ':200,341 'discover':15 'dispatch':280 'display':204 'distil':59 'domain':29 'end':10,12,221 'end-us':220 'entir':78 'entri':319 'exampl':230 'execut':18,70,107,130,159,253,324 'execution-path':69 'exercis':215 'exist':164 'expos':276 'featur':182,258 'filter':94,121,185,190 'flag':126 'gate':183,259 'handler':84,179,302 'help':66,110,249,318 'help-menu':65 'hide':195 'hint':208 'hit':289 'implement':73 'invoc':125,144,213,223 'keep':202 'key':153 'layer':152 'least':217 'let':334 'line':20 'list':264 'lookup':117 'may':306 'mean':320 'menu':67 'method':75 'migrat':37 'mode':104,273,331 'multipl':55,335 'name':140 'new':236 'one':218 'order':172 'output':111,250 'path':71,131,224,285 'pattern':58,292 'permiss':16,142,184,328 'picker':113 'preced':175 'real':129,219 'reason':201 'regist':90 'registr':14,171 'registri':56,246,336 'remain':269 'remot':119,188 'remote-saf':118,187 'review':61 'right':267 'rule':154 'runtim':103,284,330 'safe':120,189 'separ':191 'ship':23 'skill':24,45,112,263 'skill-cli-command-surface-audit' 'slash':43,115,237 'slash-command':42,114 'sourc':57,174 'source-ychampion' 'stay':146 'still':168,307 'stop':299 'summari':268 'surfac':4,9,27,32,53,64,80,313 'surviv':256 'topic-agent-skills' 'topic-ai-agents' 'topic-cli' 'topic-coding-agents' 'topic-context-engineering' 'topic-developer-tools' 'topic-mcp' 'topic-multi-agent' 'topic-terminal-ui' 'trace':243 'trigger':33 'use':34 'user':100,124,222,287 'user-invoc':123 'verifi':155 'visibl':157,270,312 'wire':226","prices":[{"id":"a0c50baf-582b-4571-bfa0-46417cdc768f","listingId":"82f173bd-a8da-4f28-800a-d404d349af3b","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"ychampion","category":"cskill-agents","install_from":"skills.sh"},"createdAt":"2026-04-18T22:20:06.317Z"}],"sources":[{"listingId":"82f173bd-a8da-4f28-800a-d404d349af3b","source":"github","sourceId":"ychampion/cskill-agents/cli-command-surface-audit","sourceUrl":"https://github.com/ychampion/cskill-agents/tree/main/skills/cli-command-surface-audit","isPrimary":false,"firstSeenAt":"2026-04-18T22:20:06.317Z","lastSeenAt":"2026-04-22T06:56:47.159Z"}],"details":{"listingId":"82f173bd-a8da-4f28-800a-d404d349af3b","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"ychampion","slug":"cli-command-surface-audit","github":{"repo":"ychampion/cskill-agents","stars":34,"topics":["agent-skills","ai-agents","cli","coding-agents","context-engineering","developer-tools","mcp","multi-agent","terminal-ui"],"license":"mit","html_url":"https://github.com/ychampion/cskill-agents","pushed_at":"2026-04-04T14:13:23Z","description":"Agent skills for coding CLIs, multi-agent runtimes, context engines, MCP extensions, and terminal tooling. Instead of using claude code's source code, give your agent skills to create your own!","skill_md_sha":"f73a2c3b7933fb519d3667ba5f7261f8fdec4ee9","skill_md_path":"skills/cli-command-surface-audit/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/ychampion/cskill-agents/tree/main/skills/cli-command-surface-audit"},"layout":"multi","source":"github","category":"cskill-agents","frontmatter":{"name":"cli-command-surface-audit","description":"Audit a command surface end to end so registration, discoverability, permissions, and execution all line up before shipping."},"skills_sh_url":"https://skills.sh/ychampion/cskill-agents/cli-command-surface-audit"},"updatedAt":"2026-04-22T06:56:47.159Z"}}