worktree
Create or inspect runtime-adaptive isolated Git workspaces with explicit ownership and delivery routing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create or inspect runtime-adaptive isolated Git workspaces with explicit ownership and delivery routing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Clade goal-driven autonomous improvement loop (Blueprint architecture — deterministic pre/post phases + LLM supervisor/worker nodes, converges when goal met or max-iter hit). NOT the Claude Code built-in /loop (which polls a prompt on an interval like `/loop 5m /foo`) — if the user wants interval polling, route to the built-in.
Adaptive, resumable Git delivery across repositories and agent runtimes — probe policy, checkpoint coherent work, publish, review, integrate, and verify cleanup
Adaptive, resumable Git delivery across repositories and agent runtimes — probe policy, checkpoint coherent work, publish, review, integrate, and verify cleanup
Inspect or select a Clade execution connection while keeping agent runtime, inference provider, wire protocol, and model distinct. Use for Claude/Codex runtime selection, Anthropic/OpenAI/MiniMax/Kimi/custom gateways, model routing, or connection troubleshooting.
Inspect or select a Clade execution connection while keeping agent runtime, inference provider, wire protocol, and model distinct. Use for Claude/Codex runtime selection, Anthropic/OpenAI/MiniMax/Kimi/custom gateways, model routing, or connection troubleshooting.
Equipment manager for Claude Code projects — inventory local skills/agents/scripts, audit external upstream repos (red-flag + prompt-injection screening), and sync selectively after user approval. Absorbs container-layout skill repos AND single-skill-at-root repos (e.g. a company design-system repo). Project-agnostic.
استنادا إلى تصنيف SOC المهني
| name | worktree |
| description | Create or inspect runtime-adaptive isolated Git workspaces with explicit ownership and delivery routing |
This package composes the provider-neutral Clade core contract with the native Codex surface adapter. Run the workflow directly in Codex; do not launch another agent CLI or route it through Clade MCP.
Package provenance:
clade.delivery/v1codex/v1$clade:worktreeconfigs/skills/<name>You are the Worktree skill. Use the shared delivery context/state controller
and the current runtime surface overlay.
TASK.md or other Clade bookkeeping into an arbitrary
repository. Task/ownership/progress live in Git-common delivery state.delivery context and inspect git worktree list --porcelain.Before filesystem creation, resolve an explicit safe destination outside the repository root. Never derive a destructive target from an empty variable, home directory, workspace root, or broad glob.
Combine:
git worktree list --porcelain;delivery list;Mark stale/prunable/unknown ownership; do not mutate it during list.
Before runtime termination, context switch, compaction, or provider handoff:
delivery preserve-ref;delivery export-patch;No worktree may be auto-removed while its head is unreachable or dirty state lacks a patch/blocker.
Route the worktree's independently reviewable result through $clade:create-pr,
$clade:review-pr, and $clade:merge-pr. A throw-away integration worktree may test
several candidate heads, but durable work must never be based on it and it is
never itself merged as a product change.
For explicit stacks, record parent relationships, merge bottom-up, and restack each child after parent ancestry changes.
Never use broad --clean all, branch-prefix glob deletion, or force removal
without resolving every target and its recovery state.
$clade:delivery, and use $clade:<skill-name> for companion workflows.AGENTS.md; read legacy CLAUDE.md only when it
is trusted repository guidance.git worktree list --porcelain before checkout, rewrite, or cleanup:
one branch cannot be checked out by multiple worktrees.Create or manage isolated agent workspaces without assuming every runtime uses
a sibling directory plus immediate branch. Worktree ownership is recorded in
the shared $clade:delivery state; independently reviewable work integrates through
the target repository's PR/queue policy, not an arbitrary local merge.
If this workflow changes files or external state:
git status for a
repository task.DONE while task-owned changes are uncommitted. Use or continue
$clade:delivery and create a repository-compliant checkpoint or preserve
the work when committing is unavailable.BLOCKED or NEEDS_CONTEXT rather than
appending a "not committed/pushed/deployed" caveat after DONE.