factory-review

factory-review is a skill for Claude Code, Codex from tikalk/adlc-team-skills. It costs 37 tokens per session (9,004 once invoked), scanned A, original, MIT.

A pull-request review workflow that checks proposed code against an organisation's written review rules and can manage fixes before merging. A pull request is a request to merge code changes into a shared branch.

In plain words
What is it for?
Use it for pre-merge compliance reviews, tracking agent-created pull requests, and self-healing important findings when that mode is enabled.
Why use it?
It applies the same policy checks to every pull request and can address selected review findings before a human approves the merge.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it for pre-merge compliance reviews, tracking agent-created pull requests, and self-healing important findings when that mode is enabled.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikalk/adlc-team-skills/factory-review
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 tikalk/adlc-team-skills --skill factory-review
Clone the repo
git clone --depth 1 https://github.com/tikalk/adlc-team-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-review/github.svg)](https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-review)
Your own site
<a href="https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-review"><img src="https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-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 factory-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/tikalk/adlc-team-skills/factory-review"><img src="https://agentmods.dev/badge/skills/tikalk/adlc-team-skills/factory-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,004 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.00037 $0.09004
Opus 5.5 $0.00015 $0.03602
Sonnet 5.5 $0.00007 $0.01801
Haiku 4.5 $0.00004 $0.00900

Measured today against content hash f72e00ca8ba6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

factory-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 today.

The scan reads SKILL.md. This mod also ships 14 executable files (references/oracle-detector.js, scripts/bash/check-verdict-head.sh, scripts/bash/confirm-validation-label.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.

skills/factory/factory-review/SKILL.md · 266 lines

How it starts

The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.

factory-review

What this skill does

factory-review is the PR-review compliance engine of the software factory. It acts as the automated component of The Great Filter, reviewing Pull Requests against organizational policy-as-code (REVIEW.md) and babysitting agent-opened PRs until they are ready for merge.

It operates as a Kind-B control-plane skill integrated with the PR hosting provider (GitHub / GitLab) via the tracker-agnostic integration layer (factory-runbook/references/tracker-integration.md).

Requires: the factory-runbook and factory-learn skills (tracker integration, lanes, and executor contract via factory-runbook; eval-seed taxonomy in factory-learn): adlc-cli skills add tikalk/adlc-team-skills --skill factory-runbook,factory-learn

In --self-heal mode, it enters a three-sub-agent converge loop mirroring factory-mission Phase 5's test/code/converge pattern. Three separate sub-agents — Review Agent (read-only), Fix Agent (writeable src/), Converge Agent (independent judge) — are dispatched per iteration via lane-based dispatch, communicating only through the comment bus. The converge step returns DONE / CONTINUE / SPEC_CORRECTION_NEEDED, bounded by a circuit breaker and score-regression counter.

In a factory run — these rules win

You are in a factory run when ADLC_RUN_ID is set, or when the pod's WORKFLOW_INPUTS carries a run_id (every lane pod has it, review runs included) — the two cases for which the factory-runbook skill's run-context resolver prints factory_run=yes (factory-runbook/references/run-context.md). A review-lane pod whose run_id is unusable is a factory run too: WORKFLOW_INPUTS is set and your task is /factory-review --pr <ref> --head <sha>. The same arguments typed by a person in a local session (no ADLC_RUN_ID, no WORKFLOW_INPUTS) do not make a factory run: there the local-session rules — preview, then confirm — apply. In a factory run:

  1. Nobody is in this session. Never ask a question, never wait for an answer, never offer a choice. Your final message is read by no one; a status line only quotes it.
  2. factory-review owns the output. REVIEW.md and any project skill it points to (for example a project's own MR-review skill) supply checks and severities only. Their instructions about output — "show the review and wait", "post only when the user asks", "proposed comments", "nothing posted yet", a chat summary, their own heading layout — do not apply. The verdict is written in factory-review's format and posted now (§2 step 5).
  3. Safety rules that ask for a dry-run or a confirmation are local-session rules (Safety & Operating Constraints 3; tracker-integration Safety Constraint 1). In a factory run the writes factory-review owns — the verdict, the §2 step 6 labels — execute at once and are confirmed by reading them back.
  4. Project rules still bind where they restrict — what not to touch, what not to print, what never to edit. A project rule can add a check or a prohibition; it can never cancel posting the verdict.

Read the full file on GitHub · 266 lines

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. today Changed f72e00ca8ba6
  2. yesterday Changed 4666580b0bb0
  3. 7d ago Changed · +1 lines 95cf9654dc0c
  4. 8d ago Changed · +2 lines f792995f5107
  5. 9d ago Changed · +16 lines f65bcb60ffe9
  6. 10d ago Changed · +31 lines 4679c2b38072
  7. 14d ago Changed · +12 lines 140076d9bf8d
  8. 22d ago Changed 6fe6311b636c
  9. 24d ago Changed · +1 lines 05da8120e522
  10. 29d ago First seen · 203 lines · 37 tokens per session scan A 642ea32862cd

Subscribe to this mod's changes

factory-review is a skill published in the GitHub repository tikalk/adlc-team-skills (147 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 9,004 once invoked, about $0.0001 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

factory-review compared with skills from other repositories

factory-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-reviewtikalk/adlc-team-skillsSkill147yesterdayMITA37Claude Code, Codex
autofix-prQwenLM/qwen-codeSkill31ktodayApache-2.0A142Claude Code
triageQwenLM/qwen-codeSkill31ktodayApache-2.0B50Claude Code
gentle-ai-collab-perfectGentleman-Programming/gentle-aiSkill9.7ktodayMITA106Claude Code, Codex
work-unit-commitsGentleman-Programming/gentle-aiSkill9.7ktodayMITA31Claude Code, Codex
reviewing-a-prJetBrains/thinkrailSkill8.5kyesterdayApache-2.0A56Claude Code, Codex
pr-stewardagent-of-empires/agent-of-empiresSkill5.2kyesterdayMITA130Claude Code, Codex