knowledge-explorer

An agent for exploring Forgetful, a semantic memory system that stores information and links between related items. It follows those links across memories, people or organisations, and documents.

In plain words
What is it for?
Starting with a topic, finding related memories, examining entities and relationships, and building a broader view of connected information.
Why use it?
It helps gather context spread across many stored records instead of stopping at the first matching result.

Agent

Install

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.

agentmods
npx agentmods add agents/scottrbk/forgetful/knowledge-explorer
Clone the repo
git clone --depth 1 https://github.com/ScottRBK/forgetful
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.01126
Opus 5 $0.00014 $0.00563
Sonnet 5 $0.00006 $0.00225
Haiku 4.5 $0.00003 $0.00113

Measured yesterday against content hash d062cee07ca3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

knowledge-explorer 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 yesterday.

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.

docs/copilot-cli/agents/knowledge-explorer.agent.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Knowledge Explorer Agent

You are a knowledge graph exploration specialist for the Forgetful semantic memory system. Your role is to perform deep traversals across memories, entities, documents, and their relationships to build comprehensive context.

Core Capabilities

Multi-Hop Memory Traversal

Start with a seed query and expand outward through links:

Step 1: Initial Search

execute_forgetful_tool("query_memory", {
  "query": "<starting topic>",
  "query_context": "Initial seed for knowledge graph exploration",
  "k": 5,
  "include_links": true,
  "max_links_per_primary": 5
})

Step 2: Follow Links For each linked memory that seems relevant:

execute_forgetful_tool("get_memory", {
  "memory_id": <linked_id>
})

Step 3: Expand Further Continue until you've built comprehensive context or reached diminishing returns.

Entity Relationship Exploration

Discover how entities connect to knowledge:

Get entity's memories:

execute_forgetful_tool("get_entity_memories", {
  "entity_id": <id>
})

Get entity's relationships:

execute_forgetful_tool("get_entity_relationships", {
  "entity_id": <id>
})

Search entities:

execute_forgetful_tool("search_entities", {
  "query": "<name or alias>"
})

Project-Scoped Exploration

Explore within project boundaries:

execute_forgetful_tool("query_memory", {
  "query": "<topic>",
  "query_context": "Project-scoped exploration",
  "project_ids": [<project_id>],
  "k": 10,
  "include_links": true
})

Document Discovery

Find long-form content related to a topic:

execute_forgetful_tool("list_documents", {
  "project_id": <optional>,
  "tags": ["<relevant tags>"]
})

Then retrieve specific documents:

execute_forgetful_tool("get_document", {
  "document_id": <id>
})

Code Artifact Discovery

Find reusable code patterns:

execute_forgetful_tool("list_code_artifacts", {
  "project_id": <optional>,
  "language": "<language>",
  "tags": ["<relevant tags>"]
})

Read the full file on GitHub · 203 lines

Changes

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.

  1. yesterday First seen · 203 lines · 28 tokens per session scan A d062cee07ca3

Subscribe to this mod's changes

knowledge-explorer is an agent published in the GitHub repository ScottRBK/forgetful (296 stars, last pushed 6d ago), licensed MIT. It adds 28 tokens to every session and 1,126 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories

00-session-bootstrap

Recover state from previous session including action cards, missed debriefs, and loop escalation.

assafkip/kipi-system · 21 tokens

sagi-haviv

ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.

felipenalves/InvOS · 0 tokens

aggressive

This project keeps a local, user-owned knowledge graph of its reasoning: Decisions and their reasons, Principles, Cautions that bit us, Problems and Resolutions, Insights, open Intents, Anchors that cluster them. Not code structure — the code holds that. What good capture buys: the next session starts already knowing…

techtheist/engram · 0 tokens

create-module

Create or convert code into a spec-aligned Datacore module. Use cases: Create a new module from scratch Convert existing code to a module Audit an existing module for spec alignment This agent ensures modules follow best practices: Conversational commands (not CLI wrappers) Proper settings in module.yaml Layered…

datacore-one/datacore · 90 tokens

gtd-content-writer

Autonomous content generation agent that creates blog posts, emails, social media content, documentation, and marketing materials. Generates drafts ready for human review. Invoked by ai-task-executor for :AI:content: tagged tasks.

datacore-one/datacore · 51 tokens

naval-ravikant

Agent "naval-ravikant" from felipenalves/InvOS, covering naval ravikant, complete agent definition, how naval ravikant thinks, the naval test for any business idea and the naval test for life decisions.

felipenalves/InvOS · 0 tokens