wayfinder
MAmattpocock/skills337k4,978 new stars in the last 7 days
Multi-AI requirements scoping using available external providers (Double Diamond Define phase). Priority triggers: octo define, octo scope, co-define, co-scope. DO NOT use for implementation, research, review/validation, or built-in commands.
Host: Codex CLI — This skill was designed for Claude Code and adapted for Codex. Invoke installed skills by their
$skill-name. Known Octopus commands are mapped below. A remaining/octo:*reference is a Claude Code command; do not execute it in Codex or invent an equivalent. Before the first helper call, derive the absolute plugin root from this loaded skill's path by finding its ancestor containing.codex-plugin/plugin.json. Verify that root, bindOCTO_ROOT,CODEX_PLUGIN_ROOT, andCLAUDE_PLUGIN_ROOTto the same root, and export all three in each fresh shell before launching child processes. Use the verified absolute helper path when needed. Do not infer the root from the user's project or assume exports survive tool calls. Stop and report a missing installation if the root cannot be verified. Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. Claude-native tool calls in examples are prompt templates to adapt, not Codex call signatures. If a mandatory verification agent or tool is unavailable or unauthorized, report that verification did not run and stop the affected completion step. Never claim a skipped check passed. Attribute commits only to actual contributors; do not copy fixed model attribution trailers from examples. For host tool equivalents, seecodex-skills/blocks/codex-host-adapter.md.
Invoke this entry as
$flow-definein Codex. Code-fenced Claude command examples are reference text, not Codex shell commands.
{{PREAMBLE}}
Load codex-skills/blocks/engineering-method-selection.md from the installed plugin
and apply only the methods relevant to this task. Preserve this entry point's
execution contract and output format. Read referenced skills as instructions;
do not invoke the current command recursively or add provider calls from a seat.
Load the project's existing glossary and decisions when they apply. If none
exists, use codex-skills/blocks/domain-modeling.md and add a short definitions section
to the current design artifact. Do not create a parallel context or memory file.
Keep installation, authentication, entitlement, readiness, billing, quota, seat,
contribution, and vote distinct.
Before starting definition:
.octo/STATE.md to verify Discover phase complete# Verify Discover phase is complete
if [[ -f ".octo/STATE.md" ]]; then
discover_status=$("${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/octo-state.sh" get_phase_status 1)
if [[ "$discover_status" != "complete" ]]; then
echo "⚠️ Warning: Discover phase not marked complete. Consider running discovery first."
fi
fi
# Update state for Definition phase
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/octo-state.sh" update_state \
--phase 2 \
--position "Definition" \
--status "in_progress"
This skill uses ENFORCED execution mode. You MUST follow this exact sequence.
MANDATORY: You MUST use the native shell command tool to run this provider check BEFORE displaying the banner. Do NOT skip it. Do NOT assume availability.
# Runs under bash even when the host shell is zsh.
if [ -n "${BASH_VERSION:-}" ]; then eval "$(cat)"; else env "OCTO_ALLOWED_PROVIDERS=${OCTO_ALLOWED_PROVIDERS:-}" bash -c "$(cat)"; fi <<'OCTO_BASH'
provider_check_output=$(bash "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/helpers/check-providers.sh")
provider_status_lines=$(printf '%s\n' "$provider_check_output" | awk '
/^PROVIDER_CHECK_START$/ { capture=1; next }
/^PROVIDER_CHECK_END$/ { capture=0 }
capture && /^[a-z0-9-]+:(available|missing|degraded)$/ { print }
')
if [[ -z "$provider_status_lines" ]]; then
echo "Provider availability check returned no usable status lines."
exit 1
fi
# Exclude providers intentionally disabled by environment, session, or global
# allowlist policy; show every allowed provider, including missing/degraded.
source "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/lib/provider-allowlist.sh"
provider_availability=""
available_provider_count=0
while IFS=: read -r provider status; do
octo_provider_allowed "$provider" || continue
case "$status" in
available)
provider_availability="${provider_availability}🟢 ${provider}: Available ✓"$'\n'
available_provider_count=$((available_provider_count + 1))
;;
degraded)
provider_availability="${provider_availability}🟠 ${provider}: Degraded ⚠"$'\n'
;;
missing)
provider_availability="${provider_availability}🔴 ${provider}: Missing/unavailable ✗"$'\n'
;;
esac
done <<< "$provider_status_lines"
if [[ "$available_provider_count" -eq 0 ]]; then
printf '%s' "$provider_availability"
echo "No external provider is available. Run /octo:setup and retry."
exit 1
fi
# Task status for the banner's Tasks line, if the session has one.
task_status=$("${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/orchestrate.sh" get-task-status 2>/dev/null || echo "")
printf 'Provider Availability:\n%s' "$provider_availability"
printf 'Tasks: %s\n' "$task_status"
OCTO_BASH
List every provider the check reports, not only Claude. A banner showing one seat when several ran misrepresents what the user is paying for.
If OCTO_ALLOWED_PROVIDERS is set, treat it as the source of truth for which providers may participate. Providers filtered out by that allowlist are intentionally reported as unavailable; do not invoke or recommend them in the workflow.
Display this banner BEFORE orchestrate.sh execution:
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider definition mode
🎯 Define Phase: [Brief description of what you're defining/scoping]
📋 Session: ${CLAUDE_SESSION_ID}
📝 Tasks: ${task_status}
Provider Availability:
${provider_availability}
💰 Estimated Cost: 0.01-0.05 USD
⏱️ Estimated Time: 2-5 minutes
DO NOT PROCEED TO STEP 2 until banner displayed. The banner shows users which providers will run and what costs they'll incur — starting API calls without this visibility violates cost transparency.
Before executing the workflow, read any prior context:
# Initialize state if needed
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/state-manager.sh" init_state
# Set current workflow
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/state-manager.sh" set_current_workflow "flow-define" "define"
# Get prior decisions (if any)
prior_decisions=$("${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/state-manager.sh" get_decisions "all")
# Get context from discover phase
discover_context=$("${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/state-manager.sh" get_context "discover")
# Display what you found (if any)
if [[ "$discover_context" != "null" ]]; then
echo "📋 Building on discovery findings:"
echo " $discover_context"
fi
if [[ "$prior_decisions" != "[]" && "$prior_decisions" != "null" ]]; then
echo "📋 Respecting prior decisions:"
echo "$prior_decisions" | jq -r '.[] | " - \(.decision) (\(.phase)): \(.rationale)"'
fi
This provides context from:
search, timeline, get_observations) are available — use them to find past decisions on similar topicsDO NOT PROCEED TO STEP 3 until state read.
Before executing expensive multi-AI orchestration, capture the user's vision to scope the work effectively.
Ask clarifying questions using AskUserQuestion:
Use AskUserQuestion tool to ask:
1. **User Experience**
Question: "How should users interact with this feature?"
Header: "User Flow"
Options:
- label: "API-first (programmatic access)"
description: "Build API endpoints first, UI later"
- label: "UI-first (user-facing interface)"
description: "Build user interface first, API supports it"
- label: "Both simultaneously"
description: "Develop API and UI in parallel"
- label: "Not applicable"
description: "This feature doesn't have a user interaction"
2. **Implementation Approach**
Question: "What technical approach do you prefer?"
Header: "Approach"
Options:
- label: "Fastest to market"
description: "Prioritize speed, use existing libraries"
- label: "Most maintainable"
description: "Focus on clean architecture, may take longer"
- label: "Best performance"
description: "Optimize for speed and efficiency"
- label: "Multi-LLM debate (Claude + available providers)"
description: "Multiple AI models debate the best approach — may use external provider credits or subscriptions"
3. **Scope Boundaries**
Question: "What's explicitly OUT of scope for this phase?"
Header: "Out of Scope"
Options:
- label: "Testing and QA"
description: "Focus on implementation, test later"
- label: "Performance optimization"
description: "Get it working first, optimize later"
- label: "Edge cases"
description: "Handle happy path only initially"
- label: "Nothing excluded"
description: "Everything is in scope"
multiSelect: true
If user selected "Multi-LLM debate (Claude + available providers)" for approach: Before proceeding with orchestrate.sh, run a Multi-LLM debate to determine the technical approach:
$skill-debate --rounds 2 --debate-style collaborative "What is the best technical approach for [feature]? Consider: speed to market, maintainability, performance, and the existing codebase patterns."
Use the debate synthesis to set the approach context for the Define phase.
After gathering answers, create context file:
Export the request and answers before the heredoc as single-quoted shell
literals. Escape every embedded single quote as '\'', or generate each complete value with Python's
shlex.quote. Keep dollar signs, backticks and newlines literal. Do not put
untrusted values inside double quotes in shell source. Keep user values outside
the fixed heredoc so their lines cannot terminate it.
# Runs under bash even when the host shell is zsh.
export USER_REQUEST='[Original user feature request]'
export user_flow='[Answer from question 1]'
export approach='[Answer from question 2]'
export out_of_scope='[Answer from question 3]'
if [ -n "${BASH_VERSION:-}" ]; then eval "$(cat)"; else env "OCTO_ALLOWED_PROVIDERS=${OCTO_ALLOWED_PROVIDERS:-}" bash -c "$(cat)"; fi <<'OCTO_BASH'
# Source context manager
source "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/context-manager.sh"
# Create context file with user vision
create_templated_context \
"define" \
"$(echo "$USER_REQUEST" | head -c 50)..." \
"User wants: $user_flow approach with $approach priority" \
"$approach" \
"Implementation of requested feature" \
"$out_of_scope"
echo "📋 Context captured and saved to .claude-octopus/context/define-context.md"
OCTO_BASH
This context will be used to:
DO NOT PROCEED TO STEP 4 until context captured. User vision (UX approach, priorities, out-of-scope items) scopes the multi-AI research — without it, providers research too broadly and the definition misses the user's actual intent.
You MUST execute this command via the native shell command tool:
Use the installation that loaded this skill for both execution and validation.
If CLAUDE_PLUGIN_ROOT is absent, replace the OCTO_ROOT fallback below with
the absolute plugin root derived from this loaded skill's path. Do not infer it
from the project directory or an existing stable link. The root helper refreshes
installed copies while preserving another session's working root when called
from an inferred development checkout.
# Keep execution and report validation in the same shell invocation.
OCTO_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}"
bash "$OCTO_ROOT/scripts/helpers/ensure-plugin-root.sh" || exit 1
# Keep verified research in a private snapshot through dispatch and cost review.
DEFINE_RUN_DIR=$(mktemp -d) || exit 1
RUN_MARKER=""
trap 'rm -f "$DEFINE_RUN_DIR/research.md" "$RUN_MARKER"; rmdir "$DEFINE_RUN_DIR" 2>/dev/null || true' EXIT
trap 'exit 129' HUP
trap 'exit 130' INT
trap 'exit 143' TERM
WORKFLOW_STATE_FILE=$("$OCTO_ROOT/scripts/state-manager.sh" handoff_path) || exit 1
DISCOVERY_RESULTS_FILE=$(python3 "$OCTO_ROOT/scripts/helpers/discovery-handoff.py" snapshot "$WORKFLOW_STATE_FILE" "$DEFINE_RUN_DIR") || {
echo "Define stopped. Restore the saved research, or explicitly discard its binding using the recovery command below before retrying." >&2
exit 1
}
RUN_MARKER=$(mktemp "$DEFINE_RUN_DIR/invocation.XXXXXX") || exit 1
RUN_STATUS=0
OCTOPUS_WORKFLOW_INVOCATION_ID="${RUN_MARKER##*/}" "$OCTO_ROOT/scripts/orchestrate.sh" define "<user's clarification request>" "$DISCOVERY_RESULTS_FILE" || RUN_STATUS=$?
REPORT_STATUS=0
SYNTHESIS_FILE=$("$OCTO_ROOT/scripts/helpers/workflow-result.sh" define "$RUN_MARKER" "$RUN_STATUS") || REPORT_STATUS=$?
rm -f "$RUN_MARKER"
[[ "$REPORT_STATUS" == 0 ]] || exit "$REPORT_STATUS"
echo "VALIDATION PASSED: $SYNTHESIS_FILE"
cat "$SYNTHESIS_FILE"
The project-scoped host state identifies the current full research artifact,
including after restart or compaction. Define verifies its run and content hash
and rejects symlinks. An unbound .octo summary is never selected. Without a
current binding, the optional research input stays empty.
If the saved artifact is missing or invalid, stop by default. Offer to restore it or discard its binding. Only after the user explicitly chooses to discard it, run this command and retry Define, including standalone requests:
OCTO_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}"
WORKFLOW_STATE_FILE=$("$OCTO_ROOT/scripts/state-manager.sh" handoff_path) || exit 1
python3 "$OCTO_ROOT/scripts/helpers/discovery-handoff.py" discard "$WORKFLOW_STATE_FILE"
Discarding clears only the handoff record. It preserves research files, project documents, decisions and provider settings.
CRITICAL: You are PROHIBITED from:
You MUST use the native shell command tool to invoke orchestrate.sh.
If running in Claude Code v2.1.16+, users will see real-time progress indicators in the task spinner:
Phase 1 - External Provider Execution (Parallel):
Phase 2 - Synthesis (Sequential):
These spinner verb updates happen automatically - orchestrate.sh calls update_task_progress() before each agent execution. Users see exactly which provider is working and what it's doing.
If NOT running in Claude Code v2.1.16+: Progress indicators are silently skipped, no errors shown.
After orchestrate.sh completes, verify it succeeded:
Step 4 checks the workflow exit status and validates a fresh
grasp-consensus-*.md report in this host's current session results directory.
It rejects missing reports and failed or unknown completion states. The validator
honors CLAUDE_PLUGIN_DATA and CLAUDE_OCTOPUS_WORKSPACE.
Use the validated path printed by Step 4. If a later tool call starts a new shell,
set SYNTHESIS_FILE to that exact path. Do not search for a different report
or rerun the workflow to recover a shell variable.
If validation fails:
~/.claude-octopus/logs/After synthesis is verified, record findings and decisions in state:
: "${SYNTHESIS_FILE:?Restore the validated report path printed by Step 4}"
if [[ ! -f "$SYNTHESIS_FILE" || ! -r "$SYNTHESIS_FILE" || ! -s "$SYNTHESIS_FILE" ]]; then
printf 'Define report is missing, unreadable, or empty: %s\n' "$SYNTHESIS_FILE" >&2
exit 1
fi
# Extract key definition from synthesis
report_excerpt=$(head -n 50 < "$SYNTHESIS_FILE") || exit 1
key_definition=$(printf '%s\n' "$report_excerpt" |
{ grep -E -A 3 '## Problem Definition|## Summary' || [[ $? == 1 ]]; } |
tail -n 3 | tr '\n' ' ') || exit 1
# Record any architectural decisions made
# (You should identify these from the synthesis - e.g., tech stack, approach, patterns)
decision_pattern='decided to|chose to|selected|using [A-Za-z0-9 ]*'
if [[ "$key_definition" =~ $decision_pattern ]]; then
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/state-manager.sh" write_decision \
"define" \
"${BASH_REMATCH[0]}" \
"Consensus from multi-AI definition phase" || exit 1
fi
# Update define phase context
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/state-manager.sh" update_context \
"define" \
"$key_definition" || exit 1
# Update metrics
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/state-manager.sh" update_metrics "phases_completed" "1" || exit 1
DO NOT PROCEED TO STEP 7 until state updated.
If a required write fails, report the failure and resume at that operation after repairing the cause. Do not repeat successful decision or context writes. An oversized context may need shortening before retrying. Do not increment completion or present the definition as saved while a required write is still failing.
Read the synthesis file and present:
Include attribution: Use the synthesizer: value in the validated report's
final consensus footer. The provider that wrote the consensus can differ from
the host presenting it.
*Multi-AI Problem Definition powered by Claude Octopus*
*Consensus source: <provider recorded in the report>*
*Full problem definition: $SYNTHESIS_FILE*
The define phase clarifies and scopes problems using external CLI providers:
This is the convergent phase after discovery - we narrow down from broad research to specific problem definition.
Use define when you need:
Don't use define for:
Before execution, you'll see a banner in this shape. The provider rows below are illustrative; replace them with every live status from Step 1 and omit only providers excluded by the active allowlist:
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider problem definition
🎯 Define Phase: Clarifying requirements and scope
📋 Session: ${CLAUDE_SESSION_ID}
📝 Tasks: ${task_status}
Provider Availability:
🟢 codex: Available ✓
🧭 agy: Degraded ⚠
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/orchestrate.sh" define "<user's clarification request>"
The orchestrator gathers a problem statement, success criteria, and constraints. It tries Antigravity for consensus when available, then Claude if needed. The report records which provider synthesized the result.
Results are saved to:
~/.claude-octopus/results/${SESSION_ID}/grasp-consensus-<timestamp>.md
Read the synthesis and present clear, actionable requirements to the user.
When this skill is invoked, follow the EXECUTION CONTRACT above exactly. The contract includes:
Each step is mandatory and blocking - you cannot proceed to the next step until the current one completes successfully.
Create tasks to track execution progress:
// At start of skill execution
TaskCreate({
subject: "Execute define workflow with multi-AI providers",
description: "Run orchestrate.sh define for problem clarification",
activeForm: "Running multi-AI define workflow"
})
// Mark in_progress when calling orchestrate.sh
TaskUpdate({taskId: "...", status: "in_progress"})
// Mark completed ONLY after synthesis file verified
TaskUpdate({taskId: "...", status: "completed"})
If any step fails:
$sys-configure and STOPNever fall back to direct analysis if orchestrate.sh execution fails. Report the failure and let the user decide how to proceed.
After successful execution, present problem definition with:
# Problem Definition: <task>
## Core Requirements
[Essential requirements that must be met]
## Technical Constraints
[Technical limitations and considerations]
## User Needs
[What users actually need from this]
## Edge Cases to Handle
[Specific edge cases identified]
## Out of Scope
[What is explicitly NOT included]
## Perspectives
### Codex Analysis (Technical)
[Technical requirements and constraints]
### Antigravity Analysis (Business/User)
[User needs and business context]
### Consensus Synthesis
[Integrated problem definition]
## Requirements Checklist
- [ ] Functional requirements defined
- [ ] Non-functional requirements defined
- [ ] Technical constraints identified
- [ ] Edge cases documented
- [ ] Out-of-scope items clarified
- [ ] Success criteria established
## Next Steps
[Recommended next actions - usually tangle phase for implementation]
Full problem definition saved to: <synthesis file path>
User: Define the exact requirements for our user authentication system
Claude:
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider problem definition
🎯 Define Phase: Clarifying authentication requirements
[Executes: "${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/orchestrate.sh" define "Define exact requirements for user authentication system"]
[After completion, reads synthesis and presents:]
# Problem Definition: User Authentication System
## Core Requirements
### Must Have (P0)
1. User registration with email + password
2. Secure login with JWT token generation
3. Password reset via email
4. Session management with token refresh
5. Logout (token invalidation)
### Should Have (P1)
6. Remember me functionality
7. Account lockout after failed attempts
8. Email verification on signup
9. Password strength requirements
### Nice to Have (P2)
10. OAuth social login (Google, GitHub)
11. Two-factor authentication
12. Single sign-on (SSO)
## Technical Constraints
- Must work with existing Express.js backend
- Token storage: Redis for production, in-memory for dev
- Password hashing: bcrypt (min 12 rounds)
- Token expiry: Access token 15min, refresh token 7 days
- Rate limiting: Max 5 login attempts per 15min per IP
## User Needs
- Simple registration process (< 2 minutes)
- Secure password recovery without support tickets
- Stay logged in across browser sessions (remember me)
- Clear error messages for failed login
- Ability to log out from all devices
## Edge Cases to Handle
1. **Concurrent logins**: Same user, multiple devices
2. **Expired tokens**: Graceful refresh without re-login
3. **Password reset race condition**: Multiple reset requests
4. **Account enumeration**: Don't reveal if email exists
5. **Token theft**: Detect suspicious login locations
6. **Deleted users**: Handle auth for soft-deleted accounts
## Out of Scope
- ❌ Biometric authentication (fingerprint, face ID)
- ❌ LDAP/Active Directory integration
- ❌ Custom OAuth provider implementation
- ❌ Device fingerprinting
- ❌ Passwordless email magic links
## Perspectives
### Codex Analysis (Technical)
- JWT structure: { userId, role, exp, iat, jti }
- Database schema for users, refresh_tokens, password_resets
- API endpoints: POST /register, POST /login, POST /logout, POST /refresh, POST /reset-password
- Middleware for auth verification
- Security: HTTPS only, secure cookies, CSRF protection
### Antigravity Analysis (Business/User)
- User journey: Registration -> Email verification -> Login -> Access app
- Error handling: Clear messages without security leaks
- Performance: Auth checks < 50ms
- Compliance: GDPR (data deletion), password policies
- Analytics: Track signup conversion, failed login rates
### Consensus Synthesis
- Hybrid approach: Core auth (P0) first, iterate on P1/P2
- Security-first: All requirements validated against OWASP
- User experience: Balance security with convenience
- Scalable: Design for 100K users, plan for 1M+
## Requirements Checklist
- ✅ Functional requirements defined (registration, login, reset)
- ✅ Non-functional requirements defined (performance, security)
- ✅ Technical constraints identified (Express, Redis, bcrypt)
- ✅ Edge cases documented (6 critical cases)
- ✅ Out-of-scope items clarified (4 items)
- ✅ Success criteria established (< 2min registration, < 50ms auth)
## Next Steps
1. **Immediate**: Review and confirm requirements with stakeholders
2. **Then**: Use **tangle-workflow** to implement the auth system
3. **Finally**: Use **ink-workflow** to validate implementation
Ready to proceed to implementation?
Full problem definition saved to: ~/.claude-octopus/results/abc-123/grasp-consensus-20250118-144530.md
User: What exactly does the notification feature need to do?
Claude:
🐙 **CLAUDE OCTOPUS ACTIVATED** - Multi-provider problem definition
🎯 Define Phase: Clarifying notification requirements
[Executes grasp workflow]
[Presents detailed problem definition with:]
- Core notification types (email, push, in-app)
- Delivery requirements (real-time vs batched)
- User preferences (opt-in/out, frequency)
- Technical constraints (message queue, delivery tracking)
- Edge cases (offline users, rate limits)
Ready to build once requirements are confirmed.
Grasp is the second phase of the Double Diamond:
PROBE (Discover) → GRASP (Define) → TANGLE (Develop) → INK (Deliver)
Typical flow:
Or use grasp standalone when requirements are unclear.
Before completing grasp workflow, ensure:
External API Usage:
Grasp workflows typically cost 0.01-0.05 USD per task depending on complexity.
After definition completes:
.octo/ROADMAP.md with defined phases and success criteria..octo/STATE.md after the roadmap saves.: "${SYNTHESIS_FILE:?Restore the validated report path printed by Step 4}"
# The roadmap helper requires a readable, nonempty synthesis file.
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/octo-state.sh" update_roadmap \
--from-synthesis "$SYNTHESIS_FILE" || exit 1
# Update state after Definition completion
"${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT:-${HOME}/.claude-octopus/plugin}}/scripts/octo-state.sh" update_state \
--status "complete" \
--history "Define phase completed" || exit 1
The Define phase is complete ONLY when requirements are synthesized and the user has
approved the scope. After approval, invoke flow-develop if implementation is requested.
Otherwise, deliver the requirements document and stop. Do NOT begin
implementation from here without an approved scope.
Ready to define! This skill is used after explicit invocation when users request requirement clarification or problem definition.
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days