worktree-pipeline-skill

worktree-pipeline-skill is a skill for Claude Code, Codex from darellchua2/opencode-config-template. It costs 59 tokens per session (5,224 once invoked), scanned A, original, Apache-2.0.

A workflow that takes tracker tickets through separate Git worktrees, planning, review, implementation, and pull-request merging. A worktree is an additional checkout of the same Git repository in its own directory.

In plain words
What is it for?
Use it to process tickets one at a time, create isolated branches, run plans and reviews, and re-check changes before merging pull requests.
Why use it?
It keeps ticket work isolated from the main checkout and coordinates the repeated steps needed to turn a ticket into a merged change.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; names the AskUserQuestion tool; mentions Claude Code.

Good fit Use it to process tickets one at a time, create isolated branches, run plans and reviews, and re-check changes before merging pull requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/darellchua2/opencode-config-template/worktree-pipeline-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add darellchua2/opencode-config-template --skill worktree-pipeline-skill
Clone the repo
git clone --depth 1 https://github.com/darellchua2/opencode-config-template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for worktree-pipeline-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/worktree-pipeline-skill/github.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/worktree-pipeline-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/worktree-pipeline-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/worktree-pipeline-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for worktree-pipeline-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/worktree-pipeline-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/worktree-pipeline-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,224 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.05224
Opus 5.5 $0.00024 $0.02090
Sonnet 5.5 $0.00012 $0.01045
Haiku 4.5 $0.00006 $0.00522

Measured 2mo ago against content hash 442797dc3f8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

worktree-pipeline-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/worktree-pipeline-skill/SKILL.md · 404 lines

How it starts

The opening of the file, as written. The whole thing — 404 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What I do

I run the full ticket-to-merged-PR pipeline, one ticket at a time, each in its own git worktree so the main working tree stays free. I am the orchestrator: heavy knowledge lives in the skills/subagents I drive (ticket-creation-skill for new tickets, plan-execution-skill --gate for execution, pr-workflow-subagent for the PR) — I own sequencing, PLAN authoring, worktree lifecycle, and re-validation.

Usage: /run-worktree-pipeline [--dry-run] [base-branch] <ticket-refs...>

Step 1 — Parse arguments

  • Leading ---flags are stripped before the first-token test (--dry-run is the only flag).
  • First token is a base-branch iff it fails the ticket regex ^(#\d+|[\w.-]+/[\w.-]+#\d+|[A-Z][A-Z0-9]+-\d+)$ and is not purely numeric.
  • Bare numerics (351) auto-normalize to GitHub issue refs (#351).
  • Zero ticket refs → print usage and stop.
  • The base-branch sets both where feat branches are cut from AND the PR target. Default (omitted): repo default branch via git symbolic-ref --short refs/remotes/origin/HEAD (yields origin/<base>; strip the prefix; fallback main).
  • Validate the base after resolving it: git ls-remote --exit-code --heads origin <base>; non-zero exit → abort with a clear error naming the attempted base (fail-fast — never reach Step 2 with a typo'd base).
  • --dry-run: print the resolved base, ticket execution order, per-ticket skip predictions (merged / blocked-by:), and the would-be feat/<KEY> branch + worktree names, then stop before Step 2. Read-only: no writes, no branch/worktree/remote mutations.
  • Dependency preflight (per-skill installs): hard deps — skill plan-execution-skill --gate (Step 8), agents code-review-subagent (Step 9) and pr-workflow-subagent (Step 10). Any missing → abort (failed) with the install hint npx github:darellchua2/opencode-config-template add <name>. Soft deps degrade with a note: ticket-creation-skill (only for new-work tickets, Step 3), architecture-review-subagent / uiux-reviewer-subagent / requirements-specialist-subagent (Step 7 skip-with-note rule).
  • Ticket order = execution order (sequential; never parallel worktrees). Before starting a ticket, if its body contains blocked-by: <ref> naming a ticket that is not yet merged, skip it and report why (no JIRA link traversal in v1).

Read the full file on GitHub · 404 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · +55 lines 442797dc3f8c
  2. 2mo ago Changed · +8 lines c05592cacfeb
  3. 2mo ago Changed · +8 lines 722f51e2fcb8
  4. 2mo ago Changed · +51 lines 11185896975d
  5. 2mo ago Changed · +171 lines · -3 tokens per session 7160ee12a830
  6. 3mo ago First seen · 111 lines · 62 tokens per session scan A 163b755f8bb4

Subscribe to this mod's changes

worktree-pipeline-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 59 tokens to every session and 5,224 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

worktree-pipeline-skill compared with skills from other repositories

worktree-pipeline-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
worktree-pipeline-skilldarellchua2/opencode-config-templateSkill62mo agoApache-2.0A59Claude Code, Codex
git-shipoil-oil/git-shipSkill2419d agoMITA298Claude Code, Codex
jig-github-sync0x0w1/jigSkill52mo agoMITA66Claude Code, Codex
jig-version-rubric0x0w1/jigSkill52mo agoMITA66Claude Code, Codex
jig-develop-task-flow0x0w1/jigSkill52mo agoMITA80Claude Code, Codex
jig-github-release0x0w1/jigSkill52mo agoMITA71Claude Code, Codex
jig-hotfix-flow0x0w1/jigSkill52mo agoMITA63Claude Code, Codex