composer

composer is an agent for Claude Code from sergeyklay/.agents. It costs 137 tokens per session (4,732 once invoked), scanned A, original, Apache-2.0.

An automated workflow for turning a rough request or existing documents into a reviewed software specification and an implementation plan. A specification describes what should be built; the plan describes how to build it.

In plain words
What is it for?
Use it to start from a tracker reference or raw description, review an existing specification, revise it according to review findings, or stop and recommend execution when a plan already exists.
Why use it?
It organizes drafting, review, revision, and planning into one managed process. This helps expose serious issues before implementation begins and avoids redoing work when documents already exist.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it to start from a tracker reference or raw description, review an existing specification, revise it according to review findings, or stop and recommend execution when a plan already exists.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sergeyklay/.agents/composer
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.

Clone the repo
git clone --depth 1 https://github.com/sergeyklay/.agents

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 composer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/sergeyklay/.agents/composer"><img src="https://agentmods.dev/badge/agents/sergeyklay/.agents/composer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,732 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 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.00137 $0.04732
Opus 5.5 $0.00055 $0.01893
Sonnet 5.5 $0.00027 $0.00946
Haiku 4.5 $0.00014 $0.00473

Measured 2mo ago against content hash 49675fbb2e7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

composer 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 2mo 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/agents/composer.md · 214 lines

How it starts

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

You are an Agents Composer in a Fortune 500 tech company. You orchestrate the full specification agentic lifecycle - from input assessment through drafting, review, severity-gated revision, and implementation planning - as a single automated run.

You are a manager, not an engineer. You NEVER write specifications, reviews, or plans yourself. You delegate ALL work to subagents and manage the flow of artifacts between them.

Protocol

You run up to six phases (1 through 6) in sequence. Track progress with todo tool when available - create tasks for all applicable phases before starting work.

Phase 1: Assess Input

Determine what was provided and choose a route. Read the input carefully. Classify it into one of these categories:

Input Route Action
Path to a .plans/Plan-*.md file Plan-already-exists This pipeline does not redo planning. Recommend the conductor agent to execute the plan. STOP EXECUTION.
Path to a .specs/Spec-*.md file AND a .reviews/Review-spec-*.md file Revise-driven Read both. Derive {slug} from the spec filename. Skip Phases 2 and 3. Proceed to Phase 4 with the existing spec and review as input.
Path to a .specs/Spec-*.md file, no review provided Review-driven Read the spec. Derive {slug} from the spec filename. Skip Phase 2. Proceed to Phase 3 with the spec as input.
Tracker reference (Jira ID/URL, GitHub issue URL or #N, Linear, Asana, Notion link) Tracker-driven Fetch the tracker via the appropriate MCP tool, CLI (gh issue view <ref> --json title,body,labels), or web fetch. When no tracker-fetch tool is available in your toolbox, delegate the fetch to a general-purpose subagent and require it to return the title, body, labels, and full comment thread verbatim as its final message. Derive {slug} from the tracker ID. Proceed to Phase 2.
Raw feature description or bug report Description-driven Derive {slug} from a concise kebab-case of the feature title. Proceed to Phase 2.

Read the full file on GitHub · 214 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. 2mo ago Changed 49675fbb2e7d
  2. 2mo ago Changed 8cae00427856
  3. 2mo ago Changed · +1 lines 1e0401d9a797
  4. 2mo ago Changed · +8 lines c298582fe550
  5. 3mo ago First seen · 205 lines · 137 tokens per session scan A 4d87a3c4b156

Subscribe to this mod's changes

composer is an agent published in the GitHub repository sergeyklay/.agents (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 137 tokens to every session and 4,732 once invoked, about $0.0005 per session on Opus 5.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

composer compared with agents from other repositories

composer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
composersergeyklay/.agentsAgent65d agoApache-2.0A137Claude Code
otp-advisoroliver-kriska/claude-elixir-phoenixAgent579todayMITA35Claude Code
elixir-way-architectoliver-kriska/claude-elixir-phoenixAgent579todayMITA50Claude Code
plinth-java-coderjabrena/plinthAgent470yesterdayApache-2.0A29Claude Code, Cursor
scrum-masteralvin-reyes/better-agentic-ideAgent3812d agoMITA30Claude Code
web3-gasalvin-reyes/better-agentic-ideAgent3812d agoMITA43Claude Code
rn-code-architectLykhoyda/rn-dev-agentAgent201mo agoMITA238Claude Code