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-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-merge)<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-merge"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-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-merge"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-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.00107 | $0.04182 |
| Opus 5.5 | $0.00043 | $0.01673 |
| Sonnet 5.5 | $0.00021 | $0.00836 |
| Haiku 4.5 | $0.00011 | $0.00418 |
Grade A, and why
tp-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 — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.
tp-merge — the land gate (irreversible gh pr merge)
/tp-merge is the land skill: it crosses the one irreversible boundary in the
framework — running gh pr merge to land a reviewed PR onto its base. It is the sole
code site where the "the framework never crosses the irreversible boundary without an
explicit, current human approval" guarantee is enforced in code.
It does not sync the base into the branch, resolve living-doc conflicts, or rewrite
tracked files — that reversible base-into-branch operation is the separate
/tp-merge-from-main skill. /tp-merge only gates and lands.
Two distinct skills, one former name. Before the human-approval-merge-gate design (D7),
/tp-mergewas the base-sync conflict resolver. That half is now/tp-merge-from-main. The/tp-mergename is retained for this land half, because operator and orchestrator references to "/tp-merge" mean land/merge. Keep them distinct:/tp-merge-from-mainsyncs the base in (reversible, below the gate);/tp-mergelands the PR out (irreversible, behind the gate).
Arguments
{pr-url|design-name}(required) — the PR to land. A PR URL is used directly; a design name resolves to its open completion PR.
Prerequisites
ghCLI installed and authenticated (the merge runsgh pr merge).- The PR has been reviewed and is reviewed-stable (the autonomous loop pauses here — this step is the human's).
The gate (load-bearing)
The land is gated by require_merge_gate_pass(pr_url) from
skills/tp-merge-from-main/scripts/merge_gate.py — the fail-closed enforcing form of
the deterministic merge gate. It evaluates the gate's predicates over the PR head SHA and
raises MergeGateBlocked on any non-PASS verdict, so a caller that ignores the return
value still cannot proceed. The gate carries seven head-SHA-keyed predicates, plus an
eighth, fragility_clear, that is on by default:
- threads_resolved — all review threads resolved. When this predicate blocks
the refusal,
land.pyprints a remediation pointer:/tp-pr-iterate {design} --dispose-only(reply-and-resolve out-of-band). - mergeable — PR is in MERGEABLE state.
- checks_success — all required CI checks settled and concluded SUCCESS.
- copilot_on_head — Copilot has reviewed the current head SHA.
- human_approved — a current APPROVED human review from a non-automation human
is present on the head SHA. Absent / stale (review predates the head) /
automation-authored → INDETERMINATE. This is the predicate the autonomous path can never
satisfy: the autonomous path cannot produce a non-automation APPROVED review on the
head out-of-band. The review's immutable
commit_idis the currency check — a real content push leaves the prior review pointing to the old head (non-current → fail-closed). - ci_local_stamp — a fresh SHA-keyed local-CI green stamp, required only when the
repo declares
ci.gate_command; the stamp is produced by running that command throughskills/_shared/ci_gate_run.py, which stamps the head on rc 0. Noci.gate_commanddeclared → the predicate is OMITTED (a roster note, not a FAIL) — declare the command to require this stamp. Declared but absent, stale, or dirty → FAIL; runpython3 $TP_ROOT/skills/_shared/ci_gate_run.pyto satisfy it. (dev-repo only:ci.gate_commandisscripts/ci-local.sh.) Opt out explicitly per-repo viareview.require_ci_local_stamp: false, even with a declared command. - review_proof_on_head — a head-bound, non-degraded proof-of-review digest comment
exists on the current head SHA, authored by a trusted automation identity: the
framework's own gh login (
github.pr_author_accountwhen one is configured) + configreview.automation_identitiesextras, plus, undergithub.per_developer_author: "self", the PR's own author (the roster then says "self-attested"); NOTHING else — the Copilot/native-bot automation floor is deliberately not digest-trusted (those identities never legitimately post digests, and a prompt-injected Copilot comment must not mint proof), and a drive-by commenter pasting a matching digest does NOT count. The/tp-pr-iteratereview arm posts it each round. Absent / stale (head moved) / degraded / untrusted-author → INDETERMINATE; re-run the proof-bearing review on the current head. Opt out per-repo viareview.require_review_proof: false. - Operator-accept — an operator who cannot post the digest can still fill THAT slot
with a prose accept: submit an APPROVED review on the current head whose body has the
line
tp-accept: <full 40-hex head sha> <reason>. It stands in forreview_proof_on_headONLY —human_approved(the same APPROVED review normally satisfies it) and every other predicate stay required; a bot/automation author or a COMMENTED review never counts. Check one withpython3 "$TP_ROOT"/skills/_shared/operator_accept.py check --pr-url <url> --head <sha>(exit 0 found / 1 not). On a Gitea origin the accept is unavailable — exit 2 withoperator-accept unavailable on gitea (gitea-forge-adapter); use the review-proof path. When the slot rides an accept,land.pyprintsmerge rides an operator-accept: <detail>before theMergedline, so the merge record names who accepted and why. - fragility_clear — the PR adds no fragile test, per
skills/_shared/test-fragility.md. Three conditions, each named in the FAIL detail: the fragility lint finds no gating hit on the lines the PR adds; no confirmed fragile item (from the implementation audit or the PR review loop) is open; and the changed tests have a run record for the PR head (changed_tests_runs.py) that passes. A missing or stale record fails, and the detail names therecordcommand. Anunverifiedrecord (no pytest runner, or a changed test file whose tests all skip, an opt-in tier such as env-gated live tests) passes with a note unlessfragility.strict: true, which fails it; a skip that is a missing dependency stays a failure. To clear an open item, waive it by id with a reason, as the operator's own call:python3 "$TP_ROOT"/skills/_shared/fragility_items.py waive --branch tp/{design-name} --id <item-id> --by <your-name> --reason "<why>"(--scope path-classcovers every item with the same path and class; an empty--byor--reasonis refused).fragility_items.py list --branch tp/{design-name}prints the open ids. Opt out per-repo viafragility.merge_predicate: false; the roster then showsfragility_clearas OMITTEDskipped (opt-out), never silently absent.
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/land.py 15 KB runs code
- scripts/test_land_accept_line.py 6.5 KB runs code
- scripts/test_land_dispose_pointer.py 4.6 KB runs code
- scripts/test_land_placeholder.py 13 KB runs code
- scripts/test_land_repo.py 6.4 KB runs code
- scripts/test_land_skill_md.py 1.7 KB runs code
- scripts/test_land.py 12 KB runs code
- scripts/test_merge_skill_gate_command.py 2.4 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 · +2 lines 4e82aa4b45d1
- 1mo ago Changed · +63 lines · +11 tokens per session dcedff2247a5
- 3mo ago First seen · 160 lines · 96 tokens per session scan A c2c8418b942d
tp-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 107 tokens to every session and 4,182 once invoked, about $0.0004 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-merge compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tp-mergeCurtisThe/three-pillars-plugin | Skill | 5 | 1mo ago | Apache-2.0 | A | 107 | Claude Code |
| gitRune-kit/rune | Skill | 96 | today | MIT | A | 60 | Claude Code |
| shipping-and-launchloiane/specs-driven-development-spring-angular | Skill | 66 | 24d ago | MIT | A | 64 | Claude Code |
| version-upgradeYuDefine/nuxt-supabase-starter | Skill | 45 | yesterday | MIT | A | 71 | Claude Code |
| clade-deliveryYuDefine/nuxt-supabase-starter | Skill | 45 | yesterday | MIT | A | 31 | Claude Code |
| releasethedotmack/claude-mem | Skill | 121k | today | Apache-2.0 | A | 13 | Claude Code |
| release-notesphuryn/pm-skills | Skill | 28k | 23d ago | MIT | A | 57 | Claude Code |