Files
claude-code/commands/agent-info.md
OpenCode Test 4169f5b9a4 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>
2026-01-01 19:02:42 -08:00

37 lines
777 B
Markdown

---
name: agent-info
description: Show information about available agents
aliases: [agent, agents]
invokes: command:agent-info
---
# Agent Info Command
Show information about available agents and their hierarchy.
## Usage
```
/agent-info # List all agents
/agent-info <name> # Show agent details
/agent-info --tree # Show agent hierarchy
```
## Implementation
Run the agent info script:
```bash
python3 ~/.claude/automation/agent-info.py [options] [name]
```
## Output Includes
| Field | Description |
|-------|-------------|
| Name | Agent identifier |
| Description | What the agent handles |
| Model | Assigned model (opus/sonnet/haiku) |
| Triggers | Keywords that route to this agent |
| Supervisor | Parent agent in hierarchy |