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.
curl -O https://raw.githubusercontent.com/r-design-j/tri-party-framework/main/.claude/commands/ap-claw.mdgit clone --depth 1 https://github.com/r-design-j/tri-party-frameworkWrote 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/commands/r-design-j/tri-party-framework/ap-claw)<a href="https://agentmods.dev/commands/r-design-j/tri-party-framework/ap-claw"><img src="https://agentmods.dev/badge/commands/r-design-j/tri-party-framework/ap-claw.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.00009 | $0.00547 |
| Opus 5 | $0.00005 | $0.00273 |
| Sonnet 5 | $0.00002 | $0.00109 |
| Haiku 4.5 | $0.00001 | $0.00055 |
Grade A, and why
ap-claw 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.
What it actually says
Run the same workflow as /agentparty-claw with these arguments:
$ARGUMENTS
Use the installed agentparty CLI when available. If it is not on PATH, read ~/.triparty-framework/config and use $AGENTPARTY_FRAMEWORK_HOME/scripts/agentparty.sh; otherwise fall back to scripts/agentparty.sh in the current repository.
Run this resolver before dispatch:
AGENTPARTY_CMD="$(command -v agentparty 2>/dev/null || true)"
if [ -z "$AGENTPARTY_CMD" ] && [ -f "$HOME/.triparty-framework/config" ]; then
. "$HOME/.triparty-framework/config"
if [ -n "${AGENTPARTY_FRAMEWORK_HOME:-}" ] && [ -x "$AGENTPARTY_FRAMEWORK_HOME/scripts/agentparty.sh" ]; then
AGENTPARTY_CMD="$AGENTPARTY_FRAMEWORK_HOME/scripts/agentparty.sh"
fi
fi
if [ -z "$AGENTPARTY_CMD" ] && [ -x "scripts/agentparty.sh" ]; then
AGENTPARTY_CMD="scripts/agentparty.sh"
fi
if [ -z "$AGENTPARTY_CMD" ]; then
printf '%s\n' "AgentParty is not installed or not discoverable in this environment." >&2
printf '%s\n' "After installation, run: agentparty doctor" >&2
printf '%s\n' "Install or clone: https://github.com/r-design-j/tri-party-framework.git" >&2
exit 1
fi
If no AgentParty CLI path can be resolved, stop with the resolver's non-zero exit. Report that AgentParty is not installed or not discoverable, suggest running agentparty doctor after installation, and ask whether to clone or install https://github.com/r-design-j/tri-party-framework.git. Do not recreate the framework with new ad hoc Markdown files.
This alias supports the same kit, prompt, guide, and validate dispatch as /agentparty-claw. It is preparation and handoff only. Do not call Feishu, configure Claw auth, import evidence, claim pack_ready by itself, participate in Codex + Claude + Gemini cross-audit, or claim true_triparty_ready=true.
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.
- 7d ago First seen · 41 lines · 9 tokens per session scan A 4828f6b2263c
ap-claw is a command published in the GitHub repository r-design-j/tri-party-framework (4 stars, last pushed 2mo ago), licensed MIT. It adds 9 tokens to every session and 547 once invoked, about $0.0000 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 commands, from other repositories
gemini-brainstorm-on
Re-enable Gemini grounding on every prompt (it is on by default; this only matters if you previously turned it off).
gemini-research
Research a topic using Gemini's search-grounded or deep research capabilities.
gemini-validate
Get a Gemini second opinion on a plan, diff, or claim.
api-watch
Analyze a video URL or local file using the eyeroll hosted API.
review
Run a Gemini code review against local git state.
adversarial-review
Run a Gemini review that challenges the implementation approach and design choices.