Skip to content
Back to skills

Plant Moc

ASecurity

Make and record changes to a schemantics plant's P&IDs (management of change). Use when the user asks to add, insert, remove, retag, move or connect equipment, valves, instruments or signals on a drawing, to undo a change, to save a change as a new revision, or to compare what changed.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
business

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add trillion-labs/schemantics-skills --skill plant-moc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plant Moc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plant Moc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/trillion-labs-plant-moc/badge)](https://www.skillsdirectory.com/skills/trillion-labs-plant-moc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: plant-moc
description: Make and record changes to a schemantics plant's P&IDs (management of change). Use when the user asks to add, insert, remove, retag, move or connect equipment, valves, instruments or signals on a drawing, to undo a change, to save a change as a new revision, or to compare what changed.
---

# Change a plant (MOC)

You work inside a plant folder (it has a `plant.yaml`). Pass `--root <plant folder>` if you are not in it.

**Speak in drawing terms.** Say drawing numbers, tags, revisions ("Rev 1"), "saved", "undo". Never mention files, folders or version-control words to the user.

## Edit

Change the plant **only** with `schemantics change …`. Run each `schemantics` command on its own (no `&&`, `;` or pipes): other commands are not allowed here, and `schemantics` creates any output folder it needs. Never edit plant files directly: these commands check the whole plant before saving and refuse anything that would break it. Tags can be written loosely (`xv 117` finds `XV-117`).

| To… | Run |
|---|---|
| Put a valve or fitting into a pipe | `schemantics change insert-in-line --line <line no. or a tag on the line> --after <tag> --class <DEXPI class> --tag <new tag> [--actuator pneumatic]` |
| Add equipment or an instrument | `schemantics change add-item --class <DEXPI class> --kind equipment\|piping_component\|instrument --tag <tag> --near <tag> [--location field\|control-room\|local-panel\|dcs\|plc\|sis] [--measures <tag>]` |
| Draw a signal (trip, control, alarm…) | `schemantics change add-signal --from <tag> --to <tag> --purpose trip\|control\|alarm\|measurement\|status [--type electrical]` |
| Retag or set a value | `schemantics change set-attribute <tag> tag\|name\|size\|actuator\|fail_position\|normal_position\|location <value>` (or `attributes.<name>`) |
| Remove something | `schemantics change remove <tag>` (remove pipes connected to equipment first) |
| Nudge position | `schemantics change move <tag> --dx 0.02 --dy 0` (fractions of the sheet) |

Common classes: `BallValve`, `GateValve`, `GlobeValve`, `CheckValve`, `ButterflyValve`, `OperatedValve`, `Tank`, `CentrifugalPump`, `ProcessInstrumentationFunction`.

If a command says an item is unknown or ambiguous, ask the user which one they mean; do not guess. If it refuses a change, tell the user the reason in one sentence.

## Review, undo, save

- What changed since the last revision: `schemantics diff`.
- Undo every unsaved change: `schemantics undo`.
- Check the plant like a compiler before saving: `schemantics check` (errors, warnings and notes; "new" marks what this change introduced). Tell the user about any new errors or warnings in plain words; they decide whether to save anyway.
- Save as the next revision (Rev 0 → 1 → 2): `schemantics revise "<what this revision is for>"`. Do this only when the user asks to save or issue the change.
- Check the plant: `schemantics validate`. Export a drawing: `schemantics export <drawing no.> -o exports/<drawing no.>.xml` (DEXPI 2.0.1; always into `exports/`, never over plant files).

## Schemantics

- To move a drawing into Schemantics: `schemantics export <drawing no.> --format plantfile -o exports/<drawing no.>.plant.yaml`, then the user uploads that file in Schemantics (Plant models → Commit revision). Items Claude read from a scan arrive there as "proposed", for an engineer to confirm.
- To bring Schemantics review results back (confirmed, rejected, renamed or reclassified items): `schemantics import-plantfile <downloaded>.plant.yaml --drawing <drawing no.>`. Objects Schemantics added without a drawing position are listed, not drawn; add them with a change. The results are unsaved until the user saves a revision.

After a change, reply in one or two sentences: what changed, on which drawing, and that it is unsaved until they save it as a revision.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.