Explore logo

Explore

Community
xwtro0tk1t-cloud
explore

Graph-driven project understanding using code-review-graph (CRG). Query architecture, modules, callers/callees, impact radius, hotspots, execution flows, and search nodes. Use when: (1) brainstorming and need to understand project structure, (2) writing plans and need impact analysis, (3) user says "understand this project", "how does this module work", "impact analysis", "/explore", (4) reviewing code changes and need blast radius. Requires .code-review-graph/graph.db — run /graph build first if missing.

Overview

Publisherxwtro0tk1t-cloud
Repositoryharness
Skill nameexplore
Stars
264
Forks
25
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by xwtro0tk1t-cloud on GitHub. Read the source before you install it.

Installation

Install the Explore AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/xwtro0tk1t-cloud/harness/tree/main/bundled-skills/explore
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xwtro0tk1t-cloud/harness.git /tmp/harness
mkdir -p .claude/skills
cp -r /tmp/harness/bundled-skills/explore .claude/skills/explore
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Explore in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Explore on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Explore is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Explore — Graph-Driven Project Understanding

Overview

Query the project's code knowledge graph to understand architecture, trace call chains, and analyze impact. Powered by CRG's graph.db (SQLite) + CRG Python API.

Announce at start: "I'm using the explore skill to query the project's code knowledge graph."

Prerequisites

  • CRG must be installed: python -c "import code_review_graph.tools"
  • Graph must exist: .code-review-graph/graph.db
  • If missing → tell user: "Please run /graph build first"
  • If graph older than 24h → suggest: "Graph may be stale, consider /graph update"

Commands

/explore architecture — Project Architecture Overview

Shows module decomposition, coupling relationships, and entry points.

python
from pathlib import Path
from code_review_graph.tools import list_communities_func, get_architecture_overview_func

# Get communities (modules) — CRG takes repo_root, not db_path
repo = Path(".")
result = list_communities_func(repo_root=repo)
communities = result.get("communities", [])

# Get architecture overview
overview = get_architecture_overview_func(repo_root=repo)

Present as: module list with node counts, inter-module coupling, key entry points.

/explore module <name> — Module Details

Shows nodes, edges, and responsibilities of a specific module.

python
from pathlib import Path
from code_review_graph.tools import list_communities_func

# CRG has no single-community query API — filter from full list
result = list_communities_func(repo_root=Path("."))
communities = result.get("communities", [])
target = [c for c in communities if name.lower() in str(c).lower()]

/explore callers <func> — Who Calls This Function?

Direct SQLite query (no CRG wrapper available for this):

python
import sqlite3
conn = sqlite3.connect(".code-review-graph/graph.db")
conn.row_factory = sqlite3.Row
rows = conn.execute(
    "SELECT * FROM edges WHERE target_qualified LIKE ? AND kind='CALLS'",
    (f"%{func}%",)
).fetchall()
conn.close()

/explore callees <func> — What Does This Function Call?

python
import sqlite3
conn = sqlite3.connect(".code-review-graph/graph.db")
conn.row_factory = sqlite3.Row
rows = conn.execute(
    "SELECT * FROM edges WHERE source_qualified LIKE ? AND kind='CALLS'",
    (f"%{func}%",)
).fetchall()
conn.close()

/explore impact <file> — Impact Analysis

Shows which flows and functions are affected by changes to a file.

python
from pathlib import Path
from code_review_graph.tools import get_impact_radius, get_affected_flows_func

# CRG takes changed_files (list) and repo_root, not file_path + db_path
repo = Path(".")
impact = get_impact_radius(changed_files=["<file>"], repo_root=repo)
result = get_affected_flows_func(changed_files=["<file>"], repo_root=repo)
flows = result.get("flows", result.get("affected_flows", []))

/explore hotspots — Hub Nodes, Bridge Nodes, Knowledge Gaps

IMPORTANT: get_hub_nodes_func / get_bridge_nodes_func from code_review_graph.tools are buggy. Use code_review_graph.analysis instead:

python
from code_review_graph.tools._common import _get_store
from code_review_graph.analysis import find_hub_nodes, find_bridge_nodes

# CRG analysis functions take a store object, not db_path
# Must use _get_store() first to get the store
store, _ = _get_store(str(Path(".").resolve()))
hubs = find_hub_nodes(store, top_n=20)
bridges = find_bridge_nodes(store, top_n=20)

For knowledge gaps (get_knowledge_gaps has sqlite3.Row type issue), use direct SQLite:

python
import sqlite3
conn = sqlite3.connect(".code-review-graph/graph.db")
# Nodes with high connectivity but no docstring/comments
rows = conn.execute("""
    SELECT n.qualified_name, n.kind, COUNT(e.id) as edge_count
    FROM nodes n
    JOIN edges e ON n.qualified_name = e.source_qualified OR n.qualified_name = e.target_qualified
    WHERE n.docstring IS NULL OR n.docstring = ''
    GROUP BY n.qualified_name
    HAVING edge_count > 5
    ORDER BY edge_count DESC
    LIMIT 20
""").fetchall()
conn.close()

/explore flows — Execution Flow List

python
from pathlib import Path
from code_review_graph.tools import list_flows

# Note: NO _func suffix — it's list_flows, not list_flows_func
result = list_flows(repo_root=Path("."))
flows = result.get("flows", [])

/explore search <keyword> — Search Nodes by Keyword

Try CRG's search first, fallback to direct SQLite:

python
import sqlite3
conn = sqlite3.connect(".code-review-graph/graph.db")
# Try FTS5 first
try:
    rows = conn.execute(
        "SELECT * FROM nodes_fts WHERE nodes_fts MATCH ?", (keyword,)
    ).fetchall()
except:
    # Fallback: LIKE query
    rows = conn.execute(
        "SELECT * FROM nodes WHERE name LIKE ?", (f"%{keyword}%",)
    ).fetchall()
conn.close()

CRG API Notes (from challenger review)

These bugs are confirmed in backend/services/graph_builder.py workarounds:

APIIssueWorkaround
get_hub_nodes_func (tools)BugUse find_hub_nodes from code_review_graph.analysis + _get_store()
get_bridge_nodes_func (tools)BugUse find_bridge_nodes from code_review_graph.analysis + _get_store()
get_knowledge_gaps (tools)sqlite3.Row type issueDirect SQLite query
callers/calleesNo CRG wrapperDirect SQLite on edges table

Development Workflow Integration

PhaseHow to Use
brainstorming/explore architecture before designing — understand existing structure
writing-plans/explore impact <file> to predict blast radius, inform Files list
coding/explore callers <func> to understand upstream/downstream
code-review/explore impact <file> to verify blast radius coverage

Graceful Degradation

  • CRG not installed or graph missing → "Please run /graph build first"
  • Graph stale (>24h since last update) → "Graph may be outdated, suggest /graph update"

Frequently asked questions

What does the Explore AI skill do?

Graph-driven project understanding using code-review-graph (CRG). Query architecture, modules, callers/callees, impact radius, hotspots, execution flows, and search nodes. Use when: (1) brainstorming and need to understand project structure, (2) writing plans and need impact analysis, (3) user says "understand this project", "how does this module work", "impact analysis", "/explore", (4) reviewing code changes and need blast radius. Requires .code-review-graph/graph.db — run /graph build first if missing.

Why use Explore on TypingMind?

Because you install it once and use it with any model. Explore is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Explore in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/xwtro0tk1t-cloud/harness/tree/main/bundled-skills/explore. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Explore?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Explore?

As many as you like. As long as a model supports skills, you can use Explore with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Explore AI skill free?

It is published on GitHub by xwtro0tk1t-cloud. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇