Agent-First-Organization: Skill for Claude Code

.claude/skills/pre-review/SKILL.md

pre-review is a skill for Claude Code from arklexai/Agent-First-Organization. It costs 19 tokens per session (419 once invoked), scanned A, original, MIT.

A pre-pull-request checklist for a Python project. It checks code style, formatting, tests, test coverage, branch naming, and a suitable Conventional Commits title, a standard format for commit messages.

In plain words
What is it for?
Use it to inspect branch changes, run Ruff checks, run the test suite, verify at least 45% coverage, validate the branch name, and draft a pull-request title.
Why use it?
It catches common problems before a pull request is opened and makes the branch easier to review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

This is arklexai/Agent-First-Organization's own configuration. It tells Claude Code how to work on Agent-First-Organization itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Agent-First-Organization configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arklexai/Agent-First-Organization. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arklexai/Agent-First-Organization/main/.claude/skills/pre-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arklexai/Agent-First-Organization

Made for: Claude Code.

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 pre-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/arklexai/agent-first-organization/pre-review/github.svg)](https://agentmods.dev/skills/arklexai/agent-first-organization/pre-review)
Your own site
<a href="https://agentmods.dev/skills/arklexai/agent-first-organization/pre-review"><img src="https://agentmods.dev/badge/skills/arklexai/agent-first-organization/pre-review/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 pre-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/arklexai/agent-first-organization/pre-review"><img src="https://agentmods.dev/badge/skills/arklexai/agent-first-organization/pre-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 419 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.00019 $0.00419
Opus 5 $0.00010 $0.00210
Sonnet 5 $0.00004 $0.00084
Haiku 4.5 $0.00002 $0.00042

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

Security

Grade A, and why

pre-review 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 10d 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.

.claude/skills/pre-review/SKILL.md · 79 lines

What it actually says

Pre-review

Run local checks to catch issues before opening a PR.

Steps

1. Check branch and changes

git branch --show-current
git status
git log --oneline main..HEAD

2. Run ruff linter

ruff check .

If there are fixable issues, run ruff check --fix . and report what was fixed.

3. Run ruff formatter

ruff format --check .

If files would be reformatted, run ruff format . and report what changed.

4. Run tests

pytest tests/ -x --tb=short

Report pass/fail count and any failures.

5. Check coverage

pytest tests/ --cov=arklex --cov-fail-under=45 --cov-report=term-missing -q

Coverage minimum is 45%. Flag if below threshold.

6. Validate branch name

Branch should follow <type>/<short-description> pattern, e.g. feat/add-retry.

7. Suggest PR title

Based on the commits on this branch, suggest a Conventional Commits title:

  • Format: <type>(<scope>): <description>
  • Max 72 characters
  • Types: feat, fix, docs, chore, ci, build, refactor, test, perf, style, revert

8. Report

Summarize results:

Lint:     pass/fail
Format:   pass/fail
Tests:    X passed, Y failed
Coverage: XX% (minimum 45%)
Branch:   <name> (valid/invalid)
Title:    <suggested title>
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. 10d ago First seen · 79 lines · 19 tokens per session scan A ef944e2a2289

Subscribe to this mod's changes

pre-review is a skill published in the GitHub repository arklexai/Agent-First-Organization (699 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 419 once invoked, about $0.0001 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-30.