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.svg" alt="Measured on agentmods" 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.05436 |
| Opus 5 | $0.00029 | $0.02718 |
| Sonnet 5 | $0.00012 | $0.01087 |
| Haiku 4.5 | $0.00006 | $0.00544 |
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 6d 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 — 207 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.
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 performs no commit of design artifacts; the step-6 doc-reconcile commit on{base}is the sole, scoped exception — 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.pyand partition by the result:merged == true⇒ actionable;merged == false⇒ pending (kept for the listing in step 5, never torn down). - Present an interactive checklist of the actionable (verified-merged) designs. On confirmation, run the teardown sequence (step 5 of
## Steps) for each selected design. - List the pending (unverified) designs separately as "pending merge — not actionable" — they are never torn down without explicit verification.
What ships with it
8 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/sweep_candidates.py 7.1 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_skill_md.py 12 KB runs code
- scripts/test_post_merge_tripwires_md.py 12 KB runs code
- scripts/test_sweep_candidates.py 13 KB runs code
- scripts/test_verify_merged.py 14 KB runs code
- scripts/verify_merged.py 7.1 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.
- 6d 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 (4 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 5,436 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
prowler-commit
Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.
gh-auth-isolation
Safely manage multiple GitHub identities (EMU + personal) in agent workflows.
comet-github
A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.
github-skill
Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.
codex-autoresearch
Run autonomous, measurable experiments in a Git repository: change one hypothesis, verify a numeric metric, keep improvements, and revert failures. Use when the user wants Codex to keep iterating toward a numeric target in the foreground or as a detached background run. Do not use for ordinary one-shot coding…
changelog-composer
Generates structured changelogs and release notes from git history and PRs, classifying breaking changes, features, fixes, performance, docs. Triggers on: "generate changelog", "write release notes", "what changed since", "prepare release", "release notes for", "diff since tag".