teammate-flow

teammate-flow is a skill for Claude Code, Codex from dentiny/kon. It costs 45 tokens per session (3,701 once invoked), scanned A, original, MIT.

A workflow for coordinating a team of specialised coding agents: one explores, another plans, another implements, another cleans up, and another reviews. It is used by the /kon:team command.

In plain words
What is it for?
Use it for larger coding tasks that benefit from exploration, planning, implementation, cleanup, and review in sequence. It requires unresolved uncertainty to be addressed before the workflow moves on.
Why use it?
It divides software work into clear stages with separate responsibilities. This makes the path from understanding a codebase to implementing and reviewing a change easier to follow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

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 skills/dentiny/kon/teammate-flow
Any agent
npx skills add dentiny/kon --skill teammate-flow
Clone the repo
git clone --depth 1 https://github.com/dentiny/kon

Made for: Claude Code, Codex.

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 teammate-flow

README.md
[![agentmods](https://agentmods.dev/badge/skills/dentiny/kon/teammate-flow.svg)](https://agentmods.dev/skills/dentiny/kon/teammate-flow)
Your own site
<a href="https://agentmods.dev/skills/dentiny/kon/teammate-flow"><img src="https://agentmods.dev/badge/skills/dentiny/kon/teammate-flow.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,701 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.1 $0.00045 $0.03701
Opus 5 $0.00023 $0.01851
Sonnet 5 $0.00009 $0.00740
Haiku 4.5 $0.00005 $0.00370

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

Security

Grade A, and why

teammate-flow 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 6d 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.

skills/teammate-flow/SKILL.md · 272 lines

How it starts

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

Teammate Flow

Consumers: /kon:team.

Teammate-flow defines the shared workflow skeleton for the kon team — from exploration to implementation to review. Each agent owns their segment; the orchestrator strings them together.

Orchestrator context: follow skills/orchestrator-context — artifacts hold full output; orchestrator routes by file pointer only.

Core principles (always): follow skills/core-principles — first principles (don't hide the issue); simplest, most concise correct solution.

When anything is unclear: ask the user — do not guess or hallucinate. Follow skills/ask-dont-guess. Orchestrator must not advance to the next stage until material uncertainty is resolved.

Shared flow (Full pipeline)

These steps are required in order for /kon:team:

  1. Plan reuse check — if .kon/plan-<SESSION_ID>.md exists (or the most recent .kon/plan-*.md for cross-session reuse after /kon:design), read it and ask the user once: reuse or re-plan? Skip Azusa, pre-plan gate, and Mugi on reuse (unless user chooses re-plan). See commands/team.md.
  2. 🎸 Azusa + optional 📚 Jun (parallel when task needs external docs) — see skills/external-research. Jun writes .kon/research.md.
  3. Pre-plan gate (MANDATORY) — orchestrator runs skills/pre-plan-gate: ask high-level + implementation questions; write sessions/<SID>/understanding.md; do not spawn Mugi until understanding is sufficient and user has answered.
  4. 🍰 Mugi — structure the work into .kon/plan-<SESSION_ID>.md (read understanding.md, .kon/research.md, explore.md).
  5. User confirms plan (MANDATORY) — After Mugi finishes:
    • Orchestrator presents the plan summary to the user
    • If ## Decisions needed section exists, present each decision with its default
    • STOP and wait for explicit user approval — do NOT spawn Yui automatically
    • Only proceed to step 5 after user says "go", "approved", "proceed", or similar confirmation
    • This applies even in --yolo mode — plan approval is always required
    • Update session (required — dashboard shows ⏸ waiting):
      python3 $KON_ROOT/scripts/kon_session.py wait-for-user --id "$SID" \
        --after plan --summary "Plan ready — approve to start milestone 1?"
      
    • After user confirms:
      python3 $KON_ROOT/scripts/kon_session.py user-continued --id "$SID" \
        --summary "Approved plan"
      
  6. Milestone loop — For each milestone in the plan (or all steps if no milestones):
    • 🎶 Yui — implement this milestone only. "Working on Milestone X..."
      • Execute steps for current milestone
      • Stop after completing milestone (don't continue to next milestone)
    • 🧹 Sawako — garbage collect the implementation (runs immediately after Yui — no user gate here)
      • Remove dead code: unused functions, variables, imports
      • Remove redundant comments that just restate what code does
      • Simplify over-complex logic, remove duplicate logic
      • Verify before removing — use grep to confirm nothing is referenced
      • No behavior changes — tests should still pass
    • 📝 Mio — review changes for this milestone only
      • Follow skills/strict-review on the diff from this milestone
      • If BLOCKED/NEEDS_CHANGES → Yui fixes → Sawako cleans → Mio re-reviews (repeat until approved)
      • If APPROVED → keep Task ids across milestones (do not clear here). User gate (MANDATORY) before the next milestone or summarize:
        • Present milestone summary: what changed, Mio verdict, open issues if any
        • STOP — do NOT spawn the next milestone or Nodoka until the user approves
        • Update session (dashboard shows ⏸ waiting):
          python3 $KON_ROOT/scripts/kon_session.py wait-for-user --id "$SID" \
            --after milestone --milestone N \
            --summary "Milestone N approved by Mio — proceed to milestone N+1?" 
          
          (Last milestone: summary text like "Milestone N approved — proceed to summarize?")
        • After user confirms: user-continued, then next milestone or step 6
    • Repeat until all milestones complete (each followed by user gate)
  7. Manual testing — After the last milestone gate, user runs tests themselves.
    • User verifies the implementation works in their environment

Read the full file on GitHub · 272 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. 6d ago First seen · 272 lines · 45 tokens per session scan A 6bd06223b83f

Subscribe to this mod's changes

teammate-flow is a skill published in the GitHub repository dentiny/kon (3 stars, last pushed 1mo ago), licensed MIT. It adds 45 tokens to every session and 3,701 once invoked, about $0.0002 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 skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens