/harness:graphfrom harness
Answers structural questions about a codebase using a Joern call graph: finds callers/callees, impact/blast radius of changes, dead code candidates, and tests covering affected functions. Useful before refactoring or deleting in large repos.
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.
scripts/graph.py builds a call graph with Joern (https://joern.io) and stores it in
.harness/graph.db (SQLite). It supports what Joern supports: Java, Kotlin, Python,
JavaScript and TypeScript, Go, C and C++, C#, PHP, Ruby, Swift, Rust.
Run everything as python3 "${CLAUDE_PLUGIN_ROOT}/scripts/graph.py" <command>; add
--json when you will parse the output.
Use the graph when grep would give too many or too few answers: a common method name, a change in a shared module, a refactor across many files, or a deletion. For one file or a unique name, grep is faster; use it.
graph.py status # is there a graph, and how old
graph.py build [path] # 10 s on a small repo, minutes on a large one
If status says Joern is missing, tell the user: brew install joern, or
https://docs.joern.io/installation (needs Java 17+). Do not install it yourself.
Rebuild after large changes; the graph is a snapshot.
Pass --frontend-args "--exclude-regex .*/(vendor|generated)/.*" to skip directories.
graph.py find charge # locate methods by name
graph.py callers charge -d 3 # who reaches it, up to 3 hops
graph.py callees checkout # what it calls
graph.py impact # uncommitted change
graph.py impact --diff origin/main # a whole branch
graph.py impact --files src/a.py # a file you are about to change
graph.py dead --keep "Controller|Handler"
impact returns the changed methods, their callers, the tests that call them, and
tests_mentioning: test files that name an affected method. Some Joern frontends (Java)
skip test sources, so this list fills that gap. Run those tests.
The graph sees static calls. It misses reflection, dependency injection, routes and framework callbacks, functions passed as values, JSX components, dynamic imports, and calls from other services. So:
impact is a lower bound. Say "at least".dead lists candidates. Before deleting one, grep for its name, check framework
registration (routes, beans, exports, CLI entry points), and say what you checked.by name was matched by method name only. Confirm it in the code.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./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./setupSet up the harness in the current repository - Renovate preset for automatic dependency and skill updates, a security CI workflow, project settings that pin third-party security plugins by commit, and deny rules. Use when the user says "set up harness", "install harness here", or asks to add dependency automation or security CI to a repo./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.