codeaashu

08 Command System — Security skill for Claude Code

Security community

Prompt 08: Audit and Wire Up the Command System.

How to install 08 Command System

Installs to ~/.claude/skills/codeaashu-claude-code-08-command-system/SKILL.md

Terminal
mkdir -p ~/.claude/skills/codeaashu-claude-code-08-command-system && curl -fsSL https://raw.githubusercontent.com/codeaashu/claude-code/HEAD/prompts/08-command-system.md -o ~/.claude/skills/codeaashu-claude-code-08-command-system/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What 08 Command System does

Prompt 08: Audit and Wire Up the Command System

Context

You are working in `/workspaces/claude-code`. The CLI has ~50 slash commands (e.g., `/commit`, `/review`, `/init`, `/config`). These are registered in `src/commands.ts` and implemented in `src/commands/`.

Key files:

  • src/commands.ts (~25K lines) — Command registry (getCommands())
  • src/commands/ — Individual command implementations
  • src/types/command.ts — Command type definition

Task

Part A: Understand the Command

Alternatives in Security

  • Free Code — The free build of Claude Code 8.1k ★
  • Promptmap — Security scanner for custom LLM apps 1.2k ★
  • Agentseal — Security toolkit for AI agents 344 ★

Full documentation available on GitHub

View Source Repository