noirdoc-allow

noirdoc-allow is a command for Claude Code from noirdoc-ai/mask-claude-plugin. It costs 18 tokens per session (510 once invoked), scanned A, original, MIT.

A command for adding a file path or wildcard pattern to Noirdoc’s allowlist, the list of paths its privacy guard may read without hiding data.

In plain words
What is it for?
Use it when a trusted file or path needs to be read without redaction. It shows the current list after confirmation and gives you the edit to make yourself.
Why use it?
It handles files that the guard blocks even when you know they contain no personal data. The change is made outside the protected session so the guard cannot be disabled by an injected instruction.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the noirdoc plugin — 1 skill, 4 commands, 1 hook shipped together

Good fit Use it when a trusted file or path needs to be read without redaction. It shows the current list after confirmation and gives you the edit to make yourself.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/noirdoc-ai/mask-claude-plugin/noirdoc-allow
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/noirdoc-ai/mask-claude-plugin

Made for: Claude Code.

Or install noirdoc, the plugin that ships this one along with the rest of its 1 skill, 4 commands, 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 noirdoc-allow

README.md
[![agentmods](https://agentmods.dev/badge/commands/noirdoc-ai/mask-claude-plugin/noirdoc-allow/github.svg)](https://agentmods.dev/commands/noirdoc-ai/mask-claude-plugin/noirdoc-allow)
Your own site
<a href="https://agentmods.dev/commands/noirdoc-ai/mask-claude-plugin/noirdoc-allow"><img src="https://agentmods.dev/badge/commands/noirdoc-ai/mask-claude-plugin/noirdoc-allow/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 noirdoc-allow

Your own site · 80×15
<a href="https://agentmods.dev/commands/noirdoc-ai/mask-claude-plugin/noirdoc-allow"><img src="https://agentmods.dev/badge/commands/noirdoc-ai/mask-claude-plugin/noirdoc-allow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 510 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.00018 $0.00510
Opus 5 $0.00009 $0.00255
Sonnet 5 $0.00004 $0.00102
Haiku 4.5 $0.00002 $0.00051

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

Security

Grade A, and why

noirdoc-allow 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 8d 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.

noirdoc/commands/noirdoc-allow.md · 47 lines

What it actually says

Adding $ARGUMENTS to the noirdoc.guard.allowlist in .noirdoc/config.toml disables the guardrail for that path.

The guard hook denies any in-session edit of .noirdoc/config.toml (Edit/Write/Bash) — otherwise a prompt-injected turn could disable the guard on its own. Allowlisting therefore happens out of band.

Steps:

  1. Confirm with the user in plain language:

    "Adding $ARGUMENTS to the allowlist means the guard hook will let Claude read that path without redaction. Only do this for files you're sure contain no personal data. Proceed?"

  2. If the user confirms, use the Read tool on .noirdoc/config.toml to show them the current allowlist. Then tell them to edit the file themselves — in a regular terminal, in their editor, or with the snippet below — and append $ARGUMENTS to the array:

    [noirdoc.guard]
    allowlist = [
      # …existing entries…
      "$ARGUMENTS",
    ]
    

    Example one-liner they can paste into a terminal (skips if already present):

    python3 -c '
    import tomllib, pathlib
    p = pathlib.Path(".noirdoc/config.toml")
    c = tomllib.loads(p.read_text())
    a = c.setdefault("noirdoc", {}).setdefault("guard", {}).setdefault("allowlist", [])
    if "$ARGUMENTS" not in a:
        a.append("$ARGUMENTS")
        # round-trip via a minimal TOML rewrite — adjust by hand if you keep comments
        lines = p.read_text().splitlines()
        # ...edit by hand if the file has comments you want to keep
    '
    

    In practice the cleanest path is: open .noirdoc/config.toml in your editor and add the line by hand.

  3. After they confirm they've made the change, run /noirdoc-status to verify the new allowlist is in effect.

If the user does not confirm, or .noirdoc/config.toml doesn't exist (run /noirdoc-setup first), stop without taking any action.

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. 8d ago First seen · 47 lines · 18 tokens per session scan A f16c7a90ccdd

Subscribe to this mod's changes

noirdoc-allow is a command published in the GitHub repository noirdoc-ai/mask-claude-plugin (2 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 510 once invoked, about $0.0001 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.