/octowiz:octowizfrom octowiz
Octowiz AI coding workflow coordinator. Reads IntegraHub memory doctrine at runtime, detects where you are in the development lifecycle, and routes to the right skill combination from superpowers + mattpocock-skills. Use this skill at the START of any development work — whether you have a fresh idea, an existing plan to stress-test, code ready to implement, or work ready for review. Invoke when the user types /octowiz, starts a new feature, asks how to begin a coding task, or says something like "let's build X", "I want to work on Y", "I have a plan", or "can you review my code".
Ships in octowiz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the entry point for the AI-assisted coding workflow. Read the project, fetch operating doctrine from IntegraHub memory, and route to the right installed skills.
Run this first — before everything else.
Check that the two required background services are running and that the current repo is within the daemon's allowed roots. Run all three checks in parallel:
# 1. Node daemon status
launchctl list de.integrahub.octowiz-daemon 2>/dev/null
# 2. Python A2A server status (port 8765)
nc -z 127.0.0.1 8765 2>/dev/null && echo "a2a:up" || echo "a2a:down"
# 3. Current repo allowed-roots check
node -e "
const roots = (process.env.OCTOWIZ_ALLOWED_ROOTS || '').split(':').filter(Boolean);
const cwd = process.cwd();
const ok = roots.some(r => cwd.startsWith(r));
console.log(ok ? 'roots:ok' : 'roots:missing cwd=' + cwd);
" 2>/dev/null || echo "roots:unknown"
Node daemon not running (launchctl output has - as PID or returns nothing):
launchctl load ~/Library/LaunchAgents/de.integrahub.octowiz-daemon.plist
Wait 3 seconds, then re-run the launchctl check to confirm PID is assigned.
Python A2A server down (a2a:down):
The server is normally auto-started by the CC session hook. Start it manually:
cd ~/Documents/octowiz/apps/a2a-agent
python3 -m uvicorn main:app --host 127.0.0.1 --port 8765 &
Wait 2 seconds, then re-check with nc -z 127.0.0.1 8765.
Current repo not in allowed roots (roots:missing):
The daemon will reject tasks from this repo. Tell the user:
"This repo is not in
OCTOWIZ_ALLOWED_ROOTS. Add its path to the launchd plist and reload the daemon:# Open plist, add path to OCTOWIZ_ALLOWED_ROOTS, then: launchctl unload ~/Library/LaunchAgents/de.integrahub.octowiz-daemon.plist launchctl load ~/Library/LaunchAgents/de.integrahub.octowiz-daemon.plistPlist is at:
~/Library/LaunchAgents/de.integrahub.octowiz-daemon.plist"
Do not proceed until the user confirms the plist has been updated and the daemon reloaded. Then re-run the roots check to verify.
All checks pass — proceed immediately to the Auto-intercept check below.
Run this before anything else — before reading the project, before loading doctrine.
octowiz-cache check
Parse the JSON output ({"status": "...", "hard_gaps": [...], "advisory_gaps": [...]}).
Run this unconditionally — it is idempotent and only creates files that are absent:
octowiz-cache init
Parse the JSON output ({"machine_state": "created"|"exists", "repo_state": "created"|"exists"}).
If repo_state is "created", this is the first time octowiz has run in this repo — write ONBOARDING.md next (step 3).
Only if repo_state was "created" in step 2. Create ONBOARDING.md in the current directory with a skeleton checklist (actual statuses will be filled in by octowiz:setup):
# Octowiz Setup
## Environment (per-machine)
- [ ] superpowers plugin
- [ ] mattpocock-skills plugin
- [ ] antfu-skills plugin
- [ ] LiteLLM env vars (LITELLM_BASE_URL + API key)
- [ ] LiteLLM routing cache
## Project (per-repo)
- [ ] antfu skills setup (if TypeScript/Vue stack)
- [ ] Agent instructions file
- [ ] mattpocock-skills section (## Agent skills)
## Next step
Running octowiz:setup...
If hard_gaps is non-empty: Invoke octowiz:setup. Do NOT proceed to the steps below. octowiz:setup will run the required phases and, when complete, return to this skill to show the A/B/C/D menu.
If hard_gaps is empty and ONBOARDING.md exists (stale): The environment is now clean. Delete ONBOARDING.md:
rm -f ONBOARDING.md
Then proceed to Step 1 below.
If hard_gaps is empty and ONBOARDING.md is absent: Proceed to Step 1 below.
Run each of the following and note what you find:
cat CLAUDE.md 2>/dev/null || echo "No CLAUDE.md"
head -50 README.md 2>/dev/null || echo "No README.md"
git status
git log --oneline -5
If an issue tracker is configured in CLAUDE.md, list open issues. Note whether:
Run:
octowiz-cache get --role routing --namespace "${OCTOWIZ_NAMESPACE:-allspark}"
If octowiz-cache is not installed or exits non-zero, fall back to:
curl -s "$LITELLM_BASE_URL/v1/memory/team%3A${OCTOWIZ_NAMESPACE:-allspark}%3Aconfig%3Aretrieval-contract" \
-H "Authorization: Bearer ${LITELLM_ADMIN_API_KEY:-$LITELLM_API_KEY}"
If both fail, or if LITELLM_BASE_URL and API key env vars are not set, tell the developer:
"Set LITELLM_BASE_URL and LITELLM_ADMIN_API_KEY (or LITELLM_API_KEY) in ~/.claude/settings.json to enable memory-backed doctrine. See the octowiz README for setup instructions. Continuing with built-in workflow."
Then continue using the built-in routing below — do not stop.
After the user chooses a workflow option, load the corresponding role bundle before appending fresh project state:
octowiz-cache get --role planner --namespace "${OCTOWIZ_NAMESPACE:-allspark}"octowiz-cache get --role implementer --namespace "${OCTOWIZ_NAMESPACE:-allspark}"octowiz-cache get --role reviewer --namespace "${OCTOWIZ_NAMESPACE:-allspark}"Prepend the bundle content to the context before fresh git status, open issues, and user request.
Do not suppress stderr from octowiz-cache — let warnings surface to the developer.
Look for ## Agent skills in CLAUDE.md. If it is missing, say:
"Run /mattpocock-skills:setup-matt-pocock-skills first to configure your issue tracker and domain docs. It's required for to-prd, to-issues, triage, diagnose, and tdd to work correctly."
Ask whether they want to run it now before continuing.
Use the project state from Step 1 to suggest a smart default:
Always show all four options regardless of the suggestion:
Where are you starting from?
A) Fresh idea — no plan yet
brainstorming → grill-with-docs (if CONTEXT.md/ADRs exist) → to-prd → writing-plans → to-issues → triage
B) I have a plan to stress-test
grill-me → to-prd → writing-plans → to-issues → triage
C) Plan exists — ready to implement
using-git-worktrees → test-driven-development + tdd → executing-plans
D) Code done — need review
zoom-out → requesting-code-review → receiving-code-review →
verification-before-completion → finishing-a-development-branch → handoff
Wait for the user to choose before proceeding.
Invoke in sequence, waiting for each to complete before moving to the next.
/superpowers:brainstorming — explore the idea space, surface hidden requirements,
produce a written spec. Ends by invoking writing-plans./mattpocock-skills:grill-with-docs — only if the codebase has CONTEXT.md or
docs/adr/ entries. Challenges the plan against the existing domain model and
sharpens terminology./mattpocock-skills:to-prd — synthesise the brainstorming output into a formal PRD
on the issue tracker. Pure synthesis — does not interview./superpowers:writing-plans — may already have run at the end of brainstorming;
run standalone if not./mattpocock-skills:to-issues — break the PRD into independently-grabbable vertical
slice issues using tracer-bullet slicing./mattpocock-skills:triage — classify issues as HITL or AFK, write agent briefs for
AFK tasks.For when the developer arrives with a plan already formed and wants rigorous challenge before committing to implementation.
/mattpocock-skills:grill-me — relentless one-question-at-a-time interview until
every branch of the decision tree is resolved./mattpocock-skills:to-prd — synthesise the grilled plan into a formal PRD./superpowers:writing-plans — implementation task breakdown./mattpocock-skills:to-issues — vertical slice issues on the tracker./mattpocock-skills:triage — HITL/AFK classification and agent briefs./superpowers:using-git-worktrees — isolated workspace before touching any code./superpowers:test-driven-development — TDD discipline and structure.
Also invoke /mattpocock-skills:tdd for the technical depth it adds: deep modules,
mocking only at system boundaries, interface design for testability.
These two skills complement each other — use both, not one instead of the other./superpowers:executing-plans — execute the written plan with review checkpoints.
Use /superpowers:subagent-driven-development if you want fresh subagents per task.Available on demand during implementation:
/mattpocock-skills:prototype — throwaway exploration for logic or UI questions
before committing to an approach./mattpocock-skills:diagnose — disciplined debugging: reproduce → minimise →
hypothesise → instrument → fix → regression-test./mattpocock-skills:zoom-out — step back, understand broader context before
reviewing. Prevents narrow-context review mistakes./mattpocock-skills:improve-codebase-architecture — optional; surface when
architecture concerns emerge during review./superpowers:requesting-code-review — formal review request with full context
package./superpowers:receiving-code-review — process review feedback systematically./superpowers:verification-before-completion — evidence-before-assertions gate.
Must pass before claiming work done or opening a PR./superpowers:finishing-a-development-branch — structured merge/PR/cleanup
decision./mattpocock-skills:handoff — compact context transfer to next session or agent.Key principles from the operating memories (used when memory fetch fails or as a reminder):
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (raelli/octowiz) — no native marketplace selected
npx claudepluginhub p/raelli-octowiz3 skills in this plugin
/octowiz-doctowizThe Octowiz doctor — diagnose, monitor, and fix the full octowiz + AELLI integration. Use whenever octowiz or AELLI isn't behaving correctly, a hook isn't firing, an advisory isn't returning, or you want a real-time activity feed. Also guides first-time setup, configuration from scratch, and upgrading from older versions (especially 0.5.x–0.9.x). Invoke as /octowiz:doctowiz for a full health check, or add a keyword: "monitor", "watch", "setup", "install", "update", "upgrade", "fix <symptom>".
/setupSetup orchestrator for the Octowiz Bridge. Re-runs the live environment check, builds a gap list, and runs only the phases needed: plugins, memory, repo, verify. Invoked automatically by octowiz:octowiz when hard gaps are detected.