| name | agent-ops-guide |
| description | Interactive workflow guide. Use when user is unsure what to do next, needs help navigating AgentOps, or wants to understand available tools. |
| category | utility |
| invokes | ["agent-ops-interview","agent-ops-state"] |
| invoked_by | [] |
| state_files | {"read":["constitution.md","focus.md","issues/*.md","baseline.md","memory.md"],"write":["focus.md"]} |
AgentOps Workflow Guide
Purpose
Help users navigate the AgentOps workflow by asking diagnostic questions and recommending the appropriate next step.
When to Use
- User says "help", "what should I do", "where do I start"
- User seems lost or confused about workflow
- User wants to understand available tools
- First time using AgentOps in a project
Diagnostic Procedure
Step 1: Assess State Files
First, silently check which state files exist:
โก .agent/constitution.md โ Project setup complete?
โก .agent/baseline.md โ Baseline captured?
โก .agent/focus.md โ Has session context?
โก .agent/issues/ โ Has defined issues?
โก .agent/memory.md โ Has learned conventions?
Step 2: Ask Situational Question
Ask ONE question to understand user's intent:
"What brings you here today?"
A) Starting a new project or first time here
B) Returning to continue previous work
C) Have a specific task or feature to implement
D) Something's broken and need to fix it
E) Want to explore or understand the codebase
F) Need to review code quality
G) Wrapping up work, ready to commit
H) Want to create a new Python project
I) Need to review/audit an API
Step 3: Recommend Based on State + Intent
| Intent | Missing Constitution | Missing Baseline | Has Tasks | Recommendation |
|---|
| A (new) | โ | โ | โ | /agent-init then /agent-constitution |
| A (new) | โ | โ | โ | /agent-baseline |
| B (resume) | โ | โ | โ | Read focus.md, summarize status |
| C (task) | โ | โ | โ | /agent-constitution first |
| C (task) | โ | โ | โ | /agent-baseline first |
| C (task) | โ | โ | โ | /agent-task to define task |
| C (task) | โ | โ | โ | /agent-plan for next task |
| D (broken) | โ | โ | โ | /agent-debug then /agent-recover |
| E (explore) | โ | โ | โ | /agent-map or agent-ops-critical-review |
| F (review) | โ | โ | โ | /agent-review or /agent-validation |
| G (finish) | โ | โ | โ | /agent-baseline then /agent-review |
| G (finish) | โ | โ | โ | /agent-validation then /agent-review |
| H (python) | โ | โ | โ | /agent-create-python-project |
| I (api) | โ | โ | โ | /agent-api-review |
Step 4: Provide Clear Next Step
Format your recommendation as:
## Your Situation
[One sentence summary of what I detected]
## Recommended Next Step
**Run:** `/agent-[command]`
**Why:** [Brief reason]
## After That
[What comes next in the workflow]
Decision Trees
"I'm new here"
Has .agent/ folder?
โโ NO โ /agent-init
โโ YES
Has constitution.md with CONFIRMED commands?
โโ NO โ /agent-constitution
โโ YES
Has baseline.md?
โโ NO โ /agent-baseline
โโ YES โ Ready! Ask what they want to build
"I have a task"
Task well-defined (clear acceptance criteria)?
โโ NO โ /agent-task (refine it)
โโ YES
Have baseline?
โโ NO โ /agent-baseline
โโ YES
Have approved plan?
โโ NO โ /agent-plan
โโ YES โ /agent-implement
"Something's broken"
What's broken?
โโ Build fails โ /agent-debug then /agent-recover
โโ Tests fail โ /agent-debug (compare to baseline)
โโ Agent stuck โ Read focus.md, identify blocking issue
โโ Git issues โ agent-ops-git skill
โโ Unknown cause โ /agent-debug (systematic isolation)
"I want to create a Python project"
Have requirements/discussion?
โโ YES โ /agent-create-python-project (with input)
โโ NO โ /agent-create-python-project (will interview)
"I need to review an API"
Has OpenAPI spec?
โโ YES โ /agent-api-review
โโ NO
Has API endpoints?
โโ YES โ /agent-api-review (will identify spec gaps)
โโ NO โ Not an API project, use /agent-review
"I'm done"
Changes validated?
โโ NO โ /agent-validation
โโ YES
Critical review done?
โโ NO โ /agent-review
โโ YES
Retrospective done?
โโ NO โ /agent-retrospective
โโ YES โ Ready to commit (with confirmation)
Quick Reference Card
Present this when user asks for overview:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AgentOps Workflow โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ SETUP โ WORK โ FINISH โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ /agent-init โ /agent-task โ /agent-validation โ
โ /agent-const โ /agent-plan โ /agent-review โ
โ /agent-base โ /agent-impl โ /agent-retrospective โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ UTILITIES โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ /agent-help Interactive guide (you are here) โ
โ /agent-map Understand codebase โ
โ /agent-testing Test strategy โ
โ /agent-spec Manage requirements โ
โ /agent-report View issues and status โ
โ /agent-version Versioning and changelog โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ SPECIALIZED โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ /agent-debug Systematic debugging โ
โ /agent-api-review API contract & behavior audit โ
โ /agent-create-python-project Scaffold Python project โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Anti-Patterns
- โ Overwhelming user with all options at once
- โ Recommending steps when prerequisites aren't met
- โ Skipping constitution/baseline for "quick" tasks
- โ Assuming user knows the workflow
Output
After guiding user, update .agent/focus.md:
## Doing now
- Guided user to [recommended step]
- Reason: [why this step]