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.
npx skills add CurtisThe/three-pillars-plugin --skill tp-post-mergegit clone --depth 1 https://github.com/CurtisThe/three-pillars-pluginWrote 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.
[](https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-post-merge)<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-post-merge"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-post-merge/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.
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-post-merge"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-post-merge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.07873 |
| Opus 5.5 | $0.00023 | $0.03149 |
| Sonnet 5.5 | $0.00012 | $0.01575 |
| Haiku 4.5 | $0.00006 | $0.00787 |
Grade A, and why
tp-post-merge 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Post-Merge Cleanup
Verify a design's completion PR is merged, then tear down its branch, sibling worktree, and MRU state. This skill is the sole merge-verified lifecycle teardown path — within the design lifecycle, it is the one place that deletes the design branch and removes its worktree after verifying the merge. (Other tooling can remove a git worktree as a general, unverified operation; that is out of scope here. The point is the merge-verified lifecycle teardown, which only /tp-post-merge performs.)
/tp-design-complete stops at PR-open; /tp-post-merge picks up after the human merge. /tp-merge-from-main auto-chains this skill via step 8 after a successful completion-PR merge.
Arguments:
{design-name}(optional) — must match[a-z0-9-]+perskills/_shared/validate-name.md. If absent, runs the no-arg scan form (see below).--auto(optional) — autonomous mode; see## Auto Modesection.--cheap-tier[=ab]|--no-cheap-tier(optional, deprecated) — both change nothing: the step-5runbooksite (skills/_shared/cheap-dispatch.md) may run teardown steps c, d, e and h as code in every invocation.<mode>is the stdout ofpython3 "$TP_ROOT"/skills/_shared/cheap_tier_default.py --root <resolved seat> [--cheap-tier[=ab]|--no-cheap-tier], alwayson(a setcheap_tier.default_run_flagis deprecated too; each deprecated input prints onedeprecated:line, and a dropped config prints its one-line warning).<mode>ison;/tp-merge-from-mainstep 8 forwards bare--cheap-tier.
This skill takes no --force-takeover flag: it is lock-aware, not lock-enforcing (see step 2). Teardown deletes the branch, so "claiming" a lock about to be deleted is incoherent — the merge-verify gate (step 4), not the advisory lock, is the safety boundary.
No-arg scan form
When invoked without {design-name}, /tp-post-merge scans for designs awaiting teardown:
- Walk
three-pillars-docs/completed-tp-designs/*/lock.jsonfor entries wherephase == "cleanup-pending". (/tp-design-completegit mvs the design directory —lock.jsonincluded — intocompleted-tp-designs/before it setsphase = "cleanup-pending", so the pending-teardown locks live under the completed tree, nottp-designs/.) - Skip already-torn-down designs: for each candidate, run
git ls-remote --heads origin tp/{name}and check both its exit status and output. Only when the command succeeds (exit 0) and returns empty output is the branch confirmed absent (teardown already ran) — drop it from the list. If the command fails (offline, auth error, network) its stdout is also empty, but that is not proof of absence — do not drop on a non-zero exit; keep the design and let the step-4 merge gate decide (fail-safe: a transientls-remoteerror must never silently drop an actionable design). This guard is load-bearing:phase == "cleanup-pending"is not cleared after teardown (this skill makes no commit — see## Auto Mode), so a confirmed-absent branch is the durable "done" signal. Without it every completed design would re-surface in the scan forever. - For each remaining design, run
verify_merged.pywith the resolved default branch and partition by the result:merged == true⇒ actionable;merged == false⇒ pending (kept for the listing in step 5, never torn down).python3 "$TP_ROOT"/skills/tp-post-merge/scripts/verify_merged.py \ --repo . --design {name} --base "$(python3 $TP_ROOT/skills/_shared/default_branch.py)" --json - Present an interactive checklist of the actionable (verified-merged) designs. On confirmation, run steps 4b and 5 of
## Stepsfor each selected design (a 4b exit 1 keeps that design's worktree, reports itpartialand makes the invocation exit 1). The checklist carries a lineseat-allow: post-merge-teardownof its own. - List the pending (unverified) designs separately as "pending merge — not actionable" — they are never torn down without explicit verification.
What ships with it
20 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.
- scripts/bypass_check.py 6.6 KB runs code
- scripts/sweep_candidates.py 7.1 KB runs code
- scripts/teardown.py 11 KB runs code
- scripts/test_bypass_check.py 11 KB runs code
- scripts/test_collaboration_phase_enum.py 2.3 KB runs code
- scripts/test_post_merge_candidate_reap.py 4.2 KB runs code
- scripts/test_post_merge_docs_compile_wiring.py 2.1 KB runs code
- scripts/test_post_merge_skill_md.py 1.9 KB runs code
- scripts/test_post_merge_t1_lane.py 3.6 KB runs code
- scripts/test_post_merge_tripwires_md.py 11 KB runs code
- scripts/test_post_merge_unlanded_stop_md.py 2.0 KB runs code
- scripts/test_sweep_candidates.py 13 KB runs code
- scripts/test_teardown_refusal.py 3.7 KB runs code
- scripts/test_teardown_unlanded.py 4.7 KB runs code
- scripts/test_teardown.py 8.8 KB runs code
- scripts/test_verify_merged_ancestor.py 4.6 KB runs code
- scripts/test_verify_merged_base.py 6.0 KB runs code
- scripts/test_verify_merged_report.py 5.8 KB runs code
- scripts/test_verify_merged.py 14 KB runs code
- scripts/verify_merged.py 13 KB runs code
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.
- 1mo ago Changed · +10 lines 0babb986891e
- 1mo ago Changed · +21 lines fe9ffc8dcd88
- 3mo ago First seen · 207 lines · 58 tokens per session scan A 7fb7d041e366
tp-post-merge is a skill published in the GitHub repository CurtisThe/three-pillars-plugin (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 7,873 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-08-31.
tp-post-merge compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tp-post-mergeCurtisThe/three-pillars-plugin | Skill | 5 | 1mo ago | Apache-2.0 | A | 58 | Claude Code |
| workflow-patternswshobson/agents | Skill | 43k | 6d ago | MIT | A | 35 | Claude Code |
| nw-quality-frameworknWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 23 | Claude Code |
| nw-finalizenWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 39 | Claude Code |
| nw-swarmnWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 43 | Claude Code |
| nw-hotspotnWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 20 | Claude Code |
| nw-mikadonWave-ai/nWave | Skill | 636 | 11d ago | MIT | A | 19 | Claude Code |