pii-scout

pii-scout is a skill for Claude Code, Codex from microsoft/aibast-agents-library. It costs 52 tokens per session (8,754 once invoked), scanned A, original, MIT.

A folder scanner that reports files containing secrets, credentials, captured browser sessions, email addresses, home paths, or supplied names. It reports file names and counts, not the sensitive values themselves.

In plain words
What is it for?
Use it before pushing a folder public to check for credentials, personal information, session captures, and other sensitive artefacts.
Why use it?
It helps find information that could be exposed before code or documents are published. It also treats certain risky file types as unsafe and refuses to call an unconfigured scan clean.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it before pushing a folder public to check for credentials, personal information, session captures, and other sensitive artefacts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/aibast-agents-library/pii_scout
About the project

AIBAST Agents Library is a collection of industry-focused AI agent templates accompanied by a local server that connects agents to GitHub Copilot for language-model inference. It helps developers create and run tool-using agents and isolated project environments, with an optional cloud-backed path for persistent memory. The catalogue entries provide the repository's agents, skills, commands, hooks, and instructions.

microsoft/aibast-agents-library · 8 stars · on GitHub

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.

Any agent
npx skills add microsoft/aibast-agents-library --skill pii_scout
Clone the repo
git clone --depth 1 https://github.com/microsoft/aibast-agents-library

Made for: Claude Code, Codex.

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 pii-scout

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/aibast-agents-library/pii_scout/github.svg)](https://agentmods.dev/skills/microsoft/aibast-agents-library/pii_scout)
Your own site
<a href="https://agentmods.dev/skills/microsoft/aibast-agents-library/pii_scout"><img src="https://agentmods.dev/badge/skills/microsoft/aibast-agents-library/pii_scout/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 pii-scout

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/aibast-agents-library/pii_scout"><img src="https://agentmods.dev/badge/skills/microsoft/aibast-agents-library/pii_scout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,754 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.00052 $0.08754
Opus 5.5 $0.00021 $0.03502
Sonnet 5.5 $0.00010 $0.01751
Haiku 4.5 $0.00005 $0.00875

Measured 2d ago against content hash e8b528fee8c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pii-scout 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (pii_scout_agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

beta/store/pii_scout/SKILL.md · 143 lines

How it starts

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

PII Scout — find what must not ship, before it ships.

Point it at a folder. It reports secrets, forbidden artefact classes, and any names you injected — with file and count, never the matched value.

Built for the moment before you publish something. That moment is where leaks actually happen: not because anyone was careless, but because a tree accumulated an archived copy, a captured session, a vendored fork of something already fixed — and nobody re-read it, because nobody re-reads 40,000 files.

DESIGN RULES, all of them learned the hard way

  • Unconfigured is a REFUSAL, not a pass. A scanner with an empty roster reports "clean" precisely when it is checking nothing, and that reading is trusted because it looks like every other clean result.
  • Findings name the file and the count. Never the value. A leak report that quotes the secret is a second copy of the leak.
  • Whole artefact CLASSES are refused by shape, not just by content. A captured browser session carries identities, tenant GUIDs and key material that look nothing like a token; you cannot pattern-match what you did not know to look for, but you can refuse the file class that carries it.
  • Short ALL-CAPS terms match on word boundaries. An acronym that fires inside unrelated words produces noise, and noise is how a gate gets switched off.
  • Long base64 runs are skipped for IDENTITY matching only. Random base64 contains short names by chance; reporting that as PII trains people to ignore real findings. Secrets are still matched everywhere, including blobs.

Parameters

The typed contract this capability answers to (JSON Schema — the deterministic layer):

{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "Folder to scan. Defaults to the current directory."
    },
    "terms": {
      "type": "string",
      "description": "Comma-separated names that must not appear (customers, internal codenames, your own handle)."
    },
    "max_findings": {
      "type": "integer",
      "description": "Cap the findings returned. Default 100."
    }
  },
  "required": []
}

Read the full file on GitHub · 143 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 143 lines · 52 tokens per session scan A e8b528fee8c3

Subscribe to this mod's changes

pii-scout is a skill published in the GitHub repository microsoft/aibast-agents-library (8 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 8,754 once invoked, about $0.0002 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-11-06.

Related

pii-scout compared with skills from other repositories

pii-scout next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pii-scoutmicrosoft/aibast-agents-librarySkill8yesterdayMITA52Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k5d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code