convention-setup

convention-setup is a skill for Codex from kochetkov-ma/claude-brewcode. It costs 39 tokens per session (1,191 once invoked), scanned A, original, MIT.

A project setup guide that finds accepted coding patterns, architecture choices, and representative examples, then records how they should be used. Its loading guidance can be reversed.

In plain words
What is it for?
Use it to extract project conventions, document example implementations, and set up guidance for future coding work.
Why use it?
It reduces guesswork when joining an existing codebase and helps keep new work consistent with decisions already accepted by the project.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it to extract project conventions, document example implementations, and set up guidance for future coding work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kochetkov-ma/claude-brewcode/convention-setup
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 kochetkov-ma/claude-brewcode --skill convention-setup
Clone the repo
git clone --depth 1 https://github.com/kochetkov-ma/claude-brewcode

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 convention-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/convention-setup/github.svg)](https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/convention-setup)
Your own site
<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/convention-setup"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/convention-setup/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 convention-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/kochetkov-ma/claude-brewcode/convention-setup"><img src="https://agentmods.dev/badge/skills/kochetkov-ma/claude-brewcode/convention-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,191 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.00039 $0.01191
Opus 5.5 $0.00016 $0.00476
Sonnet 5.5 $0.00008 $0.00238
Haiku 4.5 $0.00004 $0.00119

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

Security

Grade A, and why

convention-setup 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.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/convention.sh, tests/lifecycle.mjs, tests/run.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.codex/plugins/brewcode/skills/convention-setup/SKILL.md · 51 lines

How it starts

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

Convention setup

Inspect representative production code and tests, identify repeated architectural and implementation patterns, and write concise convention documents to the user-selected Codex-owned path. Cite concrete repository files, distinguish enforced rules from observations, and avoid changing application code unless the user explicitly asks.

Modes and lifecycle

Resolve one mode from status, install (default, the original full extraction), upgrade, enable, disable, uninstall, purge; extras: full, conventions, rules, paths <p1,p2>. Explicit tokens win; otherwise resolve RU/EN intent, choose install on empty/no-match input, and ask at most one outcome-changing question. Read-only status asks nothing. Before the first action print PLAN — brewcode:convention-setup with literal INPUT:, MODE:, SCOPE:, DO:, RESULT:. Run sh <skill-directory>/scripts/convention.sh status first; stop on ownership/collision errors.

Mode Behavior
status Read-only document/loading inventory; parked guidance is disabled, never missing.
install / full Run the extraction workflow below; validate docs, then run the script's install command.
upgrade Refresh evidence and metadata using the workflow; run the script's upgrade command, preserving parked state and local guidance wording.
enable / disable Run that script command to restore/park .codex/rules/convention.md as .md.disabled, byte-identically.
uninstall Remove only owned loading guidance and its generated AGENTS index row; preserve docs and accepted rules.
purge Confirm the three owned document paths unless deletion is already explicit; remove them and loading guidance, preserve accepted rules and unrelated files.
conventions Extract only documents, validate and install loading guidance; leave other rules untouched.
rules Extract accepted rules from existing stamped evidence without regenerating documents.
paths Refresh named source layers, preserving other evidence.

Read the full file on GitHub · 51 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 a88f041c9421
  2. yesterday Changed 2f03a57d5ad5
  3. 2d ago Changed 4ecd688626da
  4. 3d ago Changed 9765577479e8
  5. 10d ago Changed a9c0fb56a6d8
  6. 15d ago First seen · 51 lines · 39 tokens per session scan A b914056d339c

Subscribe to this mod's changes

convention-setup is a skill published in the GitHub repository kochetkov-ma/claude-brewcode (32 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,191 once invoked, about $0.0002 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-10-01.

Related

Other skills, from other repositories

work-planning

Design the complete work hierarchy for a Paperclip company — Goals, Projects, and Tasks as a unified top-down planning workflow. Produces .planning.json for deterministic generation of goals/, projects/, and tasks/ directories. Use when creating a new company's work plan, reorganizing work structure, or linking goals…

lukaskellerstein/claude-my-marketplace · 70 tokens

leadership

Executive leadership expertise for decision-making, change management, crisis management, stakeholder management, team building, and organizational leadership. Use when leading teams, managing change, navigating crises, or developing leadership skills.

travisjneuman/.claude · 42 tokens

product-management

Product management expertise for product strategy, roadmap planning, feature prioritization (RICE, ICE, MoSCoW), customer research, A/B testing, product analytics, and product-market fit. Use when building product roadmaps, prioritizing features, or defining product strategy.

travisjneuman/.claude · 58 tokens

atlas-present

Generate a polished HTML presentation page and Obsidian Canvas for big releases — new products, takeovers, major migrations. Non-technical audience. Use when asked to "present this", "release announcement", "show what we built", or "stakeholder update".

tonone-ai/tonone · 56 tokens

crest-narrative

Strategic narrative — write a standalone strategy memo that frames product direction, bets, and rationale for a planning horizon. Use when asked to "write a strategy doc", "product vision", "strategic narrative", "company strategy memo", "planning memo", or "explain our product direction".

tonone-ai/tonone · 64 tokens

hermit-scribe

File a GitHub issue or post a comment on an existing issue via a GitHub App bot identity. Use when the operator says "file as a GH issue", "open an issue for PROP-NNN", "report this to the tracker", "add a comment to issue.

gtapps/claude-code-hermit · 60 tokens