/core:public-ready audit|fix|scaffold --repo OWNER/REPOfrom core
Audits and hardens a public GitHub repo for strangers — security settings, risky workflows, release-tag rules, SECURITY and CONTRIBUTING files. Use when the user wants a repo safe or ready to share. Not for description, topics or packaging metadata.
Ships in core. 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.
Gets a public repository ready for people who do not know its owner: nobody can run code with its secrets, rewrite its history or move a release tag, a security reporter has a private channel, and a visitor knows whether pull requests are wanted. One script, three subcommands, each one line per finding.
CANARY: public-ready-loaded-2026-11-26-fb78d23e-092c0fd2802d5512
python3 "${CLAUDE_SKILL_DIR}/scripts/audit_public_repo.py" audit --repo OWNER/REPO [--repo OWNER/OTHER]
Each line is PASS, GAP (with the subcommand that closes it) or NOTE (a
judgement the script cannot make: a comment-triggered workflow, unpinned
actions, an enabled wiki). It needs gh logged in as someone who can read the
repo's settings — the owner or an admin; a cloud session's proxy usually cannot.
--json for a machine-readable report, --fail-on-gaps for CI.
Also run the bundle's repo_health.py (claude-arsenal/scripts/) for
description, topics, homepage, licence and releases; this skill does not repeat
those checks.
python3 "${CLAUDE_SKILL_DIR}/scripts/audit_public_repo.py" fix --repo OWNER/REPO --dry-run
python3 "${CLAUDE_SKILL_DIR}/scripts/audit_public_repo.py" fix --repo OWNER/REPO
Show the user the dry run before the real one: it turns on secret scanning,
push protection, Dependabot alerts and security updates and private
vulnerability reporting; makes fork pull requests wait for approval before
their workflows run; sets the Actions token default to read-only; and adds two
rulesets — no deletion or force-push on the default branch, no deletion or
moving of v* tags. The rulesets have no bypass, so they bind the owner too.
python3 "${CLAUDE_SKILL_DIR}/scripts/audit_public_repo.py" scaffold --repo OWNER/REPO --repo-root . --contributions issues
Writes SECURITY.md, CONTRIBUTING.md and .github/ISSUE_TEMPLATE/ where
missing and never overwrites. Ask the user which policy applies before writing:
issues (default) says pull requests are not accepted for now, pull-requests
invites them with review. Commit the files through the normal PR flow.
fix skips the read-only token default when a workflow has no
permissions: key. Such a workflow inherits the default, so switching it
would break a release or deploy job silently. Add an explicit permissions:
block to the files the skip names, then run fix again.audit flags for checking out a pull request's code on
pull_request_target or workflow_run runs a stranger's code with a write
token and the repo's secrets. Change it to check out the base ref.audit reports it; the user uploads
it under Settings → General → Social preview.assets/CONTRIBUTING-issues.md (opens in a new tab)assets/CONTRIBUTING-pull-requests.md (opens in a new tab)assets/ISSUE_TEMPLATE/bug_report.yml (opens in a new tab)assets/ISSUE_TEMPLATE/config.yml (opens in a new tab)assets/ISSUE_TEMPLATE/feature_request.yml (opens in a new tab)assets/SECURITY.md (opens in a new tab)evals/loading_verification.json (opens in a new tab)scripts/audit_public_repo.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
lowOther plugins' skills for the same job
npx claudepluginhub nuncaeslupus/claude-arsenal --plugin core23 skills in this plugin
/arsenal-initRuns the claude-arsenal installer (the init skill) under a name that does not collide with Claude Code's built-in /init. Use when the user types /arsenal-init. Not for writing a CLAUDE.md./bugreportReads Android bugreports (dumpstate .txt or .zip) through a byte-offset index — device summary, ranked checkup, section lookup, merged timeline, redacted copies, report diffs. Use when the user has a bugreport to read or diagnose. Not for live-device adb sessions or logcat-only files./coverage-gapsRanks the most valuable missing tests from coverage.py's coverage.json. Use when the user asks which tests are missing. Not for non-Python code./dep-upgradeUpgrades a uv project's dependencies behind pip-audit and tests. Use when the user wants dependencies upgraded or vuln-checked. Not for adding one (uv add)./designTurns an approved spec into contracts, risks and a gated task plan. Use when the user plans how to build scoped work. Not for investigation (specify)./executionImplements a planned task test-first, through to a merge-ready PR. Use when the user is building what a plan describes. Not for one-off scripts.