agentleFS
Gzyms69Gzyms69/agent-setup-bundle/skills/skill-graph-analytics/SKILL.md

skill-graph-analytics

Skill0 starsChanged 3 months agoMITView on GitHub

Graph databases (Neo4j), Cypher queries, topology analysis, and Graph Data Science (GDS). MUST ACTIVATE when managing Neo4j instances, modeling knowledge graphs, executing graph algorithms (PageRank, centrality, similarity), or performing network analysis.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Anti-Reinvention: Never write multi-hop pathfinding or set-similarity math in raw Cypher if GDS is available.

    line 12
  2. Very specific:

    Verification: Run CALL gds.list() and CALL apoc.help('keyword') before coding new logic.

    line 13
  3. Distinctive:

    Sampling: Use topological neighbors sampling to minimize Neo4j memory footprint when resolved entity details are needed.

    line 18
  4. Distinctive:

    JIT Configuration: Use Just-In-Time (JIT) rules for dynamic schema generation when dealing with multi-language data sources.

    line 22
  5. Distinctive:

    Scaling: Prefer language-isolated Neo4j containers federated through a unified FastAPI bridge.

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Analytics & Topology Skill

This skill provides specialized protocols for high-performance graph database operations.

1. The GDS Mandate

  • Rule: For any graph algorithm (Similarity, Centrality, Pathfinding), you MUST first check if a gds.* procedure exists.
  • Anti-Reinvention: Never write multi-hop pathfinding or set-similarity math in raw Cypher if GDS is available.
  • Verification: Run CALL gds.list() and CALL apoc.help('keyword') before coding new logic.

2. Memory & Performance

  • Off-Heap Awareness: GDS graphs live in Off-Heap Memory. Allocating 100% of RAM to the JVM Heap will cause OOM.
  • Cleanup Mandate: Any script/test that projects a graph (gds.graph.project) MUST explicitly drop it (gds.graph.drop) upon completion.
  • Sampling: Use topological neighbors sampling to minimize Neo4j memory footprint when resolved entity details are needed.

3. Knowledge Graph Architecture

  • Hybrid Storage: Store topology (links/QIDs) in Neo4j and heavy metadata (article content/metrics) in SQLite/FTS5 for sub-millisecond retrieval.
  • JIT Configuration: Use Just-In-Time (JIT) rules for dynamic schema generation when dealing with multi-language data sources.
  • Scaling: Prefer language-isolated Neo4j containers federated through a unified FastAPI bridge.

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.