compose-agents-md

compose-agents-md is a skill for Claude Code, Codex from soulcodex/agentic. It costs 78 tokens per session (560 once invoked), scanned A, original, MIT.

A guided tool for creating an AGENTS.md file, which gives coding agents project-specific instructions. It helps choose a profile or assemble instructions from smaller reusable sections.

In plain words
What is it for?
Use it to describe the project, select a suitable profile, combine language and architecture guidance, and compose AGENTS.md.
Why use it?
It helps a new project get consistent agent guidance without requiring you to design the instruction file from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex; mentions OpenCode.

Good fit Use it to describe the project, select a suitable profile, combine language and architecture guidance, and compose AGENTS.md.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/soulcodex/agentic/compose-agents-md
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.

Any agent
npx skills add soulcodex/agentic --skill compose-agents-md
Clone the repo
git clone --depth 1 https://github.com/soulcodex/agentic

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 compose-agents-md

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/soulcodex/agentic/compose-agents-md"><img src="https://agentmods.dev/badge/skills/soulcodex/agentic/compose-agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 560 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00078 $0.00560
Opus 5.5 $0.00031 $0.00224
Sonnet 5.5 $0.00016 $0.00112
Haiku 4.5 $0.00008 $0.00056

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

Security

Grade A, and why

compose-agents-md 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 1mo 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/agentic/compose-agents-md/SKILL.md · 77 lines

What it actually says

Compose AGENTS.md Skill

Help the user create an AGENTS.md for their project.

Step 1 — Understand the Project

Ask (if not already known):

  1. What language(s) does the project use?
  2. What architectural pattern (hexagonal, microservices, BFF, monolith)?
  3. What is the primary purpose of the project?
  4. Which AI vendors are used on this project?

Step 2 — Recommend a Profile

Check just list-profiles to show available profiles.

Match the user's answers to an existing profile. If a match exists:

just compose {profile-name} {/path/to/target-project}

If no profile matches closely enough, offer to: a) Compose from individual fragments (guided selection) b) Create a new profile for this project type

Step 3 — Fragment Selection (if no profile matches)

Guide the user through selecting fragments:

Base fragments (always recommended):

  • git-conventions — always include
  • security — always include
  • code-review — include if team does code reviews
  • testing-philosophy — include if testing standards matter
  • documentation — include if docs standards matter

Language: pick from agents/languages/ Architecture: pick from agents/architecture/ Practices: pick from agents/practices/ Domain: pick from agents/domains/ if a match exists

Step 4 — Compose and Deploy

Run the compose and vendor-gen commands:

just compose {profile-or-custom} {target-path}
just vendor-gen {target-path}

Step 5 — Verify

Open {target-path}/AGENTS.md with the user and confirm:

  • The content accurately represents the project's standards
  • Build/test/lint commands are correct
  • No placeholder tokens ({{TOKEN}}) remain unfilled
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. 1mo ago First seen · 77 lines · 78 tokens per session scan A e20ba341aa05

Subscribe to this mod's changes

compose-agents-md is a skill published in the GitHub repository soulcodex/agentic (10 stars, last pushed 2d ago), licensed MIT. It adds 78 tokens to every session and 560 once invoked, about $0.0003 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.