Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ayeshakhalid192007-dev/graph-engineering-crash-course --skill traverse-multi-hopgit clone --depth 1 https://github.com/ayeshakhalid192007-dev/graph-engineering-crash-courseWrote 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.
[](https://agentmods.dev/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/traverse-multi-hop)<a href="https://agentmods.dev/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/traverse-multi-hop"><img src="https://agentmods.dev/badge/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/traverse-multi-hop/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.
<a href="https://agentmods.dev/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/traverse-multi-hop"><img src="https://agentmods.dev/badge/skills/ayeshakhalid192007-dev/graph-engineering-crash-course/traverse-multi-hop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.01111 |
| Opus 5 | $0.00026 | $0.00556 |
| Sonnet 5 | $0.00010 | $0.00222 |
| Haiku 4.5 | $0.00005 | $0.00111 |
Grade A, and why
traverse-multi-hop scanned grade A with 0 findings 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 10d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
traverse-multi-hop
Given a starting node and a lineage question, follows only a named set of relationship types outward to a bounded depth, tags every node reached with its hop count and the exact path that reached it, and reports the deepest hop the traversal actually needed — without walking into an unrelated part of the graph or looping on a cycle.
Instructions
You are a Claude Code skill implementing the neo4j-at-scale pattern.
Follow these steps in order:
- Take the starting node and the traversal question as given.
Default to reagent lot RL-2291 and this kit's derivation question in
README.mdunless told otherwise. Do not express this as a fixed-depth join or a recursive relational query — treat it as a single variable-length path match against native graph storage, since the entire reason this pattern exists is that relational joins get more expensive with every added hop while native traversal does not. - Name the exact relationship types the traversal is allowed to
follow, and the direction each one traverses in. Default to
USED_IN,PRODUCES, andDERIVED_FROMas given inREADME.md. Do not follow a relationship type that isn't on this list, even if it happens to connect two nodes that are also connected through an allowed path — an unrelated edge crossing the same two nodes is not part of the lineage being traced. - Set an explicit upper bound on hop depth for the traversal (e.g.
*1..10). Native traversal doesn't degrade with depth the way relational joins do, but an unbounded match can still wander into an unrelated, distant part of the graph if the allowed relationship types turn out to be looser than intended — the bound is a safety limit, not a performance workaround. - Guard against cycles. A derivation graph like this one should be acyclic, but a bookkeeping error could introduce one. If the traversal would revisit a node already on its current path, detect and report that as a cycle rather than looping or silently truncating the results.
- Do not include a node reached only by a property coincidence — sharing a date, a facility, or any other attribute with a node on the path is not itself a relationship. Only nodes reached by walking an allowed relationship type, in the allowed direction, count as part of the traversal's results.
- Tag every node reached with its hop count and the specific sequence of relationship types that reached it — "used directly" (hop 1) must stay distinguishable from "three derivation steps removed" (hop 3) in the output, not collapsed into one flat list.
- Report the deepest hop the traversal actually needed for this run, separately from the configured upper bound, so a reader can see how far the real chain reached without having to count entries.
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.
- 10d ago First seen · 100 lines · 51 tokens per session scan A 0270502345e0
traverse-multi-hop is a skill published in the GitHub repository ayeshakhalid192007-dev/graph-engineering-crash-course (5 stars, last pushed 14d ago), licensed MIT. It adds 51 tokens to every session and 1,111 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
building-agents
Use when building or restructuring an LLM agent — provider adapter, tool calling, structured output, RAG, agent loop, eval gate, cost routing, tracing, MCP server — model-agnostic across OpenAI/Anthropic/Gemini/OSS so a model swap is a config change. NOT vector-store SQL alone (that is postgresdb) or service…
mongodb
Use when modeling MongoDB documents (embed versus reference, the 16MB cap, bucket and subset patterns), choosing or fixing indexes (compound order by the ESR rule, partial, TTL, multikey, reading explain), writing aggregation pipelines that stay index-eligible, running multi-document transactions with retry, or…
postgresdb
Use when PostgreSQL engine behaviour decides the answer — schema and type design, index choice, reading EXPLAIN on a slow query, zero-downtime DDL and backfills, or ops (roles, RLS, pooling, vacuum, partitioning, PITR). PG16, ORM-agnostic. NOT portable query logic (that is sql), NOT a managed provider's platform…
db-migrations
Use when a schema change must ship without downtime — NOT NULL, rename, type change, or backfilling millions of live rows — for the expand-contract sequence and the lock/batching discipline that keeps each step from freezing prod. NOT lock internals or EXPLAIN (that is postgresdb), NOT drizzle-kit mechanics (that is…
firebase
Use when building on Firebase — Firestore data modeling, Security Rules, Auth and custom claims, Cloud Functions, Storage, modular Web/Admin SDK imports — including symptoms like a database open to the internet, a query rejected by rules, or a doc stuck at 1 write/sec. NOT managed-Postgres BaaS with SQL and RLS (that…
neon
Use when you have picked Neon (serverless Postgres) and need to connect correctly from a serverless or edge runtime, wire database branching into dev, preview and CI, or stop being burned by scale-to-zero cold starts and pooler limits — including choosing HTTP versus WebSocket connections and pooled versus direct…