Skill / SKILL.md

Pid To Kg

ScottDuncanAI/PID-to-Knowledge-Graph

Converts P&IDs (piping and instrumentation diagrams) and PFDs in PDF form, either vector or scanned, into a process knowledge graph covering equipment connectivity (upstream/downstream), instrument locations and measured variables, and control loops. Output is JSON plus a DuckDB file plus an LLM-ready Markdown summary plus a validated DEXPI 2.0.1 XML file. Use when the user wants to digitize, extract, analyze or build a knowledge graph or context layer from P&IDs, or asks what is upstream/downstream of a piece of equipment, which sensors measure what, or how a plant's control loops are structured.
2 views 446 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Converts P&IDs (piping and instrumentation diagrams) and PFDs in PDF form, either vector or scanned, into a process knowledge graph covering equipment connectivity (upstream/downstream), instrument locations and measured variables, and control loops. Output is JSON plus a DuckDB file plus an LLM-ready Markdown summary plus a validated DEXPI 2.0.1 XML file. Use when the user wants to digitize, extract, analyze or build a knowledge graph or context layer from P&IDs, or asks what is upstream/downstream of a piece of equipment, which sensors measure what, or how a plant's control loops are structured.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/ScottDuncanAI/PID-to-Knowledge-Graph' skill-source

Use the complete skill-source/skills/pid-to-kg directory with your client’s skill installer.

Source directory skills/pid-to-kg

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
38 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
d8daa5aa74cbacc1973e0fc9891b7906c5cfdc84a11e8c3748824dd7b533c065
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills