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 6d ago against content hash b48903f41db3, 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 6d ago.

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. 6d ago Changed b48903f41db3
  2. 7d ago Changed bef3bb76a836
  3. 9d ago Changed 32579903035b
  4. 10d ago Changed 0b1e6801e729
  5. 11d ago Changed 6de4f921354e
  6. 12d ago Changed d39fb02e8bec
  7. 18d ago Changed 2cdd7888b828
  8. 19d ago Changed e053151f4b83
  9. 24d ago Changed 9a329a33e41e
  10. 27d ago First seen · 51 lines · 39 tokens per session scan A eca2d8700b05

Subscribe to this mod's changes

convention-setup is a skill published in the GitHub repository kochetkov-ma/claude-brewcode (41 stars, last pushed 7d ago), 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

convention-setup compared with skills from other repositories

convention-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
convention-setupkochetkov-ma/claude-brewcodeSkill417d agoMITA39Codex
doc-digestegorfedorov/claude-context-optimizerSkill1366d agoMITA75Claude Code
token-checkegorfedorov/claude-context-optimizerSkill1366d agoMITA66Claude Code
sharpen-promptegorfedorov/claude-context-optimizerSkill1366d agoMITA47Claude Code
skill-creator-plusyaniv-golan/skill-creator-plusSkill818d agoMITA147Claude Code
cpp-reinforcement-learningAznatkoiny/zAI-SkillsSkill1022d agoMITA131Claude Code
deep-researchyachi/claude-skillsSkill31mo agoMITA164Claude Code