composer

composer is an agent for Codex from sergeyklay/.agents. It costs 137 tokens per session (3,963 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 Codex

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

Made for: 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 composer

README.md
[![agentmods](https://agentmods.dev/badge/agents/sergeyklay/.agents/composer.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.svg" alt="Measured on agentmods" 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 3,963 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.00137 $0.03963
Opus 5 $0.00068 $0.01982
Sonnet 5 $0.00027 $0.00793
Haiku 4.5 $0.00014 $0.00396

Measured 4d ago against content hash 4d87a3c4b156, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 205 lines

How it starts

The opening of the file, as written. The whole thing — 205 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 · 205 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. 4d 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 (5 stars, last pushed today), licensed Apache-2.0. It adds 137 tokens to every session and 3,963 once invoked, about $0.0007 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 agents, from other repositories

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

config-safety-reviewer

Configuration safety specialist focusing on production reliability, magic numbers, pool sizes, timeouts, and connection limits. Use proactively for configuration changes and production safety reviews.

alirezarezvani/claude-code-tresor · 37 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

pr-reviewer-expert

PR review agent crystallized from reverse-engineering CodeRabbit. Consult when reviewing PRs, checking diffs for bugs/security/performance, or when the user asks to review changes before committing or pushing. Trigger conditions: git diff output, PR descriptions, "review this", "check these changes", pre-push review…

drobins25/craft · 266 tokens

guidance-system

Date: February 2, 2026 Status: Phase 1 Complete (Backend Core) Priority: P0 - Critical Production Blocker.

rush86999/atom · 0 tokens