Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/richfrem/agent-plugins-skills/create-stateful-skillnpx skills add richfrem/agent-plugins-skills --skill create-stateful-skillgit clone --depth 1 https://github.com/richfrem/agent-plugins-skillsWrote 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.
[](https://agentmods.dev/skills/richfrem/agent-plugins-skills/create-stateful-skill)<a href="https://agentmods.dev/skills/richfrem/agent-plugins-skills/create-stateful-skill"><img src="https://agentmods.dev/badge/skills/richfrem/agent-plugins-skills/create-stateful-skill.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00343 |
| Opus 5 | $0.00026 | $0.00171 |
| Sonnet 5 | $0.00011 | $0.00069 |
| Haiku 4.5 | $0.00005 | $0.00034 |
Grade A, and why
create-stateful-skill 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 2d 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.
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.
What it actually says
Follow the create-stateful-skill skill workflow to scaffold an advanced agent skill
with L4 state management, lifecycle artifacts, and chained commands.
Inputs
$ARGUMENTS— optional skill name or use-case description. Omit to start with discovery.
Steps
- If
$ARGUMENTSprovides a skill name or context, use it to seed discovery - Follow the create-stateful-skill phased workflow: confirm which L4 patterns are needed (state management, lifecycle artifacts, tone configuration, chained commands, escalation taxonomy), design the state schema and lifecycle checkpoints, then scaffold the skill directory with full L4 scaffolding
- Report created skill path and explain the state management strategy
Output
Skill directory with SKILL.md implementing selected L4 patterns, state schema,
lifecycle artifact templates, and chained command definitions.
Edge Cases
- If
$ARGUMENTSis empty: begin with discovery — identify which L4 patterns apply - If the use case is simple (no persistent state, no chaining): recommend
create-skillinstead — stateful scaffolding adds complexity that simple skills don't need - If the workflow requires human checkpoints: design explicit escalation taxonomy steps
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.
- acceptance-criteria.md 399 B
- evals/evals.json 963 B
- evals/results.tsv 417 B
- fallback-tree.md 1.4 KB
- references/acceptance-criteria.md 42 B
- references/fallback-tree.md 36 B
- references/hitl-interaction-design.md 46 B
- references/pattern-decision-matrix.md 46 B
- references/patterns/action-forcing-output-with-deadline-attribution.md 82 B
- references/patterns/adversarial-objectivity-constraint.md 69 B
- references/patterns/anti-pattern-vaccination.md 59 B
- references/patterns/anti-symptom-triage.md 54 B
- references/patterns/artifact-embedded-execution-audit-trail.md 74 B
- references/patterns/artifact-generation-xss-compliance-gate.md 74 B
- references/patterns/artifact-lifecycle.md 53 B
- references/patterns/artifact-state-interrogative-routing.md 71 B
- references/patterns/asynchronous-benchmark-metric-capture.md 72 B
- references/patterns/audience-segmented-information-filtering.md 75 B
- references/patterns/category-calibrated-benchmark-anchoring.md 74 B
- references/patterns/category-semantic-deferred-tool-binding.md 74 B
- references/patterns/chained-command-invocation.md 61 B
- references/patterns/chained-commands.md 51 B
- references/patterns/client-side-compute-sandbox-constraint.md 73 B
- references/patterns/complexity-tiered-output.md 59 B
- references/patterns/conditional-step-inclusion.md 61 B
- references/patterns/connector-placeholders.md 57 B
- references/patterns/cyclical-state-propagation-contract.md 70 B
- references/patterns/delegated-constraint-verification-loop.md 73 B
- references/patterns/dual-mode-degradation.md 56 B
- references/patterns/dual-mode-meta-skill.md 55 B
- references/patterns/dual-register-communication-enforcement.md 74 B
- references/patterns/dynamic-specification-fetching.md 65 B
- references/patterns/embedded-deterministic-scoring-formula.md 73 B
- references/patterns/escalation-taxonomy.md 54 B
- references/patterns/explicit-seed-anchored-determinism.md 69 B
- references/patterns/graduated-autonomy.md 53 B
- references/patterns/graduated-source-attributed-elicitation.md 74 B
- references/patterns/highly-procedural-fallback-trees.md 67 B
- references/patterns/iteration-directory-isolation.md 64 B
- references/patterns/lifecycle-aware-knowledge.md 60 B
- references/patterns/local-interactive-output-viewer-loop.md 71 B
- references/patterns/mandatory-counterfactual-scenario-templating.md 79 B
- references/patterns/mode-invariant-compliance-gate.md 65 B
- references/patterns/multi-actor-operational-coordination-manifest.md 80 B
- references/patterns/multi-dimensional-tone.md 57 B
- references/patterns/multi-modal-routing.md 54 B
- references/patterns/multi-source-synthesis.md 57 B
- references/patterns/multi-variant-trigger-optimizer.md 66 B
- references/patterns/negative-instruction-constraint.md 66 B
- references/patterns/output-classification.md 56 B
- references/patterns/passive-style-injection-payload.md 66 B
- references/patterns/persistent-plugin-configuration.md 66 B
- references/patterns/population-normative-distribution-constraint.md 79 B
- references/patterns/pre-committed-rollback-contract.md 66 B
- references/patterns/pre-execution-input-manifest.md 63 B
- references/patterns/pre-execution-workflow-commitment-diagram.md 76 B
- references/patterns/priority-ordered-scanning.md 60 B
- references/patterns/quantification-enforcement.md 61 B
- references/patterns/rigorous-benchmarking-loop.md 61 B
- references/patterns/severity-stratified-output.md 61 B
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.
- 2d ago First seen · 37 lines · 53 tokens per session scan A 678a3fb4b526
create-stateful-skill is a skill published in the GitHub repository richfrem/agent-plugins-skills (6 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 343 once invoked, about $0.0003 per session on Opus 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-09-03.
Other skills, from other repositories
todos
Handle the agent personal todos.md file.
slip
Send AI-written text to a HUMAN outside this chat via a one-tap Slip note and reply with a single URL. Default: toss — a one-shot note (Markdown rendered, readable on open, tear-to-delete, auto-expires in 24 hours) for one-way delivery like checklists, summaries, code snippets. Use push only when the human is expected…
situate-what
Use when the user asks what is going on and needs a five-line summary of the session, branch, pull request, and ticket.
claude-nextsession
Schedule a set of instructions to run automatically once the current Claude Code usage session resets, using the local rate-limit cache (no API key needed). Trigger: "postpone this to next session", "run this once my usage resets", "queue this for later / after the reset", /claude-nextsession.
disk-reclaim
Reclaim disk space through a proof-gated plan — clears regenerable caches, merges proved-redundant copies, and protects agent history.
situate-brief
Use when confusion is only “huh,” “wait, what,” “sorry, you lost me,” or “slow down; explain simply and keep it short.”.