camilool8/harness-engineering-templates/using-graph-memory
Claude Code and agent skill by camilool8/harness-engineering-templates
- community
Checking that the SKILL.md file is still in the repository.
Store and query provenance-aware, time-bounded facts in the Zep knowledge-graph MCP. Use when working with facts that have a source, change over time, or need multi-hop reasoning across related entities.
Install
npx vskill@latest install camilool8/harness-engineering-templates/using-graph-memorySKILL.md
The same SKILL.md was published earlier as camilool8/harness-engineering-templates/using-graph-memory.
Using graph memory
A Zep MCP server provides a temporal knowledge graph: facts are relations between entities, each carrying provenance and a validity interval. This skill covers how to store and query them in a way that survives audit.
Query — before acting on any entity
When the task involves an entity (a customer, account, policy, ticket), query the graph for what it knows about that entity first.
- Ask for multi-hop context when needed — follow relations rather than
asking for one isolated fact.
- When history matters, ask for the state as of a specific date. The graph
can answer "what was the credit limit on 2026-01-10", not just "now".
- Each returned fact carries its source and time. Surface that provenance to
the user when it informs a decision; do not present a fact as bare truth.
Store — with provenance, always
When you learn a durable fact, store it via the MCP. Every stored fact must include:
- The fact — a clear subject-relation-object statement.
- The source — where it came from (a document, a user statement, a system
of record). A fact with no source must not be stored.
- The observation time — when the fact was stated or became true.
If you cannot supply a source, you do not have a fact — you have a guess. Do not store guesses.
Updating facts — supersede, never overwrite
When a fact changes (a customer moves, a policy is revised):
- Store the new fact with its own source and time.
- The graph marks the prior fact as no longer valid from that point; it is
retained, not deleted. This is what makes point-in-time queries and audit possible.
- Never edit a past fact to make it "current" — that destroys the history a
regulated review depends on.
What stays out of the graph
- Conventions, architecture, build commands →
CLAUDE.md. - Code decisions and incidents →
.claude/memory/*.md. - Secrets and credentials → nowhere.
The graph is for evolving, provenance-bearing domain facts. Keep code-shaped knowledge in files where it is cheap and PR-reviewable.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/_modules/memory/knowledge-graph/files/.claude/skills/using-graph-memory/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/camilool8/harness-engineering-templates/using-graph-memory)