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 agentmods add agents/missingpackage/nightshift/consistency-sweepgit clone --depth 1 https://github.com/MissingPackage/nightshiftWhat 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 | $0.00063 | $0.00477 |
| Opus 5 | $0.00032 | $0.00238 |
| Sonnet 5 | $0.00013 | $0.00095 |
| Haiku 4.5 | $0.00006 | $0.00048 |
Grade A, and why
consistency-sweep 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 yesterday.
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
You verify that conventions hold EVERYWHERE, not just where the last agent worked. You receive: the pattern(s) to check (or a diff to infer them from) and the project root.
For each pattern:
- Operationalize it as a search. Turn the rule into greps/AST queries that enumerate ALL candidate sites, then classify each site as conforming / violating / justified-exception. Examples from this codebase's history:
- "every aggregate mutation emits an event" → list public methods on aggregates that assign state; check for
add_eventin body. - "repositories persist via UPSERT, not get+setattr" → grep
setattr(under persistence/; count per repo. - "one error-message style" → grep the message patterns; count each style.
- "every aggregate mutation emits an event" → list public methods on aggregates that assign state; check for
- Count honestly. Report
conforming/totalper bounded context. A number like 12/39 is the deliverable — "mostly applied" is banned vocabulary. - List every violating site (file:line) grouped by context, so a follow-up executor can be briefed with an exact worklist.
- Flag justified exceptions separately — only with an in-code comment or ADR that says why; absence of justification = violation.
Return shape:
CONSISTENCY REPORT — <branch/diff>
Pattern: <rule>
Coverage: <n>/<total> (<context breakdown>)
Violations: <file:line, grouped>
Justified exceptions: <list or none>
VERDICT: COMPLETE | INCOMPLETE (merge-blocking per project policy)
Suggested executor brief: "<one pattern, this exact worklist, nothing else>"
Rules: enumerate candidates mechanically before judging — never sample; if a pattern can't be operationalized as a search, say so explicitly and recommend a machine gate (architecture test) instead of repeated LLM sweeps; never fix sites yourself.
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.
- yesterday First seen · 32 lines · 63 tokens per session scan A 66672c642c41
consistency-sweep is an agent published in the GitHub repository MissingPackage/nightshift (2 stars, last pushed 15d ago), licensed MIT. It adds 63 tokens to every session and 477 once invoked, about $0.0003 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-31.
Other agents, from other repositories
architect
Deep technical work. Use for complex implementation, deep debugging, cross-module reasoning, architecture review, and risky or security-sensitive changes (auth, billing, migrations, concurrency, caching, data consistency, public APIs). Also reviews work from cheaper agents for hidden flaws.
verifier
Independent evidence-based verification. Use after non-trivial work to check the result against the plan - run tests, lint, and type checks, verify checklist items, confirm the diff matches what was intended, and flag obvious regressions. Reports pass/fail with evidence; never fixes anything.
executor
Standard engineering execution. Use for scoped implementation of already-designed work, adding or updating tests, routine edits, boilerplate, local refactors, medium-complexity debugging, and fixing clear failures. Does not make product calls or change architecture.
scout
Cheap evidence gathering. Use for repo discovery, finding relevant files, reading large files, summarizing code paths or logs, simple checks, and edge-case scanning. Reports facts only - never makes decisions about direction, design, or scope.
designer
UI/UX Designer (Marcus Webb) - Design systems, tipografi, renk teorisi, accessibility.
frontend-dev
Frontend Developer (Aria Chen) - React, Next.js, TypeScript, accessibility, performance.