agentleFS
iagocavalcanteiagocavalcante/claude-turbo-search/skills/knowledge-graph/SKILL.md

knowledge-graph

Skill15 starsChanged 9 months agoMITView on GitHub

Interactive TUI knowledge graph viewer for the persistent memory database.

14 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the user invokes /knowledge-graph, run the Go CLI viewer.

    line 12
  2. Distinctive:

    No external Go dependencies — uses ANSI escape codes for colors

    line 53
  3. Very specific:

    Run /remember first if the database is empty

    line 54
  4. Very specific:

    Run memory-db.sh init-metadata if entity tables are missing

    line 55

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/knowledge-graph - Knowledge Graph Viewer

Interactive TUI that visualizes the entity relationships, timelines, and statistics from the persistent memory database.

Instructions

When the user invokes /knowledge-graph, run the Go CLI viewer.

1. Resolve Paths

PLUGIN_DIR="${PLUGIN_DIR:-$(find ~/.claude/plugins -name "claude-turbo-search" -type d 2>/dev/null | head -1)}"
[ -z "$PLUGIN_DIR" ] && PLUGIN_DIR="$HOME/claude-turbo-search"

2. Run the Viewer

"$PLUGIN_DIR/memory/memory-db.sh" knowledge-graph [subcommand] [entity]

3. Subcommands

Map user arguments to subcommands:

  • /knowledge-graph — All views combined (default)
  • /knowledge-graph graph — Entity relationship graph with tree and edges
  • /knowledge-graph timeline — Chronological session/knowledge timeline
  • /knowledge-graph stats — Statistics dashboard with counts and bar charts
  • /knowledge-graph explore <name> — Drill-down into a specific entity
# Examples:
"$PLUGIN_DIR/memory/memory-db.sh" knowledge-graph
"$PLUGIN_DIR/memory/memory-db.sh" knowledge-graph stats
"$PLUGIN_DIR/memory/memory-db.sh" knowledge-graph graph
"$PLUGIN_DIR/memory/memory-db.sh" knowledge-graph timeline
"$PLUGIN_DIR/memory/memory-db.sh" knowledge-graph explore auth

4. Present Output

The command renders colored ANSI output directly to the terminal. Present the output as-is to the user. If the user asks about specific entities or relationships, use the explore subcommand to drill down.

Notes

  • Requires Go 1.22+ and SQLite3
  • No external Go dependencies — uses ANSI escape codes for colors
  • Run /remember first if the database is empty
  • Run memory-db.sh init-metadata if entity tables are missing

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.