Git Hooks
Prorise-cool/Claude-Code-Multi-Agent
Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.
Detect exposed secrets, API keys, credentials, and tokens in code.
The automated check flagged lines worth reading first. See the safety section below.
$ npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install alirezarezvani/claude-code-tresor secret-scanner --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-tresor.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/security/secret-scanner .claude/skills/secret-scanner && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "secret-scanner" agent skill from https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/security/secret-scanner into .claude/skills/secret-scanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secret-scanner", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/security/secret-scannerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install alirezarezvani/claude-code-tresor secret-scanner --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-tresor.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/security/secret-scanner .agents/skills/secret-scanner && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "secret-scanner" agent skill from https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/security/secret-scanner into .agents/skills/secret-scanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secret-scanner", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install alirezarezvani/claude-code-tresor secret-scanner --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-tresor.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/security/secret-scanner .cursor/skills/secret-scanner && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "secret-scanner" agent skill from https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/security/secret-scanner into .cursor/skills/secret-scanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secret-scanner", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/alirezarezvani/claude-code-tresor.git --path skills/security/secret-scanner--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install alirezarezvani/claude-code-tresor secret-scanner --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-tresor.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/security/secret-scanner .gemini/skills/secret-scanner && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "secret-scanner" agent skill from https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/security/secret-scanner into .gemini/skills/secret-scanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secret-scanner", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install alirezarezvani/claude-code-tresor secret-scannerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-tresor.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/security/secret-scanner .github/skills/secret-scanner && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "secret-scanner" agent skill from https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/security/secret-scanner into .github/skills/secret-scanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secret-scanner", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install alirezarezvani/claude-code-tresor secret-scanner --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/alirezarezvani/claude-code-tresor.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/security/secret-scanner .opencode/skills/secret-scanner && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "secret-scanner" agent skill from https://github.com/alirezarezvani/claude-code-tresor/tree/main/skills/security/secret-scanner into .opencode/skills/secret-scanner/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "secret-scanner", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
secret-scannerDetect exposed secrets, API keys, credentials, and tokens in code.
Secret Scanner is an agent skill from alirezarezvani/claude-code-tresor. Detect exposed secrets, API keys, credentials, and tokens in code. Use before commits, on file saves, or when security is mentioned. Prevents accidental secret exposure. Triggers on file changes, git commits, security checks, .env file modifications.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).
It sits in Development, covering Commit messages and Secrets management. It works with Amazon Web Services. The repository describes itself as: A world-class collection of Claude Code utilities: autonomous skills, expert agents, slash commands, and prompts that supercharge your development workflow. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 4b68050. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGrepFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
API_KEYDB_PASSWORDSTRIPE_API_KEYAWS_ACCESS_KEY_IDFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Secret Scanner loads about 1.4k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 305 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found patterns that need a careful read before installing.
e changes, git commits, security checks, .env file modifications.- ✅ .env files changed📖 Add to .gitignore: .env🔧 Fix: Use .env file📖 Add .env to .gitignore- .env:5 - Database password (in gitignore - OK)✅ .env - In .gitignore (good)✅ .aws/credentials - In .gitignore (good)// .env file (add to .gitignore):- API_KEY=${API_KEY} # From .env fileAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from alirezarezvani/claude-code-tresor at commit 4b68050, republished under its MIT licence (© alirezarezvani). 305 words, ~1,445 tokens.
.claude/skills/secret-scanner/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Prevent accidental secret exposure in your codebase.
// You type:
const apiKey = 'sk_live_1234567890abcdef';
// I immediately alert:
🚨 CRITICAL: Exposed Stripe API key detected!
📍 File: config.js, Line 3
🔧 Fix: Use environment variables
const apiKey = process.env.STRIPE_API_KEY;
📖 Add to .gitignore: .env# You type:
aws_access_key = "AKIAIOSFODNN7EXAMPLE"
# I alert:
🚨 CRITICAL: AWS access key exposed!
📍 File: aws_config.py, Line 1
🔧 Fix: Use AWS credentials file or environment variables
aws_access_key = os.getenv("AWS_ACCESS_KEY_ID")
📖 Never commit AWS credentials# You type in docker-compose.yml:
environment:
DB_PASSWORD: "mySecretPassword123"
# I alert:
🚨 CRITICAL: Database password in configuration file!
📍 File: docker-compose.yml, Line 5
🔧 Fix: Use .env file
DB_PASSWORD: ${DB_PASSWORD}
📖 Add .env to .gitignoreHigh Confidence:
Medium Confidence:
Low Confidence (Flagged for Review):
# Before commit, I scan:
git add .
git commit
# I block if secrets found:
🚨 CRITICAL: Cannot commit - secrets detected!
📍 3 secrets found:
- config.js:12 - API key
- .env:5 - Database password (in gitignore - OK)
- auth.js:45 - JWT secret
❌ Commit blocked - remove secrets firstI check if sensitive files are in .gitignore:
✅ .env - In .gitignore (good)
⚠️ config/secrets.json - NOT in .gitignore (add it!)
✅ .aws/credentials - In .gitignore (good)// I understand these are examples:
// Example: const apiKey = 'your_api_key_here';
// TODO: Add your API key from environment// Test fixtures are OK (but flagged for review):
const mockApiKey = 'sk_test_1234567890abcdef'; // ✅ Test key<!-- Documentation examples are flagged but low priority -->
Set your API key: `export API_KEY=your_key_here`secret-scanner (me): Exposed secrets and credentials security-auditor: Code vulnerability patterns
secret-scanner: Finds hardcoded API key
security-auditor: Finds how the key is used insecurely
Combined: Complete security picture// Before:
const apiKey = 'sk_live_abc123';
// After:
const apiKey = process.env.API_KEY;
// .env file (add to .gitignore):
API_KEY=sk_live_abc123// AWS Secrets Manager
const AWS = require('aws-sdk');
const secrets = new AWS.SecretsManager();
const secret = await secrets.getSecretValue({ SecretId: 'myApiKey' }).promise();# docker-compose.yml
services:
app:
environment:
- API_KEY=${API_KEY} # From .env file
# .env (gitignored)
API_KEY=sk_live_abc123Works without sandboxing: ✅ Yes (recommended) Works with sandboxing: ✅ Yes
Add company-specific secret patterns:
cp -r ~/.claude/skills/security/secret-scanner \
~/.claude/skills/security/company-secret-scanner
# Edit SKILL.md to add:
# - Internal API key formats
# - Company-specific secret patterns
# - Custom detection rulesgit filter-branch --force --index-filter \
"git rm --cached --ignore-unmatch config/secrets.json" \
--prune-empty --tag-name-filter cat -- --all© alirezarezvani, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/security/secret-scanner of alirezarezvani/claude-code-tresor.
Open the folder on GitHubat commit 4b68050
Secret Scanner next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Secret Scanner this skillalirezarezvani/claude-code-tresor | 777 | — | ~1.4k | Automated safety check: Warn | MIT | |
| Git HooksProrise-cool/Claude-Code-Multi-Agent | 305 | — | ~3.6k | Automated safety check: Notes | None | |
| Varlock Claude Skillaiskillstore/marketplace | 430 | 5 repos | ~226 | Automated safety check: Pass | None | |
| Codex GuardAkimiya-z/codex-guard | 138 | — | ~564 | Automated safety check: Pass | MIT | |
| Security SecretsIgorWarzocha/Opencode-Workflows | 122 | — | ~1.2k | Automated safety check: Notes | None | |
| Scanning For Hardcoded Secretsjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~2.1k | Automated safety check: Notes | MIT |
Prorise-cool/Claude-Code-Multi-Agent
Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.
aiskillstore/marketplace
Secure environment variable management ensuring secrets are never exposed in Claude sessions, terminals, logs, or git commits
Akimiya-z/codex-guard
Pre-submit hygiene check for AI-agent-authored pull requests.
IgorWarzocha/Opencode-Workflows
Review secret detection patterns and scanning workflows. An agent skill from IgorWarzocha/Opencode-Workflows.
jeremylongshore/tons-of-skills-marketplace
Scan a source-code tree for hardcoded credentials embedded in source files: AWS access keys, GitHub tokens, Stripe keys, Slack tokens, Anthropic API keys, OpenAI keys, JWT signing secrets, generic…
qdhenry/Claude-Command-Suite
Analyze environment variables in JavaScript/TypeScript projects.
alirezarezvani/claude-code-tresor
Auto-generate API documentation from code and comments. An agent skill from alirezarezvani/claude-code-tresor.
alirezarezvani/claude-code-tresor
Automatic code quality and best practices analysis. An agent skill from alirezarezvani/claude-code-tresor.
alirezarezvani/claude-code-tresor
Check dependencies for known vulnerabilities using npm audit, pip-audit, etc.
alirezarezvani/claude-code-tresor
Generate conventional commit messages automatically. An agent skill from alirezarezvani/claude-code-tresor.
alirezarezvani/claude-code-tresor
Keep README files current with project changes. An agent skill from alirezarezvani/claude-code-tresor.
alirezarezvani/claude-code-tresor
Automatically suggest tests for new functions and components.
Works with
Categories
Detect exposed secrets, API keys, credentials, and tokens in code. Secret Scanner is an agent skill from alirezarezvani/claude-code-tresor. Detect exposed secrets, API keys, credentials, and tokens in code.
Secret Scanner fits situations like: security checks; .env file modifications.
Run `npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a claude-code`. Or copy the skill folder (skills/security/secret-scanner in alirezarezvani/claude-code-tresor) into .claude/skills/secret-scanner in your project. Claude Code loads it when a task matches its description.
Run `npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a codex`. Or copy the skill folder (skills/security/secret-scanner in alirezarezvani/claude-code-tresor) into .agents/skills/secret-scanner in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alirezarezvani/claude-code-tresor --skill secret-scanner -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/secret-scanner, .gemini/skills/secret-scanner, .github/skills/secret-scanner and .opencode/skills/secret-scanner in your project.
Going by SKILL.md and its folder, Secret Scanner needs the command-line tools its instructions call (git) and credentials named API_KEY, DB_PASSWORD, STRIPE_API_KEY and AWS_ACCESS_KEY_ID. Our summary lists: Python 3; Docker; A credential in STRIPE_API_KEY; A credential in API_KEY. Its frontmatter pre-approves these tools: Read, Grep.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.
Secret Scanner is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Secret Scanner: Git Hooks (Prorise-cool/Claude-Code-Multi-Agent, 305 stars), Varlock Claude Skill (aiskillstore/marketplace, 430 stars), Codex Guard (Akimiya-z/codex-guard, 138 stars) and Security Secrets (IgorWarzocha/Opencode-Workflows, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
alirezarezvani (a GitHub user) maintains it in alirezarezvani/claude-code-tresor, which has 777 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on July 3, 2026.
Source: alirezarezvani/claude-code-tresor on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.