tsz: Skill for Codex

.agents/skills/tsz-worktree-intake/SKILL.md

tsz-worktree-intake is a skill for Codex from tsz-org/tsz. It costs 69 tokens per session (507 once invoked), scanned A, original, Apache-2.0.

A worktree and branch checklist for starting TSZ tasks in a shared Git checkout. A worktree is a separate working directory connected to the same repository.

In plain words
What is it for?
It is for checking repository state, selecting a roadmap goal, creating or reusing worktrees, and preparing a clean branch from the main branch.
Why use it?
It reduces mistakes caused by stale branches, uncommitted files, overlapping work, low disk space, or unclear task ownership.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is tsz-org/tsz's own configuration. It tells Codex how to work on tsz itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tsz configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is git worktree add ../tsz-<scope> -b codex/<scope>-<yyyymmdd> origin/main.

Reuse

Borrowing it

Nothing to install: this file belongs to tsz-org/tsz. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tsz-org/tsz/main/.agents/skills/tsz-worktree-intake/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tsz-org/tsz

Made for: 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 tsz-worktree-intake

README.md
[![agentmods](https://agentmods.dev/badge/skills/tsz-org/tsz/tsz-worktree-intake/github.svg)](https://agentmods.dev/skills/tsz-org/tsz/tsz-worktree-intake)
Your own site
<a href="https://agentmods.dev/skills/tsz-org/tsz/tsz-worktree-intake"><img src="https://agentmods.dev/badge/skills/tsz-org/tsz/tsz-worktree-intake/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 tsz-worktree-intake

Your own site · 80×15
<a href="https://agentmods.dev/skills/tsz-org/tsz/tsz-worktree-intake"><img src="https://agentmods.dev/badge/skills/tsz-org/tsz/tsz-worktree-intake.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 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.00069 $0.00507
Opus 5.5 $0.00028 $0.00203
Sonnet 5.5 $0.00014 $0.00101
Haiku 4.5 $0.00007 $0.00051

Measured 23d ago against content hash fdc1ba8caab9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tsz-worktree-intake 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 23d 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.

.agents/skills/tsz-worktree-intake/SKILL.md · 56 lines

What it actually says

TSZ Worktree Intake

Use before non-trivial TSZ work.

Fast Path

git fetch origin main
sed -n '1,260p' docs/plan/ROADMAP.md
git status --short --branch
scripts/agents/disk-preflight.sh
git worktree list
gh pr list --state open --limit 100 --json number,title,isDraft,headRefName,baseRefName,labels,updatedAt,url
gh issue list --state open --limit 100 --json number,title,labels,updatedAt,url

Pick the roadmap goal the work serves (green, fast, grow, or hold); docs/plan/ROADMAP.md is the only planning doc.

If disk is low or worktree reuse is unclear, use tsz-disk-cache-hygiene. Read references/common-failure-modes.md only for stale merged branches, dirty same-path files, low disk, missing TS corpus, or overlapping active PRs.

Branch/Worktree Decision

  • Continue current branch only if it is the active PR branch for this work.
  • Otherwise create a fresh branch from origin/main.
  • Reuse inactive sister worktrees when useful. New worktrees go beside this checkout:
git worktree add ../tsz-<scope> -b codex/<scope>-<yyyymmdd> origin/main
cd ../tsz-<scope>
scripts/setup/link-ts-submodule.sh

Do not run broad du, cargo clean, or destructive cache cleanup as intake.

State The Decision

Before editing, say one sentence: continue existing PR, start fresh branch, handoff/unblock draft, or file an issue. For behavior work also state the structural rule and owner layer; for process/docs work state the recurring cost and evidence.

Stop

Pause for stronger evidence if overlap is ambiguous, branch is merged with local-only changes, dirty files affect your paths, TS corpus is needed but missing, or the next command would destroy caches/state.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 23d ago First seen · 56 lines · 69 tokens per session scan A fdc1ba8caab9

Subscribe to this mod's changes

tsz-worktree-intake is a skill published in the GitHub repository tsz-org/tsz (577 stars, last pushed today), licensed Apache-2.0. It adds 69 tokens to every session and 507 once invoked, about $0.0003 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-28.