chart

chart is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 62 tokens per session (1,877 once invoked), scanned A, original, MIT.

A model-checking and diagram tool for TLA+ specifications. TLA+ is a language for describing how a system changes state, and TLC checks the model for rule violations before drawing the state changes as a Mermaid diagram.

In plain words
What is it for?
Use it to check models of product flows, protocols, or services and produce a statechart showing how the system reaches a broken rule.
Why use it?
It can expose an invalid sequence of steps and show the shortest path to that failure. The diagram makes the reported behavior easier for a person to inspect.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the formal-verification plugin — 2 skills shipped together

Good fit Use it to check models of product flows, protocols, or services and produce a statechart showing how the system reaches a broken rule.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install formal-verification

Made for: Claude Code.

Or install formal-verification, the plugin that ships this one along with the rest of its 2 skills.

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 chart

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/chart/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/chart)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/chart"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/chart/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 chart

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/chart"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/chart.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00062 $0.01877
Opus 5.5 $0.00025 $0.00751
Sonnet 5.5 $0.00012 $0.00375
Haiku 4.5 $0.00006 $0.00188

Measured yesterday against content hash 9394cee272f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chart scanned grade A with 0 findings 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 yesterday.

The scan reads SKILL.md. This mod also ships 34 executable files (scripts/backends/cfg.ts, scripts/backends/mermaid.ts, scripts/backends/plain-text.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/formal-verification/skills/chart/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Arguments. <SPEC.tla> [--view FILE] [--out DIR] [--chart-states N] [--rerun-states N] [--image…]. In full: <SPEC.tla> [--config FILE] [--view FILE] [--out DIR] [--chart-states N] [--rerun-states N] [--image] [--unattended]. e.g. /formal-verification:chart model/Claims.tla --view model/view.mjs --rerun-states 20000

Chart: TLA+ with TLC

The chart shows how a system moves between states, in the words of the person who reads it. That person, the reader, decides whether the behavior is right. This skill checks TLA+ specs with the TLC model checker and nothing else.

Run

Work in a scratch folder outside the repo unless the spec lives in a formal-<area> skill, whose model/ folder holds it. Write a TLA+ spec and its config.

  1. Resolve the toolchain. It reads the jar, Java and script-runtime options, the pins and the default bounds, and installs nothing:

    node "${CLAUDE_PLUGIN_ROOT}/scripts/toolchain.mjs" resolve --data-dir "${CLAUDE_PLUGIN_DATA}" --project-dir "$PWD" --jar '${user_config.model_checker_jar}' --java '${user_config.java}' --runtime '${user_config.script_runtime}'
    

    It prints JSON with jar, java, runtime, bounds and allowed_modules. When it exits 3 it printed blocked: toolchain missing: <what>. Unattended, or with --unattended, report that line as the result and stop: install nothing. Attended, report it and ask the user to type /formal-verification:setup apply install-model-checker for the jar; Java is theirs to install.

  2. Run the check with the resolved values. Each bound takes the argument given to this skill, else the resolved bounds key of the same name; --modules takes allowed_modules joined with commas. Add --runtime '<runtime>' first when runtime is not null. Keep the single quotes shown:

    "${CLAUDE_PLUGIN_ROOT}/skills/chart/scripts/statechart" SPEC.tla --jar '<jar>' --java '<java>' --chart-states <n> --rerun-states <n> --timeout-seconds <n> --heap '<size>' --output-bytes <n> --interval-max <n> --modules '<a,b>' [--config FILE] [--view FILE] [--out DIR]
    

Read the full file on GitHub · 124 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed · -24 tokens per session 9394cee272f0
  2. 5d ago Changed · -1 lines 2a6ba59a1ccc
  3. 7d ago Changed · +5 lines cb765b60ad85
  4. 12d ago First seen · 120 lines · 86 tokens per session scan A 693122efb111

Subscribe to this mod's changes

chart is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 1,877 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-18.

Related

chart compared with skills from other repositories

chart next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chartmelodic-software/claude-code-pluginsSkill33todayMITA62Claude Code
adversarial-analysisjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA37Claude Code
benchmark-before-optimizejimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA25Claude Code
handle-edge-casesjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA27Claude Code
validate-before-processjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA24Claude Code
display-grid-statejimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA25Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex