/harness:setupfrom harness
Sets up a Renovate preset for automatic dependency and skill updates, a security CI workflow with TruffleHog/OSV-Scanner/Semgrep/zizmor, and project settings with deny rules. Use when adding dependency automation or security CI to a repo.
Ships in harness. 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.
None: SKILL.md is the whole skill.
Every step is idempotent and shows a diff before it writes. Never overwrite a file the user already has; merge into it and show the result.
Templates live in ${CLAUDE_PLUGIN_ROOT}/templates/.
git rev-parse --show-toplevel and git remote get-url origin. Stop if this is not a git repo.renovate.json, .github/renovate.json5, .github/dependabot.yml,
.github/workflows/, .claude/settings.json, SECURITY.md.package-lock.json, pnpm-lock.yaml, uv.lock,
poetry.lock, go.sum, Cargo.lock, gradle.lockfile, pom.xml, Gemfile.lock).
A manifest without a lockfile is worth telling the user: unpinned transitive
dependencies are how most supply-chain attacks land.If there is no Renovate config, write renovate.json:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>Pierry/harness//renovate/default"]
}
If Dependabot version updates are configured, ask before replacing them; running both opens duplicate PRs. Dependabot security alerts can stay on.
Tell the user, in one line each, what the preset does: patch and minor updates merge on green CI after a 3-day cooldown, majors wait for review, GitHub Actions are pinned to commit SHAs, lockfiles refresh weekly, pinned Claude plugins get a PR to review, and vulnerability fixes skip the cooldown. Then tell them to install the Renovate GitHub App (https://github.com/apps/renovate) on the repo, because nothing runs until they do.
Automerge only works if the default branch requires the CI checks to pass. Check with
gh api repos/{owner}/{repo}/branches/{branch}/protection and say so if it is missing.
Copy templates/security.yml to .github/workflows/security.yml if no file with that
name exists. It runs secret scanning (TruffleHog), dependency vulnerabilities on PRs
(OSV-Scanner, fails only on new findings), SAST (Semgrep, no account needed), and a
workflow audit (zizmor). Every action is pinned to a commit SHA.
Claude Code only. In Codex, skip this step: install.sh already added the guard hook.
Merge templates/settings.json into .claude/settings.json:
extraKnownMarketplaces and enabledPlugins: the harness marketplace and Trail of
Bits' skills, pinned to a commit. Renovate keeps these pins current through reviewed PRs.permissions.deny: reading .env*, ~/.ssh, ~/.aws; force push; piping a download into a shell.Merge arrays without duplicates. Keep the user's existing keys.
Add .harness/ to .gitignore if it is not there.
One line per file: created, merged, or left alone and why. Then the two things only the user can do: install the Renovate app, and require the CI checks on the default branch.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub pierry/harness --plugin harness6 skills in this plugin
/depsDependency health and update triage - find vulnerable and outdated packages, judge whether a Renovate or Dependabot PR is safe to merge, and vet a new dependency before adding it. Use when the user asks about outdated or vulnerable dependencies, a dependency update PR, "should I add package X", or supply-chain risk./graphAnswer structural questions about a codebase from a Joern call graph - who calls a function, what a change affects and which tests cover it, and which functions look unused. Use when the user asks for the impact or blast radius of a change, callers or callees of a symbol, dead code, or before refactoring or deleting a function in a large or unfamiliar repo./pr-riskRates how likely a pull request is to cause a security problem, on a fixed scale (Rare, Low, Medium, High, Critical, No-go), backed by a NIST SP 800-53 control and NIST NVD data, and explains it in five plain lines a non-specialist can act on. Use when the user asks for the risk of a PR or change, "is this PR safe to merge", "what is the security risk", a go/no-go before merging, or a NIST-based assessment./secure-reviewSecurity review of the current change (diff, branch or PR) that reports only verified, exploitable findings. Use when the user asks to review a change for security, check a PR before merging, or "is this safe", and before opening a PR that touches auth, input handling, file or network access, crypto, dependencies, CI, or LLM/agent code./skill-auditVet a third-party Claude Code skill, plugin, marketplace or MCP server before installing or updating it - what it runs automatically, what it reads, where it sends data, and whether its instructions try to steer the agent. Use when the user wants to install a plugin or skill from GitHub, add an MCP server, or review a Renovate PR that bumps a pinned plugin.