[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CW17XDXZA31EX2R8EBAV79":3,"skill-same:01M7CW17XDXZA31EX2R8EBAV79":43},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7CW17XDXZA31EX2R8EBAV79","flow-status",null,"Flow: Status of Active Worktrees - Show all active worktrees with their issue, branch, dirty state, and PR status.","cooneycw\u002Fskillc","cooneycw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F36539213?v=4","01M7CVQ6GTEEQ605CAJ92QMJ15","01M7CVQ6HGVRC336M6PCCB4FYE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-auto-87ecb097\u002Fcodex\u002Fskills\u002Fflow-status\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"flow-status\"\ndescription: \"Flow: Status of Active Worktrees - Show all active worktrees with their issue, branch, dirty state, and PR status.\"\n---\n\u003C!-- GENERATED by claude-power-pack - scripts\u002Fcodex-skill-sync.py; edit .claude\u002Fcommands\u002Fflow\u002Fstatus.md instead -->\n\n## Codex harness adaptations\n\nGenerated from a Claude Code command. Where the procedure references these Claude-only surfaces, adapt as follows:\n\n- Native worktrees (`EnterWorktree`\u002F`ExitWorktree` tool calls, `.claude\u002Fworktrees\u002F` paths): use plain git instead, with the worktree as a VISIBLE SIBLING of the repo - `git worktree add ..\u002F\u003Crepo>-\u003Cbranch> -b \u003Cbranch>` (or `$FLOW_WORKTREE_BASE\u002F\u003Crepo>-\u003Cbranch>` when that env var is set), work inside it, then `git worktree remove ..\u002F\u003Crepo>-\u003Cbranch>` when done.\n\n# Flow: Status of Active Worktrees\n\nShow all active worktrees with their issue, branch, dirty state, and PR status.\n\n## Instructions\n\nWhen the user invokes `\u002Fflow-status`, perform these steps:\n\n### Step 1: Detect Repository\n\n```bash\nREPO=$(basename \"$(git rev-parse --show-toplevel)\")\n```\n\n### Step 2: List Worktrees\n\n```bash\ngit worktree list\n```\n\n### Step 3: For Each Worktree, Gather State\n\nFor each worktree (skip the main repo entry):\n\n```bash\n# Get branch name\nBRANCH=$(git -C \"$WORKTREE_PATH\" branch --show-current 2>\u002Fdev\u002Fnull)\n\n# Extract issue number from branch name (issue-N-*)\nISSUE_NUM=$(echo \"$BRANCH\" | grep -oP 'issue-\\K[0-9]+' || echo \"\")\n\n# Check for uncommitted changes\nDIRTY=$(git -C \"$WORKTREE_PATH\" status --porcelain 2>\u002Fdev\u002Fnull | wc -l)\n\n# Check for unpushed commits\nUNPUSHED=$(git -C \"$WORKTREE_PATH\" rev-list --count origin\u002Fmain..HEAD 2>\u002Fdev\u002Fnull || echo \"0\")\n\n# Check PR status (if branch is pushed)\nif [[ -n \"$BRANCH\" ]]; then\n    PR_INFO=$(gh pr list --head \"$BRANCH\" --json number,url,state --jq '.[0]' 2>\u002Fdev\u002Fnull || echo \"\")\nfi\n```\n\n### Step 4: Fetch Issue Titles\n\nFor each detected issue number:\n```bash\nISSUE_TITLE=$(gh issue view \"$ISSUE_NUM\" --json title --jq '.title' 2>\u002Fdev\u002Fnull || echo \"Unknown\")\n```\n\n### Step 5: Output\n\n```markdown\n## Flow Status - {repo}\n\n| Worktree | Issue | Branch | Status | PR |\n|----------|-------|--------|--------|----|\n| ..\u002Fmy-repo-issue-42-fix-login | #42 Fix login bug | issue-42-fix-login | 3 dirty files, 2 unpushed | - |\n| ..\u002Fmy-repo-issue-55-add-tests | #55 Add tests | issue-55-add-tests | Clean | PR #78 (OPEN) |\n\n### Suggestions\n- **#42**: Has uncommitted work - commit or stash before switching\n- **#55**: PR is open - check for reviews, then `\u002Fflow-merge`\n```\n\n### Step 6: Detect Stale Branches\n\nCheck for local branches that may need cleanup:\n\n```bash\n# Count local issue-* branches with no active worktree\nWORKTREE_BRANCHES=$(git worktree list --porcelain | grep \"^branch \" | sed 's|branch refs\u002Fheads\u002F||')\nSTALE_COUNT=0\nfor branch in $(git branch | grep 'issue-' | sed 's\u002F^[ *]*\u002F\u002F'); do\n    echo \"$WORKTREE_BRANCHES\" | grep -q \"^${branch}$\" && continue\n    STALE_COUNT=$((STALE_COUNT + 1))\ndone\n\n# Check for prunable worktree references\nPRUNABLE=$(git worktree list --porcelain | grep -c \"prunable\" || echo \"0\")\n```\n\nIf stale branches or prunable references exist, append to output:\n\n```markdown\n### Cleanup Available\n- {N} local issue branches with no active worktree\n- {M} stale worktree references\n\nRun `\u002Fflow-cleanup` to remove stale branches and references.\n```\n\n## Notes\n\n- Worktrees are visible siblings outside the repo (issue #627): `git worktree list` shows them at `\u003Cparent>\u002F\u003Crepo>-\u003Cbranch>`, or under `$FLOW_WORKTREE_BASE` when set - not `.claude\u002Fworktrees\u002F`\n- Worktrees on `main` or non-issue branches are listed but marked as \"(not issue-linked)\"\n- If no worktrees exist besides main, report \"No active worktrees. Run `\u002Fflow-start \u003Cissue>` to begin.\"\n- Keep output concise - this is a quick status check\n- Stale branch detection helps identify cleanup opportunities\n","\u003C!-- GENERATED by claude-power-pack - scripts\u002Fcodex-skill-sync.py; edit .claude\u002Fcommands\u002Fflow\u002Fstatus.md instead -->\n\n## Codex harness adaptations\n\nGenerated from a Claude Code command. Where the procedure references these Claude-only surfaces, adapt as follows:\n\n- Native worktrees (`EnterWorktree`\u002F`ExitWorktree` tool calls, `.claude\u002Fworktrees\u002F` paths): use plain git instead, with the worktree as a VISIBLE SIBLING of the repo - `git worktree add ..\u002F\u003Crepo>-\u003Cbranch> -b \u003Cbranch>` (or `$FLOW_WORKTREE_BASE\u002F\u003Crepo>-\u003Cbranch>` when that env var is set), work inside it, then `git worktree remove ..\u002F\u003Crepo>-\u003Cbranch>` when done.\n\n# Flow: Status of Active Worktrees\n\nShow all active worktrees with their issue, branch, dirty state, and PR status.\n\n## Instructions\n\nWhen the user invokes `\u002Fflow-status`, perform these steps:\n\n### Step 1: Detect Repository\n\n```bash\nREPO=$(basename \"$(git rev-parse --show-toplevel)\")\n```\n\n### Step 2: List Worktrees\n\n```bash\ngit worktree list\n```\n\n### Step 3: For Each Worktree, Gather State\n\nFor each worktree (skip the main repo entry):\n\n```bash\n# Get branch name\nBRANCH=$(git -C \"$WORKTREE_PATH\" branch --show-current 2>\u002Fdev\u002Fnull)\n\n# Extract issue number from branch name (issue-N-*)\nISSUE_NUM=$(echo \"$BRANCH\" | grep -oP 'issue-\\K[0-9]+' || echo \"\")\n\n# Check for uncommitted changes\nDIRTY=$(git -C \"$WORKTREE_PATH\" status --porcelain 2>\u002Fdev\u002Fnull | wc -l)\n\n# Check for unpushed commits\nUNPUSHED=$(git -C \"$WORKTREE_PATH\" rev-list --count origin\u002Fmain..HEAD 2>\u002Fdev\u002Fnull || echo \"0\")\n\n# Check PR status (if branch is pushed)\nif [[ -n \"$BRANCH\" ]]; then\n    PR_INFO=$(gh pr list --head \"$BRANCH\" --json number,url,state --jq '.[0]' 2>\u002Fdev\u002Fnull || echo \"\")\nfi\n```\n\n### Step 4: Fetch Issue Titles\n\nFor each detected issue number:\n```bash\nISSUE_TITLE=$(gh issue view \"$ISSUE_NUM\" --json title --jq '.title' 2>\u002Fdev\u002Fnull || echo \"Unknown\")\n```\n\n### Step 5: Output\n\n```markdown\n## Flow Status - {repo}\n\n| Worktree | Issue | Branch | Status | PR |\n|----------|-------|--------|--------|----|\n| ..\u002Fmy-repo-issue-42-fix-login | #42 Fix login bug | issue-42-fix-login | 3 dirty files, 2 unpushed | - |\n| ..\u002Fmy-repo-issue-55-add-tests | #55 Add tests | issue-55-add-tests | Clean | PR #78 (OPEN) |\n\n### Suggestions\n- **#42**: Has uncommitted work - commit or stash before switching\n- **#55**: PR is open - check for reviews, then `\u002Fflow-merge`\n```\n\n### Step 6: Detect Stale Branches\n\nCheck for local branches that may need cleanup:\n\n```bash\n# Count local issue-* branches with no active worktree\nWORKTREE_BRANCHES=$(git worktree list --porcelain | grep \"^branch \" | sed 's|branch refs\u002Fheads\u002F||')\nSTALE_COUNT=0\nfor branch in $(git branch | grep 'issue-' | sed 's\u002F^[ *]*\u002F\u002F'); do\n    echo \"$WORKTREE_BRANCHES\" | grep -q \"^${branch}$\" && continue\n    STALE_COUNT=$((STALE_COUNT + 1))\ndone\n\n# Check for prunable worktree references\nPRUNABLE=$(git worktree list --porcelain | grep -c \"prunable\" || echo \"0\")\n```\n\nIf stale branches or prunable references exist, append to output:\n\n```markdown\n### Cleanup Available\n- {N} local issue branches with no active worktree\n- {M} stale worktree references\n\nRun `\u002Fflow-cleanup` to remove stale branches and references.\n```\n\n## Notes\n\n- Worktrees are visible siblings outside the repo (issue #627): `git worktree list` shows them at `\u003Cparent>\u002F\u003Crepo>-\u003Cbranch>`, or under `$FLOW_WORKTREE_BASE` when set - not `.claude\u002Fworktrees\u002F`\n- Worktrees on `main` or non-issue branches are listed but marked as \"(not issue-linked)\"\n- If no worktrees exist besides main, report \"No active worktrees. Run `\u002Fflow-start \u003Cissue>` to begin.\"\n- Keep output concise - this is a quick status check\n- Stale branch detection helps identify cleanup opportunities\n",{"name":5,"description":7},"main","26e686aea67467e80e66f7d622950d0702c0a092","tests\u002Ffixtures\u002Fprofile-cpp-codex-flow-auto-87ecb097\u002Fcodex\u002Fskills\u002Fflow-status","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc","https:\u002F\u002Fgithub.com\u002Fcooneycw","2026-11-15 05:18:27",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add cooneycw\u002Fskillc --skill flow-status",{"tool":35,"command":36},"bunx","bunx skills add cooneycw\u002Fskillc --skill flow-status",{"tool":38,"command":39},"pnpm","pnpm dlx skills add cooneycw\u002Fskillc --skill flow-status","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-auto-87ecb097\u002Fcodex\u002Fskills\u002Fflow-status\u002FSKILL.md",true,[],[44,51,57,64,69,74],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7CW6RKZX2298AZDERY3EZQR","tiny-check","Run the tiny project check","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-install\u002Fskills\u002Ftiny-check\u002FSKILL.md",[],[],{"skillNo":52,"name":46,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M7CW6Q781BQX42JV5GE8YSCV","A synthetic gate selection fixture.","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-install-synthetic\u002Fskills\u002Ftiny-check\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M7CW6MZM805TYJFVYYFSV7AB","flow-check","Use when you are asked to run a project's quality checks (tests, lint, type checks, security scan): runs them in one step and reports what failed, without committing.","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-resume-v1\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7CW6J87T788K88H0M5G21DZ","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-ea6dbfa\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[],{"skillNo":70,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7CW6FE77JB8Z0ZFNH2GJVNE","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-86641e8\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[],{"skillNo":75,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7CW6CD3KN3S6D3QRNYN50JZ","https:\u002F\u002Fgithub.com\u002Fcooneycw\u002Fskillc\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fprofile-cpp-codex-flow-check-652c0118\u002Fcodex\u002Fskills\u002Fflow-check\u002FSKILL.md",[],[]]