extract-skill
Reverse-engineer design systems, tokens, and components from live products or screenshots
Package and finalize completed work for delivery — use when a feature is done and ready to ship
$ npx -y skills add nyldn/claude-octopus --skill skill-ship --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skill-shipContext preview
The summary Claude sees to decide when to auto-load this skill.
Package and finalize completed work for delivery — use when a feature is done and ready to ship
name: skill-ship description: "Package and finalize completed work for delivery — use when a feature is done and ready to ship" disable-model-invocation: true
> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex. > Cross-reference commands use installed skill names in Codex rather than `/octo:*` slash commands. > 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. > For host tool equivalents, see `skills/blocks/codex-host-adapter.md`.
Finalize and deliver completed work with Multi-AI security audit, lessons capture, and archival.
**Core principle:** Verify ready -> Multi-AI audit -> Capture lessons -> Archive -> Ship.
**Use this skill when user asks:**
**Do NOT use for:**
if [[ ! -d ".octo" ]]; then
echo "No project initialized"
exit 1
fi**If .octo/ does not exist:**
## Cannot Ship **Status:** No project initialized No Claude Octopus project found in this directory. Run `/octo:embrace [description]` to start a new project.
**STOP. Do not proceed.**
# Check if STATE.md exists and read status
if [[ -f ".octo/STATE.md" ]]; then
# Read current status
STATUS=$(grep -E "^status:" .octo/STATE.md | cut -d':' -f2 | xargs || echo "unknown")
CURRENT_PHASE=$(grep -E "^current_phase:" .octo/STATE.md | cut -d':' -f2 | xargs || echo "unknown")
else
STATUS="unknown"
CURRENT_PHASE="unknown"
fi
echo "Status: $STATUS"
echo "Current Phase: $CURRENT_PHASE"**Ship is allowed when:**
**If not ready:**
## Project Not Ready to Ship
**Current Status:** {status}
**Current Phase:** {current_phase}
### To prepare for shipping:
1. Complete remaining phases:
- [ ] Phase 1: Discover - Use `/octo:discover`
- [ ] Phase 2: Define - Use `/octo:define`
- [ ] Phase 3: Develop - Use `/octo:develop`
- [ ] Phase 4: Deliver - Use `/octo:deliver`
2. Or override with: "ship anyway" (not recommended)**STOP unless user says "ship anyway".**
# Check provider availability command -v codex &> /dev/null && codex_status="Available" || codex_status="Not installed" command -v agy &> /dev/null && agy_status="Available" || agy_status="Not installed"
**Output:**
## Multi-AI Security Audit
**Providers:**
- Codex CLI: ${codex_status} - Code security analysis
- Antigravity CLI: ${agy_status} - Additional external-model challenge
- Claude: Available - Synthesis and final validation
**Estimated Time:** 3-5 minutes
**Estimated Cost:** $0.02-0.08**You MUST execute this via native shell command tool:**
# Run Multi-AI security audit for delivery
"${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh" ink "Security audit for delivery - comprehensive review of all code changes for production readiness"**CRITICAL: You are PROHIBITED from:**
# Find the latest validation file
VALIDATION_FILE=$(find ~/.claude-octopus/results -name "ink-validation-*.md" -mmin -10 2>/dev/null | head -n1)
if [[ -z "$VALIDATION_FILE" ]]; then
echo "AUDIT FAILED: No validation file found"
exit 1
fi
echo "AUDIT COMPLETE: $VALIDATION_FILE"Read validation file and present:
**If FAILED with critical issues:**
## Audit Failed - Cannot Ship Critical issues must be resolved before shipping: 1. [Issue 1 from validation] 2. [Issue 2 from validation] Resolve issues and run `/octo:ship` again.
**STOP if critical issues found.**
## Lessons Learned Before finalizing, let's capture what we learned from this project. **Please answer the following:** 1. **What went well?** (What worked better than expected?) 2. **What could improve?** (What would you do differently?) 3. **Key learnings?** (What insights will you carry forward?) *Reply with your answers, or type "skip" to proceed without capturing lessons.*
**Wait for user response.**
If user provides lessons (not "skip"):
# Generate timestamp
TIMESTAMP=$(date '+%Y-%m-%d')
# Ensure LESSONS.md exists
touch .octo/LESSONS.md
# Append lessons
cat >> .octo/LESSONS.md << EOF
## ${TIMESTAMP} - Project Delivery
### What Went Well
- ${USER_WHAT_WENT_WELL}
### What Could Improve
- ${USER_WHAT_COULD_IMPROVE}
### Key Learnings
- ${USER_KEY_LEARNINGS}
EOF**Count total lessons:**
LESSON_COUNT=$(grep -c "^## " .octo/LESSONS.md 2>/dev/null || echo "0") echo "Total lessons captured: $LESSON_COUNT"
# Generate timestamp for archive
ARCHIVE_TIMESTAMP=$(date +%Y%m%d-%H%M%S)
ARCHIVE_DIR=".octo/archive/${ARCHIVE_TIMESTAMP}"
# Create archive dirEvery AI model has blind spots. Claude Octopus supports twelve external provider integrations — Codex, Antigravity CLI, Copilot, Qwen, Ollama, Perplexity, OpenRouter, OrcaRouter, OpenCode, Cursor CLI, Grok, and Kimi Code — alongside the built-in Claude Code
Repo: nyldn/claude-octopus
Reverse-engineer design systems, tokens, and components from live products or screenshots
Multi-AI requirements scoping using available external providers (Double Diamond Define phase). Priority triggers: octo define, octo scope, co-define,…
Multi-AI validation, scoring, and review using available external providers (Double Diamond Deliver phase)
Multi-AI implementation using available external providers (Double Diamond Develop phase). DO NOT use for simple code edits, reading/reviewing code, built-in…
Multi-AI research using available external providers (Double Diamond Discover phase)
Decompose and execute large changes, migrations, or multi-issue fixes in parallel with quality gates