Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Java, TypeScript, Rust, Python
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A skill that teaches net design rather than API calls: data carried as tokens, decisions as topology, budgets and permits as places, reusable subnets, correlated fork and join by identity, and how to keep SMT and state-class proofs cheap as a net grows. It is language agnostic, with a short appendix per implementation for the handful of facts that change a design decision.
It works in Claude Code, OpenAI Codex CLI, opencode and oh-my-pi. All four read the same
SKILL.md contract, so there is one copy of the content and no per-harness fork.
| File | Read it for |
|---|---|
skills/petri-net-design/SKILL.md | the principles and the closing decision checklist. Always loaded. |
references/verification.md | any proof question: what is checkable, why a query is Unknown, keeping proofs cheap |
references/composition.md | subnets, ports versus channels, instantiate versus direct compose, fusion |
references/nu-nets.md | correlating parallel work by identity: minting, matching, the budget place |
references/patterns.md | worked topologies from a production system, and what made them provable |
references/lang-{java,typescript,rust,python}.md | the per-language facts that change a design decision |
The references load on demand, so a session that never asks a proof question never pays for
verification.md.
All three read ~/.agents/skills, so one symlink installs it in all three:
git clone --depth 1 https://github.com/debe/libpetri.git ~/.local/share/libpetri
mkdir -p ~/.agents/skills
ln -s ~/.local/share/libpetri/plugins/libpetri/skills/petri-net-design \
~/.agents/skills/petri-net-design
Updating is git -C ~/.local/share/libpetri pull. The symlink means there is nothing else to
do, which is the whole reason this is a link rather than a copy.
Uninstall is rm ~/.agents/skills/petri-net-design.
/plugin marketplace add debe/libpetri
/plugin install libpetri@libpetri
Invoke it directly with /libpetri:petri-net-design. From inside a checkout, use
/plugin marketplace add . instead of the GitHub shorthand.
Use these only if ~/.agents/skills is not picked up, for instance because you turned that
discovery root off.
Codex reads $CODEX_HOME/skills:
ln -s ~/.local/share/libpetri/plugins/libpetri/skills/petri-net-design \
~/.codex/skills/petri-net-design
opencode reads its own config dir, or takes an explicit path:
ln -s ~/.local/share/libpetri/plugins/libpetri/skills/petri-net-design \
~/.config/opencode/skills/petri-net-design
{
"$schema": "https://opencode.ai/config.json",
"skills": { "paths": ["/absolute/path/to/libpetri/plugins/libpetri/skills"] }
}
oh-my-pi reads its agent dir, or skills.customDirectories in ~/.omp/agent/config.yml:
ln -s ~/.local/share/libpetri/plugins/libpetri/skills/petri-net-design \
~/.omp/agent/skills/petri-net-design
skills:
customDirectories:
- /absolute/path/to/libpetri/plugins/libpetri/skills
Nothing to install. .agents/skills/petri-net-design is a committed relative symlink to
plugins/libpetri/skills/petri-net-design, and Codex, opencode and oh-my-pi all read a repo-local
.agents/skills, so the skill is available to all three as soon as you open the repo. Claude Code
users take the plugin route above.
Codex renders the model-visible prompt, no model call and no network:
codex debug prompt-input "x" | grep -c petri-net-design # expect 1
codex debug prompt-input "x" | grep -A5 'Skill roots' # shows which root won
opencode: redirect to a file, do not pipe. opencode debug skill emits about 64 KB and
truncates nondeterministically through a pipe, which makes | jq fail with
Unfinished string at EOF and makes | grep -c return a different number each run:
opencode debug skill > /tmp/skills.json && grep -c petri-net-design /tmp/skills.json
oh-my-pi has no offline probe. Ask it, or use the slash command in an interactive session:
omp -p "Without using any tools, list the names of every skill available to you."
/skill:petri-net-design
omp read skill://petri-net-design looks like the right probe and is not: the read CLI does not
populate the skill registry, so it reports Unknown skill even when the skill loads correctly in
a session.
Claude Code, offline and exit-coded:
claude plugin validate plugins/libpetri
claude plugin details libpetri@libpetri # component inventory and projected token cost
7-day copy clicks
npx claudepluginhub debe/libpetri --plugin libpetriPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.