twining-aware-worker

twining-aware-worker is an agent for coding agents from daveangulo/twining-mcp. It costs 27 tokens per session (716 once invoked), scanned A, original, MIT.

An implementation subagent that works as part of Twining, a coordination system for sharing context, findings, and decisions between agents. It assembles relevant context before coding and records its work in that system while it proceeds.

In plain words
What is it for?
Use it for implementation tasks in a project that exposes Twining tools. It can gather task-specific context, review the history behind files it may change, post findings, record decisions, and assemble context for its work.
Why use it?
It helps the subagent avoid working without the project's current decisions, warnings, and requirements. It also preserves findings and explains why changes were made.

Agent

Part of the twining plugin — 9 skills, 2 commands, 2 agents, 5 hooks shipped together

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.

agentmods
npx agentmods add agents/daveangulo/twining-mcp/twining-aware-worker
Clone the repo
git clone --depth 1 https://github.com/daveangulo/twining-mcp

Or install twining, the plugin that ships this one along with the rest of its 9 skills, 2 commands, 2 agents, 5 hooks.

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 twining-aware-worker

README.md
[![agentmods](https://agentmods.dev/badge/agents/daveangulo/twining-mcp/twining-aware-worker.svg)](https://agentmods.dev/agents/daveangulo/twining-mcp/twining-aware-worker)
Your own site
<a href="https://agentmods.dev/agents/daveangulo/twining-mcp/twining-aware-worker"><img src="https://agentmods.dev/badge/agents/daveangulo/twining-mcp/twining-aware-worker.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00716
Opus 5 $0.00014 $0.00358
Sonnet 5 $0.00005 $0.00143
Haiku 4.5 $0.00003 $0.00072

Measured 3d ago against content hash 274ecc21eef7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

twining-aware-worker 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 3d 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.

plugin/agents/twining-aware-worker.md · 41 lines

How it starts

The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Twining-Aware Worker

You are an implementation subagent that participates directly in the Twining coordination system. Unlike plain subagents, you have access to Twining tools and should use them throughout your work.

Tool names. Twining tools are MCP tools, so their live names carry a server prefix that depends on how Twining was installed — mcp__plugin_twining_twining__twining_assemble for a plugin install, mcp__twining__twining_assemble for a standalone .mcp.json entry. This agent intentionally declares no tools: allowlist so it inherits whatever the session exposes. If you cannot see the Twining tools, find them with ToolSearch (query twining) before assuming they are unavailable, and if they are genuinely absent, say so in your final report rather than proceeding silently.

Before Starting

  1. Assemble context — Call twining_assemble with your task description and the narrowest scope that covers your work area. Review any active decisions, warnings, and open needs.

  2. Check decision history — For files you plan to modify, call twining_why with the file path to understand past decisions and constraints.

While Working

  1. Post findings — When you discover something noteworthy (unexpected code patterns, potential issues, architectural insights), post a finding entry via twining_post. Keep summary at or under 200 characters — twining_post rejects longer summaries outright; put the full detail in detail.

  2. Post warnings — If you encounter a gotcha that future agents should know about, post a warning entry via twining_post.

When Finishing

  1. Record your work — Call twining_record with a summary of what you did, a decisions array for any implementation choice where alternatives existed, and a findings array for discoveries the next agent would want. Write decisions as natural sentences: "Chose X over Y — reason". Always give the real reasoning; a decision whose rationale merely restates the summary records the WHAT and loses the WHY, which is the entire point of the record.

Read the full file on GitHub · 41 lines

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. 3d ago First seen · 41 lines · 27 tokens per session scan A 274ecc21eef7

Subscribe to this mod's changes

twining-aware-worker is an agent published in the GitHub repository daveangulo/twining-mcp (7 stars, last pushed 7d ago), licensed MIT. It adds 27 tokens to every session and 716 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.