api-key-audit — Claude Code skill for API key checks
The api-key-audit Claude Code skill checks API keys from files and reports access, quota, and usability for requests. It activates when asked to validate keys or inspect a TXT or ZIP file containing them.
LicenseRef-Proprietary ★ 326 updated 2026-11-01
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill api-key-audit -a claude-codeWhat api-key-audit does
The skill parses key files, identifies likely providers, and removes duplicates before making network requests. It accepts TXT, CSV, JSON, and JSONL files, plus ZIP archives containing those formats. It then checks authentication, model access, quota, and billing; an optional follow-up probe tests stability for keys that pass authentication.
Results go to summary.txt, results.json, and usable_keys.txt. Keys are masked, and failures receive separate categories. For an unrecognized provider, the skill reports the result without making an aggressive guess. Checks run in parallel pools, with a default limit of 8 concurrent workers, a 10-second timeout, and one retry for network errors or 5xx responses.
What it helps with
- check authentication for keys in TXT or ZIP files
- find keys with model access and available quota
- classify billing, permission, and model access errors
- remove duplicate keys and group them by provider
Example prompts for the agent
- Check the keys in
keys.txtand save a summary of the results. - Inspect
keys.zipand report which keys can make requests. - Check
tokens.csvand group failures by provider.
How to install api-key-audit
1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill api-key-audit -a claude-code2Manually: put the files in place
~/.claude/skills/api-key-audit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/api-key-audit/
1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill api-key-audit -a codex2Manually: put the files in place
.agents/skills/api-key-audit/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill api-key-audit -a cursor2Manually: put the files in place
.cursor/skills/api-key-audit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mrhlaingbwardev/agentic-hacking-skills skills/api-key-audit2Manually: put the files in place
.github/skills/api-key-audit/SKILL.md1Skills CLI (Vercel)
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill api-key-audit -a gemini-cli2Platform CLI
gemini skills install https://github.com/mrhlaingbwardev/agentic-hacking-skills --path skills/api-key-auditManually: put the files in place
.devin/skills/api-key-audit/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about api-key-audit
How do I install api-key-audit in Claude Code?
Run npx skills add mrhlaingbwardev/agentic-hacking-skills --skill api-key-audit -a claude-code. The skill file is at ~/.claude/skills/api-key-audit/SKILL.md.
What does api-key-audit do?
It checks API keys from files, identifies their likely providers, and tests authentication, model access, quota, and billing signals. It writes a summary, a JSON report, and a list of usable keys.
Which file formats does api-key-audit accept?
It processes TXT, CSV, JSON, and JSONL files, as well as ZIP archives containing those formats.