tinkerpop: Skill for Claude Code

.skills/tinker-review/SKILL.md

tinker-review is a skill for Claude Code, Codex from apache/tinkerpop. It costs 59 tokens per session (4,854 once invoked), scanned C, original, Apache-2.0.

A graph-based pull-request review tool for Apache TinkerPop, an open-source graph-processing project. It examines changed source code and creates an HTML report with supporting evidence.

In plain words
What is it for?
Reviewing a TinkerPop pull request by number, enriching its code graph, and optionally running functional tests.
Why use it?
It organizes a large code change into connected relationships so reviewers can find structural and domain-specific issues more easily.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

This is apache/tinkerpop's own configuration. It tells Claude Code and Codex how to work on tinkerpop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tinkerpop configures →

About the project

Apache TinkerPop is a graph-computing framework for applications that store or analyze connected data, such as property graphs in databases. Developers use its Gremlin traversal language, drivers, servers, and tools to work with different graph systems through a common interface.

apache/tinkerpop · 2,150 stars · on GitHub · tinkerpop.apache.org

Reuse

Borrowing it

Nothing to install: this file belongs to apache/tinkerpop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/apache/tinkerpop/master/.skills/tinker-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/apache/tinkerpop

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tinker-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/apache/tinkerpop/tinker-review/github.svg)](https://agentmods.dev/skills/apache/tinkerpop/tinker-review)
Your own site
<a href="https://agentmods.dev/skills/apache/tinkerpop/tinker-review"><img src="https://agentmods.dev/badge/skills/apache/tinkerpop/tinker-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tinker-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/apache/tinkerpop/tinker-review"><img src="https://agentmods.dev/badge/skills/apache/tinkerpop/tinker-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,854 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 281
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 281
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 281
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.04854
Opus 5.5 $0.00024 $0.01942
Sonnet 5.5 $0.00012 $0.00971
Haiku 4.5 $0.00006 $0.00485

Measured 7d ago against content hash b4ea30398dc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

tinker-review scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 39 executable files (scripts/discovery/beads.js, scripts/discovery/discussions.js, scripts/enrichment/api.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

(`rm -rf /tmp/pr-review-<pr>`). Re-running the review on the same PR clears it,
.skills/tinker-review/SKILL.md · 341 lines

How it starts

The opening of the file, as written. The whole thing — 341 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Graph Review Skill

Prerequisites

  • Docker running (for Gremlin Server)
  • upstream remote pointing to [email protected]:apache/tinkerpop.git (fetch only)
  • Node.js 20+ with dependencies installed in .skills/tinker-review/
  • Beads (bd) installed, with the repo's beads database available (bin/agent-setup.sh --contributor). The review stops before fetching the PR when bd is missing. It runs bd dolt pull first and falls back to local state if the pull fails; it never writes to beads.

References (load on demand)

  • Read references/schema.md when you need to understand what vertices, edges, or properties exist in the knowledge graph (typically during enrichment or when writing raw Gremlin)
  • Read references/interfaces.md when you need the exact function signatures or data type definitions for a module
  • Read references/enrichment-cli.md when you need to know what an enrichment CLI command does and when to reach for it (the command names below are terse; this is where their meaning lives)
  • Read references/functional-testing.md when you run the optional functional test (step 4) — what functional/cli.js does, how the built server is configured, and how to drive it from the subagent

Execution Sequence

When invoked with /review <pr-number>:

The run has two phases (see DESIGN.md). Phase 1 (step 1) is deterministic and builds the graph. Phase 2 (steps 3–5) is agent-driven — enrichment, an optional functional test, then the report. Step 2 chooses the playbooks that guide Phase 2; step 6 tears down.

1. Setup + Phase 1 (deterministic)

Run the review script. This handles everything mechanical:

npm install --prefix .skills/tinker-review  # only needed once
node .skills/tinker-review/scripts/review.js <pr-number> <repo-path>

This performs: check for beads and pull it → fetch PR → create worktree → start Gremlin Server → extract structure via Tree-sitter → populate knowledge graph → discover discussions (JIRA, dev list, proposals, PR comments) → discover the PR's beads (records naming the PR or those discussions, their roots and subtrees) → run pattern checks (completeness, coverage gaps, centrality, blast radius, cluster analysis) → write evidence JSON.

Read the full file on GitHub · 341 lines

Files

What ships with it

56 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +1 lines b4ea30398dc0
  2. 19d ago Changed · +13 lines 8ba2f2e3f492
  3. 20d ago Changed · +29 lines 1d64dd986831
  4. 2mo ago First seen · 298 lines · 59 tokens per session scan C 3de0fd3f9986

Subscribe to this mod's changes

tinker-review is a skill published in the GitHub repository apache/tinkerpop (2,150 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 4,854 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.