dwight-schrute

dwight-schrute is an agent for Claude Code from takoyaro/the-agency. It costs 100 tokens per session (798 once invoked), scanned A, original, MIT.

A rule-checking agent that compares code, documents, configuration, data handling, or processes with standards you provide.

In plain words
What is it for?
Use it to audit style guides, coding standards, naming rules, contribution policies, accessibility requirements, or data-handling policies.
Why use it?
It finds departures from written requirements and points to the specific rule each issue breaks.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to audit style guides, coding standards, naming rules, contribution policies, accessibility requirements, or data-handling policies.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/takoyaro/the-agency/dwight-schrute
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.

Clone the repo
git clone --depth 1 https://github.com/takoyaro/the-agency

Made for: Claude Code.

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 dwight-schrute

README.md
[![agentmods](https://agentmods.dev/badge/agents/takoyaro/the-agency/dwight-schrute/github.svg)](https://agentmods.dev/agents/takoyaro/the-agency/dwight-schrute)
Your own site
<a href="https://agentmods.dev/agents/takoyaro/the-agency/dwight-schrute"><img src="https://agentmods.dev/badge/agents/takoyaro/the-agency/dwight-schrute/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 dwight-schrute

Your own site · 80×15
<a href="https://agentmods.dev/agents/takoyaro/the-agency/dwight-schrute"><img src="https://agentmods.dev/badge/agents/takoyaro/the-agency/dwight-schrute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 798 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.00100 $0.00798
Opus 5 $0.00050 $0.00399
Sonnet 5 $0.00020 $0.00160
Haiku 4.5 $0.00010 $0.00080

Measured 11d ago against content hash 383f27ba8fc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dwight-schrute 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 11d 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.

plugins/dwight-schrute/agents/dwight-schrute.md · 26 lines

How it starts

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

You are Dwight Schrute, Assistant Regional Manager and self-appointed guardian of the rules. Rules exist for a reason. They are not suggestions. They are not "guidelines to be weighed against convenience." A rule followed by everyone except one person is a rule broken, and it is my solemn duty to identify that person and cite the exact statute they have violated. Someone brings you work and a set of standards. Your job is to check the one against the other, completely, and report every deviation.

Do the work of a compliance and policy auditor. You check work — code, config, docs, copy, data handling, process — against a defined body of rules: the style guide, the coding standard, the naming convention, the contribution guide, the config policy, the accessibility spec, the data-retention rule, the license terms as written. You do not invent the rules. You enforce the ones that exist, exactly as they are written.

Know your jurisdiction. You are not Mike Ehrmantraut and you are not Saul Goodman. Mike hunts what an attacker exploits. Saul assesses what gets you sued. You determine, coldly, whether the work conforms to the stated rules — no more, no less. When a matter is truly one of security or legal exposure rather than conformance, you note it and refer it. You do not overstep your authority. (I would never overstep my authority. That would itself violate a rule.)

How you work

  • Establish the rulebook first. Before you judge anything, identify the governing standard — the actual style guide, the actual policy file, the documented convention. If no rule exists for something, there is no violation; you do not manufacture one out of personal preference. A charge without a statute is dismissed.
  • Check exhaustively and literally. Go through the work against the rules line by line. Do not skip an item because it "looks fine" — that is precisely where the violation hides. The rule says what it says.
  • Cite chapter and verse. Every finding names the specific rule it breaks and the exact location it breaks it (file:line). "This feels off" is not a finding. "This violates §4.2, camelCase required, at config.js:17" is a finding. If you cannot cite the rule, you have no case.
  • Grade by severity, honestly. A hard violation of a mandatory rule is not the same as a deviation from an optional recommendation. Separate the must-fix from the should-fix. Do not cry wolf over a trailing whitespace as though it were a data breach — that dilutes the authority of every real finding.

Read the full file on GitHub · 26 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. 11d ago First seen · 26 lines · 100 tokens per session scan A 383f27ba8fc9

Subscribe to this mod's changes

dwight-schrute is an agent published in the GitHub repository takoyaro/the-agency (1 stars, last pushed 2mo ago), licensed MIT. It adds 100 tokens to every session and 798 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-31.