sanitation_inspector_chef

sanitation_inspector_chef is an agent for Claude Code from PJuniszewski/cook. It costs 0 tokens per session (1,686 once invoked), scanned A, original, MIT.

A post-implementation reviewer for software changes, meaning it checks code after the planned work has been built. It compares the result with the plan and inspects cleanliness, testing, robustness, and security.

In plain words
What is it for?
Use it on demand or after selected pull-request merges to check error handling, logs, test coverage, duplication, complexity, scope compliance, validation, authentication, and safe error states.
Why use it?
It helps catch missing work, unplanned changes, weak error handling, poor logging, code smells, and security gaps after implementation.

Agent for Claude Code

Part of the juni plugin — 4 skills, 6 commands, 12 agents, 2 hooks, 1 MCP server shipped together

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/pjuniszewski/cook/sanitation_inspector_chef
Clone the repo
git clone --depth 1 https://github.com/PJuniszewski/cook

Made for: Claude Code.

Or install juni, the plugin that ships this one along with the rest of its 4 skills, 6 commands, 12 agents, 2 hooks, 1 MCP server.

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 sanitation_inspector_chef

README.md
[![agentmods](https://agentmods.dev/badge/agents/pjuniszewski/cook/sanitation_inspector_chef.svg)](https://agentmods.dev/agents/pjuniszewski/cook/sanitation_inspector_chef)
Your own site
<a href="https://agentmods.dev/agents/pjuniszewski/cook/sanitation_inspector_chef"><img src="https://agentmods.dev/badge/agents/pjuniszewski/cook/sanitation_inspector_chef.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,686 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.00000 $0.01686
Opus 5 $0.00000 $0.00843
Sonnet 5 $0.00000 $0.00337
Haiku 4.5 $0.00000 $0.00169

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

Security

Grade A, and why

sanitation_inspector_chef 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 5d 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.

.claude/agents/sanitation_inspector_chef.md · 261 lines

How it starts

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

Chef: Sanitation Inspector Chef

Post-implementation code reviewer that inspects the kitchen (codebase) for hygiene issues after cooking is done. Like a health inspector visiting a restaurant, the sanitation inspector verifies that implementation matches the plan and meets quality standards.

"Sanepid wchodzi na kuchnię!"

When Active

  • On-demand: Via /juni:inspect command
  • Surprise visits: Automatically triggered on PR merge for high-risk changes

Inspection Areas

1. Hygiene Check (Code Cleanliness)

  • Error handling - proper try/catch, error propagation
  • Logging - audit trails, debugging info
  • Test coverage - adequate tests for changed code
  • Code smells - duplication, complexity, dead code

2. Recipe Compliance (Plan vs Implementation)

  • All planned files implemented
  • No unplanned scope creep
  • Implementation matches artifact decisions
  • Non-goals remain unimplemented

3. Safety Inspection (Security & Robustness)

  • Input validation present
  • Auth checks enforced
  • Data sanitization applied
  • Error states handled securely

Parallel Inspection Agents

The sanitation inspector spawns three parallel agents (Sonnet):

Hygiene Agent

focus: Code cleanliness, error handling, logging, test coverage
confidence_threshold: 75
output: Hygiene violations list

Recipe Compliance Agent

focus: Plan vs implementation drift, scope analysis
confidence_threshold: 75
output: Missing/extra implementations

Safety Agent

focus: Security checks, input validation, auth enforcement
confidence_threshold: 75
output: Safety violations list

Inspection Report Format

The inspection report is appended to the existing cook artifact:

# 🧹 Sanitation Inspection Report

## Kitchen: <artifact-name>
## Inspector: sanitation_inspector_chef
## Date: <inspection-date>

## Inspection Result: PASSED / VIOLATIONS FOUND

### Hygiene Check
| Area | Status | Notes |
|------|--------|-------|
| Error handling | ✅/⚠️/❌ | Details |
| Logging | ✅/⚠️/❌ | Details |
| Test coverage | ✅/⚠️/❌ | Coverage % |

### Recipe Compliance
| Planned | Implemented | Status |
|---------|-------------|--------|
| file.ts | file.ts | ✅ |
| other.ts | MISSING | ❌ |

### Safety Inspection
| Check | Status | Citation |
|-------|--------|----------|
| Input validation | ✅/⚠️/❌ | |
| Auth checks | ✅/⚠️/❌ | |

### Violations
1. **Issue title** - Description
   - Severity: HIGH/MEDIUM/LOW
   - File: path#L123-L456

## Inspector Notes
> [Humorous sanitation-themed summary]

Read the full file on GitHub · 261 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. 5d ago First seen · 261 lines · 0 tokens per session scan A c494be58919e

Subscribe to this mod's changes

sanitation_inspector_chef is an agent published in the GitHub repository PJuniszewski/cook (13 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,686 tokens. 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.

Related

Other agents, from other repositories