prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost…
Use when about to commit, push, or publish -- staged changes touch config or environment files, generated artifacts (relay sessions, logs, build output) are being added, or the session handled credentials even indirectly.
Claude Code
$ npx -y skills add yeaight7/agent-powerups --skill secret-leak-preflight --agent claude-code
Codex
$ npx skills add yeaight7/agent-powerups --skill secret-leak-preflight -a codex -y
Cursor
$ npx skills add yeaight7/agent-powerups --skill secret-leak-preflight -a cursor -y
Gemini CLI
$ npx skills add yeaight7/agent-powerups --skill secret-leak-preflight -a gemini-cli -y
GitHub Copilot
$ npx skills add yeaight7/agent-powerups --skill secret-leak-preflight -a github-copilot -y
OpenCode
$ npx skills add yeaight7/agent-powerups --skill secret-leak-preflight -a opencode -y
Windsurf
$ npx skills add yeaight7/agent-powerups --skill secret-leak-preflight -a windsurf -y
name: secret-leak-preflight description: Use when about to commit, push, or publish -- staged changes touch config or environment files, generated artifacts (relay sessions, logs, build output) are being added, or the session handled credentials even indirectly.
Catch secrets before they enter git history or a published artifact. A leaked credential in a commit is a rotation incident even after the file is deleted — history retains it. The preflight is the last cheap moment to stop that.
1. **Scan the staged diff — not the worktree.** What gets committed is the staged content:
git diff --cached | rg -n 'AKIA[0-9A-Z]{16}|ghp_[A-Za-z0-9]{36}|github_pat_|sk-[A-Za-z0-9]{20,}|xox[baprs]-|-----BEGIN [A-Z ]*PRIVATE KEY-----'
git diff --cached | rg -in '(api[_-]?key|secret|token|password|bearer)\s*[:=]'2. **Review untracked files before adding.** New environment or credential files are the classic leak:
git status --short
Anything with env, credential, key, or pem in its name gets opened and inspected before any git add.
3. **Check generated artifact directories.** Relay turn artifacts and logs can embed tokens captured from tool output; confirm those directories are gitignored and excluded from what is being committed or published.
4. **Spot-check high-entropy strings.** Pattern lists miss rotated formats; a long random-looking constant in a diff deserves one deliberate look.
5. **On a hit: stop.** Unstage the file, remove the secret, and treat the value as compromised — recommend rotation. If it already exists in history, plan a history purge with the user; never rewrite or force-push history without explicit approval.
6. **State the verdict explicitly.** Silence is not a pass — say "no secrets found in staged changes" or list the findings.
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost…
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test…
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or…
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider…
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.