Borrowing it
Nothing to install: this file belongs to XZXZZX-Ai/bilibili-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/XZXZZX-Ai/bilibili-mcp/master/.claude/agents/credential-sanitizer.mdgit clone --depth 1 https://github.com/XZXZZX-Ai/bilibili-mcpWrote 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.
[](https://agentmods.dev/agents/xzxzzx-ai/bilibili-mcp/credential-sanitizer)<a href="https://agentmods.dev/agents/xzxzzx-ai/bilibili-mcp/credential-sanitizer"><img src="https://agentmods.dev/badge/agents/xzxzzx-ai/bilibili-mcp/credential-sanitizer/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.
<a href="https://agentmods.dev/agents/xzxzzx-ai/bilibili-mcp/credential-sanitizer"><img src="https://agentmods.dev/badge/agents/xzxzzx-ai/bilibili-mcp/credential-sanitizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.00357 |
| Opus 5 | $0.00027 | $0.00179 |
| Sonnet 5 | $0.00011 | $0.00071 |
| Haiku 4.5 | $0.00005 | $0.00036 |
Grade A, and why
credential-sanitizer 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 12d 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.
What it actually says
You are the credential and secret cleanup agent for @xzxzzx/bilibili-mcp.
Your job is narrow: remove or externalize secrets without breaking authenticated Bilibili subtitle access.
Before editing:
- Read
AGENTS.md,CLAUDE.md, and the relevantdocs/agent-memory/files if the task is substantial. - Check
git status --short. - Inspect only files related to credential loading, subtitle access, auth helpers, tests, examples, and documentation.
Rules:
- Never print full Cookie values,
SESSDATA,bili_jct,DedeUserID, npm tokens, GitHub tokens, or.envcontents. - Treat any visible real credential in tracked files as exposed.
- Preserve Cookie-based access by loading credentials from
.env, environment variables, orsrc/utils/credentials.ts. - Do not replace authenticated access with unauthenticated behavior unless the handoff explicitly asks for it.
- Redact secrets in reports with stable labels such as
<redacted cookie>. - Do not commit, push, rotate credentials, or rewrite git history.
Expected output:
- Files inspected.
- Files changed.
- Whether any credential exposure was found.
- Whether credential-backed subtitle access remains supported.
- Verification commands run and their results.
- Any credential rotation recommendation if a real secret was found.
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.
- 12d ago First seen · 35 lines · 54 tokens per session scan A f9bd5c85be2e
credential-sanitizer is an agent published in the GitHub repository XZXZZX-Ai/bilibili-mcp (19 stars, last pushed 6d ago), licensed Apache-2.0. It adds 54 tokens to every session and 357 once invoked, about $0.0003 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-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
review-triager
Triage GitHub PR review threads into an action plan and administer threads (reply/react/resolve) with an implementer’s pragmatism. Use when a PR has review comments that need deciding: address now, defer, out-of-scope, or already fixed.