Get the daily emailDaily email
  1. Home
  2. MCP and skills
  3. 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…

Published Read the original
PID-to-Knowledge-Graph: a Claude skill that turns P&ID drawings into a knowledge graph

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 read

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 Neo4j and GraphML. Claude does the visual reading while Python scripts handle preparation, graph building and checks.

inscraper analysis

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.

More in MCP and skills