[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FNPBA3494GF2W7V4MMAKG3":3,"skill-same:01M6FNPBA3494GF2W7V4MMAKG3":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6FNPBA3494GF2W7V4MMAKG3","worktree",null,"Create or inspect runtime-adaptive isolated Git workspaces with explicit ownership and delivery routing","shenxingy\u002FClade","shenxingy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89829751?v=4","01M6CQXHTV3WQZJMG0JXD93MEK","Xingyu (Alex) Shen","01M6CQXHYCTGPJ5HD8Z7MD4Q5P",10,"MIT","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fworktree\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[5,24,25,26,27,28,29,30,31,32,33,34],"create","routing","git","workspaces","delivery","runtime","delivery routing","ownership","with","inspect","adaptive","2026-11-10 10:12:30",false,"---\nname: worktree\ndescription: \"Create or inspect runtime-adaptive isolated Git workspaces with explicit ownership and delivery routing\"\n---\n\n# Clade for Codex\n\nThis package composes the provider-neutral Clade core contract with the native\nCodex surface adapter. Run the workflow directly in Codex; do not launch\nanother agent CLI or route it through Clade MCP.\n\nPackage provenance:\n\n- core contract: `clade.delivery\u002Fv1`\n- surface adapter: `codex\u002Fv1`\n- explicit invocation: `$clade:worktree`\n- generated from: `configs\u002Fskills\u002F\u003Cname>`\n\n## Canonical Clade workflow\n\nYou are the Worktree skill. Use the shared `delivery` context\u002Fstate controller\nand the current runtime surface overlay.\n\n## Invariants\n\n- One mutable branch per live session; one branch cannot be checked out in two\n  worktrees.\n- Parallel writers receive separate worktrees\u002Fclones\u002Fcontainers\u002Fdetached\n  snapshots and non-overlapping delivery units.\n- Do not write tracked `TASK.md` or other Clade bookkeeping into an arbitrary\n  repository. Delivery ownership lives in Git-common state; shared task\n  ownership and dependencies live in the bound Beads service when `\u002Ftasks` is used.\n- Completion publishes\u002Freviews through repository policy; it does not locally\n  merge every worktree into whichever branch happens to be active.\n- Remove only a worktree and branch owned by the selected terminal delivery.\n\n## Create\n\n1. Run `delivery context` and inspect `git worktree list --porcelain`.\n2. Resolve the real base\u002Fdefault branch and ensure the source tree has no\n   unrelated dirty changes.\n3. Choose the runtime-native isolation:\n   - normal local Git: explicit worktree path plus owned topic branch;\n   - Codex-managed worktree: detached start is valid; attach a branch only for\n     preservation\u002Fpublication;\n   - cloud\u002FCI: runtime-provided clone\u002Fcontainer;\n   - unsupported client: report required isolation instead of sharing a branch.\n4. Create a delivery record containing task source, base SHA, owner, optional\n   stack parent, runtime, surface, and publication authorities.\n   For a shared task, verify the live claim first and pass `--project-id`,\n   `--task-id` and `--session-id` together. Worktrees share the Git-common task\n   binding; never initialize a separate task database inside each worktree.\n5. Pass the task through runtime-native context\u002Fhandoff, not a tracked project\n   file.\n\nBefore filesystem creation, resolve an explicit safe destination outside the\nrepository root. Never derive a destructive target from an empty variable,\nhome directory, workspace root, or broad glob.\n\n## List\n\nCombine:\n\n- `git worktree list --porcelain`;\n- active `delivery list`;\n- each worktree's branch\u002Fdetached HEAD, dirty state, owner, delivery state,\n  base\u002Fhead SHA, and last checkpoint.\n\nMark stale\u002Fprunable\u002Funknown ownership; do not mutate it during list.\n\n## Preserve\u002Fhandoff\n\nBefore runtime termination, context switch, compaction, or provider handoff:\n\n- commit coherent work and record focused checkpoint evidence;\n- for detached committed work, run `delivery preserve-ref`;\n- when commits are prohibited, run `delivery export-patch`;\n- record reduced-fidelity handoff when native session resume is unavailable.\n\nNo worktree may be auto-removed while its head is unreachable or dirty state\nlacks a patch\u002Fblocker.\n\n## Integrate\n\nRoute the worktree's independently reviewable result through `$clade:create-pr`,\n`$clade:review-pr`, and `$clade:merge-pr`. A throw-away integration worktree may test\nseveral candidate heads, but durable work must never be based on it and it is\nnever itself merged as a product change.\n\nFor explicit stacks, record parent relationships, merge bottom-up, and restack\neach child after parent ancestry changes.\n\n## Clean\n\n1. Re-probe worktrees and active delivery state.\n2. Require the target delivery to be merged\u002Fabandoned or explicitly preserved.\n3. Verify no dirty\u002Funreachable work and no other live owner.\n4. Remove the exact worktree path.\n5. Delete only its exact owned local branch; delete remote only with authority.\n6. prune stale metadata and run delivery cleanup verification where applicable.\n\nNever use broad `--clean all`, branch-prefix glob deletion, or force removal\nwithout resolving every target and its recovery state.\n\n## Codex surface adapter\n\n# Codex surface adapter\n\n- Installed Clade plugin skills are namespaced. Invoke this workflow as\n  `$clade:delivery`, and use `$clade:\u003Cskill-name>` for companion workflows.\n- Read the closest applicable agent instructions. Codex probes\n  `AGENTS.override.md` before `AGENTS.md` at each scope and does not merge\n  them, so where an override exists that scope's `AGENTS.md` is not in effect.\n  `CLAUDE.md` is Clade's legacy fallback rather than a filename Codex resolves;\n  read it only when it is trusted repository guidance.\n- Codex-managed worktrees may begin at detached HEAD. A local detached commit\n  is valid, but create\u002Fattach an owned branch or preserve a reachable Clade ref\n  before the runtime deletes the worktree.\n- Inspect `git worktree list --porcelain` before checkout, rewrite, or cleanup:\n  one branch cannot be checked out by multiple worktrees.\n- Use Codex native review\u002Fworktree\u002Fhandoff capabilities where available. Do\n  not launch Claude Code or a nested Codex CLI to emulate the workflow.\n- Project configuration is trust-gated. Provider credentials and user\n  connections remain user-scoped and cannot be donated by repository files.\n\n## Additional skill reference\n\n# Worktree\n\nCreate or manage isolated agent workspaces without assuming every runtime uses\na sibling directory plus immediate branch. Worktree ownership is recorded in\nthe shared `$clade:delivery` state; independently reviewable work integrates through\nthe target repository's PR\u002Fqueue policy, not an arbitrary local merge.\n\n## Delivery completion\n\nIf this workflow changes files or external state:\n\n- Inspect the real final state before responding, including `git status` for a\n  repository task.\n- Never report `DONE` while task-owned changes are uncommitted. Use or continue\n  `$clade:delivery` and create a repository-compliant checkpoint or preserve\n  the work when committing is unavailable.\n- When the user request or trusted repository policy makes publication,\n  deployment, or live verification part of the task, do not silently downgrade\n  the result to local-only work.\n- If a required delivery transition lacks authority, credentials, a destination,\n  or reachable external state, report `BLOCKED` or `NEEDS_CONTEXT` rather than\n  appending a \"not committed\u002Fpushed\u002Fdeployed\" caveat after `DONE`.\n","# Clade for Codex\n\nThis package composes the provider-neutral Clade core contract with the native\nCodex surface adapter. Run the workflow directly in Codex; do not launch\nanother agent CLI or route it through Clade MCP.\n\nPackage provenance:\n\n- core contract: `clade.delivery\u002Fv1`\n- surface adapter: `codex\u002Fv1`\n- explicit invocation: `$clade:worktree`\n- generated from: `configs\u002Fskills\u002F\u003Cname>`\n\n## Canonical Clade workflow\n\nYou are the Worktree skill. Use the shared `delivery` context\u002Fstate controller\nand the current runtime surface overlay.\n\n## Invariants\n\n- One mutable branch per live session; one branch cannot be checked out in two\n  worktrees.\n- Parallel writers receive separate worktrees\u002Fclones\u002Fcontainers\u002Fdetached\n  snapshots and non-overlapping delivery units.\n- Do not write tracked `TASK.md` or other Clade bookkeeping into an arbitrary\n  repository. Delivery ownership lives in Git-common state; shared task\n  ownership and dependencies live in the bound Beads service when `\u002Ftasks` is used.\n- Completion publishes\u002Freviews through repository policy; it does not locally\n  merge every worktree into whichever branch happens to be active.\n- Remove only a worktree and branch owned by the selected terminal delivery.\n\n## Create\n\n1. Run `delivery context` and inspect `git worktree list --porcelain`.\n2. Resolve the real base\u002Fdefault branch and ensure the source tree has no\n   unrelated dirty changes.\n3. Choose the runtime-native isolation:\n   - normal local Git: explicit worktree path plus owned topic branch;\n   - Codex-managed worktree: detached start is valid; attach a branch only for\n     preservation\u002Fpublication;\n   - cloud\u002FCI: runtime-provided clone\u002Fcontainer;\n   - unsupported client: report required isolation instead of sharing a branch.\n4. Create a delivery record containing task source, base SHA, owner, optional\n   stack parent, runtime, surface, and publication authorities.\n   For a shared task, verify the live claim first and pass `--project-id`,\n   `--task-id` and `--session-id` together. Worktrees share the Git-common task\n   binding; never initialize a separate task database inside each worktree.\n5. Pass the task through runtime-native context\u002Fhandoff, not a tracked project\n   file.\n\nBefore filesystem creation, resolve an explicit safe destination outside the\nrepository root. Never derive a destructive target from an empty variable,\nhome directory, workspace root, or broad glob.\n\n## List\n\nCombine:\n\n- `git worktree list --porcelain`;\n- active `delivery list`;\n- each worktree's branch\u002Fdetached HEAD, dirty state, owner, delivery state,\n  base\u002Fhead SHA, and last checkpoint.\n\nMark stale\u002Fprunable\u002Funknown ownership; do not mutate it during list.\n\n## Preserve\u002Fhandoff\n\nBefore runtime termination, context switch, compaction, or provider handoff:\n\n- commit coherent work and record focused checkpoint evidence;\n- for detached committed work, run `delivery preserve-ref`;\n- when commits are prohibited, run `delivery export-patch`;\n- record reduced-fidelity handoff when native session resume is unavailable.\n\nNo worktree may be auto-removed while its head is unreachable or dirty state\nlacks a patch\u002Fblocker.\n\n## Integrate\n\nRoute the worktree's independently reviewable result through `$clade:create-pr`,\n`$clade:review-pr`, and `$clade:merge-pr`. A throw-away integration worktree may test\nseveral candidate heads, but durable work must never be based on it and it is\nnever itself merged as a product change.\n\nFor explicit stacks, record parent relationships, merge bottom-up, and restack\neach child after parent ancestry changes.\n\n## Clean\n\n1. Re-probe worktrees and active delivery state.\n2. Require the target delivery to be merged\u002Fabandoned or explicitly preserved.\n3. Verify no dirty\u002Funreachable work and no other live owner.\n4. Remove the exact worktree path.\n5. Delete only its exact owned local branch; delete remote only with authority.\n6. prune stale metadata and run delivery cleanup verification where applicable.\n\nNever use broad `--clean all`, branch-prefix glob deletion, or force removal\nwithout resolving every target and its recovery state.\n\n## Codex surface adapter\n\n# Codex surface adapter\n\n- Installed Clade plugin skills are namespaced. Invoke this workflow as\n  `$clade:delivery`, and use `$clade:\u003Cskill-name>` for companion workflows.\n- Read the closest applicable agent instructions. Codex probes\n  `AGENTS.override.md` before `AGENTS.md` at each scope and does not merge\n  them, so where an override exists that scope's `AGENTS.md` is not in effect.\n  `CLAUDE.md` is Clade's legacy fallback rather than a filename Codex resolves;\n  read it only when it is trusted repository guidance.\n- Codex-managed worktrees may begin at detached HEAD. A local detached commit\n  is valid, but create\u002Fattach an owned branch or preserve a reachable Clade ref\n  before the runtime deletes the worktree.\n- Inspect `git worktree list --porcelain` before checkout, rewrite, or cleanup:\n  one branch cannot be checked out by multiple worktrees.\n- Use Codex native review\u002Fworktree\u002Fhandoff capabilities where available. Do\n  not launch Claude Code or a nested Codex CLI to emulate the workflow.\n- Project configuration is trust-gated. Provider credentials and user\n  connections remain user-scoped and cannot be donated by repository files.\n\n## Additional skill reference\n\n# Worktree\n\nCreate or manage isolated agent workspaces without assuming every runtime uses\na sibling directory plus immediate branch. Worktree ownership is recorded in\nthe shared `$clade:delivery` state; independently reviewable work integrates through\nthe target repository's PR\u002Fqueue policy, not an arbitrary local merge.\n\n## Delivery completion\n\nIf this workflow changes files or external state:\n\n- Inspect the real final state before responding, including `git status` for a\n  repository task.\n- Never report `DONE` while task-owned changes are uncommitted. Use or continue\n  `$clade:delivery` and create a repository-compliant checkpoint or preserve\n  the work when committing is unavailable.\n- When the user request or trusted repository policy makes publication,\n  deployment, or live verification part of the task, do not silently downgrade\n  the result to local-only work.\n- If a required delivery transition lacks authority, credentials, a destination,\n  or reachable external state, report `BLOCKED` or `NEEDS_CONTEXT` rather than\n  appending a \"not committed\u002Fpushed\u002Fdeployed\" caveat after `DONE`.\n",{"name":5,"description":7},"main","bb20646cb013d2f52f854743fcee83dcc5ccfbd9","plugins\u002Fclade\u002Fskills\u002Fworktree",6,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade","https:\u002F\u002Falexshen.dev\u002Fen\u002Fblog\u002Fclade","https:\u002F\u002Fgithub.com\u002Fshenxingy","https:\u002F\u002Falexshen.dev\u002F","Founding Engineer @ Scam AI | ECE @ Duke University | Data Science @ Duke Kunshan University","2026-11-11 10:54:30",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add shenxingy\u002FClade --skill worktree",{"tool":56,"command":57},"bunx","bunx skills add shenxingy\u002FClade --skill worktree",{"tool":59,"command":60},"pnpm","pnpm dlx skills add shenxingy\u002FClade --skill worktree","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fworktree\u002FSKILL.md",true,[],[65,98,119,145,162,181],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":77,"publishedAt":35},"01M6FNP75BY8CS006EWGN29FM0","web-search","Route online research and URL reading to native tools or TinyFish MCP\u002FAPI; prepare targeted requests, handle progress and failures, and check returned evidence. Applies to web search, fetching, and bulk collection; excludes repository\u002Ffile search.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fweb-search\u002FSKILL.md",[71,72],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":73,"categoryName":74,"taxonomyType":75,"taxonomyTypeDesc":76},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],"web","search","web search","MCP","research","file","repository","collection","api","check","evidence","tinyfish","route","file search","progress","bulk","native","URL","reading","requests",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":105,"publishedAt":35},"01M6FNP2616DRTZRSZJQM3HPHY","verify","Verify project behavior anchors — compilation, tests, and interaction checks after autonomous runs. NOT the Codex built-in \u002Fverify (which runs the app to observe a single change working) — this one walks the AGENTS.md \"Features (Behavior Anchors)\" list.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fverify\u002FSKILL.md",[104],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[100,106,107,108,109,110,111,112,113,114,115,116,117,118],"codex","change","list","behavior","autonomous","observe","project","tests","app","interaction","which","features","single",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":126,"publishedAt":35},"01M6FNNX95R9H29BNERFY15704","tasks","Coordinate dependency-aware project tasks across independent Codex, Codex, Kimi and human sessions using Beads. Use for shared plans, claiming work, task handoffs, acceptance and agent monitoring snapshots.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ftasks\u002FSKILL.md",[125],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[121,106,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,112,142,143,144],"sessions","acceptance","monitoring","beads","work","use","dependency","agent monitoring","snapshots","kimi","coordinate","task","human","across","shared","plans","using beads","for",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":152,"publishedAt":35},"01M6FNNTAD1BCZX5Q9TC55MZCH","sync","End-of-session documentation sync — updates TODO.md and PROGRESS.md only (run \u002Fcommit after to commit everything)","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fsync\u002FSKILL.md",[151],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[147,153,154,155,156,157,158,159,92,160,161],"commit","documentation","run","session","only","todo","end","updates","documentation sync",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":169,"publishedAt":35},"01M6FNNPTR5H23MD3849E66WYA","status","Show a provider-neutral, freshness-aware snapshot of active Agent work, Git delivery, execution identity, and usage limits. Use for “what's going on right now”, what is running, progress updates, active runtime\u002Fprovider\u002Fmodel, or stuck-work checks.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fstatus\u002FSKILL.md",[168],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[164,170,26,171,172,131,173,132,174,175,28,176,29,92,177,178,160,144,179,180],"identity","execution","model","snapshot","provider","show","active","now","usage","limits","running",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":191,"publishedAt":35},"01M6FNNH4NKKR00N6WQ9WWMJY6","review","Clade coverage-driven project review — walks every VERIFY.md checkpoint, fixes failures in-session, converges when all pass. NOT the Codex built-in \u002Freview (single PR diff) — route PR reviews to \u002Freview-pr or the CC built-in.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Freview\u002FSKILL.md",[187,190],{"categoryNo":188,"categoryName":189,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[183,106,192,100,193,194,156,195,196,90,197,112,198,199,200,201,118,202,203],"pr","checkpoint","coverage","diff","cc","project review","driven","reviews","fixes","review-pr","when","all pass"]