review-consolidate
Review many repos under every lens — one OS process per (repo × lens), all in parallel — then consolidate every findings.json into ONE cross-repo document…
Skill by gbencke
Chalk Labs
Need help deploying review-consolidate?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gbencke-review-consolidate
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/review-consolidate
What's inside
- Skill name
review-consolidate- Description
- Review many repos under every lens — one OS process per (repo × lens), all in parallel — then consolidate every findings.json into ONE cross-repo document grouped by severity then repo. Spawns subprocesses, never subagents. Trigger: /review-consolidate <repo> [<repo>...] --out <file.md>, "review these repos and consolidate the findings".
- License
- MIT
- Instructions
- 189 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# review-consolidate — run the matrix, then write one document
Two jobs, in order: **fan out the reviews as parallel subprocesses**, then
**merge their findings into one document**. You review no code yourself.
**Subprocesses, not subagents.** Never use the `Agent` tool. Every review runs
as its own `claude -p` process, one per (repo × lens), launched by
`BASE_DIR/bin/run-matrix.sh` (ADR 0004).
**Shared assets base dir** (`BASE_DIR` below) —
`~/.claude/skills/adversarial-review/`: `CONTEXT.md` (glossary), `agents/`
(reviewer, challenger, judge role packs), `lenses/` (15 lenses), `bin/run-matrix.sh`
(the matrix launcher).
## Phase 0 — Arguments (repos and --out are required)
Parse the argument string:
- **repo paths** — one or more, positional. **Required.** At least one.
- `--out <file>` — the consolidated document path. **Required.**
- `--lenses a,b,c` — restrict the matrix to these lenses. Default: every lens
except the change-only ones (`test-surface`, `blast-radius`).
- `--no-run` — skip Phase 1; consolidate reports already on disk.
- `--all` — include every report found, not just the newest per (repo, lens).
Stop immediately, with usage, if no repo path is given or `--out` is missing:
> review-consolidate needs repos and an output path:
> `/review-consolidate <repo> [<repo>...] --out <file.md>`
Never guess a default output path and never default the repo list to the
current directory — a consolidated doc written somewhere unexpected, or built
from the wrong repo set, is worse than an error.
Resolve every repo path to absolute. A path that does not exist is a hard error
(name it, list the ones that do). Accept a directory prefix (`307`) only if it
resolves to exactly one directory; if it matches zero or several, error and list
what it matched.
Pick a run stamp (`date +%Y%m%d-%H%M%S`) and a log dir next to `--out`:
`<dirname of --out>/review-matrix-<stamp>.logs`.
## Phase 1 — Run the matrix (parallel subprocesses)
Skip this phase entirely when `--no-run` was passed.
Run the launcher — ONE command, one bash call, it blocks until every child is
done. Do not hand-roll the fan-out and do not launch the children one at a time:
```bash
BASE_DIR/bin/run-matrix.sh --runner claude --log-dir <logdir> \
[--lenses a,b,c] <repo> [<repo>...]
```
`--runner claude` is required: the launcher defaults to `pi`.
What the script does, so you do not re-implement it:
- one `claude -p` review process per (repo × lens),
every one launched before it waits — unbounded parallelism, by design;
- one log per pairing at `<logdir>/<repo>-<lens>.log`;
- `<logdir>/manifest.tsv` with `repo, lens, exit, seconds, report, log`, where
`report` is the `REPORT: ` path each child printed (`none` if it printed none).
The run is long. Use a generous timeout on the bash call and do not poll,
interrupt, or re-run it — a second launch doubles the load on every repo.
Read `manifest.tsv` when it returns. A non-zero `exit` or a `none` report is a
failed pairing: keep its repo, lens, and log path for the **Not consolidated**
section. Never silently drop it and never re-run it — a report that says "the
security lens failed here" is honest; a report missing the security lens lies.
## Phase 2 — Collect the sidecars
For each repo, list `<repo>/.gbencke/adversarial-review/reports/*.findings.json`.
- Prefer the sidecar next to each `report` path from the manifest (same basename,
`.findings.json`) — that is exactly this run's output.
- With `--no-run`, or for a pairing whose manifest report is `none`, fall back to
the **newest sidecar per lens slug** (the
`<stamp>-<target>-<lens>.findings.json` basename carries both). `--all` keeps
every sidecar instead.
- A repo with no reports dir or no sidecars is not an error — record it as
`NO REPORTS` and keep going. It is a signal (the review failed or never ran),
and hiding it would make the doc lie about coverage.
- A sidecar that is not valid JSON is recorded as `UNPARSEABLE` with its path.
Never guess at its contents.
Load them mechanically — this is data movement, not judgment:
```bash
for f in <repo>/.gbencke/adversarial-review/reports/*.findings.json; do
jq -c --arg src "$f" '{src:$src, target, mode, date, counts,
findings: [.findings[] | {severity, lenses, labels, file, line, title,
failure_condition, suggestion}]}' "$f"
done
```
Report the tally before writing: repos in, pairings run, sidecars read, findings
loaded, pairings failed.
## Phase 3 — Merge
1. Tag every finding with its repo (directory basename) and its lens (from
`lenses[]`, falling back to the sidecar's lens slug).
2. **Within a repo**, collapse duplicates: same `file` + same defect (same
title or same root cause) → one entry, lenses merged, highest severity kept.
The same file gets reviewed by several lenses, so duplicates are expected.
3. **Across repos**, never merge — each repo owns its own fix. Instead, when the
same defect class appears in ≥2 repos, label every occurrence
`[CROSS-REPO: n repos]`. That label is the reason this document exists:
a defect in three repos is a platform problem, not three tickets.
4. Preserve severities as ruled. Never re-severity a finding here — the judging
already happened, and you no longer have the code in front of you.
## Phase 4 — Write the document to `--out`
Order is fixed: severity first, repo second. Someone reading the top of this
document must see the worst thing across the whole estate.From gbencke/dotfiles, MIT.
More from gbencke/dotfiles
- 0.622score
token-diagnostics
gbencke
Diagnose where an AI coding agent's tokens go over the last 7 days and produce a standard summary with ranked optimisation findings.
SkillAFreshness: A★ 6Claude Code +9 - 0.619score
review-change
gbencke
Evidence-backed PR, branch, or patch review with cumulative finding reconciliation, invariant coverage, and sequential propose → challenge → judge phases.
SkillAFreshness: A★ 6Claude Code +9 - 0.619score
review-consolidate
gbencke
Run repository/lens reviews in separate processes, then consolidate validated, scope-aware full reports.
SkillAFreshness: A★ 6Claude Code +9 - 0.618score
daily-workstream-update
gbencke
Run the daily workstream update workflow for the Obsidian vault.
SkillAFreshness: A★ 6Claude Code +9 - 0.618score
action-items
gbencke
Manage Guilherme Bencke's personal action-item log at 00.Tasks/ACTION_ITEMS.guilherme_bencke.md.
SkillAFreshness: A★ 6Claude Code +9 - 0.582score
review-change
gbencke
Adversarial review of a change: a PR, a branch diff, or a patch file.
SkillBFreshness: B★ 6Claude Code +9 - 0.582score
spotify
gbencke
Query the Spotify Web API (search tracks/artists/albums, fetch artist, album, playlist, audio features, recommendations) using SPOTIFY_CLIENT_ID /…
SkillBFreshness: B★ 6Claude Code +9 - 0.582score
book-digest
gbencke
Research and write a 90-day digest of software-development and technology books released by O'Reilly Media, Manning, Pragmatic Bookshelf, Packt…
SkillBFreshness: B★ 6Claude Code +9 - 0.582score
daily-digest
gbencke
Generate The Architect's Digest — a daily curated briefing of the most relevant stories in architecture, distributed systems, cloud, languages, tooling, AI…
SkillBFreshness: B★ 6Claude Code +9 - 0.579score
review-repo
gbencke
Adversarial review of an entire repository, run inline in a single process: propose → kill → judge, one lens per run.
SkillBFreshness: B★ 6Claude Code +9 - 0.532score
zinsser
gbencke
Rewrites text using William Zinsser's "On Writing Well" method.
SkillCFreshness: C★ 6Claude Code +9 - 0.532score
article-reorganization
gbencke
Reorganize a long, scattered Markdown article into a clean hierarchy of Parts and Chapters, then regenerate its PDF with Pandoc (--top-level-division=part).
SkillCFreshness: C★ 6Claude Code +9
Signals
- Stars
- 6
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 4, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/gbencke/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gbencke
- 0.622score
token-diagnostics
gbencke
Diagnose where an AI coding agent's tokens go over the last 7 days and produce a standard summary with ranked optimisation findings.
SkillAFreshness: A★ 6Claude Code +9 - 0.619score
review-consolidate
gbencke
Run repository/lens reviews in separate processes, then consolidate validated, scope-aware full reports.
SkillAFreshness: A★ 6Claude Code +9 - 0.619score
review-change
gbencke
Evidence-backed PR, branch, or patch review with cumulative finding reconciliation, invariant coverage, and sequential propose → challenge → judge phases.
SkillAFreshness: A★ 6Claude Code +9 - 0.618score
daily-workstream-update
gbencke
Run the daily workstream update workflow for the Obsidian vault.
SkillAFreshness: A★ 6Claude Code +9 - 0.618score
action-items
gbencke
Manage Guilherme Bencke's personal action-item log at 00.Tasks/ACTION_ITEMS.guilherme_bencke.md.
SkillAFreshness: A★ 6Claude Code +9 - 0.582score
spotify
gbencke
Query the Spotify Web API (search tracks/artists/albums, fetch artist, album, playlist, audio features, recommendations) using SPOTIFY_CLIENT_ID /…
SkillBFreshness: B★ 6Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get review-consolidate running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
review-consolidate skill. Agent Mart. https://agentmart.dev/skills/gbencke-review-consolidate (last updated 2026-10-24)