[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MWQRXN64FMCX135N0WJZF3":3,"skill-same:01M6MWQRXN64FMCX135N0WJZF3":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":51,"commitSha":52,"skillDirectory":5,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":70},"01M6MWQRXN64FMCX135N0WJZF3","forbotsake-go",null,"One command, zero to published. Detects your marketing pipeline state and runs\nremaining stages automatically. If you have nothing, it starts from strategy.\nIf you have strategy, it creates content. If you have content, it reviews and ships.\nUse when: \"do marketing\", \"market this\", \"forbotsake-go\", \"I need to do marketing\",\n\"help me publish\", \"one-click marketing\", \"run the pipeline\".\nProactively invoke when the user expresses intent to do marketing but hasn't\nspecified which forbotsake skill to use.","forbotsake\u002Fforbotsake","forbotsake","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F273708741?v=4","01M6MW9A04DY7WQBA8YF96SVJE","01M6MW9A47HYRVBBQ642740E75",5,"MIT","https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-go\u002FSKILL.md",[],[9,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"forbotsake go","go","intent","which","reviews","you","click","me","but","do","edit","write","read","command","marketing","Bash","pipeline","publish","run","2026-11-10 10:12:30",false,"---\nname: forbotsake-go\ndescription: |\n  One command, zero to published. Detects your marketing pipeline state and runs\n  remaining stages automatically. If you have nothing, it starts from strategy.\n  If you have strategy, it creates content. If you have content, it reviews and ships.\n  Use when: \"do marketing\", \"market this\", \"forbotsake-go\", \"I need to do marketing\",\n  \"help me publish\", \"one-click marketing\", \"run the pipeline\".\n  Proactively invoke when the user expresses intent to do marketing but hasn't\n  specified which forbotsake skill to use.\nallowed-tools:\n  - Bash\n  - Read\n  - Write\n  - Edit\n  - Grep\n  - Glob\n  - Skill\n  - AskUserQuestion\n---\n\n# \u002Fforbotsake-go\n\nOne command. Zero to published.\n\n## Preamble\n\n```bash\nFORBOTSAKE_HOME=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\"\nmkdir -p \"$FORBOTSAKE_HOME\"\n\n# Check for updates\n_SKILL_DIR=$(dirname \"$(find ~\u002F.claude\u002Fskills -path \"*\u002Fforbotsake-marketing-start\u002FSKILL.md\" -type f 2>\u002Fdev\u002Fnull | head -1)\" 2>\u002Fdev\u002Fnull)\n_FBS_ROOT=$(cd \"${_SKILL_DIR}\u002F..\" 2>\u002Fdev\u002Fnull && pwd || true)\n_UPD=\"\"\n[ -n \"$_FBS_ROOT\" ] && [ -x \"$_FBS_ROOT\u002Fbin\u002Fforbotsake-update-check\" ] && _UPD=$(\"$_FBS_ROOT\u002Fbin\u002Fforbotsake-update-check\" 2>\u002Fdev\u002Fnull || true)\n[ -n \"$_UPD\" ] && echo \"$_UPD\" || true\n_BRANCH=$(git branch --show-current 2>\u002Fdev\u002Fnull || echo \"unknown\")\necho \"BRANCH: $_BRANCH\"\n```\n\n```bash\n\n# Set orchestrated mode for sub-skills via file flag (env vars don't propagate across Skill tool invocations)\n_ORCH_FLAG=\"$FORBOTSAKE_HOME\u002Forchestrated-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\n\n# Recursion guard: check if already orchestrated before overwriting\nif [ -f \"$_ORCH_FLAG\" ] && [ \"$(cat \"$_ORCH_FLAG\" 2>\u002Fdev\u002Fnull)\" = \"1\" ]; then\n  echo \"RECURSION_DETECTED: yes\"\n  echo \"ORCH_FLAG: $_ORCH_FLAG\"\nelse\n  # Check for stale flag (older than 2 hours = likely crashed session)\n  if [ -f \"$_ORCH_FLAG\" ]; then\n    _FLAG_AGE=$(( ($(date +%s) - $(stat -f %m \"$_ORCH_FLAG\" 2>\u002Fdev\u002Fnull || echo 0)) \u002F 3600 ))\n    if [ \"${_FLAG_AGE:-0}\" -gt 2 ]; then\n      echo \"STALE_FLAG: yes (${_FLAG_AGE}h old, removing)\"\n      rm -f \"$_ORCH_FLAG\"\n    fi\n  fi\n  echo \"1\" > \"$_ORCH_FLAG\"\n  echo \"ORCHESTRATED: 1\"\n  echo \"ORCH_FLAG: $_ORCH_FLAG\"\nfi\n\n# Tick mode detection (file-based, set by bin\u002Fforbotsake-cron)\n# Use path hash to match bin\u002Fforbotsake-cron's naming (avoids basename collisions)\n_PROJECT_HASH=$(echo \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\" | md5 2>\u002Fdev\u002Fnull | cut -c1-8 || basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\n_TICK_FLAG=\"$FORBOTSAKE_HOME\u002Ftick-$_PROJECT_HASH\"\nif [ -f \"$_TICK_FLAG\" ]; then\n  FORBOTSAKE_TICK=1\n  TICK_CONTENT_FILE=$(cat \"$_TICK_FLAG\")\n  echo \"TICK_MODE: 1\"\n  echo \"TICK_FILE: $TICK_CONTENT_FILE\"\nelse\n  FORBOTSAKE_TICK=0\n  echo \"TICK_MODE: 0\"\nfi\n\n# Fast mode propagation (skip adversarial gates)\n# Env vars don't propagate across Skill tool invocations, so use file flag (same pattern as orchestrated mode)\nFORBOTSAKE_FAST=\"${FORBOTSAKE_FAST:-0}\"\n_FAST_FLAG=\"$FORBOTSAKE_HOME\u002Ffast-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\nif [ \"$FORBOTSAKE_FAST\" = \"1\" ]; then\n  echo \"1\" > \"$_FAST_FLAG\"\n  echo \"NOTE: Fast mode active. Adversarial review gates will be skipped.\"\nelif [ -f \"$_FAST_FLAG\" ]; then\n  FORBOTSAKE_FAST=$(cat \"$_FAST_FLAG\" 2>\u002Fdev\u002Fnull || echo 0)\nfi\necho \"FAST_MODE: $FORBOTSAKE_FAST\"\necho \"FAST_FLAG: $_FAST_FLAG\"\n\n# Pipeline state detection\necho \"--- PIPELINE STATE ---\"\n\n# Strategy\nif [ -f strategy.md ]; then\n  echo \"STRATEGY: exists\"\n  # Check if it has real content (not just a template)\n  STRATEGY_LINES=$(wc -l \u003C strategy.md 2>\u002Fdev\u002Fnull | tr -d ' ')\n  echo \"STRATEGY_LINES: $STRATEGY_LINES\"\nelif [ -f forbotsake-strategy.md ]; then\n  echo \"STRATEGY: exists (forbotsake-strategy.md)\"\n  STRATEGY_LINES=$(wc -l \u003C forbotsake-strategy.md 2>\u002Fdev\u002Fnull | tr -d ' ')\n  echo \"STRATEGY_LINES: $STRATEGY_LINES\"\nelse\n  echo \"STRATEGY: missing\"\nfi\n\n# Content\nif [ -d content ] && ls content\u002F*.md 1>\u002Fdev\u002Fnull 2>&1; then\n  echo \"CONTENT: exists\"\n  CONTENT_COUNT=$(ls -1 content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  echo \"CONTENT_COUNT: $CONTENT_COUNT\"\n  # Check review status via frontmatter\n  DRAFT_COUNT=$(grep -l -e 'status: draft' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  HARD_FAILED_COUNT=$(grep -l -e 'status: hard-failed' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  REVIEWED_COUNT=$(grep -l -e 'status: reviewed' -e 'status: revised' -e 'status: reviewed-override' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  PUBLISHED_COUNT=$(grep -l -e 'status: published' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  POSTING_COUNT=$(grep -l -e 'status: posting' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  FAILED_COUNT=$(grep -l -e 'status: failed' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  echo \"POSTING_COUNT: $POSTING_COUNT\"\n  echo \"FAILED_COUNT: $FAILED_COUNT\"\n  echo \"DRAFT_COUNT: $DRAFT_COUNT\"\n  echo \"HARD_FAILED_COUNT: $HARD_FAILED_COUNT\"\n  echo \"REVIEWED_COUNT: $REVIEWED_COUNT\"\n  ls -1t content\u002F*.md 2>\u002Fdev\u002Fnull | head -5\nelse\n  echo \"CONTENT: missing\"\nfi\n\n# Content calendar\n[ -f content-calendar.md ] && echo \"CALENDAR: exists\" || echo \"CALENDAR: missing\"\n\n# Published log\nif [ -f published-log.md ]; then\n  echo \"PUBLISHED_LOG: exists\"\n  # Check what's been published\n  PUBLISHED_FILES=$(grep -c 'Source file:' published-log.md 2>\u002Fdev\u002Fnull || echo 0)\n  echo \"PUBLISHED_COUNT: $PUBLISHED_FILES\"\nelse\n  echo \"PUBLISHED_LOG: missing\"\nfi\n\n# Multi-modal: check brand.md and media-providers.md\n[ -f brand.md ] && echo \"BRAND: exists\" || echo \"BRAND: missing\"\nif [ -f media-providers.md ]; then\n  echo \"MEDIA_PROVIDERS: exists\"\nelse\n  echo \"MEDIA_PROVIDERS: missing\"\n  # Auto-detect available providers\n  echo \"--- PROVIDER DETECTION ---\"\n  command -v bun >\u002Fdev\u002Fnull 2>&1 && echo \"SATORI: yes (bun)\" || { command -v node >\u002Fdev\u002Fnull 2>&1 && echo \"SATORI: yes (node)\" || echo \"SATORI: no\"; }\n  echo \"CHROME_MCP: check-at-runtime\"\n  [ -n \"${NANO_BANANA_API_KEY:-}\" ] && echo \"NANO_BANANA: yes\" || echo \"NANO_BANANA: no\"\n  [ -n \"${SEEDANCE_API_KEY:-}\" ] && echo \"SEEDANCE: yes\" || echo \"SEEDANCE: no\"\n  echo \"--- END DETECTION ---\"\nfi\n\n# State file for resume\n_STATE_FILE=\"$FORBOTSAKE_HOME\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\nif [ -f \"$_STATE_FILE\" ]; then\n  echo \"RESUME: available\"\n  echo \"STATE_FILE: $_STATE_FILE\"\n  cat \"$_STATE_FILE\"\nelse\n  echo \"RESUME: none\"\nfi\n\necho \"--- END PIPELINE STATE ---\"\n```\n\n**Recursion guard:** If `RECURSION_DETECTED` is `yes`, this skill is being invoked recursively (the flag was already set by a parent forbotsake-go). Say: \"forbotsake-go is already running. Skipping to avoid recursion.\" Then stop.\n\n**Stale flag:** If `STALE_FLAG` is `yes`, a previous run crashed without cleanup. The flag was removed. Proceed normally.\n\nIf preamble shows `UPGRADE_AVAILABLE \u003Cold> \u003Cnew>`: read `$_FBS_ROOT\u002Fforbotsake-upgrade\u002FSKILL.md`\nand follow the \"Inline upgrade flow\" section Step 1 only. If upgrade proceeds, continue after.\nIf declined, continue with this skill immediately.\n\nIf `JUST_UPGRADED \u003Cold> \u003Cnew>`: \"Running forbotsake v{new} (just updated!).\" Continue.\n\n## Tick Mode (autonomous cron posting)\n\nIf `TICK_MODE` is `1`, this is an autonomous cron invocation. Hard constraints apply:\n\n1. **Stage 5 ONLY.** Do not run Stages 1-4 (strategy, create, review). Tick mode is exclusively for publishing already-reviewed content.\n2. Read `TICK_FILE` to get the content file path.\n3. Read the content file. Verify its frontmatter has `status: reviewed`, `status: revised`, or `status: reviewed-override`. If not, log \"Content file {path} has status {actual}, expected reviewed. Skipping.\" and exit.\n4. Set the content file frontmatter to `status: posting` (atomic claim to prevent double-posts).\n5. Invoke `\u002Fforbotsake-publish` in orchestrated mode for that single file. Pass the file path explicitly in the prompt, do NOT rely on status-based auto-selection (the file is now in `posting` status, not `reviewed`).\n6. On success: set `status: published` in the content file frontmatter.\n7. On failure: set `status: failed` in the content file frontmatter. Write a failure receipt to `published-log.md`.\n8. Clean up: remove the tick flag file. Remove the orchestrated flag file.\n9. Exit. Do not show \"Next Steps\" or suggest other skills.\n\n**Important:** In tick mode, skip Phase 1, Phase 2 Stages 1-4, Phase 3, and all interactive prompts. Go directly to Stage 5 (publish) for the single specified file.\n\nIf the tick flag file does not contain a valid content file path, log the error and exit.\n\n**Recovery for stuck `posting` status:** If `POSTING_COUNT` > 0 in the preamble output, check each file with `status: posting`. If the file's modification time is older than 2 hours (use `stat -f %m` on macOS), reset it to `status: failed` and log: \"Recovered stuck posting file {path}, set to failed.\" This prevents token drain from repeatedly launching Claude for a file that will never pass the status check.\n\n**Headless safety guard:** If `TICK_MODE` is `0` BUT the `claude -p` prompt text contains \"tick mode\" or \"tick flag\" (indicating the caller expected tick mode), log \"WARN: Tick mode requested but flag file not found. Exiting to prevent uncontrolled pipeline run.\" and exit. Do not fall through to the interactive flow.\n\nIf `TICK_MODE` is `0` and no tick-mode language is in the prompt, continue with normal interactive\u002Forchestrated flow below.\n\n## Phase 1: Determine Starting Point\n\nBased on the pipeline state, determine which stage to start from:\n\n```\nIF RESUME is available:\n  → Read state file, resume from last completed stage\nIF STRATEGY is missing:\n  → Start at STAGE 1 (strategy)\nELIF CONTENT is missing:\n  → Start at STAGE 3 (create)\nELIF HARD_FAILED_COUNT > 0 AND DRAFT_COUNT = 0 AND REVIEWED_COUNT = 0 (only hard-failed content, nothing else to process):\n  → Tell user: \"{HARD_FAILED_COUNT} content file(s) failed adversarial review.\n    Run \u002Fforbotsake-create to rewrite, or \u002Fforbotsake-content-check to override.\"\n  → Clean up flags before stopping:\n    ```bash\n    rm -f \"$_ORCH_FLAG\" \"$_FAST_FLAG\" 2>\u002Fdev\u002Fnull\n    ```\n  → Stop. Do not proceed to publish with only hard-failed content.\nELIF HARD_FAILED_COUNT > 0 AND (DRAFT_COUNT > 0 OR REVIEWED_COUNT > 0):\n  → Warn: \"{HARD_FAILED_COUNT} file(s) are hard-failed (will be skipped). Processing remaining content.\"\n  → Continue with drafts\u002Freviewed content. Do not block the entire pipeline for unrelated files.\nELIF DRAFT_COUNT > 0 (unreviewed content exists):\n  → Start at STAGE 4 (review)\nELIF REVIEWED_COUNT > 0 (reviewed but not published):\n  → Start at STAGE 5 (publish + ship)\nELSE:\n  → Everything is done. Suggest: \"All content is published. Run \u002Fforbotsake-retro to measure results, or \u002Fforbotsake-create for new content.\"\n```\n\nTell the user briefly where you're starting:\n- \"No strategy yet. Let's figure out your positioning first.\"\n- \"Found your strategy. Creating content...\"\n- \"Found draft content. Reviewing it...\"\n- \"Content is reviewed. Shipping it.\"\n\nDo NOT show pipeline scores, percentages, or technical details. Just the status in plain language.\n\n## Phase 2: Run Stages\n\nExecute remaining stages in order. Between each stage, write the state file for crash recovery.\n\n### STAGE 1: Strategy (if needed)\n\nInvoke `\u002Fforbotsake-marketing-start` using the Skill tool.\n\nThe skill will run in orchestrated mode (FORBOTSAKE_ORCHESTRATED=1):\n- If strategy.md already exists, it will skip and return immediately\n- If not, it will ask the 5 strategy questions (these require human input)\n- It will write strategy.md and return\n\nAfter it returns, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: strategy-complete\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\n```\n\nBrief transition: \"Strategy done. Now let's create some content.\"\n\n### STAGE 1.5: Media Providers Setup (if needed)\n\nIf `MEDIA_PROVIDERS` is `missing`, auto-generate `media-providers.md` based on detected capabilities:\n\nRead the provider framework:\n```bash\n_SKILL_DIR=$(dirname \"$(find ~\u002F.claude\u002Fskills -path \"*\u002Fforbotsake-go\u002FSKILL.md\" -type f 2>\u002Fdev\u002Fnull | head -1)\")\n_FBS_ROOT=$(cd \"${_SKILL_DIR}\u002F..\" 2>\u002Fdev\u002Fnull && pwd || true)\necho \"FBS_ROOT: $_FBS_ROOT\"\n```\nRead `$_FBS_ROOT\u002Fknowledge\u002Fframeworks\u002Fmedia-providers.md` for the schema.\n\nWrite `media-providers.md` with providers enabled\u002Fdisabled based on preamble detection:\n- `local-satori`: enabled if bun or node detected\n- `gemini-browser`: enabled if Chrome MCP tools available (test at runtime)\n- `nano-banana-api`: enabled if NANO_BANANA_API_KEY env var set\n- `veo-browser`: disabled by default (video provider)\n- `seedance-api`: enabled if SEEDANCE_API_KEY env var set\n\nBrief: \"Set up media providers for visual generation. {N} providers detected.\"\n\nIf `BRAND` is `missing` and `STRATEGY` exists: Note that brand.md is missing. forbotsake-create will work without it using default styles, but recommend running `\u002Fforbotsake-marketing-start` interactively to set up brand identity for consistent visuals.\n\n### STAGE 2: Content Calendar (skip — optional)\n\nDo NOT run forbotsake-content-plan. It's optional and adds friction. The orchestrator\nshould get to published content as fast as possible. If no calendar exists, forbotsake-create\nwill work without one.\n\n### STAGE 3: Create Content (if needed)\n\nInvoke `\u002Fforbotsake-create` using the Skill tool.\n\nThe skill will run in orchestrated mode:\n- Auto-selects channel and topic from calendar or strategy\n- Still shows the draft for user approval (this is the high-value interaction)\n- Writes to content\u002F and returns\n\nAfter it returns, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: create-complete\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\necho \"content_files: $(ls -1t content\u002F*.md 2>\u002Fdev\u002Fnull | head -3 | tr '\\n' ',')\" >> \"$_STATE_FILE\"\n```\n\nBrief transition: \"Content created. Checking quality...\"\n\n### STAGE 4: Review Content (if needed)\n\nInvoke `\u002Fforbotsake-content-check` using the Skill tool.\n\nThe skill will run in orchestrated mode:\n- Auto-selects draft content files\n- Runs the 7-dimension review\n- Auto-applies fixes if any dimensions fail\n- Updates frontmatter status and returns\n\nAfter it returns, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: review-complete\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\n```\n\nBrief transition: \"Content reviewed. Formatting for publishing...\"\n\n### STAGE 5: Publish + Ship\n\n**5A: Format for platform**\n\nInvoke `\u002Fforbotsake-publish` using the Skill tool.\n\nThe skill will run in orchestrated mode:\n- Auto-selects reviewed content and target platform\n- Formats and logs to published-log.md\n- Returns with formatted content\n\n**5B: Git workflow (inline — no sub-skill needed)**\n\nAfter publish completes:\n\n```bash\n# Stage marketing files (only .md files from content\u002F, not binaries or other artifacts)\ngit add strategy.md content\u002F*.md published-log.md content-calendar.md brand.md media-providers.md 2>\u002Fdev\u002Fnull\ngit add forbotsake-strategy.md forbotsake-content-calendar.md 2>\u002Fdev\u002Fnull\n# Stage visual assets alongside content\ngit add content\u002F*-visual-*.png content\u002F*-video-*.mp4 2>\u002Fdev\u002Fnull\n\n# Check if there are changes to commit\nif ! git diff --cached --quiet 2>\u002Fdev\u002Fnull; then\n  echo \"STAGED_CHANGES: yes\"\nelse\n  echo \"STAGED_CHANGES: no\"\nfi\n\n_BRANCH=$(git branch --show-current 2>\u002Fdev\u002Fnull || echo \"unknown\")\necho \"GIT_BRANCH: $_BRANCH\"\n```\n\nIf `STAGED_CHANGES` is `yes`:\n- Generate commit message: `marketing: [brief description of content created]`\n- Commit using heredoc for safe quoting: `git commit -m \"$(cat \u003C\u003C'EOF'\\nmarketing: [description]\\nEOF\\n)\"`\n- Push: `git push` (if remote exists)\n- If push fails: \"Committed locally. Push when ready: `git push`\"\n- If `GIT_BRANCH` is NOT `main` and NOT `master`: `gh pr create --fill --draft 2>\u002Fdev\u002Fnull || true` (silently, don't block if fails or PR already exists)\n\nIf no changes: skip git steps silently.\n\nAfter git, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: shipped\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\n```\n\n## Phase 3: Done\n\nShow the founder three things:\n\n1. **What was created:** List content files written\n2. **Copy-paste content:** The platform-formatted content (already displayed by forbotsake-publish)\n3. **Git status:** \"Committed and pushed to {branch}.\" (or \"Committed locally.\")\n\nThen:\n\n> \"That's it. Your content is ready to post.\n>\n> Run `\u002Fforbotsake-retro` next week to see what worked.\"\n\nClean up state file and orchestrated flag:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\n_ORCH_FLAG=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Forchestrated-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\n_FAST_FLAG=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Ffast-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\nrm -f \"$_STATE_FILE\" \"$_ORCH_FLAG\" \"$_FAST_FLAG\" 2>\u002Fdev\u002Fnull\n```\n\n## Dry Run Mode\n\nIf the user says `--dry-run` or \"what would you do\":\n\nRun Phase 1 (pipeline detection) only. Show:\n- Current pipeline state\n- Which stages would run\n- Estimated time\n\nDo NOT invoke any sub-skills.\n\n## Error Handling\n\n- **Sub-skill fails or user cancels mid-stage:** Save state file with last completed stage. Tell user: \"Saved progress. Run `\u002Fforbotsake-go` again to continue from where you left off.\"\n- **Context window running low:** Save state file. Tell user: \"Session getting long. Run `\u002Fforbotsake-go` again to continue — I'll pick up where we left off.\"\n- **No git remote:** Skip push silently. Content is still created and formatted.\n- **Strategy questions take too long:** State file saves after strategy is written. If session ends during questions, the resume file from forbotsake-marketing-start handles it.\n","# \u002Fforbotsake-go\n\nOne command. Zero to published.\n\n## Preamble\n\n```bash\nFORBOTSAKE_HOME=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\"\nmkdir -p \"$FORBOTSAKE_HOME\"\n\n# Check for updates\n_SKILL_DIR=$(dirname \"$(find ~\u002F.claude\u002Fskills -path \"*\u002Fforbotsake-marketing-start\u002FSKILL.md\" -type f 2>\u002Fdev\u002Fnull | head -1)\" 2>\u002Fdev\u002Fnull)\n_FBS_ROOT=$(cd \"${_SKILL_DIR}\u002F..\" 2>\u002Fdev\u002Fnull && pwd || true)\n_UPD=\"\"\n[ -n \"$_FBS_ROOT\" ] && [ -x \"$_FBS_ROOT\u002Fbin\u002Fforbotsake-update-check\" ] && _UPD=$(\"$_FBS_ROOT\u002Fbin\u002Fforbotsake-update-check\" 2>\u002Fdev\u002Fnull || true)\n[ -n \"$_UPD\" ] && echo \"$_UPD\" || true\n_BRANCH=$(git branch --show-current 2>\u002Fdev\u002Fnull || echo \"unknown\")\necho \"BRANCH: $_BRANCH\"\n```\n\n```bash\n\n# Set orchestrated mode for sub-skills via file flag (env vars don't propagate across Skill tool invocations)\n_ORCH_FLAG=\"$FORBOTSAKE_HOME\u002Forchestrated-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\n\n# Recursion guard: check if already orchestrated before overwriting\nif [ -f \"$_ORCH_FLAG\" ] && [ \"$(cat \"$_ORCH_FLAG\" 2>\u002Fdev\u002Fnull)\" = \"1\" ]; then\n  echo \"RECURSION_DETECTED: yes\"\n  echo \"ORCH_FLAG: $_ORCH_FLAG\"\nelse\n  # Check for stale flag (older than 2 hours = likely crashed session)\n  if [ -f \"$_ORCH_FLAG\" ]; then\n    _FLAG_AGE=$(( ($(date +%s) - $(stat -f %m \"$_ORCH_FLAG\" 2>\u002Fdev\u002Fnull || echo 0)) \u002F 3600 ))\n    if [ \"${_FLAG_AGE:-0}\" -gt 2 ]; then\n      echo \"STALE_FLAG: yes (${_FLAG_AGE}h old, removing)\"\n      rm -f \"$_ORCH_FLAG\"\n    fi\n  fi\n  echo \"1\" > \"$_ORCH_FLAG\"\n  echo \"ORCHESTRATED: 1\"\n  echo \"ORCH_FLAG: $_ORCH_FLAG\"\nfi\n\n# Tick mode detection (file-based, set by bin\u002Fforbotsake-cron)\n# Use path hash to match bin\u002Fforbotsake-cron's naming (avoids basename collisions)\n_PROJECT_HASH=$(echo \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\" | md5 2>\u002Fdev\u002Fnull | cut -c1-8 || basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\n_TICK_FLAG=\"$FORBOTSAKE_HOME\u002Ftick-$_PROJECT_HASH\"\nif [ -f \"$_TICK_FLAG\" ]; then\n  FORBOTSAKE_TICK=1\n  TICK_CONTENT_FILE=$(cat \"$_TICK_FLAG\")\n  echo \"TICK_MODE: 1\"\n  echo \"TICK_FILE: $TICK_CONTENT_FILE\"\nelse\n  FORBOTSAKE_TICK=0\n  echo \"TICK_MODE: 0\"\nfi\n\n# Fast mode propagation (skip adversarial gates)\n# Env vars don't propagate across Skill tool invocations, so use file flag (same pattern as orchestrated mode)\nFORBOTSAKE_FAST=\"${FORBOTSAKE_FAST:-0}\"\n_FAST_FLAG=\"$FORBOTSAKE_HOME\u002Ffast-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\nif [ \"$FORBOTSAKE_FAST\" = \"1\" ]; then\n  echo \"1\" > \"$_FAST_FLAG\"\n  echo \"NOTE: Fast mode active. Adversarial review gates will be skipped.\"\nelif [ -f \"$_FAST_FLAG\" ]; then\n  FORBOTSAKE_FAST=$(cat \"$_FAST_FLAG\" 2>\u002Fdev\u002Fnull || echo 0)\nfi\necho \"FAST_MODE: $FORBOTSAKE_FAST\"\necho \"FAST_FLAG: $_FAST_FLAG\"\n\n# Pipeline state detection\necho \"--- PIPELINE STATE ---\"\n\n# Strategy\nif [ -f strategy.md ]; then\n  echo \"STRATEGY: exists\"\n  # Check if it has real content (not just a template)\n  STRATEGY_LINES=$(wc -l \u003C strategy.md 2>\u002Fdev\u002Fnull | tr -d ' ')\n  echo \"STRATEGY_LINES: $STRATEGY_LINES\"\nelif [ -f forbotsake-strategy.md ]; then\n  echo \"STRATEGY: exists (forbotsake-strategy.md)\"\n  STRATEGY_LINES=$(wc -l \u003C forbotsake-strategy.md 2>\u002Fdev\u002Fnull | tr -d ' ')\n  echo \"STRATEGY_LINES: $STRATEGY_LINES\"\nelse\n  echo \"STRATEGY: missing\"\nfi\n\n# Content\nif [ -d content ] && ls content\u002F*.md 1>\u002Fdev\u002Fnull 2>&1; then\n  echo \"CONTENT: exists\"\n  CONTENT_COUNT=$(ls -1 content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  echo \"CONTENT_COUNT: $CONTENT_COUNT\"\n  # Check review status via frontmatter\n  DRAFT_COUNT=$(grep -l -e 'status: draft' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  HARD_FAILED_COUNT=$(grep -l -e 'status: hard-failed' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  REVIEWED_COUNT=$(grep -l -e 'status: reviewed' -e 'status: revised' -e 'status: reviewed-override' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  PUBLISHED_COUNT=$(grep -l -e 'status: published' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  POSTING_COUNT=$(grep -l -e 'status: posting' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  FAILED_COUNT=$(grep -l -e 'status: failed' content\u002F*.md 2>\u002Fdev\u002Fnull | wc -l | tr -d ' ')\n  echo \"POSTING_COUNT: $POSTING_COUNT\"\n  echo \"FAILED_COUNT: $FAILED_COUNT\"\n  echo \"DRAFT_COUNT: $DRAFT_COUNT\"\n  echo \"HARD_FAILED_COUNT: $HARD_FAILED_COUNT\"\n  echo \"REVIEWED_COUNT: $REVIEWED_COUNT\"\n  ls -1t content\u002F*.md 2>\u002Fdev\u002Fnull | head -5\nelse\n  echo \"CONTENT: missing\"\nfi\n\n# Content calendar\n[ -f content-calendar.md ] && echo \"CALENDAR: exists\" || echo \"CALENDAR: missing\"\n\n# Published log\nif [ -f published-log.md ]; then\n  echo \"PUBLISHED_LOG: exists\"\n  # Check what's been published\n  PUBLISHED_FILES=$(grep -c 'Source file:' published-log.md 2>\u002Fdev\u002Fnull || echo 0)\n  echo \"PUBLISHED_COUNT: $PUBLISHED_FILES\"\nelse\n  echo \"PUBLISHED_LOG: missing\"\nfi\n\n# Multi-modal: check brand.md and media-providers.md\n[ -f brand.md ] && echo \"BRAND: exists\" || echo \"BRAND: missing\"\nif [ -f media-providers.md ]; then\n  echo \"MEDIA_PROVIDERS: exists\"\nelse\n  echo \"MEDIA_PROVIDERS: missing\"\n  # Auto-detect available providers\n  echo \"--- PROVIDER DETECTION ---\"\n  command -v bun >\u002Fdev\u002Fnull 2>&1 && echo \"SATORI: yes (bun)\" || { command -v node >\u002Fdev\u002Fnull 2>&1 && echo \"SATORI: yes (node)\" || echo \"SATORI: no\"; }\n  echo \"CHROME_MCP: check-at-runtime\"\n  [ -n \"${NANO_BANANA_API_KEY:-}\" ] && echo \"NANO_BANANA: yes\" || echo \"NANO_BANANA: no\"\n  [ -n \"${SEEDANCE_API_KEY:-}\" ] && echo \"SEEDANCE: yes\" || echo \"SEEDANCE: no\"\n  echo \"--- END DETECTION ---\"\nfi\n\n# State file for resume\n_STATE_FILE=\"$FORBOTSAKE_HOME\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\nif [ -f \"$_STATE_FILE\" ]; then\n  echo \"RESUME: available\"\n  echo \"STATE_FILE: $_STATE_FILE\"\n  cat \"$_STATE_FILE\"\nelse\n  echo \"RESUME: none\"\nfi\n\necho \"--- END PIPELINE STATE ---\"\n```\n\n**Recursion guard:** If `RECURSION_DETECTED` is `yes`, this skill is being invoked recursively (the flag was already set by a parent forbotsake-go). Say: \"forbotsake-go is already running. Skipping to avoid recursion.\" Then stop.\n\n**Stale flag:** If `STALE_FLAG` is `yes`, a previous run crashed without cleanup. The flag was removed. Proceed normally.\n\nIf preamble shows `UPGRADE_AVAILABLE \u003Cold> \u003Cnew>`: read `$_FBS_ROOT\u002Fforbotsake-upgrade\u002FSKILL.md`\nand follow the \"Inline upgrade flow\" section Step 1 only. If upgrade proceeds, continue after.\nIf declined, continue with this skill immediately.\n\nIf `JUST_UPGRADED \u003Cold> \u003Cnew>`: \"Running forbotsake v{new} (just updated!).\" Continue.\n\n## Tick Mode (autonomous cron posting)\n\nIf `TICK_MODE` is `1`, this is an autonomous cron invocation. Hard constraints apply:\n\n1. **Stage 5 ONLY.** Do not run Stages 1-4 (strategy, create, review). Tick mode is exclusively for publishing already-reviewed content.\n2. Read `TICK_FILE` to get the content file path.\n3. Read the content file. Verify its frontmatter has `status: reviewed`, `status: revised`, or `status: reviewed-override`. If not, log \"Content file {path} has status {actual}, expected reviewed. Skipping.\" and exit.\n4. Set the content file frontmatter to `status: posting` (atomic claim to prevent double-posts).\n5. Invoke `\u002Fforbotsake-publish` in orchestrated mode for that single file. Pass the file path explicitly in the prompt, do NOT rely on status-based auto-selection (the file is now in `posting` status, not `reviewed`).\n6. On success: set `status: published` in the content file frontmatter.\n7. On failure: set `status: failed` in the content file frontmatter. Write a failure receipt to `published-log.md`.\n8. Clean up: remove the tick flag file. Remove the orchestrated flag file.\n9. Exit. Do not show \"Next Steps\" or suggest other skills.\n\n**Important:** In tick mode, skip Phase 1, Phase 2 Stages 1-4, Phase 3, and all interactive prompts. Go directly to Stage 5 (publish) for the single specified file.\n\nIf the tick flag file does not contain a valid content file path, log the error and exit.\n\n**Recovery for stuck `posting` status:** If `POSTING_COUNT` > 0 in the preamble output, check each file with `status: posting`. If the file's modification time is older than 2 hours (use `stat -f %m` on macOS), reset it to `status: failed` and log: \"Recovered stuck posting file {path}, set to failed.\" This prevents token drain from repeatedly launching Claude for a file that will never pass the status check.\n\n**Headless safety guard:** If `TICK_MODE` is `0` BUT the `claude -p` prompt text contains \"tick mode\" or \"tick flag\" (indicating the caller expected tick mode), log \"WARN: Tick mode requested but flag file not found. Exiting to prevent uncontrolled pipeline run.\" and exit. Do not fall through to the interactive flow.\n\nIf `TICK_MODE` is `0` and no tick-mode language is in the prompt, continue with normal interactive\u002Forchestrated flow below.\n\n## Phase 1: Determine Starting Point\n\nBased on the pipeline state, determine which stage to start from:\n\n```\nIF RESUME is available:\n  → Read state file, resume from last completed stage\nIF STRATEGY is missing:\n  → Start at STAGE 1 (strategy)\nELIF CONTENT is missing:\n  → Start at STAGE 3 (create)\nELIF HARD_FAILED_COUNT > 0 AND DRAFT_COUNT = 0 AND REVIEWED_COUNT = 0 (only hard-failed content, nothing else to process):\n  → Tell user: \"{HARD_FAILED_COUNT} content file(s) failed adversarial review.\n    Run \u002Fforbotsake-create to rewrite, or \u002Fforbotsake-content-check to override.\"\n  → Clean up flags before stopping:\n    ```bash\n    rm -f \"$_ORCH_FLAG\" \"$_FAST_FLAG\" 2>\u002Fdev\u002Fnull\n    ```\n  → Stop. Do not proceed to publish with only hard-failed content.\nELIF HARD_FAILED_COUNT > 0 AND (DRAFT_COUNT > 0 OR REVIEWED_COUNT > 0):\n  → Warn: \"{HARD_FAILED_COUNT} file(s) are hard-failed (will be skipped). Processing remaining content.\"\n  → Continue with drafts\u002Freviewed content. Do not block the entire pipeline for unrelated files.\nELIF DRAFT_COUNT > 0 (unreviewed content exists):\n  → Start at STAGE 4 (review)\nELIF REVIEWED_COUNT > 0 (reviewed but not published):\n  → Start at STAGE 5 (publish + ship)\nELSE:\n  → Everything is done. Suggest: \"All content is published. Run \u002Fforbotsake-retro to measure results, or \u002Fforbotsake-create for new content.\"\n```\n\nTell the user briefly where you're starting:\n- \"No strategy yet. Let's figure out your positioning first.\"\n- \"Found your strategy. Creating content...\"\n- \"Found draft content. Reviewing it...\"\n- \"Content is reviewed. Shipping it.\"\n\nDo NOT show pipeline scores, percentages, or technical details. Just the status in plain language.\n\n## Phase 2: Run Stages\n\nExecute remaining stages in order. Between each stage, write the state file for crash recovery.\n\n### STAGE 1: Strategy (if needed)\n\nInvoke `\u002Fforbotsake-marketing-start` using the Skill tool.\n\nThe skill will run in orchestrated mode (FORBOTSAKE_ORCHESTRATED=1):\n- If strategy.md already exists, it will skip and return immediately\n- If not, it will ask the 5 strategy questions (these require human input)\n- It will write strategy.md and return\n\nAfter it returns, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: strategy-complete\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\n```\n\nBrief transition: \"Strategy done. Now let's create some content.\"\n\n### STAGE 1.5: Media Providers Setup (if needed)\n\nIf `MEDIA_PROVIDERS` is `missing`, auto-generate `media-providers.md` based on detected capabilities:\n\nRead the provider framework:\n```bash\n_SKILL_DIR=$(dirname \"$(find ~\u002F.claude\u002Fskills -path \"*\u002Fforbotsake-go\u002FSKILL.md\" -type f 2>\u002Fdev\u002Fnull | head -1)\")\n_FBS_ROOT=$(cd \"${_SKILL_DIR}\u002F..\" 2>\u002Fdev\u002Fnull && pwd || true)\necho \"FBS_ROOT: $_FBS_ROOT\"\n```\nRead `$_FBS_ROOT\u002Fknowledge\u002Fframeworks\u002Fmedia-providers.md` for the schema.\n\nWrite `media-providers.md` with providers enabled\u002Fdisabled based on preamble detection:\n- `local-satori`: enabled if bun or node detected\n- `gemini-browser`: enabled if Chrome MCP tools available (test at runtime)\n- `nano-banana-api`: enabled if NANO_BANANA_API_KEY env var set\n- `veo-browser`: disabled by default (video provider)\n- `seedance-api`: enabled if SEEDANCE_API_KEY env var set\n\nBrief: \"Set up media providers for visual generation. {N} providers detected.\"\n\nIf `BRAND` is `missing` and `STRATEGY` exists: Note that brand.md is missing. forbotsake-create will work without it using default styles, but recommend running `\u002Fforbotsake-marketing-start` interactively to set up brand identity for consistent visuals.\n\n### STAGE 2: Content Calendar (skip — optional)\n\nDo NOT run forbotsake-content-plan. It's optional and adds friction. The orchestrator\nshould get to published content as fast as possible. If no calendar exists, forbotsake-create\nwill work without one.\n\n### STAGE 3: Create Content (if needed)\n\nInvoke `\u002Fforbotsake-create` using the Skill tool.\n\nThe skill will run in orchestrated mode:\n- Auto-selects channel and topic from calendar or strategy\n- Still shows the draft for user approval (this is the high-value interaction)\n- Writes to content\u002F and returns\n\nAfter it returns, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: create-complete\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\necho \"content_files: $(ls -1t content\u002F*.md 2>\u002Fdev\u002Fnull | head -3 | tr '\\n' ',')\" >> \"$_STATE_FILE\"\n```\n\nBrief transition: \"Content created. Checking quality...\"\n\n### STAGE 4: Review Content (if needed)\n\nInvoke `\u002Fforbotsake-content-check` using the Skill tool.\n\nThe skill will run in orchestrated mode:\n- Auto-selects draft content files\n- Runs the 7-dimension review\n- Auto-applies fixes if any dimensions fail\n- Updates frontmatter status and returns\n\nAfter it returns, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: review-complete\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\n```\n\nBrief transition: \"Content reviewed. Formatting for publishing...\"\n\n### STAGE 5: Publish + Ship\n\n**5A: Format for platform**\n\nInvoke `\u002Fforbotsake-publish` using the Skill tool.\n\nThe skill will run in orchestrated mode:\n- Auto-selects reviewed content and target platform\n- Formats and logs to published-log.md\n- Returns with formatted content\n\n**5B: Git workflow (inline — no sub-skill needed)**\n\nAfter publish completes:\n\n```bash\n# Stage marketing files (only .md files from content\u002F, not binaries or other artifacts)\ngit add strategy.md content\u002F*.md published-log.md content-calendar.md brand.md media-providers.md 2>\u002Fdev\u002Fnull\ngit add forbotsake-strategy.md forbotsake-content-calendar.md 2>\u002Fdev\u002Fnull\n# Stage visual assets alongside content\ngit add content\u002F*-visual-*.png content\u002F*-video-*.mp4 2>\u002Fdev\u002Fnull\n\n# Check if there are changes to commit\nif ! git diff --cached --quiet 2>\u002Fdev\u002Fnull; then\n  echo \"STAGED_CHANGES: yes\"\nelse\n  echo \"STAGED_CHANGES: no\"\nfi\n\n_BRANCH=$(git branch --show-current 2>\u002Fdev\u002Fnull || echo \"unknown\")\necho \"GIT_BRANCH: $_BRANCH\"\n```\n\nIf `STAGED_CHANGES` is `yes`:\n- Generate commit message: `marketing: [brief description of content created]`\n- Commit using heredoc for safe quoting: `git commit -m \"$(cat \u003C\u003C'EOF'\\nmarketing: [description]\\nEOF\\n)\"`\n- Push: `git push` (if remote exists)\n- If push fails: \"Committed locally. Push when ready: `git push`\"\n- If `GIT_BRANCH` is NOT `main` and NOT `master`: `gh pr create --fill --draft 2>\u002Fdev\u002Fnull || true` (silently, don't block if fails or PR already exists)\n\nIf no changes: skip git steps silently.\n\nAfter git, save state:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\necho \"stage: shipped\" > \"$_STATE_FILE\"\necho \"timestamp: $(date -u +%Y-%m-%dT%H:%M:%SZ)\" >> \"$_STATE_FILE\"\n```\n\n## Phase 3: Done\n\nShow the founder three things:\n\n1. **What was created:** List content files written\n2. **Copy-paste content:** The platform-formatted content (already displayed by forbotsake-publish)\n3. **Git status:** \"Committed and pushed to {branch}.\" (or \"Committed locally.\")\n\nThen:\n\n> \"That's it. Your content is ready to post.\n>\n> Run `\u002Fforbotsake-retro` next week to see what worked.\"\n\nClean up state file and orchestrated flag:\n```bash\n_STATE_FILE=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Fgo-state-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\").md\"\n_ORCH_FLAG=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Forchestrated-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\n_FAST_FLAG=\"${FORBOTSAKE_HOME:-$HOME\u002F.forbotsake}\u002Ffast-$(basename \"$(git rev-parse --show-toplevel 2>\u002Fdev\u002Fnull || pwd)\")\"\nrm -f \"$_STATE_FILE\" \"$_ORCH_FLAG\" \"$_FAST_FLAG\" 2>\u002Fdev\u002Fnull\n```\n\n## Dry Run Mode\n\nIf the user says `--dry-run` or \"what would you do\":\n\nRun Phase 1 (pipeline detection) only. Show:\n- Current pipeline state\n- Which stages would run\n- Estimated time\n\nDo NOT invoke any sub-skills.\n\n## Error Handling\n\n- **Sub-skill fails or user cancels mid-stage:** Save state file with last completed stage. Tell user: \"Saved progress. Run `\u002Fforbotsake-go` again to continue from where you left off.\"\n- **Context window running low:** Save state file. Tell user: \"Session getting long. Run `\u002Fforbotsake-go` again to continue — I'll pick up where we left off.\"\n- **No git remote:** Skip push silently. Content is still created and formatted.\n- **Strategy questions take too long:** State file saves after strategy is written. If session ends during questions, the resume file from forbotsake-marketing-start handles it.\n",{"name":5,"description":42,"allowed-tools":43},"One command, zero to published. Detects your marketing pipeline state and runs\nremaining stages automatically. If you have nothing, it starts from strategy.\nIf you have strategy, it creates content. If you have content, it reviews and ships.\nUse when: \"do marketing\", \"market this\", \"forbotsake-go\", \"I need to do marketing\",\n\"help me publish\", \"one-click marketing\", \"run the pipeline\".\nProactively invoke when the user expresses intent to do marketing but hasn't\nspecified which forbotsake skill to use.\n",[33,44,45,46,47,48,49,50],"Read","Write","Edit","Grep","Glob","Skill","AskUserQuestion","main","d91f0c567548c80403f85619693a405ed65d2b60",1,"https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake","https:\u002F\u002Fgithub.com\u002Fforbotsake","2026-08-17 21:39:59",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add forbotsake\u002Fforbotsake --skill forbotsake-go",{"tool":63,"command":64},"bunx","bunx skills add forbotsake\u002Fforbotsake --skill forbotsake-go",{"tool":66,"command":67},"pnpm","pnpm dlx skills add forbotsake\u002Fforbotsake --skill forbotsake-go","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-go\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"SKILL.md.tmpl","OTHER","其他",17712,"https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-go\u002FSKILL.md.tmpl",[78,97,117,137,153,175],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":37},"01M6MWS487CZVEME2DWGT48C58","forbotsake-upgrade","Upgrade forbotsake to the latest version. Detects install type (git clone\nvs vendored), runs the upgrade, and shows what's new.\nUse when: \"upgrade forbotsake\", \"update forbotsake\", \"get latest version\",\n\"forbotsake update\".","https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-upgrade\u002FSKILL.md",[],[85,86,9,87,88,33,30,29,89,90,91,92,93,94,95,96],"upgrade","forbotsake upgrade","update","git","install","use","version","git clone","get","type","latest","clone",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":37},"01M6MWRZ7XD9Q73JTRBQ0N8682","forbotsake-spy","Stage 3: RESEARCH (competitors). Analyzes 3-5 competitors to find messaging whitespace\nand positioning gaps. Produces competitor-analysis.md with a messaging matrix showing\nwhat each competitor says, what's missing, and where you can win.\nUse when: \"competitor analysis\", \"competitive research\", \"what are others doing\",\n\"market landscape\", \"who am I competing with\", \"spy on competitors\",\n\"messaging whitespace\", \"differentiation research\".\nProactively invoke when the user mentions competitors or asks how to differentiate.","https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-spy\u002FSKILL.md",[],[104,9,105,106,107,33,108,30,29,28,90,109,110,111,112,113,114,23,115,116],"forbotsake spy","messaging","analysis","how","competitors","positioning","landscape","missing","how to","differentiation","competitive","websearch","matrix",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":37},"01M6MWRPHXWYB38V08BZM8SSRE","forbotsake-sharpen","Stage 4.5: SHARPEN. Takes a specific outreach target (person or organization) and\nproduces a deep execution plan with contextual research, relationship mapping,\nangle selection, and a multi-touch sequence. Reads your founder profile and strategy\nto leverage warm paths and unfair advantages.\nUse when: \"refine this plan\", \"go deeper on this\", \"sharpen execution\",\n\"how do I approach [person]\", \"outreach to [person]\", \"target [person\u002Forg]\",\n\"approach [person]\", \"engage [org]\".\nProactively invoke when the user mentions approaching a specific person or\norganization as part of their marketing strategy.\nRequires: strategy.md (from \u002Fforbotsake-marketing-start).","https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-sharpen\u002FSKILL.md",[],[124,125,9,126,107,33,127,30,29,28,128,129,130,131,132,133,134,135,115,136],"sharpen","forbotsake sharpen","start","plan","selection","relationship","organization","refine","deeper","deep","leverage","paths","sequence",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":37},"01M6MWRHXHECX1N4WNHBJJQKER","forbotsake-retro","Stage 9: MEASURE. Reviews what you published, analyzes performance data,\nand produces a retro report with evidence-based recommendations.\nTells you what to double down on, what to drop, and what to try next.\nUse when: \"what worked\", \"marketing retro\", \"measure results\", \"review performance\",\n\"which content performed best\", \"should I keep doing this\".\nProactively invoke one week after \u002Fforbotsake-publish was last run.","https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-retro\u002FSKILL.md",[],[144,145,9,146,147,36,35,148,33,32,30,29,28,149,150,151,23,22,21,152],"retro","forbotsake retro","review","performance","data","next","drop","recommendations","what worked",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":37},"01M6MWRB8GN0AZTEVTQD1GBA8K","forbotsake-publish","Stage 8: SHIP. Two modes: POST (auto-post via Claude for Chrome) or COPY\n(format for copy-paste). Handles X\u002FTwitter threads, LinkedIn posts, blog posts,\nand more. Logs everything for retrospective analysis.\nFor auto-posting, the user needs the Claude for Chrome extension installed.\nWithout it, the skill falls back to COPY mode automatically.\nUse when: \"publish this\", \"format for twitter\", \"post to X\", \"ship this content\",\n\"format for blog\", \"send this email\", \"ready to publish\", \"auto-post\",\n\"post this to X\", \"publish to LinkedIn\".\nProactively invoke when the user has content in content\u002F and says they want to ship it.","https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-publish\u002FSKILL.md",[],[35,160,9,161,162,163,164,165,166,30,29,28,167,168,169,170,171,172,173,174],"forbotsake publish","MCP","image","create","logs","ship","text","context","auto","ready","chrome extension","posts","paste","mode","send",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":37},"01M6MWR5K98QN9BDH4179Y47F0","forbotsake-marketing-start","The starting point for marketing your product. Reads your codebase to understand\nwhat you built, asks 5 hard questions about positioning, audience, and channels,\nthen produces strategy.md with your marketing strategy and first concrete move.\nUse when: \"how should I market this\", \"go-to-market\", \"GTM\", \"positioning\",\n\"I don't know how to sell this\", \"help me market\", \"marketing strategy\".\nProactively invoke when the user asks about marketing, growth, or getting users\nand no strategy.md exists yet.","https:\u002F\u002Fgithub.com\u002Fforbotsake\u002Fforbotsake\u002Fblob\u002Fmain\u002Fforbotsake-marketing-start\u002FSKILL.md",[],[126,32,182,9,19,183,107,33,30,29,28,25,109,184,112,185,186,23,115,187],"forbotsake marketing start","product","gtm","go-to-market","move","for"]