author-styleguides

author-styleguides is a skill for Claude Code, Codex from blakemartz/delivery-loop. It costs 89 tokens per session (986 once invoked), scanned A, original, MIT.

A skill for writing and updating repository style guides—the documented coding conventions that developers and review agents follow.

In plain words
What is it for?
Use it to inspect a repository’s languages and frameworks, create missing guides, or revise an existing guide after explicit approval.
Why use it?
It turns scattered project habits into agreed rules and avoids silently changing rules that a team has already approved.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the delivery-loop plugin — 10 skills shipped together

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 skills/blakemartz/delivery-loop/author-styleguides
Any agent
npx skills add blakemartz/delivery-loop --skill author-styleguides
Clone the repo
git clone --depth 1 https://github.com/blakemartz/delivery-loop

Made for: Claude Code, Codex.

Or install delivery-loop, the plugin that ships this one along with the rest of its 10 skills.

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 author-styleguides

README.md
[![agentmods](https://agentmods.dev/badge/skills/blakemartz/delivery-loop/author-styleguides.svg)](https://agentmods.dev/skills/blakemartz/delivery-loop/author-styleguides)
Your own site
<a href="https://agentmods.dev/skills/blakemartz/delivery-loop/author-styleguides"><img src="https://agentmods.dev/badge/skills/blakemartz/delivery-loop/author-styleguides.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 986 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.00089 $0.00986
Opus 5 $0.00044 $0.00493
Sonnet 5 $0.00018 $0.00197
Haiku 4.5 $0.00009 $0.00099

Measured 4d ago against content hash fd6c76ebac22, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

author-styleguides 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.

plugins/delivery-loop/skills/author-styleguides/SKILL.md · 38 lines

How it starts

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

author-styleguides — seed and evolve the constitution

You author the conventions the loop treats as constitutional: the decomposer fits tasks to them, implementers read them before writing code, and reviewers enforce them as the best-practice bar (spec ${CLAUDE_PLUGIN_ROOT}/docs/agentic_delivery_spec.md §2.1, §3.2–3.4). They are the prose counterpart of the gate: GATE_CMD defines correct mechanically; the styleguides define good where only judgment can.

Read .claude/delivery.conf for STYLEGUIDES_DIR (default styleguides/), GATE_CMD, and BASE_BRANCH.

Inputs

  1. Optional scope argument (a stack or layer, e.g. "python", "frontend") — default: every stack detected in the repo.
  2. What already exists in STYLEGUIDES_DIR. This skill is re-runnable: add the missing guide when a stack arrives, or revise a ratified one on explicit request — never silently rewrite ratified text.
  3. The repo itself: language/framework manifests, the gate script GATE_CMD points at (it shows which rules are already enforced mechanically), CI workflows, and the existing code.

Protocol

  1. Detect. Enumerate the stacks and layers actually present (languages, frameworks, test tooling, repo topology — single package vs monorepo). One guide per stack/layer that agents will touch; skip layers with no code and no imminent work.
  2. Observe. For each stack with existing code, mine the dominant conventions: layout, naming, typing strictness, error handling, dependency management, test placement and idiom. Where the codebase is consistent, the guide codifies what is. Where it is inconsistent, that is a fork to pin, not a convention to codify. Greenfield stacks start from the stack's idiomatic best practice.
  3. Pin. Put the genuinely contested choices to the human as explicit decision sets, recommendation first (AskUserQuestion) — strictness levels, structural patterns, test philosophy, how to resolve each observed inconsistency. Never write a rule over an unpinned fork.
  4. Draft one guide per stack/layer in the scratchpad. Keep each readable in one sitting: prescriptive rules, a short right/wrong example where ambiguity is likely, no restating what the stack's defaults already guarantee.
    • Checkable rules graduate to the gate. If a rule can be enforced mechanically (formatter, linter rule, type-checker flag, test), the guide states the principle and the enforcement belongs in the gate — wire it into GATE_CMD's script now if trivial, otherwise flag it as a follow-up task for the backlog.
  5. Ratify — hard gate. Present the drafts to the human with every judgment call flagged (each pin taken, anything observed-but-surprising, rules you chose not to write). Nothing lands in the repo before the nod. Apply their edits; re-present if the changes are substantive.
  6. Land. Write the ratified guides into STYLEGUIDES_DIR (replace the seeded README stub's "empty constitution" note if present). Commit to BASE_BRANCH directly when the loop isn't live yet; open a PR when it is or when the operator prefers.

Read the full file on GitHub · 38 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 · 38 lines · 89 tokens per session scan A fd6c76ebac22

Subscribe to this mod's changes

author-styleguides is a skill published in the GitHub repository blakemartz/delivery-loop (4 stars, last pushed 1mo ago), licensed MIT. It adds 89 tokens to every session and 986 once invoked, about $0.0004 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 skills, from other repositories

codex-thread-orchestration

Use when running Arcgentic V2 in Codex and the current thread must orchestrate fixed Planner, Developer, Test, and Auditor role threads.

Arch1eSUN/Arcgentic · 37 tokens

claude-code-session-broker

Use when running Arcgentic V2 in Claude Code and fixed Planner, Developer, and Auditor role sessions must be coordinated through a broker.

Arch1eSUN/Arcgentic · 35 tokens

arcgentic

Use when the user says Arcgentic, asks to use Arcgentic, or wants an idea taken through a complete plan → development → self-audit → external audit workflow in Codex.

Arch1eSUN/Arcgentic · 43 tokens

audit-round

External-audit role for arcgentic rounds. Loaded when arcgentic state.yaml is in awaitingaudit or auditinprogress, OR when the user explicitly requests an external audit of a finished round, OR when reviewing a handoff doc + commit chain against the round's declared scope. Produces a PASS / NEEDSFIX / AUDITINCOMPLETE…

Arch1eSUN/Arcgentic · 117 tokens

verify-gates

Runs the mechanical quality gates that the arcgentic state machine requires for state transitions. Invoked indirectly by transition.sh OR directly by orchestrator agent before declaring a state transition. Use when about to call transition.sh OR when manually verifying that a round artifact meets the gate criteria.…

Arch1eSUN/Arcgentic · 75 tokens

session-mode

Use when a project has not yet stored session mode, when a user asks for complete arcgentic workflow execution, or when role identity handoff prompts are needed.

Arch1eSUN/Arcgentic · 36 tokens