pandid-valve-symbol-instance

Extract valve symbol instances from prepared P&ID tiles with page-global coordinates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sgttomas/chirality-piping --skill pandid-valve-symbol-instance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pandid-valve-symbol-instance
Source: https://github.com/sgttomas/chirality-piping/tree/main/skills/pandid-valve-symbol-instance
Command: npx skills add https://github.com/sgttomas/chirality-piping --skill pandid-valve-symbol-instance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract pixel-anchored P&ID valve symbol instances from one prepared tile. A row may exist only after an isolated symbol crop has been classified as a valve class. Text never produces rows, and tag profiles never delete rows.

Core Features & Use Cases

  • Isolated-crop valve detection: identifies plausible valve glyphs and crops away nearby text to generate clean symbol instances.
  • Row emission with strict rules: outputs one row per valve crop and applies count_include semantics based on symbol_confidence.
  • Output fidelity and integration: uses the standardized valve stub schema and captures page-global coordinates and crop references for traceability.
  • Validation and QA readiness: ensures rows meet evidence requirements (center coordinates, bbox, symbol_class, and confidence) and supports downstream review.

Quick Start

Run the valve symbol extractor on each prepared tile to produce a symbol-instance table from isolated crops.

Frequently Asked Questions about pandid-valve-symbol-instance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract valve symbols from P&ID drawings without capturing nearby text?

To extract valve symbols from P&ID drawings, this tool isolates valve glyphs from nearby text and lines on prepared tiles. It generates one clean crop per valve symbol instance, ensuring text-only observations are filtered out and never produce rows.

What output format is used for isolated valve symbol crops?

The output format for isolated valve symbol crops uses a strict row-per-instance schema. Each row includes page-global coordinates, crop paths, symbol_class, and confidence values, ensuring traceability and ready integration with downstream valve_stub schemas.

How do I prepare tile-based P&ID drawings for valve symbol instance extraction?

Preparing tile-based P&ID drawings for valve symbol instance extraction requires dividing the documents into prepared tiles beforehand. The extractor then processes each tile individually to identify plausible valve glyphs and crop away adjacent text or lines.

Does valve symbol extraction filter out text-only observations from P&ID tiles?

Yes, valve symbol extraction strictly filters out text-only observations from P&ID tiles. Rows are only emitted after an isolated symbol crop has been successfully classified as a valve class, ensuring text never produces rows in the output.

Can I use the extracted valve symbol data for quality assurance and validation?

Yes, you can use the extracted valve symbol data for quality assurance. The output ensures every row meets evidence requirements by capturing center coordinates, bounding boxes, symbol_class, and confidence scores, which supports downstream review and validation.