Skip to content
Skills Library
Data & analytics · Conversion & formats

graphify

/graphify

Render the typed knowledge graph (memory/ontology/graph.jsonl) as Mermaid in markdown, or standalone HTML for big graphs. Triggers on "visualize my knowledge graph", "graph my learning".

Repository
thinkpad ↗
Licence
Apache-2.0
Last repository change
04.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 04.11.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Render the typed knowledge graph (memory/ontology/graph.jsonl) as Mermaid in markdown, or standalone HTML for big graphs. Triggers on "visualize my knowledge graph", "graph my learning".

Triggers from the description

visualize my knowledge graphgraph my learning
Original author description

Render the typed knowledge graph (memory/ontology/graph.jsonl) as Mermaid in markdown, or standalone HTML for big graphs. Triggers on "visualize my knowledge graph", "graph my learning".

How it works

  1. Inputs
  2. Output Formats
  3. Rendering Rules
  4. Optional — graphify.net
  5. Invariants
Original SKILL.md headings · 44 lines, 392 words
SKILL.md preview
---
name: graphify
description: Render the typed knowledge graph (memory/ontology/graph.jsonl) as Mermaid in markdown, or standalone HTML for big graphs. Triggers on "visualize my knowledge graph", "graph my learning".
metadata:
  api: 1
  kind: infra
  mode: infra
  terminal: allowed
  triggers: ["visualize my knowledge graph", "graph my learning"]
  reads: ["memory/ontology/graph.jsonl"]
  writes: ["media/out/"]
  requires: []
  graph_reads: ["*"]
  graph_writes: []
---

# tp:graphify — Knowledge Graph Visualization

Renders `memory/ontology/graph.jsonl` (typed nodes + relations; types defined in `harness/memory/schema.toml`) into a visual graph.

**Terminal exemption:** infra skill — MAY use terminal commands freely (jq for graph stats, opening HTML output). The learning-session file-tools-only rule does not apply.

## Inputs

1. Read `harness/memory/schema.toml` (and `memory/ontology/schema.toml` if present) for the types and relations.
2. Get current state from the engine, not the raw log: `python3 harness/scripts/ontology.py list` and `related` (see `references/rendering.md`).
3. `jq` is fine for counting: nodes per type, edge counts — decide output format from size *before* rendering.

## Output Formats

| Graph size (post-filter) | Format | Destination |
|---|---|---|
| ≤ ~50 nodes | Mermaid `graph LR` in a markdown file | `media/out/graph-YYYY-MM-DD.md` (or inline in chat if small) |
| > ~50 nodes | Standalone HTML (Mermaid via CDN, or simple vis) | `media/out/graph-YYYY-MM-DD.html`, then `open` it |

## Rendering Rules

- **Group by type**: one Mermaid `subgraph` per node type (Concept, Learning, Resource, ...).
- **Relations as labeled edges**: `A -->|relation| B`.
- **Short labels**: truncate node labels to ~30 chars with `…`; never dump long descriptions into a node.
- **Cap ~50 rendered nodes.** If the graph is bigger, either:
  - filter by type (ask, or use the type(s) the user mentioned — "graph my chemistry learning" → filter to that env's nodes), or
  - go HTML, still keeping labels short.
- **Filterable by type**: always tell the user which types were included/excluded and offer per-type re-renders. In HTML output, include simple per-type toggle checkboxes if feasible; otherwise one section per type.
- Mermaid IDs must be sanitized (alphanumeric + underscore); keep an id→label mapping, never put raw punctuation in IDs.
- Orphan nodes (no edges): render in a compact "unlinked" subgraph or omit with a count — say which you did.

## Optional — graphify.net

For full-repo structural analysis (beyond the ontology graph), graphify.net exists as an external option. **Reference only** — mention it when the user wants whole-repo visualization; do not upload anything without the user explicitly asking.

## Invariants

- Never modify the graph or either schema file — this skill is strictly read-and-render.
- Every render states: node count shown / total, types included, edges shown.
- Outputs land in `media/out/`, dated; don't overwrite a previous day's render.

References: `references/rendering.md` (Mermaid templates, HTML skeleton, filtering recipes).
Files in this package (2)
  • SKILL.md 3 KB
  • references/rendering.md 2 KB

Versions

RepositoryScoreLicence
This page · rdennler/thinkpad90Apache-2.0
vanducng/skills100MIT
TerminalSkills/skills100Apache-2.0
2799662352/ai-image-master100MIT
Metixpro/Macron-Agent100MIT
adeiltonpessini/kit-memoria-ia100Apache-2.0
vinnie357/claude-skills100MIT
v1truv1us/ai-eng-system100MIT
sammcj/agentic-coding95Apache-2.0

Database snapshot: 13.11.2026 · package version f25b10ac238b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90project-knowledge-graph
    基于 graphify(Graphify-Labs/graphify,多模态知识图谱生成器)做项目/语料的知识图谱 构建:当用户接手陌生大型代码库要先摸清结构枢纽、要把代码+文档+论文+截图等异构语料 织成统一概念网络、或要给后续 agent 会话留下可增量更新的 wiki/图谱导航层时触发。 边界:不做动态对话记忆与用户画像、不做经验 SOP 沉淀;小语料(≤6 文件)收益有限需 如实告知。
  • 100graph
    Use when the user wants to build, refresh, or visualize the repo's knowledge graph — code structure plus the committed wiki/ — via graphify. Produces an interactive graph + a GRAPH_REPORT.md of God Nodes, surprising connections, and suggested questions. Trigger on "/graph",…
  • 100karpathy-graph-visualize
    Render a karpathy-graph for humans — an interactive HTML explorer, a Mermaid diagram for docs and PRs, and a health report — then explain what the picture actually shows. Use when the user asks to see, visualize, draw, or open the graph, wants a diagram for documentation, or…
  • 100graphify-usage
    This skill should be used when querying the graphify knowledge graph for structural codebase information, choosing between graph tools and grep, or interpreting graph query results.
  • 90explain-code
    Use when the owner wants a code project mapped as a knowledge graph or wants code explained to a beginner, using Understand-Anything or graphify.
  • 95render
    Convert Neo4j graph data into Markdown documents with Mermaid diagrams. Use when: render graph, generate docs, or the user says "/nacl:render md". Excalidraw board rendering moved to analyst-tool — see the file body.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.