agentleFS
ChrisGVEChrisGVE/localdata-mcp/skills/graph-data/graph-data-explore/SKILL.md

graph-data-explore

Skill15 starsChanged 15 months agoApache-2.0View on GitHub

Explore a graph data structure — nodes, edges, statistics, paths, and visualization. Use when working with DOT, GML, GraphML, or Mermaid files.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Connect to the graph: Call connect_database with the file path from $ARGUMENTS.

    line 14
  2. Very specific:

    Get graph statistics: Call get_graph_stats with the database name.

    line 16
  3. Very specific:

    Explore structure: Call get_edges to retrieve a sample of edges.

    line 20
  4. Very specific:

    Find paths: If there are at least two notable nodes, call find_path between them.

    line 24
  5. Very specific:

    Export a visualization: Call export_graph with a suitable format (DOT for Graphviz rendering, or the original format for round-tripping).

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Graph Data Explore

Connect to a graph data file, analyze its structure and key nodes, find paths, and export visualizations.

Steps

  1. Connect to the graph. Call connect_database with the file path from $ARGUMENTS. The tool auto-detects graph formats including DOT, GML, GraphML, and Mermaid. Note the assigned database name.
  2. Get graph statistics. Call get_graph_stats with the database name. Review: node count, edge count, density, whether the graph is directed or undirected, connected components count, and average degree. This gives an overview of the graph's scale and connectivity.
  3. Identify hub nodes. From the stats, note nodes with the highest degree (most connections). Call get_neighbors for the top 3 highest-degree nodes to understand what they connect to. These hubs are often the most important entities in the network.
  4. Explore structure. Call get_edges to retrieve a sample of edges. Look for patterns: are edges weighted? Do they have labels or types? Is the graph sparse or dense? Identify any isolated components or bridges.
  5. Inspect specific nodes. For nodes of interest (hubs or user-specified), call get_node to retrieve node attributes and metadata. Note any labels, types, or properties that provide context.
  6. Find paths. If there are at least two notable nodes, call find_path between them. Review the shortest path length and the intermediate nodes. This reveals how information or relationships flow through the network.
  7. Export a visualization. Call export_graph with a suitable format (DOT for Graphviz rendering, or the original format for round-tripping). For large graphs, suggest filtering to a subgraph around nodes of interest before exporting.
  8. Summarize findings. Present:
    • Graph type (directed/undirected, weighted/unweighted)
    • Scale: node and edge counts, density
    • Key structural features: hubs, communities, bridges
    • Notable paths or relationships discovered
    • Suggestions for further exploration or subgraph analysis

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.