- Home
- MCP and skills
- This story
PID-to-Knowledge-Graph: a Claude skill that turns P&ID drawings into a knowledge graph
This Claude skill reads P&ID drawings from PDFs, digital or scanned, and builds a knowledge graph of process flow, instruments and control loops. Outputs include a summary.md, a QA report, graph.json and a DuckDB file for queries, with optional export to…
Why it matters
A good example of a domain-specific Claude skill that pairs the model's visual reading with deterministic scripts.
What happened
1 min readThis Claude skill reads P&ID drawings from PDFs, digital or scanned, and builds a knowledge graph of process flow, instruments and control loops. Outputs include a summary.md, a QA report, graph.json and a DuckDB file for queries, with optional export to Neo4j and GraphML. Claude does the visual reading while Python scripts handle preparation, graph building and checks.
Our analysis
The hybrid design, with Claude for visual judgement, scripts for routine steps and a QA report for review, is a good template for other skills. Quality depends on drawing legibility, and logic that exists only in control narratives is not captured. The README gives no independent accuracy figures, so verify against drawings you know. Worth a try for process engineers and industrial data teams.