petri-net-sim: Skill for Claude Code

.claude/skills/petri-api/SKILL.md

petri-api is a skill for Claude Code from sergiorbk/petri-net-sim. It costs 72 tokens per session (918 once invoked), scanned A, original, no licence file.

A tool for calling the Petri Net Sim HTTP API from code or a shell. Petri nets are diagrams that model processes and can be simulated to see how they behave.

In plain words
What is it for?
It is for generating process models from natural-language prompts, then reading, saving, exporting, or simulating them through the API.
Why use it?
It lets developers automate the app and inspect results without using its interface manually, including troubleshooting authentication or empty responses.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is sergiorbk/petri-net-sim's own configuration. It tells Claude Code how to work on petri-net-sim itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything petri-net-sim configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sergiorbk/petri-net-sim. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sergiorbk/petri-net-sim/main/.claude/skills/petri-api/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sergiorbk/petri-net-sim

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for petri-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergiorbk/petri-net-sim/petri-api/github.svg)](https://agentmods.dev/skills/sergiorbk/petri-net-sim/petri-api)
Your own site
<a href="https://agentmods.dev/skills/sergiorbk/petri-net-sim/petri-api"><img src="https://agentmods.dev/badge/skills/sergiorbk/petri-net-sim/petri-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for petri-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/sergiorbk/petri-net-sim/petri-api"><img src="https://agentmods.dev/badge/skills/sergiorbk/petri-net-sim/petri-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.00918
Opus 5 $0.00036 $0.00459
Sonnet 5 $0.00014 $0.00184
Haiku 4.5 $0.00007 $0.00092

Measured 8d ago against content hash bc2598a67fae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

petri-api scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://localhost:6204/api/v1/config
.claude/skills/petri-api/SKILL.md · 82 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 82 lines · 72 tokens per session scan A bc2598a67fae

Subscribe to this mod's changes

petri-api is a skill published in the GitHub repository sergiorbk/petri-net-sim (5 stars, last pushed 13d ago), with no licence file. It adds 72 tokens to every session and 918 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

science_writing_expert

A writing guide for explaining science and technology to general readers in clear, everyday language.

crane-in-clear-sky/WorkWit-AI-Agent · 87 tokens

background-task

Add or modify work that runs outside the request/response cycle — emails, document ingestion, webhooks, cleanups, scheduled jobs. Use when something is slow or fire-and-forget, or when adding a periodic/cron task. This project's queue is {{ cookiecutter.backgroundtasks }}.

vstorm-co/full-stack-ai-agent-template · 62 tokens

agent-tool

Add a new tool/function the AI agent can call (e.g. look something up, hit an external API, perform an action). Use when extending the assistant's capabilities, wiring a new function into the agent, or when the model needs a new action. This project uses {{ cookiecutter.aiframework }}.

vstorm-co/full-stack-ai-agent-template · 66 tokens

frontend-feature

Build a new page, view, or data-driven feature in the Next.js frontend. Use when adding a route under the dashboard/marketing area, wiring UI to a backend endpoint, adding client state, or creating a localized page. Covers App Router, data fetching, Zustand stores, and i18n.

vstorm-co/full-stack-ai-agent-template · 64 tokens

rag-knowledge

Work with the RAG knowledge base — ingest documents, run semantic search, manage collections, or add a sync source/connector (Google Drive, S3). Use when populating or debugging the knowledge base, tuning retrieval, or adding a new document source. This project uses {{ cookiecutter.vectorstore }} + {{…

vstorm-co/full-stack-ai-agent-template · 76 tokens

alembic-migration

Create, review, and apply database schema changes with Alembic. Use whenever a SQLAlchemy model is added or changed, a column/index/constraint needs to change, or a data backfill is required — anything that alters the PostgreSQL schema.

vstorm-co/full-stack-ai-agent-template · 56 tokens