conventions-adherence

conventions-adherence is a skill for Claude Code, Codex from Karthick-Ramachandran/persist-os. It costs 60 tokens per session (363 once invoked), scanned A, original, MIT.

A review skill that checks a code change against the repository's documented names, shared building blocks, and design rules. It uses `CONVENTIONS.md`, a file that records those project conventions.

In plain words
What is it for?
It is for reviewing completed changes, checking naming and reuse, identifying anti-patterns, and suggesting updates when a genuinely new shared building block is needed.
Why use it?
It catches new names, helpers, or patterns that duplicate existing ones or conflict with the project's agreed rules.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It is for reviewing completed changes, checking naming and reuse, identifying anti-patterns, and suggesting updates when a genuinely new shared building block is needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/karthick-ramachandran/persist-os/conventions-adherence
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 Karthick-Ramachandran/persist-os --skill conventions-adherence
Clone the repo
git clone --depth 1 https://github.com/Karthick-Ramachandran/persist-os

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 conventions-adherence

README.md
[![agentmods](https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/conventions-adherence/github.svg)](https://agentmods.dev/skills/karthick-ramachandran/persist-os/conventions-adherence)
Your own site
<a href="https://agentmods.dev/skills/karthick-ramachandran/persist-os/conventions-adherence"><img src="https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/conventions-adherence/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 conventions-adherence

Your own site · 80×15
<a href="https://agentmods.dev/skills/karthick-ramachandran/persist-os/conventions-adherence"><img src="https://agentmods.dev/badge/skills/karthick-ramachandran/persist-os/conventions-adherence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 363 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.00060 $0.00363
Opus 5.5 $0.00024 $0.00145
Sonnet 5.5 $0.00012 $0.00073
Haiku 4.5 $0.00006 $0.00036

Measured 26d ago against content hash 54fa24ba3ed8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

conventions-adherence 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 26d 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/skills/conventions-adherence/SKILL.md · 40 lines

What it actually says

Goal

Verify a change reuses the repository's named vocabulary instead of inventing new patterns.

Workflow

  1. Review with fresh context: a separate pass from the one that wrote the change.
  2. Read the Canonical Primitives, Naming Conventions, Rules, and Anti-Patterns sections of CONVENTIONS.md.
  3. For each new component, helper, client, type, or pattern, check whether a named primitive already exists.
  4. Check naming against the documented conventions.
  5. Flag reinvention, divergent naming, and anti-pattern use, each naming the primitive or rule.
  6. Propose a CONVENTIONS.md update when the change establishes a genuinely new shared primitive.

Decisions

  • If CONVENTIONS.md is missing or still a template → report that first; there is nothing to review against.
  • If a convention conflicts with an accepted ADR → the ADR wins; stop and ask for a human decision.

Verification

  • Every finding cites a specific primitive, naming rule, or anti-pattern.
  • Reinvention of an existing primitive is caught or explicitly absent.
  • New shared primitives are proposed for documentation, not silently accepted.

Resources

  • For the vocabulary → docs/60-engineering/CONVENTIONS.md
  • For past mistakes → docs/60-engineering/LESSONS.md

Output

  • Finding list citing primitives or rules, or an explicit all-clear.
  • Proposed CONVENTIONS.md update when one earned it.
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. 26d ago First seen · 40 lines · 60 tokens per session scan A 54fa24ba3ed8

Subscribe to this mod's changes

conventions-adherence is a skill published in the GitHub repository Karthick-Ramachandran/persist-os (9 stars, last pushed 3d ago), licensed MIT. It adds 60 tokens to every session and 363 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-09-21.

Related

Other skills, from other repositories

evidence-anchors

Ground documents in verifiable citations. Use whenever writing or editing ANY document a human will approve or review that asserts something about the EXISTING codebase — a design doc, proposal, RFC, ADR, risk assessment, a PLAN (including plan mode), or a PR DESCRIPTION. Load-bearing claims must carry Evidence…

armanfatemi/nullius · 104 tokens

setup

Guided onboarding for nullius in this repo — detects test frameworks to propose Oracle config, offers the GitHub Action CI check, and walks through enabling the hook plugin. Use when a user asks to set up, install, enable, configure, or onboard nullius, or asks what nullius needs to be fully working here.

armanfatemi/nullius · 68 tokens

architecture-governance

Keep code changes conformant to a repo's real, declared architecture using ArchSteer. Use when starting work in an unfamiliar repo, before finishing/committing an architecturally significant change (new dependency, new data access, new external call, new layer), or when asked about a codebase's architecture, layers…

einvoice-dev1/archsteer · 73 tokens

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

code-review

You are a senior code reviewer. You receive diffs via stdin.

jrswab/axe · 0 tokens