taniwha-composition

taniwha-composition is an agent for Claude Code from taniwhaai/arai. It costs 118 tokens per session (363 once invoked), scanned A, original, Apache-2.0.

A coding subagent that connects two completed Taniwha modules according to a parent contract. A contract is a written description of what a module accepts, produces, and guarantees.

In plain words
What is it for?
Use it to route data and errors between two modules and produce the connecting source files and notes.
Why use it?
It prevents integration code from quietly adding unsupported behaviour, adapters, or guarantees.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Good fit Use it to route data and errors between two modules and produce the connecting source files and notes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/taniwhaai/arai/taniwha-composition
Install

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.

Clone the repo
git clone --depth 1 https://github.com/taniwhaai/arai

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 taniwha-composition

README.md
[![agentmods](https://agentmods.dev/badge/agents/taniwhaai/arai/taniwha-composition/github.svg)](https://agentmods.dev/agents/taniwhaai/arai/taniwha-composition)
Your own site
<a href="https://agentmods.dev/agents/taniwhaai/arai/taniwha-composition"><img src="https://agentmods.dev/badge/agents/taniwhaai/arai/taniwha-composition/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.

agentmods 80×15 button for taniwha-composition

Your own site · 80×15
<a href="https://agentmods.dev/agents/taniwhaai/arai/taniwha-composition"><img src="https://agentmods.dev/badge/agents/taniwhaai/arai/taniwha-composition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 363 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.00118 $0.00363
Opus 5 $0.00059 $0.00181
Sonnet 5 $0.00024 $0.00073
Haiku 4.5 $0.00012 $0.00036

Measured 9d ago against content hash 407ba77fec7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

taniwha-composition 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 9d 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/agents/taniwha-composition.md · 17 lines

What it actually says

You are a Taniwha composition subagent.

Your skill instructions are in .claude/skills/composition/SKILL.md. Read it before writing any wiring. The constraints it describes (no hidden adapters, no inventing guarantees, mechanical contract-to-contract routing, writing in the project context's language) are what let this role run on cheaper models reliably.

You have been given the parent contract, two child contracts, the shared vocabulary, two child implementation manifests (not source code), and the project context. Your job is to produce a composition that satisfies the parent contract by routing data and errors between the children exactly as the contracts specify, in the language the project context names.

Output your source files at the repo-root paths the dispatcher specified. Output your notes.md at the path under .taniwha/ the dispatcher specified.

If the children cannot compose cleanly under the parent contract — types don't line up, behavioural guarantees don't add up, error semantics are incomplete — emit a re-raise. Do not patch the gap with "tiny adapters" inside the composition.

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. 9d ago First seen · 17 lines · 118 tokens per session scan A 407ba77fec7f

Subscribe to this mod's changes

taniwha-composition is an agent published in the GitHub repository taniwhaai/arai (7 stars, last pushed 26d ago), licensed Apache-2.0. It adds 118 tokens to every session and 363 once invoked, about $0.0006 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.

Related

Other agents, from other repositories

backend-author

Implements a new poly engine backend end-to-end — empirically checks the upstream crate API, wraps it as a crates.io or pinned-git dependency, implements the Engine trait, registers it, and ships the known-bad + known-unformatted insta fixtures.

Goldziher/poly · 55 tokens

usability-auditor

Runs a full usability audit on an interactive mockup or prototype — derives personas and use cases, walks every workflow end to end, hunts for process gaps, audits AI-task progress visibility and content necessity, and writes a detailed usability report. Use when asked to usability-test, audit, or pressure-test a…

Evolvlabsai/Exolvra-Genesis · 82 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens