tri-party-framework: Command for Claude Code

.claude/commands/triparty.md

triparty is a command for Claude Code from r-design-j/tri-party-framework. It costs 13 tokens per session (311 once invoked), scanned A, original, MIT.

A command that sends a task through a coordination process involving Codex, Claude, and Gemini, three coding-agent systems. The process can run preparation checks, independent reviews, cross-checks, merging, and state validation.

In plain words
What is it for?
It is for checking readiness, running a coordinated task, performing a release gate, and reporting the run directory and result status.
Why use it?
It gives a shared workflow for comparing agent work and checking the combined result.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

This is r-design-j/tri-party-framework's own configuration. It tells Claude Code how to work on tri-party-framework 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 tri-party-framework configures →

Reuse

Borrowing it

Nothing to install: this file belongs to r-design-j/tri-party-framework. 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/r-design-j/tri-party-framework/main/.claude/commands/triparty.md
Clone the repo
git clone --depth 1 https://github.com/r-design-j/tri-party-framework

Made for: Claude Code.

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 triparty

README.md
[![agentmods](https://agentmods.dev/badge/commands/r-design-j/tri-party-framework/triparty.svg)](https://agentmods.dev/commands/r-design-j/tri-party-framework/triparty)
Your own site
<a href="https://agentmods.dev/commands/r-design-j/tri-party-framework/triparty"><img src="https://agentmods.dev/badge/commands/r-design-j/tri-party-framework/triparty.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 311 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.00013 $0.00311
Opus 5 $0.00006 $0.00156
Sonnet 5 $0.00003 $0.00062
Haiku 4.5 $0.00001 $0.00031

Measured 7d ago against content hash 6f406e0de9cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

triparty 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 7d 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.

.claude/commands/triparty.md · 32 lines

What it actually says

Use the existing portable framework. Do not recreate the protocol by writing new ad hoc Markdown files.

Arguments:

$ARGUMENTS

Resolve the command in this order:

  1. triparty from PATH.
  2. $TRIPARTY_FRAMEWORK_HOME/scripts/triparty.sh after reading ~/.triparty-framework/config.
  3. scripts/triparty.sh from the current repository.

Dispatch:

  • Empty arguments or status: run triparty status.
  • preflight: run triparty preflight.
  • run <task>: run triparty run "<task>"; this portable core path performs preflight, independent reviews, mutual cross-audit, merge, and state validation.
  • release-gate <run-dir>: run triparty release-gate <run-dir>.
  • Otherwise treat $ARGUMENTS as the task and run triparty run "$ARGUMENTS".

Report the run directory, source status, and true/partial result.

Do not call claude, gemini, or provider APIs directly from this slash layer. Do not provide a cross-audit or merge bypass. Read readiness from the portable core's state.json through triparty status or triparty release-gate.

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. 7d ago First seen · 32 lines · 13 tokens per session scan A 6f406e0de9cb

Subscribe to this mod's changes

triparty is a command published in the GitHub repository r-design-j/tri-party-framework (4 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 311 once invoked, about $0.0001 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.