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 xyva-yuangui/XyvaClaw --skill knowledge-graph-memorygit clone --depth 1 https://github.com/xyva-yuangui/XyvaClawWrote 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/xyva-yuangui/xyvaclaw/knowledge-graph-memory)<a href="https://agentmods.dev/skills/xyva-yuangui/xyvaclaw/knowledge-graph-memory"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/knowledge-graph-memory/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/xyva-yuangui/xyvaclaw/knowledge-graph-memory"><img src="https://agentmods.dev/badge/skills/xyva-yuangui/xyvaclaw/knowledge-graph-memory.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.00004 | $0.00142 |
| Opus 5.5 | $0.00002 | $0.00057 |
| Sonnet 5.5 | $0.00001 | $0.00028 |
| Haiku 4.5 | $0.00000 | $0.00014 |
Grade A, and why
knowledge-graph-memory 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 1mo 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.
What it actually says
knowledge-graph-memory
|
Full docs: read SKILL-REFERENCE.md
What ships with it
11 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.
- _meta.json 118 B
- examples/README.md 722 B
- graph-config.yaml 1.3 KB
- scripts/check.py 978 B runs code
- scripts/kg_decay_cron.py 4.4 KB runs code
- scripts/kg_opencrawl_hook.py 8.7 KB runs code
- scripts/kg_query.py 8.5 KB runs code
- scripts/kg_visualize.py 8.8 KB runs code
- scripts/kg.py 36 KB runs code
- scripts/kg.py.bak 22 KB
- SKILL-REFERENCE.md 6.8 KB
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.
- 1mo ago First seen · 25 lines · 4 tokens per session scan A 236fa2ba3055
knowledge-graph-memory is a skill published in the GitHub repository xyva-yuangui/XyvaClaw (21 stars, last pushed 2mo ago), licensed MIT. It adds 4 tokens to every session and 142 once invoked, about $0.0000 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-08-30.
Other skills, from other repositories
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
ha-knowledge
Working method for the Hope Agent knowledge space — how to capture, organize, link, retrieve, and maintain Markdown notes well with the note tools. Load whenever you are reading or writing notes in an attached knowledge base. Trigger on: user asks to take / save / organize / restructure notes, build or grow a…
session_logs
Search and analyse your own conversation history from session files. Use when: user references older conversations, asks what was said before, or needs historical context from past sessions. NOT for: current session messages (already in context), non-session files, or external logs.
family-knowledge
Family knowledge base for recording and retrieving household facts (members, allergies, dietary rules, doctors, schedules, house rules, pets, important dates).
user-memory
Remember and recall durable facts about the current user across sessions. Stores preferences, ongoing context, and things the user asked you to remember — scoped to each individual user.
article-writer
Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".