comply

comply is a command for Claude Code from armanfatemi/nullius. It costs 33 tokens per session (1,820 once invoked), scanned A, original, MIT.

A command that checks whether a plan or code change follows the repository's rule files. A repository is the project directory and its tracked files.

In plain words
What is it for?
Use it with a plan or list of file paths to select applicable rules, inspect each rule, and produce compliance verdicts.
Why use it?
It applies rules to the files a change may touch and rechecks the results, making compliance checks repeatable.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions subagents.

Part of the nullius plugin — 2 skills, 3 commands, 7 hooks shipped together

Good fit Use it with a plan or list of file paths to select applicable rules, inspect each rule, and produce compliance verdicts.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/armanfatemi/nullius/comply
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/armanfatemi/nullius

Made for: Claude Code.

Or install nullius, the plugin that ships this one along with the rest of its 2 skills, 3 commands, 7 hooks.

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 comply

README.md
[![agentmods](https://agentmods.dev/badge/commands/armanfatemi/nullius/comply/github.svg)](https://agentmods.dev/commands/armanfatemi/nullius/comply)
Your own site
<a href="https://agentmods.dev/commands/armanfatemi/nullius/comply"><img src="https://agentmods.dev/badge/commands/armanfatemi/nullius/comply/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 comply

Your own site · 80×15
<a href="https://agentmods.dev/commands/armanfatemi/nullius/comply"><img src="https://agentmods.dev/badge/commands/armanfatemi/nullius/comply.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 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,820 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.00033 $0.01820
Opus 5.5 $0.00013 $0.00728
Sonnet 5.5 $0.00007 $0.00364
Haiku 4.5 $0.00003 $0.00182

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

Security

Grade A, and why

comply 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.

plugin/commands/comply.md · 154 lines

How it starts

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

Rule compliance is checked in deterministic steps around one dispatch step. The protocols live in the CLI so they cannot drift from the checker. Emit them and follow them exactly.

Determine the touch-list

$ARGUMENTS names either a plan and lets its touch-list be derived, or the touch-list itself:

  • If $ARGUMENTS is one or more repo-relative paths (no spaces, each ending in a known extension), use them directly as the touch-list.
  • If $ARGUMENTS names one markdown file, treat it as the plan and derive its touch-list from every backticked, repo-relative path with a known extension (.ts, .md, .json, .jsonl, .yml/.yaml, .sh) that it mentions — the same convention nullius-kit pipeline touched-areas uses to derive a proposal's own touched paths.
  • If $ARGUMENTS is empty, use the most recently modified .md file in the plans directory (.claude/plans or ~/.claude/plans, newest first) as the plan, and derive its touch-list the same way.

Call the touch-list <paths...> below and the plan (if one was used) <plan>.

1. Select the rules that bind

npx -y @nullius-inverba/claims rules select --paths <paths...>

Deterministic, no model involved: it prints the id of every rule under .claude/rules/ whose applies_to matches at least one path in the touch-list, then the excluded count. Keep the excluded count — report it to the user later even if it is zero, because a selection that silently narrows is the failure this verb exists to prevent.

If zero rules are selected, say so and stop: there is nothing to dispatch, and that is a real answer, not a failure to find work.

2. Dispatch one starved brief per selected rule

For each rule id rules select printed:

npx -y @nullius-inverba/claims rules select --paths <paths...> --emit-brief <rule-id>

This prints one starved compliance brief on stdout, and nothing else — the rule's id and full text, plus the touch-list, with no sibling rules, no plan rationale, no narrative.

Read the full file on GitHub · 154 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 · 154 lines · 33 tokens per session scan A 7a32bafe2cfd

Subscribe to this mod's changes

comply is a command published in the GitHub repository armanfatemi/nullius (5 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 1,820 once invoked, about $0.0001 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-08-31.