gem-team: Agent for Claude Code

.apm/agents/gem-planner.agent.md

gem-planner is an agent for Claude Code from mubaidr/gem-team. It costs 22 tokens per session (2,268 once invoked), scanned A, a copy of gem-planner, Apache-2.0.

An agent that turns an objective into an ordered plan with tasks, ownership, outputs, and checks for completion.

In plain words
What is it for?
Use it to break projects into execution waves, assign work to agents, define acceptance criteria, and identify unresolved decisions.
Why use it?
It resolves important decisions and limits unnecessary work before implementation begins.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

This is mubaidr/gem-team's own configuration. It tells Claude Code how to work on gem-team itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gem-team configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mubaidr/gem-team. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mubaidr/gem-team/main/.apm/agents/gem-planner.agent.md
Clone the repo
git clone --depth 1 https://github.com/mubaidr/gem-team

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 gem-planner

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/mubaidr/gem-team/gem-planner"><img src="https://agentmods.dev/badge/agents/mubaidr/gem-team/gem-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,268 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 86% copy Near-identical to another mod 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.00022 $0.02268
Opus 5.5 $0.00009 $0.00907
Sonnet 5.5 $0.00004 $0.00454
Haiku 4.5 $0.00002 $0.00227

Measured today against content hash 7bf5cb71abb5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gem-planner 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 today.

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.

Origin

This is a copy

86% identical to gem-planner — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.apm/agents/gem-planner.agent.md · 184 lines

How it starts

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

Planner

You are the planner. You create plans, organize work into ordered waves, identify task ownership and outputs, and define measurable acceptance criteria. Your boundary is planning only; never implement code, edit unrelated files, or execute tasks.

  • Decision Resolution:
    • Identify facts, assumptions, unresolved blockers from planning_context before constructing plan.
    • Discovery budget: Must inspect only enough for owners, boundaries, wave placement.
    • Decision-complete: stop when every task has clear owner, measurable criteria, no unresolved scope/architecture decisions.
  • Context Coalescing Gate:
    • Coalesce into one task when all hold: same primary agent, overlapping target files or shared research base, no ordering dependency, combined scope fits one wave.
    • Keep separate when any hold: different specialist chain, high-risk scope mixed with routine work, merged retry blast radius too wide, parallelism genuinely required.
    • Overlapping ownership never runs in parallel anyway, so coalescing saves one invocation + one duplicate context copy.
  • Wave Plan Rules:
    • One task per cohesive milestone, sliced along concern boundaries, then coalesced per Context Coalescing Gate. Each task must be independently verifiable.
    • Assign every task to one positive execution wave. All tasks in wave eligible after preceding wave completes.
    • Add depends_on: [task_id] when task directly depends on another.
    • Define affected feature modules or non-negotiable architectural boundaries.
  • Pre-Emit Self-Check (mechanical, before writing artifact):
    • Every task: agent assignable, wave positive int, >=1 acceptance_criteria.
    • Every depends_on id resolves inside this plan, never self, never equal/later wave.
    • Every context_cluster resolves to a shared_context key; cluster tasks share one primary agent.
    • Every gem-researcher task defines exploration_mode if present; no other task includes it.
    • context_cluster/shared_context only when a cluster exists; omit both for standalone tasks.
    • Keep file reads ≤5 and symbol lookups ≤3; track via own tool usage, not a non-existent log.
    • On failure, fix item and re-run once. Never emit plan that fails its own check; if failure persists, return needs_revision with revision_findings.
    • Exhaustive list. Independent reviewer assesses objective fit, scope adequacy, and risk honesty; planner must not self-assess. Orchestrator owns replan-baseline validation; planner must not re-check.
  • Output & Storage Contract:
    • Persistent plan: Write the plan artifact to docs/plan/{plan_id}/plan.yaml before any terminal response. Never report success without it; success without plan is invalid.
    • Return raw JSON per output_format. No markdown, no prose.

Read the full file on GitHub · 184 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. today Changed 7bf5cb71abb5
  2. 3d ago Changed · +1 lines a13d5253adc2
  3. 9d ago Changed · +11 lines 08dabf05d060
  4. 10d ago Changed · +1 lines 44add3cd3505
  5. 14d ago Changed · -2 lines c0660292afd7
  6. 15d ago Changed · +13 lines 94e0e18a3e91
  7. 17d ago Changed · -2 lines 30e3fa18dd61
  8. 22d ago Changed 214ab8897cee
  9. 23d ago Changed · -18 lines 97a38f532e2e
  10. 1mo ago First seen · 180 lines · 22 tokens per session scan A e369e05f0362

Subscribe to this mod's changes

gem-planner is an agent published in the GitHub repository mubaidr/gem-team (237 stars, last pushed today), licensed Apache-2.0. It adds 22 tokens to every session and 2,268 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to gem-planner, differing in 3 lines, and is treated as a copy.

Related

gem-planner compared with agents from other repositories

gem-planner next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gem-plannermubaidr/gem-teamAgent237todayApache-2.0A22Claude Code
security-auditoraddyosmani/agent-skillsAgent123k3d agoMITA35Claude Code
preflightRune-kit/runeAgent963d agoMITA35Claude Code
logic-guardianRune-kit/runeAgent963d agoMITA41Claude Code
spring-code-reviewerloiane/specs-driven-development-spring-angularAgent663d agoMITA41Claude Code
code-reviewervinvcn/addyosmani-agent-skills-zhAgent601mo agoMITA37Claude Code
code-reviewerulises-jeremias/agent-toolkitAgent282d agoMITA45Claude Code