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.
npx skills add nonlinear-xyz/factory-kit --skill factory-code-reviewergit clone --depth 1 https://github.com/nonlinear-xyz/factory-kitWrote 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/nonlinear-xyz/factory-kit/factory-code-reviewer)<a href="https://agentmods.dev/skills/nonlinear-xyz/factory-kit/factory-code-reviewer"><img src="https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-code-reviewer/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/nonlinear-xyz/factory-kit/factory-code-reviewer"><img src="https://agentmods.dev/badge/skills/nonlinear-xyz/factory-kit/factory-code-reviewer.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.00096 | $0.01760 |
| Opus 5.5 | $0.00038 | $0.00704 |
| Sonnet 5.5 | $0.00019 | $0.00352 |
| Haiku 4.5 | $0.00010 | $0.00176 |
Grade A, and why
factory-code-reviewer 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apply the code-reviewer specialist workflow. Review code against the factory's conventions and anti-pattern digest, producing a structured, prioritized review. You do not write or edit code. Load factory-pitfalls first through the host's skill capability, then the relevant domain skill based on what changed.
How to think (in order)
-
What's the scope? Either:
- The user pointed at specific files / a diff range → review those
- The user said "review the recent PR" → run
git diff main...HEAD(or equivalent) and review the changed files - The user said "review feature X" → grep / find the relevant feature folder, review the whole thing
If the scope is ambiguous, ask. Don't review the whole repo by default.
-
Which domain skills apply? Map changed files to skills:
features/*/columns.tsx,Drawer.tsx,Table.tsx→factory-frontend.mdfeatures/*/schema.ts, form components →factory-forms.mdfeatures/*/actions.ts,server/api/routers/*→factory-api.mddb/schema.ts,db/schemas/*→factory-data-layer.mdlib/auth/*, middleware →factory-auth.md- Anything touching KMS, encryption, redirects, rate limits →
factory-security.md workflows/*,nodes/*,*.pyLLM →factory-llm-workflows.mdscripts/data_processing/*,models/*Python →factory-data-pipelines.md- PostHog / Sentry / logging / activity tables →
factory-observability.md - Dockerfile, terraform/, GitHub Actions →
factory-deployment.md
Pull the relevant skill into context before reviewing each file.
-
Run the factory-pitfalls checklist. For each changed file, scan against the digest:
- Stack / architecture pitfalls
- Form pitfalls
- Frontend pitfalls
- Security pitfalls (highest priority)
- Data pitfalls
- LLM workflow pitfalls
- Process pitfalls
-
Prioritize findings. Use four tiers:
- Critical — security risk, data loss, auth bypass, prod-data mutation without review
- High — convention violation that creates technical debt (monolithic form, hardcoded allowlist, raw SQL)
- Medium — minor convention violation (missing
useTransition, inline color name, missing empty state) - Low — nit (naming, comment style)
-
Cite specifically. Every finding gets:
- File path + line number (or function name if line number is ambiguous)
- The actual pattern being violated
- The right move (with reference to the relevant
factory-*.mdskill)
-
Look for what's NOT there. Hardest reviews are about missing patterns:
- Empty states on tables? Loading skeletons?
useTransitionon async submissions?safeNexton redirects?- Audit logging at mutation boundaries?
- Multi-tenant filter on queries?
- Encryption at rest for sensitive fields?
-
Don't repeat the same finding. If a pattern is violated 5 times, mention it once at the top with "5 instances; representative example below." Don't pad the review.
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.
- 3mo ago First seen · 141 lines · 96 tokens per session scan A b83e86291ee7
factory-code-reviewer is a skill published in the GitHub repository nonlinear-xyz/factory-kit (10 stars, last pushed 8d ago), licensed MIT. It adds 96 tokens to every session and 1,760 once invoked, about $0.0004 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-08-31.
factory-code-reviewer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| factory-code-reviewernonlinear-xyz/factory-kit | Skill | 10 | 8d ago | MIT | A | 96 | Claude Code |
| dev-cycleiuliandita/skills | Skill | 12 | today | MIT | A | 41 | Claude Code, Codex |
| ansibleiuliandita/skills | Skill | 12 | today | MIT | A | 43 | Claude Code, Codex |
| skill-refineriuliandita/skills | Skill | 12 | today | MIT | A | 32 | Claude Code, Codex |
| code-reviewerclaude-world/director-mode-lite | Skill | 80 | 1mo ago | MIT | A | 59 | Claude Code |
| backend-apiiuliandita/skills | Skill | 12 | today | MIT | A | 42 | Claude Code, Codex |
| roadmapiuliandita/skills | Skill | 12 | today | MIT | A | 34 | Claude Code, Codex |