Add /workflow, /skill-info, and /agent-info commands

- /workflow command to list and describe available workflows
  - Filter by category (health, deploy, incidents, sysadmin)
  - Show workflow steps and triggers
- /skill-info command for skill introspection
  - List scripts, triggers, and allowed tools
  - Show references and documentation
- /agent-info command with hierarchy visualization
  - Tree view of agent relationships
  - Model assignments (opus/sonnet/haiku) with visual indicators
  - Supervisor and subordinate information
- Updated shell completions with 19 aliases total
- Test suite now covers 27 tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2026-01-01 19:02:42 -08:00
parent f1f30bcb2f
commit 4169f5b9a4
11 changed files with 907 additions and 5 deletions

View File

@@ -184,6 +184,21 @@
"description": "Check MCP integration status",
"aliases": ["/mcp", "/integrations"],
"invokes": "command:mcp-status"
},
"/workflow": {
"description": "List and describe workflows",
"aliases": ["/workflows", "/wf"],
"invokes": "command:workflow"
},
"/skill-info": {
"description": "Show skill information",
"aliases": ["/skill", "/skills-info"],
"invokes": "command:skill-info"
},
"/agent-info": {
"description": "Show agent information",
"aliases": ["/agent", "/agents"],
"invokes": "command:agent-info"
}
},
"agents": {
@@ -317,7 +332,11 @@
"debug": "~/.claude/automation/debug.sh",
"daily-maintenance": "~/.claude/automation/daily-maintenance.sh",
"session-export": "~/.claude/automation/session-export.py",
"mcp-status": "~/.claude/automation/mcp-status.sh"
"mcp-status": "~/.claude/automation/mcp-status.sh",
"upgrade": "~/.claude/automation/upgrade.sh",
"workflow-info": "~/.claude/automation/workflow-info.py",
"skill-info": "~/.claude/automation/skill-info.py",
"agent-info": "~/.claude/automation/agent-info.py"
},
"completions": {
"bash": "~/.claude/automation/completions.bash",