petri-net-sim: Skill for Claude Code

.claude/skills/add-a-setting/SKILL.md

add-a-setting is a skill for Claude Code from sergiorbk/petri-net-sim. It costs 61 tokens per session (1,052 once invoked), scanned A, original, no licence file.

An end-to-end skill for adding a user-facing setting or per-account switch to Petri Net Sim, a software simulator for Petri nets.

In plain words
What is it for?
Use it to add a Settings control, store a per-user preference or permission, and make the application respond to that setting.
Why use it?
It connects the visible toggle with saved preferences and the code that uses them, including settings that must survive a page reload.

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/add-a-setting/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 add-a-setting

README.md
[![agentmods](https://agentmods.dev/badge/skills/sergiorbk/petri-net-sim/add-a-setting/github.svg)](https://agentmods.dev/skills/sergiorbk/petri-net-sim/add-a-setting)
Your own site
<a href="https://agentmods.dev/skills/sergiorbk/petri-net-sim/add-a-setting"><img src="https://agentmods.dev/badge/skills/sergiorbk/petri-net-sim/add-a-setting/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 add-a-setting

Your own site · 80×15
<a href="https://agentmods.dev/skills/sergiorbk/petri-net-sim/add-a-setting"><img src="https://agentmods.dev/badge/skills/sergiorbk/petri-net-sim/add-a-setting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,052 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.00061 $0.01052
Opus 5 $0.00030 $0.00526
Sonnet 5 $0.00012 $0.00210
Haiku 4.5 $0.00006 $0.00105

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

Security

Grade A, and why

add-a-setting 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 10d 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 -X PATCH http://localhost:6204/api/v1/auth/me \
.claude/skills/add-a-setting/SKILL.md · 93 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. 10d ago First seen · 93 lines · 61 tokens per session scan A 53047396e19b

Subscribe to this mod's changes

add-a-setting is a skill published in the GitHub repository sergiorbk/petri-net-sim (5 stars, last pushed 15d ago), with no licence file. It adds 61 tokens to every session and 1,052 once invoked, about $0.0003 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

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

pytest-suite

Write or extend the backend test suite following this project's conventions. Use when adding tests for a new service/route/repository, when coverage is missing, or when asked to test a feature. Knows the mocked-session + httpx AsyncClient setup so tests run with no database.

vstorm-co/full-stack-ai-agent-template · 59 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