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:
@@ -19,6 +19,9 @@ Slash commands for quick actions. User-invoked (type `/command` to trigger).
|
||||
| `/debug` | `/diag`, `/diagnose` | Debug and troubleshoot config |
|
||||
| `/export` | `/session-export`, `/share` | Export session for sharing |
|
||||
| `/mcp-status` | `/mcp`, `/integrations` | Check MCP integrations |
|
||||
| `/workflow` | `/workflows`, `/wf` | List and describe workflows |
|
||||
| `/skill-info` | `/skill`, `/skills-info` | Show skill information |
|
||||
| `/agent-info` | `/agent`, `/agents` | Show agent information |
|
||||
| `/maintain` | `/maintenance`, `/admin` | Configuration maintenance |
|
||||
| `/programmer` | | Code development tasks |
|
||||
| `/gcal` | `/calendar`, `/cal` | Google Calendar access |
|
||||
|
||||
36
commands/agent-info.md
Normal file
36
commands/agent-info.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
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 |
|
||||
36
commands/skill-info.md
Normal file
36
commands/skill-info.md
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
name: skill-info
|
||||
description: Show information about available skills
|
||||
aliases: [skill, skills-info]
|
||||
invokes: command:skill-info
|
||||
---
|
||||
|
||||
# Skill Info Command
|
||||
|
||||
Show detailed information about available skills.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
/skill-info # List all skills
|
||||
/skill-info <name> # Show skill details
|
||||
/skill-info --scripts # List skills with scripts
|
||||
```
|
||||
|
||||
## Implementation
|
||||
|
||||
Run the skill info script:
|
||||
|
||||
```bash
|
||||
python3 ~/.claude/automation/skill-info.py [options] [name]
|
||||
```
|
||||
|
||||
## Output Includes
|
||||
|
||||
| Field | Description |
|
||||
|-------|-------------|
|
||||
| Description | What the skill does |
|
||||
| Scripts | Available executable scripts |
|
||||
| Triggers | Keywords that invoke the skill |
|
||||
| References | Documentation files |
|
||||
| Allowed Tools | Tool restrictions (if any) |
|
||||
40
commands/workflow.md
Normal file
40
commands/workflow.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
name: workflow
|
||||
description: List and describe available workflows
|
||||
aliases: [workflows, wf]
|
||||
invokes: command:workflow
|
||||
---
|
||||
|
||||
# Workflow Command
|
||||
|
||||
List and describe available workflows.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
/workflow # List all workflows
|
||||
/workflow <name> # Show workflow details
|
||||
/workflow --category <cat> # Filter by category
|
||||
```
|
||||
|
||||
## Implementation
|
||||
|
||||
Run the workflow info script:
|
||||
|
||||
```bash
|
||||
python3 ~/.claude/automation/workflow-info.py [options] [name]
|
||||
```
|
||||
|
||||
## Categories
|
||||
|
||||
| Category | Examples |
|
||||
|----------|----------|
|
||||
| `health` | cluster-health-check, cluster-daily-summary |
|
||||
| `deploy` | deploy-app |
|
||||
| `incidents` | pod-crashloop, node-issue-response |
|
||||
| `sysadmin` | health-check, system-update |
|
||||
|
||||
## Note
|
||||
|
||||
Workflows are design documents - they guide Claude's actions but aren't
|
||||
auto-executed. Use this command to understand available procedures.
|
||||
Reference in New Issue
Block a user