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 Unique-Divine/jiyuu --skill mori-graphgit clone --depth 1 https://github.com/Unique-Divine/jiyuuWrote 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/unique-divine/jiyuu/mori-graph)<a href="https://agentmods.dev/skills/unique-divine/jiyuu/mori-graph"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/mori-graph/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/unique-divine/jiyuu/mori-graph"><img src="https://agentmods.dev/badge/skills/unique-divine/jiyuu/mori-graph.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.00161 | $0.01168 |
| Opus 5.5 | $0.00064 | $0.00467 |
| Sonnet 5.5 | $0.00032 | $0.00234 |
| Haiku 4.5 | $0.00016 | $0.00117 |
Grade A, and why
mori-graph 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 4d 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mori Graph
Mori indexes repositories into a local graph (SQLite) and answers structural questions through MCP tools: who calls a function, what a change affects, which document section explains a symbol, and how services in different repos call each other. It parses with Tree-sitter, resolves calls with typed, LSP-style resolution where the language allows, and keeps the graph between sessions as code memory. A graph query costs far fewer tokens than reading files, but it's a lead, not proof: confirm material claims in source.
Mori lives in mori/ of https://github.com/Unique-Divine/jiyuu and ships as
mori/v* releases. It carries GraphQL cross-repo linking (a GraphQL client
operation links to the gqlgen resolver that answers it). The MCP server key
is mori-graph, so the tools are mcp__mori-graph__search_graph and so on.
Use the mori executable from the published archive. Mori 0.13.1 uses
codebase-memory-mcp for rollback. Read
setup.md to install, register, and index;
graphql.md for API questions across repos;
tool-source.md to work on Mori itself.
Start of a Task
list_projects: pick the project whoseroot_pathcontains the working directory and pass itsnameasproject, never a folder name.index_statusfor that project. A stale or missing index answers wrong; reindex first (see setup.md).- Choose an evidence tier (below), then query.
Which Tool
| Question | Call |
|---|---|
| Who calls X? | trace_path(direction="inbound") |
| What does X call? | trace_path(direction="outbound") |
| Find a symbol | search_graph(name_pattern=".*Name.*"), then get_code_snippet |
| Find the lexicon term that documents a symbol | query_graph on MENTIONS from Section to the symbol. See Graph Links. |
| Exact text | search_code |
| Calls between services or repos | query_graph with Cypher on HTTP_CALLS, GRAPHQL_CALLS, CROSS_* |
| Effect of local changes | detect_changes() |
| Dead code | search_graph(max_degree=0, exclude_entry_points=true) |
| Repo overview | get_architecture |
What ships with it
4 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.
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.
- 4d ago Changed · +1 lines dbc7f084f8d9
- 8d ago First seen · 91 lines · 161 tokens per session scan A c6fba60e7abd
mori-graph is a skill published in the GitHub repository Unique-Divine/jiyuu (7 stars, last pushed today), licensed MIT. It adds 161 tokens to every session and 1,168 once invoked, about $0.0006 per session on Opus 5.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-11-22.
mori-graph compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mori-graphUnique-Divine/jiyuu | Skill | 7 | today | MIT | A | 161 | Claude Code, Codex |
| goericrisco/rsc-harness | Skill | 682 | 4d ago | MIT | A | 86 | Claude Code, Codex |
| memory-indexdimetron/pi-go | Skill | 232 | 6d ago | MIT | A | 0 | Claude Code, Codex |
| memory-minedimetron/pi-go | Skill | 232 | 6d ago | MIT | A | 35 | Claude Code |
| memory-statusdimetron/pi-go | Skill | 232 | 6d ago | MIT | A | 27 | Claude Code |
| functions-developmentCrowdStrike/foundry-skills | Skill | 38 | 9d ago | MIT | A | 195 | Claude Code |
| structpagesjackielii/structpages | Skill | 24 | 20d ago | BSD-3-Clause | A | 154 | Claude Code |