AI SKILL pyvisa
Use when working with PyVISA - the Python library for controlling measurement instruments over VISA (GPIB, USB, serial/RS-232, TCPIP/Ethernet): ResourceManager, listing/opening resources, read/write/query, VISA attributes and constants, termination characters, timeouts, event handling, the visa shell, backends (pyvisa-py, NI-VISA), and the high-level/low-level API. import pyvisa. Not for the Python stdlib or other instrument-control libraries.From its SKILL.md
npx -y skills add LevyBytes/AI-SKILL-pyvisaAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, 360 tokens by cl100k_base, as published. Nobody here has run it
PyVISA Reference
Original-prose reference for PyVISA, split into one focused file per subject across 54 reference files. Identifiers (API/type/function names, flags, paths, enums, numbers) are preserved verbatim.
When to use this
Use this skill when the task involves the PyVISA library for instrument control over VISA - opening a ResourceManager, listing/opening resources (GPIB/USB/serial/TCPIP), read/write/query, VISA attributes and constants, termination characters, timeouts, event handling, the visa shell, choosing a backend (pyvisa-py vs NI-VISA), and the high-level/low-level API.
Workflow
- Open
references/INDEX.md(orreferences/topics.json) and pick the one file that matches. - Read only that file; open another only if the task spans subjects. Grep across files when needed:
rg -n "PATTERN" references/*.md. - Treat every identifier as an exact reference fact — never invent or paraphrase.
Gotchas
Recurring failure modes and what to do instead live in the sibling GOTCHA.md.
References
All depth lives in references/ — start at references/INDEX.md, metadata in references/topics.json. One subject per file.
Source
Adapted from the upstream PyVISA documentation into original prose for local reference. Identifiers remain verbatim. Upstream: https://pyvisa.readthedocs.io/en/latest/
Verification
python D:\dev\SKILLS\skills\skill-drafting\scripts\validate_skill_package.py D:\dev\SKILLS\skills\pyvisa
What ships with it: 60 files
1028.1 KB alongside SKILL.md
references/
- advanced.md16.1 KB
- api-2.md8.5 KB
- api.md15.2 KB
- constants-2-2.md23.6 KB
- constants-2-3.md20.4 KB
- constants-2.md24.0 KB
- constants.md128 B
- faq.md21.1 KB
- highlevel-2-2.md22.7 KB
- highlevel-2-3.md22.9 KB
- highlevel-2-4.md23.3 KB
- highlevel-2-5.md7.6 KB
- highlevel-2.md24.0 KB
- highlevel.md128 B
- INDEX.md5.5 KB
- introduction-2.md20.2 KB
- introduction-3.md23.4 KB
- introduction.md18.2 KB
- latest.md4.3 KB
- messagebased-2-2.md6.0 KB
- messagebased-2.md24.0 KB
- messagebased.md144 B
- modules.md1.4 KB
- resource.md22.5 KB
- resources-10.md23.6 KB
- resources-11.md23.5 KB
- resources-12.md23.6 KB
- resources-13.md22.1 KB
- resources-14.md23.5 KB
- resources-15.md23.7 KB
- resources-16.md23.5 KB
- resources-17.md22.2 KB
- resources-18.md23.6 KB
- resources-19.md23.1 KB
- resources-20.md23.7 KB
- resources-21.md20.7 KB
20 more files not listed here. See all 60 in the repository.