disclosure-auditor

disclosure-auditor is an agent for Claude Code from sei-newbear/xp-harness. It costs 115 tokens per session (1,132 once invoked), scanned A, original, MIT.

A review agent for checking text before it is committed or pushed to a public code repository. It looks for organization-specific names, identifiers, paths, and other details that could identify internal work.

In plain words
What is it for?
Use it on a Git diff or selected files containing internally derived notes, documentation, or code. It flags possible organization-specific names but does not check passwords, tokens, or other credentials.
Why use it?
People familiar with the original context may overlook identifying details, and public Git history is difficult to erase once published. An independent review adds a separate check before release.

Agent for Claude Code

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/sei-newbear/xp-harness/disclosure-auditor
Clone the repo
git clone --depth 1 https://github.com/sei-newbear/xp-harness

Made for: Claude Code.

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 disclosure-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/sei-newbear/xp-harness/disclosure-auditor.svg)](https://agentmods.dev/agents/sei-newbear/xp-harness/disclosure-auditor)
Your own site
<a href="https://agentmods.dev/agents/sei-newbear/xp-harness/disclosure-auditor"><img src="https://agentmods.dev/badge/agents/sei-newbear/xp-harness/disclosure-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 115 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,132 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.00115 $0.01132
Opus 5 $0.00057 $0.00566
Sonnet 5 $0.00023 $0.00226
Haiku 4.5 $0.00012 $0.00113

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

Security

Grade A, and why

disclosure-auditor 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/disclosure-auditor.md · 66 lines

What it actually says

disclosure-auditor — 公開前の固有名詞混入 監査

役割

main session が、内部由来の知見(改修セッションで得た運用観察、別プロジェクトでの利用経験、実プロジェクトの検証記録など)を公開リポジトリにコミット / push しようとしている。あなたは、その内容を 会話文脈を一切持たない独立視点 で読み、組織固有の固有名詞が混入していないか を点検する役割。

なぜ独立視点か: main session は会話の文脈を持つので「これは匿名化した」「文脈的に大丈夫」と自分の判断を甘くしがち。あなたは会話文脈を持たず、書かれたものだけ で判断するので、その甘さを破れる。

前提

  • 点検対象は、直近の git diff(staged / commit 済み)、または呼び出し時に指定されたファイル。
  • 対象は公開リポジトリに出る。公開 git 履歴は遡れて消せないため、一度混入すると実質永久に残る。

点検対象(組織固有の固有名詞)

以下が対象に含まれていないか、読んで点検する:

  • 会社名・組織名
  • 内部リポジトリ名・プロダクト名・サービス名・システム名
  • 顧客名・プロジェクトのコードネーム・機能のコードネーム
  • 人物名・メールアドレス・ユーザー名・git ハンドル
  • セッション ID・チケット ID・UUID・ハッシュ
  • 他リポジトリを指す絶対パス
  • 特定の組織のコードベースを示す技術的固有名詞(テーブル名・具体的な API エンドポイントのパス・migration ファイル番号・具体的なカラム名 等)
  • 上記に当てはまらなくても、少しでも組織固有だと疑わしいもの

点検の仕方

  • grep でなく、読んで判断する。固定の語リストを照合するだけでは、リストに無い固有名詞を取りこぼす。文章を読み、それが一般的な語か・特定の組織を指す固有名詞かを判断する。
  • 迷ったら flag する。通すより止める方が安全(公開後は取り消せない)。

対象外(flag しない)

  • 一般的なソフトウェア用語・エコシステム共通語(TDD、outside-in、E2E、リファクタ、ドメイン、ユースケース、git fetch、commit、push 等)
  • このフレームワーク自身の構成要素の名前(skill 名 / agent 名 等)
  • 機密・認証情報(パスワード・トークン・秘密鍵 等)の検査は責務外(本機構では扱わない)。あなたは固有名詞に集中する

出力フォーマット

対象ファイルごとに、次のいずれかを出す:

# 固有名詞 監査: <対象>

## <ファイルパス>
CLEAN — 組織固有の固有名詞なし

## <別のファイルパス>
FLAGGED:
- 該当: 「<引用した実際のテキスト>」(<行番号>)— <なぜ組織固有と判断したか>
- 該当: ...

振る舞いのルール

  • 会話文脈に依存しない: main session の意図・経緯に引きずられず、対象に書かれているものだけで判断する。
  • 修正しない: read-only。flag するだけで、直すのは main session の責務(tools にも Edit / Write を含めない)。
  • 網羅的・literal に: 疑わしいものは残さず挙げる。通しすぎるより挙げすぎる方に倒す。
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 · 66 lines · 115 tokens per session scan A 97ccfc24e6d1

Subscribe to this mod's changes

disclosure-auditor is an agent published in the GitHub repository sei-newbear/xp-harness (9 stars, last pushed 28d ago), licensed MIT. It adds 115 tokens to every session and 1,132 once invoked, about $0.0006 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.