noirdoc-status

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

A status report for a noirdoc workspace, where noirdoc is a command-line tool that redacts sensitive information from documents. It shows configuration, protected file paths, cached-data size, version, and counts of redacted entity types without revealing the original names.

In plain words
What is it for?
Use it to check whether noirdoc is installed, review redaction safeguards, inspect cache size, and see counts such as people, locations, or bank-account identifiers that have been redacted.
Why use it?
It gives you a safe overview of the workspace while avoiding commands that could expose the private-name mapping. It also distinguishes an existing namespace from one that has not been created yet.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

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

Good fit Use it to check whether noirdoc is installed, review redaction safeguards, inspect cache size, and see counts such as people, locations, or bank-account identifiers that have been redacted.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/noirdoc-ai/mask-claude-plugin/noirdoc-status"><img src="https://agentmods.dev/badge/commands/noirdoc-ai/mask-claude-plugin/noirdoc-status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 447 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.00019 $0.00447
Opus 5 $0.00010 $0.00224
Sonnet 5 $0.00004 $0.00089
Haiku 4.5 $0.00002 $0.00045

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

Security

Grade A, and why

noirdoc-status 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 9d 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-status.md · 29 lines

What it actually says

Report the current noirdoc state for this workspace. Run these checks and present the results as a compact table or bullet list:

  1. noirdoc --version — CLI present? Which version?

  2. Read .noirdoc/config.toml — does it exist?

    • noirdoc.namespace
    • noirdoc.guard.enabled
    • noirdoc.guard.protected_paths (full list)
    • noirdoc.guard.allowlist (full list)
  3. .noirdoc/cache/ size: du -sh .noirdoc/cache/ 2>/dev/null

  4. Namespace summary (counts only — no real-name data):

    noirdoc ns summary <ns>
    

    Prints per-entity-type counts as JSON (e.g., {"PERSON": 12, "IBAN_CODE": 3, "LOCATION": 7}). The mapping itself never leaves the CLI. Report the counts inline.

    On non-zero exit (namespace doesn't exist yet), fall back to:

    noirdoc ns list
    

    If <ns> is absent from the list, report "Namespace mapping: not yet created (no redactions run)". This is the expected initial state — ~/.noirdoc/namespaces/<ns>/ is created on the first /noirdoc-redact run.

    Never run noirdoc ns show, noirdoc lookup, cat ~/.noirdoc/..., python -c 'from noirdoc...', or any other command whose stdout would contain real-name data. The guard hook blocks these anyway; the point is not to attempt them. If the user needs to inspect the raw mapping, tell them to run noirdoc ns show <ns> themselves in a regular terminal outside Claude Code.

If any step fails because the workspace isn't set up (missing .noirdoc/config.toml), say so plainly and suggest /noirdoc-setup.

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. 9d ago First seen · 29 lines · 19 tokens per session scan A fe5cfb3a9bc1

Subscribe to this mod's changes

noirdoc-status is a command published in the GitHub repository noirdoc-ai/mask-claude-plugin (2 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 447 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.