Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-find-pi-assets
Find and query PI assets using MATLAB's Industrial Communication Toolbox. Two paths: (1) direct PI tag lookup via piclient + tags when user provides a tag name or description (R2022a+), (2) Asset Framework navigation via afclient when user needs element/attribute hierarchy (R2026a+).
Passed 21 of 21 test cases with the skill, and 5 of 21 without it.
and 24 more in the full report
17 fixed5 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
A user explicitly provides a PI tag name 'PUMP101.FLOW'. Write the most direct MATLAB code to connect to PI Data Archive server 'PIServer01' and retrieve its current snapshot reading, avoiding unnecessary AF hierarchy browsing.
| Checked | Without skill | With skill |
|---|---|---|
| Uses piclient to connect directly to the PI Data Archive server. | Missed | Passed |
| Uses tags to locate the tag name. | Missed | Passed |
The instructions your model reads when the skill loads.
Connect to PI systems, locate assets, and read historical data using MATLAB's Industrial Communication Toolbox wrappers — not raw .NET SDK interop.
| Workflow | Minimum Release | Functions |
|---|---|---|
| A: PI Data Archive (tag lookup) | R2022a+ | piclient, tags, read (piclient) |
| B: PI Asset Framework (AF navigation) | R2026a+ | afclient, findElementByName, getAttributes, readHistory, etc. |
Choose the workflow based on what information the user provides:
| User provides | Workflow | Entry function |
|---|---|---|
A PI tag name (e.g., "GU1.ActivePower") | A: Direct Tag Lookup | piclient → tags |
| A tag description or partial tag name | A: Direct Tag Lookup | piclient → tags |
| An element name, template, or attribute in AF | B: AF Navigation | afclient |
| A request to browse/explore the asset hierarchy | B: AF Navigation | afclient |
If unclear, ask the user: "Do you have a specific PI tag name, or do you need to navigate the Asset Framework hierarchy?"
test cases passed, vs 5 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.