secret-scan

secret-scan is a skill for Claude Code, Codex from TheSmokeDev/taskchad-os. It costs 55 tokens per session (466 once invoked), scanned A, original, MIT.

A secret scanner that searches code and stored notes for exposed credentials such as API keys, access tokens, passwords, and private keys.

In plain words
What is it for?
Checking a repository before a commit or push, or checking a specific file before sharing its contents externally.
Why use it?
It helps catch credentials before they are committed to version control or sent to an external service. It reports matches but does not edit or hide them.

Skill for Claude CodeCodex

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

Good fit Checking a repository before a commit or push, or checking a specific file before sharing its contents externally.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thesmokedev/taskchad-os/secret-scan
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 TheSmokeDev/taskchad-os --skill secret-scan
Clone the repo
git clone --depth 1 https://github.com/TheSmokeDev/taskchad-os

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 secret-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/secret-scan/github.svg)](https://agentmods.dev/skills/thesmokedev/taskchad-os/secret-scan)
Your own site
<a href="https://agentmods.dev/skills/thesmokedev/taskchad-os/secret-scan"><img src="https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/secret-scan/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 secret-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/thesmokedev/taskchad-os/secret-scan"><img src="https://agentmods.dev/badge/skills/thesmokedev/taskchad-os/secret-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 466 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00055 $0.00466
Opus 5.5 $0.00022 $0.00186
Sonnet 5.5 $0.00011 $0.00093
Haiku 4.5 $0.00006 $0.00047

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

Security

Grade A, and why

secret-scan 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan.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.

optional-skills/security/secret-scan/SKILL.md · 50 lines

What it actually says

Secret Scan

Catch credentials before they leak into a commit or an outbound message.

Run

uv run python optional-skills/security/secret-scan/scripts/scan.py .
# scan a specific path before sending it out:
uv run python optional-skills/security/secret-scan/scripts/scan.py vault/notes/draft.md

Exit code is non-zero if anything matches, so it drops into a pre-commit hook or a pre-send guard.

What it flags

Common high-signal patterns: AWS keys, Google API keys, Slack/Telegram/GitHub tokens, OpenAI/Anthropic keys, private-key PEM blocks, and generic SECRET/PASSWORD/TOKEN = "..." assignments. The detector lives in scripts/scan.py — extend the pattern table there as new providers appear.

Where this belongs in the framework

This is the read-only half of the framework's default-deny mutation policy. Before any skill sends vault content to an external surface, run this scan on the exact payload. A match means stop and ask the user, never auto-send. The scan never edits or redacts on its own — it reports; a human decides.

Reducing false positives

  • Respect .gitignore / .graphifyignore; skip .env*, node_modules, .git.
  • Example/placeholder values (xxxx, your-key-here, example) are downranked.
  • When in doubt, surface the finding with file:line and let the user judge.
Files

What ships with it

1 file 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. 1mo ago First seen · 50 lines · 55 tokens per session scan A f57876c599b4

Subscribe to this mod's changes

secret-scan is a skill published in the GitHub repository TheSmokeDev/taskchad-os (28 stars, last pushed 16d ago), licensed MIT. It adds 55 tokens to every session and 466 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-09-03.

Related

Other skills, from other repositories

graphify

Use when the user invokes /graphify or asks to build, update, or query a knowledge graph from a folder of files (code, docs, papers, notes, images). Triggers: 'map this codebase', 'graph my notes', 'what is connected across these files', 'community detection', 'GraphRAG', incremental graph update, Neo4j/SVG/GraphML…

mycelium-hq/ai-brain-starter · 111 tokens

insights

Use when the user types /weekly or /monthly, asks for a weekly or monthly journal review or retrospective, asks 'how was my week' or 'how was my month', or wants trends, anomalies, or patterns across recent journal entries. Also fires when regenerating an insight report for a past week or month. NOT for writing…

mycelium-hq/ai-brain-starter · 91 tokens

setup-brain

Set up or upgrade an AI-powered Obsidian vault. Interviews you, builds your vault structure (or works with what you already have), creates your CLAUDE.md memory file, installs tools, and gets you journaling — all in one conversation. Also has a repair/upgrade path for existing users.

mycelium-hq/ai-brain-starter · 66 tokens

second-brain-mapping

Use when the user wants to map or remap their second brain, refresh the vault's queryable metadata index, extract structured frontmatter from typed notes (books, meetings, people, journals, goals), fill wikilink gaps, or surface cross-type insights and patterns no single file shows. Triggers: /second-brain-mapping…

mycelium-hq/ai-brain-starter · 116 tokens

sunday-review

Use when the user asks for the weekly meta-review or Sunday wrap-up of their week and vault: says /sunday, /sunday-review, 'let's do the weekly review,' 'Sunday review,' 'review my week,' 'weekly retro,' 'week in review,' 'end-of-week review,' or wants journals, patterns, vault health, and stale decisions reviewed…

mycelium-hq/ai-brain-starter · 102 tokens

coach

Use when the user says /coach (today, week, month, profile, log), asks what to do today for training, asks for a workout, weekly training plan, or longevity plan, wants to log a finished workout or check lift progression (PR, plateau, deload), or a scheduled morning task fires to drop today's workout into the…

mycelium-hq/ai-brain-starter · 103 tokens