/forgetful-explore
Explore the Forgetful knowledge graph when flat search isn't enough — cross-project investigations, "what do we know about X", entity-centred questions, tracing how decisions connect. Use when recall returns fragments that reference entities or trail across domains. Walks
$ npx -y skills add ScottRBK/forgetful --skill forgetful-explore --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/forgetful-explore
Context preview
The summary Claude sees to decide when to auto-load this skill.
Explore the Forgetful knowledge graph when flat search isn't enough — cross-project investigations, "what do we know about X", entity-centred questions, tracing how decisions connect. Use when recall returns fragments that reference entities or trail across domains. Walks
SKILL.md
forgetful-explore.SKILL.mdname: forgetful-explore
description: >-
Explore the Forgetful knowledge graph when flat search isn't enough — cross-project
investigations, "what do we know about X", entity-centred questions, tracing how decisions
connect. Use when recall returns fragments that reference entities or trail across
domains. Walks memories, entities, and relationships into one synthesized picture.
license: MIT
tags: [knowledge-graph, traversal, entities, investigation]
allowed-tools:
- mcp__forgetful__discover_forgetful_tools
- mcp__forgetful__how_to_use_forgetful_tool
- mcp__forgetful__execute_forgetful_tool
- Bash(forgetful:*)
Exploring the knowledge graph
A flat query answers "what matches"; exploration answers "how it connects". The output is a synthesized picture that states the path taken — never a raw dump of hops.
Invoking operations
Operations are named by registry name (`search_entities`, `get_entity_memories`, ...). Invoke via whichever surface this agent has:
- **MCP**: `execute_forgetful_tool(tool_name="search_entities", arguments={...})`
- **CLI**: `forgetful call search_entities --args '{"query": "..."}' --json`
Get any operation's schema at runtime: `how_to_use_forgetful_tool` (MCP) or `forgetful tools info <operation>` (CLI) — schemas are deliberately not repeated here.
Choose a depth first
- **Shallow** (phases 1–2): confirm or refresh something specific.
- **Medium** (phases 1–4): understand a topic and its immediate neighbourhood.
- **Deep** (all phases): cross-project investigation or "everything we know about X".
Track visited memory and entity IDs throughout — a revisited ID means that branch is done.
Phase 1 — Semantic entry
Broad `query_memory` on the topic (with `query_context` stating the investigation's intent). The goal is entry points, so favour breadth over precision here — raise `k` above its default of 3 (max 20) rather than settle for a narrow first pass.
Done when: a handful of strong entry memories are identified.
Phase 2 — Expand the strongest hits
`get_memory` on each entry point for full content and linked memory IDs; follow the links that bear on the question.
Done when: each entry point's local cluster is understood.
Phase 3 — Discover the entities
Collect entities referenced by the expanded memories, and `search_entities` for the topic's obvious actors (systems, people, components) that memories may not name directly.
Done when: the cast of relevant entities is listed.
Phase 4 — Walk the relationships
`get_entity_relationships` on each relevant entity; follow the relationship types that answer the question (depends_on for impact, part_of for structure, owns for responsibility).
Done when: the connections between entities are mapped, cycles skipped via the visited set.
Phase 5 — Harvest entity-linked memories
`get_entity_memories` on the entities that emerged as central — this surfaces knowledge attached to the *thing* that topic-based queries miss. It returns linked memory IDs paired with titles, not full content: scan the titles for relevance, then `get_memory` per chosen ID for the text itself.
Done when: central entities have had their attached knowledge collected.
Synthesize
Report the picture, not the walk: what is known, how it connects, where knowledge is thin. Cite memory and entity IDs so the user can jump in, and state the traversal path in one line (e.g. "query → 3 memories → AuthService entity → 2 dependent components → 5 linked memories").
Done when: the user gets a connected answer with cited IDs and visible gaps.
Read more
name: forgetful-explore description: >- Explore the Forgetful knowledge graph when flat search isn't enough — cross-project investigations, "what do we know about X", entity-centred questions, tracing how decisions connect. Use when recall returns fragments that reference entities or trail across domains. Walks memories, entities, and relationships into one synthesized picture. license: MIT tags: [knowledge-graph, traversal, entities, investigation] allowed-tools: - mcp__forgetful__discover_forgetful_tools - mcp__forgetful__how_to_use_forgetful_tool - mcp__forgetful__execute_forgetful_tool - Bash(forgetful:*)
Exploring the knowledge graph
A flat query answers "what matches"; exploration answers "how it connects". The output is a synthesized picture that states the path taken — never a raw dump of hops.
Invoking operations
Operations are named by registry name (`search_entities`, `get_entity_memories`, ...). Invoke via whichever surface this agent has:
- **MCP**: `execute_forgetful_tool(tool_name="search_entities", arguments={...})`
- **CLI**: `forgetful call search_entities --args '{"query": "..."}' --json`
Get any operation's schema at runtime: `how_to_use_forgetful_tool` (MCP) or `forgetful tools info <operation>` (CLI) — schemas are deliberately not repeated here.
Choose a depth first
- **Shallow** (phases 1–2): confirm or refresh something specific.
- **Medium** (phases 1–4): understand a topic and its immediate neighbourhood.
- **Deep** (all phases): cross-project investigation or "everything we know about X".
Track visited memory and entity IDs throughout — a revisited ID means that branch is done.
Phase 1 — Semantic entry
Broad `query_memory` on the topic (with `query_context` stating the investigation's intent). The goal is entry points, so favour breadth over precision here — raise `k` above its default of 3 (max 20) rather than settle for a narrow first pass.
Done when: a handful of strong entry memories are identified.
Phase 2 — Expand the strongest hits
`get_memory` on each entry point for full content and linked memory IDs; follow the links that bear on the question.
Done when: each entry point's local cluster is understood.
Phase 3 — Discover the entities
Collect entities referenced by the expanded memories, and `search_entities` for the topic's obvious actors (systems, people, components) that memories may not name directly.
Done when: the cast of relevant entities is listed.
Phase 4 — Walk the relationships
`get_entity_relationships` on each relevant entity; follow the relationship types that answer the question (depends_on for impact, part_of for structure, owns for responsibility).
Done when: the connections between entities are mapped, cycles skipped via the visited set.
Phase 5 — Harvest entity-linked memories
`get_entity_memories` on the entities that emerged as central — this surfaces knowledge attached to the *thing* that topic-based queries miss. It returns linked memory IDs paired with titles, not full content: scan the titles for relevance, then `get_memory` per chosen ID for the text itself.
Done when: central entities have had their attached knowledge collected.
Synthesize
Report the picture, not the walk: what is known, how it connects, where knowledge is thin. Cite memory and entity IDs so the user can jump in, and state the traversal path in one line (e.g. "query → 3 memories → AuthService entity → 2 dependent components → 5 linked memories").
Done when: the user gets a connected answer with cited IDs and visible gaps.
Forgetful is a storage and retrieval tool for AI Agents. Designed as a Model Context Protocol (MCP) server built using the FastMCP framework.
Repo: ScottRBK/forgetful
Other skills on forgetful.
- /forgetful-cli-setup
Set up the Forgetful CLI and connect from a terminal — install, local or remote mode, auth, and verification. Use when connecting a human or headless agent via shell, wiring CI with token auth, or operating a local server (serve, database selection, feature flags, re-embedding).
Open skill - /forgetful-context-gather
Gather deep context before planning or implementing — one pass that turns a task description into a cited context pack: relevant decisions, patterns, constraints, code pointers, procedures, and explicit gaps. Runs recall from several angles, explores the graph around the
Open skill - /forgetful-encode-repo
Encode a repository into the Forgetful knowledge base — bootstrap the project, its entities, memories, and documents from the codebase itself. Use when bringing a new repo under Forgetful or refreshing a stale encoding. Re-encoding is an update pass: query-before-create makes it
Open skill - /forgetful-entities
Model the things knowledge attaches to — people, organisations, devices, products, system components. Use when a new thing surfaces that memories will reference, when relationships between things need recording (owns, depends on, part of), or when another skill routes a
Open skill - /forgetful-files
File binary content into the knowledge base — screenshots, PDFs, diagrams, fonts, assets. Use when a binary artifact is worth keeping alongside knowledge, or when a stored procedure needs a bundled asset. The description is the entire search surface: say what the file shows and
Open skill - /forgetful-mcp-setup
Set up an MCP client for Forgetful — wire Claude Code, Cursor, Copilot, Codex, Gemini, or OpenCode to the server and verify the connection behaves. Covers stdio vs HTTP transport, auth and scopes, the three meta-tools every client sees, and delegation to subagents.
Open skill

