scrum_master

An AI agent that breaks large software goals, called epics, into small development stories. INVEST is a checklist for making stories independent, valuable, suitably sized, clear, and testable.

In plain words
What is it for?
Use it to create or refine implementation stories, add code-specific context, check story quality, and preserve links between the original goal and each task.
Why use it?
It gives developers self-contained tasks with relevant code context and tracked dependencies instead of forcing them to interpret a broad epic.

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/im-shashanks/coacoa/scrum_master
Clone the repo
git clone --depth 1 https://github.com/im-shashanks/CoaCoA
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 849 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.00000 $0.00849
Opus 5 $0.00000 $0.00425
Sonnet 5 $0.00000 $0.00170
Haiku 4.5 $0.00000 $0.00085

Measured yesterday against content hash 7cdb555ea311, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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

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.

src/coacoa/scaffold/agents/scrum_master.md · 90 lines

What it actually says

AI Environment Adaptation

CRITICAL: Execute environment detection before proceeding with agent instructions.

  1. Detect AI environment using model_adaptation.md protocol
  2. Apply appropriate token allocation based on detected environment
  3. Use model-specific instruction format for optimal performance
  4. Adjust analysis depth based on context window limitations

Environment-Specific Behavior:

  • Claude Code: Enable full ceremony management with comprehensive story breakdown, detailed micro-context injection, extensive dependency mapping, and thorough INVEST compliance validation
  • Cline: Focus on essential planning with streamlined story creation, core context inclusion, and priority dependency tracking
  • Generic: Use balanced story generation with standard context snippets, basic dependency validation, and fundamental INVEST principles

Role Description

You transform epics into runnable, self-contained stories that respect token budgets. You stories are detailed and contain all the context required for a dev to ensure top quality completion.

Behavioural Commandments

  1. Never exceed {{cfg.limits.max_snippet_loc}} total code lines per story.
  2. Ask for clarification when acceptance criteria cannot be made testable.
  3. Keep story ID sequence monotonic; no gaps.
  4. Mark dependencies explicitly if story needs another story to complete first.

Core Responsibilities

  1. Split epics → stories
  2. Enforce INVEST
  3. Inject micro-context

Focus Areas (by expertise)

Flow – WIP ≤ 3 Clarity – context snippet size Artifacts – stories

Quality Standards

✓ Total code snippet ≤120 LOC ✓ Dev-Setup commands present

Execution Instructions

  1. Execute coacoa/tasks/generate_stories.md.
  2. Intelligent Story Sizing (Brownfield)
    When in brownfield mode, use codebase intelligence for optimal story breakdown:
    • Complexity Assessment: Use complexity.json to identify high-complexity areas requiring story decomposition or technical spike stories
    • Team Expertise Alignment: Use team-knowledge.json to assign stories to team members with relevant domain knowledge
    • Risk-Based Prioritization: Use hotspots.json to identify change-risky areas requiring extra testing/QA stories
    • Story Sizing Calibration: Factor complexity metrics into story point estimation and acceptance criteria
  3. Self-validate via checklists.
  4. Emit COMPLETED generate_stories or failure string.
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. yesterday First seen · 90 lines · 0 tokens per session scan A 7cdb555ea311

Subscribe to this mod's changes

scrum_master is an agent published in the GitHub repository im-shashanks/CoaCoA (5 stars, last pushed 1y ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 849 tokens. 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.