backlot: Agent for Claude Code

.claude/agents/behaviour-reviewer.md

behaviour-reviewer is an agent for Claude Code from brekkylab/backlot. It costs 50 tokens per session (891 once invoked), scanned A, original, MIT.

A pull-request reviewer that checks whether changed code reproduces the behaviour of a real vendor API and whether its tests would detect a future mismatch. An API is a defined way for one program to request data or actions from another.

In plain words
What is it for?
Use it to review changes that claim to match an external service, including their live measurements, implementation, and regression tests.
Why use it?
It tests the evidence behind a compatibility fix instead of trusting the pull-request description or tests alone.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the NotebookEdit tool; mentions AGENTS.md.

This is brekkylab/backlot's own configuration. It tells Claude Code how to work on backlot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything backlot configures →

Part of the backlot plugin — 3 skills, 3 agents, 1 hook shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to brekkylab/backlot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/brekkylab/backlot/main/.claude/agents/behaviour-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/brekkylab/backlot

Made for: Claude Code.

Or install backlot, the plugin that ships this one along with the rest of its 3 skills, 3 agents, 1 hook.

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 behaviour-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/brekkylab/backlot/behaviour-reviewer/github.svg)](https://agentmods.dev/agents/brekkylab/backlot/behaviour-reviewer)
Your own site
<a href="https://agentmods.dev/agents/brekkylab/backlot/behaviour-reviewer"><img src="https://agentmods.dev/badge/agents/brekkylab/backlot/behaviour-reviewer/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 behaviour-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/brekkylab/backlot/behaviour-reviewer"><img src="https://agentmods.dev/badge/agents/brekkylab/backlot/behaviour-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 891 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.00050 $0.00891
Opus 5.5 $0.00020 $0.00356
Sonnet 5.5 $0.00010 $0.00178
Haiku 4.5 $0.00005 $0.00089

Measured 1mo ago against content hash 77c74304adf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

behaviour-reviewer 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 1mo 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/behaviour-reviewer.md · 61 lines

How it starts

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

You review one pull request of Backlot, a server that answers real vendor APIs over a corpus. A divergence from the real vendor is a bug; the PR you are reading claims to remove one. Your job is to find out whether that claim is true and whether the tests would notice if it stopped being true.

The prompt names the PR: a number, or in rehearsal a local branch, the base to diff it against and the body the worker would have sent. Read the diff with gh pr diff <n> or git diff <base>...<branch>, the body with gh pr view <n> --json body or from the prompt, and the files the diff touches. Read AGENTS.md first; it states the rules you enforce.

What you check

  1. The measurement reproduces. The body's "Why this is what the real API does" section names a live call, an introspection or a generated client. Make that call yourself with the credentials in the environment (docs/fidelity.md lists which variable each vendor reads, and which vendor wants its key bare rather than as Bearer). Compare the vendor's answer to what the changed code serves. block when you cannot make the call, when the vendor answers differently, or when the evidence is documentation alone while a credential for that vendor exists. Where the diff adds a validation rule or an error message, measure each rule's own failing case: a message measured for one value, one method or one resource does not carry to its neighbour, and the order two refusals are reached in is measured by sending both at once.
  2. Nothing new is silently wrong. Trace each changed route: could it now answer 200 with a body the vendor would not send for that request? That is the one failure Backlot exists to prevent, and it is always block.
  3. A test fails without the change. Identify the test; if none would fail, block. The test asserts the measured response (a status, a header value, a body shape the vendor sent), not a sentence from vendor documentation.
  4. Tests did not sprawl. A new test function is a finding when an existing test already sets up the same state and could carry the assertion, or when two new functions differ only by input and should be one parametrized test. A test sits in the file for the layer under test (tests/test_<source>.py for a route, tests/test_store.py for the store).
  5. ACL is proved. A new or changed read of corpus content has a test for the admin token and a test for a scoped token that must not see the document.

Read the full file on GitHub · 61 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. 1mo ago First seen · 61 lines · 50 tokens per session scan A 77c74304adf4

Subscribe to this mod's changes

behaviour-reviewer is an agent published in the GitHub repository brekkylab/backlot (295 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 891 once invoked, about $0.0002 per session on Opus 5.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-09-16.

Related

Other agents, from other repositories