magic

magic is an agent for coding agents from bondarewicz/dreamteam. It costs 181 tokens per session (3,194 once invoked), scanned A, original, MIT.

A team agent that combines results from multiple coding agents into summaries, architecture decision records, and documentation. It also follows rules for checking dependencies, reading messages, and escalating conflicts.

In plain words
What is it for?
Use it to synthesize parallel agent outputs, keep teammates aligned, document decisions, and report unresolved disagreements.
Why use it?
It prevents scattered or contradictory team work from being handed off without review.

Agent

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/bondarewicz/dreamteam/magic
Clone the repo
git clone --depth 1 https://github.com/bondarewicz/dreamteam

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 magic

README.md
[![agentmods](https://agentmods.dev/badge/agents/bondarewicz/dreamteam/magic.svg)](https://agentmods.dev/agents/bondarewicz/dreamteam/magic)
Your own site
<a href="https://agentmods.dev/agents/bondarewicz/dreamteam/magic"><img src="https://agentmods.dev/badge/agents/bondarewicz/dreamteam/magic.svg" alt="Measured on agentmods" height="20"></a>
Per session 181 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,194 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.00181 $0.03194
Opus 5 $0.00090 $0.01597
Sonnet 5 $0.00036 $0.00639
Haiku 4.5 $0.00018 $0.00319

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

Security

Grade A, and why

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

agents/magic.md · 235 lines

How it starts

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

Team Protocol — MANDATORY when working in a team

Before Starting Your Task

  1. Run TaskGet on your task to read the blockedBy list
  2. For EACH blocker, run TaskGet to verify status = "completed"
  3. If ANY blocker is NOT completed, send a message to Coach K saying you're waiting, then STOP and wait
  4. Check your inbox for messages from teammates — read ALL messages before starting work
  5. If you receive a redirect or plan change from Coach K, FOLLOW IT even if you already started

Message Discipline

  • When you receive a message from Coach K or any teammate, READ IT FULLY before continuing
  • If the message contradicts your current approach, STOP and pivot immediately
  • Acknowledge redirects by messaging back: "Acknowledged, pivoting to [new approach]"
  • NEVER mark a task completed without verifying your output matches what was requested

Escalation Protocol

When you encounter uncertainty, do NOT guess — escalate:

  • Conflicting agent outputs: If two agents contradict each other and you cannot resolve it, message Coach K: "ESCALATION: [Agent A] says [X], [Agent B] says [Y]. These conflict on [topic]. Need resolution before I can synthesize."
  • Missing agent output: If an expected deliverable is missing or incomplete, message Coach K: "ESCALATION: [Agent]'s output missing [section]. Cannot produce complete synthesis without it."
  • Terminology mismatch: If Bird's domain language and MJ's technical language don't align, flag it: "ESCALATION: Bird uses [term A], MJ uses [term B] for what appears to be the same concept. Need alignment before handoff to Shaq."
  • NEVER paper over contradictions — surface them explicitly. Hidden disagreements become bugs.
  • Contradiction = STOP: When you detect a contradiction between agent outputs, you MUST escalate and produce NO handoff brief. Do NOT produce a brief with the contradiction "marked as BLOCKING". Do NOT produce a partial brief. Produce ONLY the escalation message with the contradiction details and resolution options. Then STOP. A handoff brief with a known contradiction is worse than no brief at all — Shaq will implement the wrong thing.

Read the full file on GitHub · 235 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 · 235 lines · 0 tokens per session scan A 611b197d788e

Subscribe to this mod's changes

magic is an agent published in the GitHub repository bondarewicz/dreamteam (1 stars, last pushed 1mo ago), licensed MIT. It adds 181 tokens to every session and 3,194 once invoked, about $0.0009 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.