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.
curl -O https://raw.githubusercontent.com/arklexai/Agent-First-Organization/main/.claude/skills/pre-review/SKILL.mdgit clone --depth 1 https://github.com/arklexai/Agent-First-OrganizationWrote 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.
[](https://agentmods.dev/skills/arklexai/agent-first-organization/pre-review)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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>
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.
- 10d ago First seen · 79 lines · 19 tokens per session scan A ef944e2a2289
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.
Other skills, from other repositories
review-implement-phase
Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.
github-pr-workflow
Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.
review-delta
Review only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.
github-contributor
End-to-end playbook for shipping high-quality pull requests to open-source projects you don't maintain — discovery, CONTRIBUTING compliance, PR-size check, minimal-diff implementation, PR description with AI-assisted disclosure, conflict resolution, and post-submission maintainer interaction. Use whenever creating…
pr-pending-feedback
Evaluate pending (unsubmitted) review comments on the current branch's PR and, after user confirmation, address each in a separate sub-agent and separate commit.