/ccxp-skills:secrets-check [base-ref]from ccxp-skills
Use when the user explicitly asks to check a working change for secret-handling problems before a PR — runs the repo's secret-handling lint on the diff and reports masked findings
Ships in ccxp-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
<skills-root>= this skill's "Base directory" minus its last component; substitute the literal path (skill-conventions§9).
Check the current branch's changes for secret-handling problems (token literals, secrets on a command line, echoed or dumped secret variables, set -x with secrets) before opening a PR. Reports only; never edits files and never fixes a finding automatically, because a fix would have to touch the secret value.
<arg> is optional: the base ref to diff against (default origin/main).
Run the check from the repo root:
bash <skills-root>/secrets-check/scripts/secrets-check.sh "${BASE:-origin/main}"
lint-secret-handling.sh under its scripts/ dir) present it runs --diff <base> and relays its output: exit 0 clean (warnings advisory), 1 findings, 2 usage or allowlist error. The lint masks every matched value (first 4 characters plus ...) and prints file:line plus the rule id, never the source line.Never re-run a finding's line through cat/grep output into the transcript, and do not fix automatically.
Report: pass or fail, the rule ids hit, the masked findings, and for each the safe form (stdin, --token-file, op run, op inject; see the repo's SECURITY.md when it has one). A finding that is a deliberate fixture is allowed through the repo's own allowlist (.secret-lint-allow), never by weakening the check.
secret-guard PreToolUse hook (hooks/secret-guard.sh) is the live, per-command counterpart; this skill is the pre-PR gate on the whole diff. Both name the same rule ids./gcpr and /address-pr recommend running it before the PR is opened or merged.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub synx-data-labs/ccxp-skills --plugin ccxp-skills57 skills in this plugin
/1password-env-setupUse when the user explicitly asks to bootstrap or refresh a repo's 1Password-backed .env — installs the refresh-env helper, generates a hash-checking .envrc, and materializes .env from .env.tpl via op inject/address-prUse when the user explicitly asks to address, verify, or merge a specific open PR (CI, Claude Code review, test plan, tiered merge)/agent-pairingUse when the user explicitly asks to toggle the ccxp-agent main-session agent on/off for this Claude Code profile or check its status