User Scanner is an open-source OSINT tool that investigates email addresses and usernames across online platforms to map digital identities and account registrations. Security researchers and investigators use it to gather profile metadata, follow discovered links or handles, and pivot between related targets. The catalogue instructions support using the scanner for these investigations.
Borrowing it
Nothing to install: this file belongs to kaifcodec/user-scanner. 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/kaifcodec/user-scanner/main/AGENTS.mdgit clone --depth 1 https://github.com/kaifcodec/user-scannerWrote 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/instructions/kaifcodec/user-scanner/agents-md)<a href="https://agentmods.dev/instructions/kaifcodec/user-scanner/agents-md"><img src="https://agentmods.dev/badge/instructions/kaifcodec/user-scanner/agents-md/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/instructions/kaifcodec/user-scanner/agents-md"><img src="https://agentmods.dev/badge/instructions/kaifcodec/user-scanner/agents-md.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.01281 | $0.01281 |
| Opus 5.5 | $0.00512 | $0.00512 |
| Sonnet 5.5 | $0.00256 | $0.00256 |
| Haiku 4.5 | $0.00128 | $0.00128 |
Grade A, and why
user-scanner AGENTS.md 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI contributor guide
This file orients an AI assistant (or any new contributor) working in this
repository. CLAUDE.md imports it via @AGENTS.md — edit this file only.
What this project is
A 2-in-1 OSINT suite for email and username intelligence. It checks
whether an account exists on a given platform and, when found, extracts rich
profile metadata. See README.md for the full feature list and install steps.
Start here (read before writing code)
README.md— overview, features, installation, usage examples.CONTRIBUTING.md— the authoritative guide for adding scan modules (naming, validator signatures, orchestrator helpers, return values, style).docs/USAGE.md— library-mode usage (calling the engine from Python).docs/FLAGS.md— every CLI flag.docs/CROSS_SCAN.md— how--cross-scanmines scan metadata for usernames.docs/PATTERNS.md— the username/email permutation pattern syntax.
Repository layout
user_scanner/user_scan/<category>/<site>.py— username availability modules. Synchronous. Exportdef validate_<site>(user: str) -> Result.user_scanner/email_scan/<category>/<service>.py— email OSINT modules. Asynchronous. Exportasync def validate_<service>(email: str) -> Result.user_scanner/core/— engine, orchestrator, helpers,Result, formatters, exporters (JSON/CSV/PDF). Changes here affect every module; review carefully.abandoned/<email_scan|user_scan>/<category>/<site>.py— retired modules (dead sites, permanently broken detection). See "Retiring a module" below.tests/— pytest suite. Add tests for new core behavior only. Do not add unit tests for individual scan modules — modules are verified by live-testing against real and nonexistent handles (see "Before opening a PR"), not by mocked unit tests.
Adding a new module (the short version)
Read CONTRIBUTING.md first — it has full examples. The essentials:
- File name = platform name, lowercase, no spaces/special chars
(
github.py,reddit.py). - One validator per module:
validate_<name>returning aResult(Result.available(),Result.taken(extra=..., media=...),Result.error("...")). Image URLs go inmedia, other metadata inextra. - No false positives. Never infer availability from a bare HTTP 200 or a
bare
else. Verify a unique string/JSON key for both the found and not-found states. Confirm not found with an explicit marker too, not just a 404 — transient/blocked responses must returnResult.error, never a verdict. - Map every account namespace a site exposes before trusting one path; many sites split accounts across several public paths and a clean 404 on one must not launder a blocked response on another.
- Pick the transport by how the site defends itself. Reach for the
impersonating transport (
impersonate_validate/impersonate_request, curl_cffi) first for sites behind bot walls; drop togeneric_validate(httpx) only when a plain request already returns clean 200/404. - Never use
raise. ReturnResult.error(...)so the scan continues. - Respect the global CLI flags in any request-making code (timeout
-t, concurrency-C,--allow-loud) — mirror the existing helpers.
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.
- 2mo ago First seen · 105 lines · 1,281 tokens per session scan A a6144831ca48
user-scanner AGENTS.md is an instructions file published in the GitHub repository kaifcodec/user-scanner (5,573 stars, last pushed 3d ago), licensed MIT. It adds 1,281 tokens to every session, about $0.0051 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-08-30.
user-scanner AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| user-scanner AGENTS.mdkaifcodec/user-scanner | Instructions file | 5.6k | 3d ago | MIT | A | 1,281 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |