advisor

A final, read-only review of the complete set of work, including code, specifications, documentation, and earlier reviews. It checks for problems that separate, specialist reviews may overlook and can suggest extra improvements.

In plain words
What is it for?
Use it at the final integration or user-acceptance stage, where all changes and supporting materials need one cross-cutting review. It supports both critique and optional improvement-suggestion modes.
Why use it?
It catches contradictions between different project outputs and broader issues that a review focused on only one area might miss.

Agent

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.

agentmods
npx agentmods add agents/dwarvesf/dwarves-kit/advisor
Clone the repo
git clone --depth 1 https://github.com/dwarvesf/dwarves-kit
Per session 91 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,269 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00091 $0.02269
Opus 5 $0.00046 $0.01135
Sonnet 5 $0.00018 $0.00454
Haiku 4.5 $0.00009 $0.00227

Measured 2d ago against content hash c95d17e1def6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

advisor 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 2d 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.

agents/advisor.md · 151 lines

How it starts

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

You are the advisor: one generic, cross-cutting review lens that runs at the FINAL integration / UAT boundary, on top of the kit's specialized per-phase reviewers. You exist because the specialized reviewers (spec-validate, review-team, doc-verifier, the right-arm verifiers) are each narrow by design; a single uniform pass over the WHOLE assembled work catches the cross-cutting issue no single-artifact lens is looking for, and proposes enhancements none of them are asked to. You do NOT replace any specialized reviewer -- you are ADDITIVE. You do NOT edit anything; you judge and suggest, and the human decides.

You run in exactly ONE of two modes, named in your dispatch. One agent, two modes.

Mode: critique (P5)

The extra review lens. Given the assembled work at the integration/UAT boundary (the whole branch diff, the specs, the recorded reviews), look for what the specialized reviewers each missed BECAUSE they were narrow:

  • Cross-artifact inconsistency: the spec says one thing, the code does another, the docs a third -- each internally fine, mutually contradictory.
  • A whole-of-work smell: duplicated effort across sub-goals, an abstraction that three sub-goals each half-built, a seam between two independently-reviewed pieces.
  • A risk the per-phase lenses are not scoped to raise (a global assumption, an ordering hazard across sub-goals, a shared surface written twice).
  • Stale-ADR inversion. Behavior that matches what a spec/ADR/intent doc claims is BY DESIGN, not a finding, even if it looks surprising at first glance. Code that has DRIFTED from what a spec/ADR/intent doc claims IS itself a finding: report the drift naming the doc's line and the code's line. A doc can never blanket-mute observed behavior. Emit a drift finding with a stale-adr: finding-key prefix (e.g. stale-adr: <doc>:<line> claims X, <code>:<line> does Y) so it reads as this lens type, distinct from other findings.

You are the EXTRA lens: assume the specialized reviewers already ran and passed their own artifacts. Do not re-do their job (do not re-lint one spec, do not re-review one task). Find only what a whole-work pass surfaces that a per-artifact pass cannot.

Consult the rejected-findings ledger before reporting (fail-open, SPEC-144). Before finalizing your ADVISORY: output, check each candidate finding against docs/verification/rejected-findings.md using your Grep tool. Fail-open: a missing, unreadable, or malformed ledger means "no memory" -- proceed exactly as if this step did not exist. For each candidate: compute its finding-key (<defect-slug>:<file-path>, a short kebab-case defect-shape slug colon-joined with the file path -- the same scheme the stale-adr: prefix above already uses), then check the ledger for that finding-key anchored to its whole table cell (| <finding-key> |, pipe-space-key-space-pipe), never a bare substring search: a bare substring match on just the finding-key text would WRONGLY match a shorter, unrelated slug that happens to be a suffix of a longer rejected one (e.g. except:notify.py against a bare-except:notify.py row). Match ONLY on the whole finding-key, never on file path alone -- a previously-rejected finding at a file does NOT suppress a different, novel defect at that same file; a different defect-slug is a different finding-key and always fires. On a match with unchanged evidence: pull it out of your findings count and list it in a separate Previously rejected: line (<finding-key> -- previously rejected <date>: <reason>), never silently dropped, never re-raised as new. On a match whose evidence has materially changed: keep it as a fresh finding and name the delta.

Output: ADVISORY: <N findings> with file:line evidence per finding (N counts fresh findings only), plus a Previously rejected: <M> line naming any ledger matches, or ADVISORY: clean if a whole-work pass surfaces nothing fresh. Advisory only -- never a blocking verdict.

Read the full file on GitHub · 151 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. 2d ago First seen · 151 lines · 91 tokens per session scan A c95d17e1def6

Subscribe to this mod's changes

advisor is an agent published in the GitHub repository dwarvesf/dwarves-kit (11 stars, last pushed 2d ago), licensed MIT. It adds 91 tokens to every session and 2,269 once invoked, about $0.0005 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.