Create stateful skill
Skill richfrem/agent-plugins-skills/plugins/agent-scaffolders/skills/create-stateful-skill
Scaffolds an advanced stateful agent skill with session memory and state management. NOT for simple stateless skills (use `create-skill`) and NOT for GitHub agentic workflows (use `create-agentic-workflow`).From its SKILL.md
npx -y skills add richfrem/agent-plugins-skills --skill create-stateful-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, 260 tokens by cl100k_base, as published. Nobody here has run it
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: 81 files
7.7 KB alongside SKILL.md, 8 of them executable
evals/
- evals.json963 B
- results.tsv417 B
references/
- acceptance-criteria.md42 B
- fallback-tree.md36 B
- hitl-interaction-design.md46 B
- pattern-decision-matrix.md46 B
- patterns/action-forcing-output-with-deadline-attribution.md82 B
- patterns/adversarial-objectivity-constraint.md69 B
- patterns/anti-pattern-vaccination.md59 B
- patterns/anti-symptom-triage.md54 B
- patterns/artifact-embedded-execution-audit-trail.md74 B
- patterns/artifact-generation-xss-compliance-gate.md74 B
- patterns/artifact-lifecycle.md53 B
- patterns/artifact-state-interrogative-routing.md71 B
- patterns/asynchronous-benchmark-metric-capture.md72 B
- patterns/audience-segmented-information-filtering.md75 B
- patterns/category-calibrated-benchmark-anchoring.md74 B
- patterns/category-semantic-deferred-tool-binding.md74 B
- patterns/chained-command-invocation.md61 B
- patterns/chained-commands.md51 B
- patterns/client-side-compute-sandbox-constraint.md73 B
- patterns/complexity-tiered-output.md59 B
- patterns/conditional-step-inclusion.md61 B
- patterns/connector-placeholders.md57 B
- patterns/cyclical-state-propagation-contract.md70 B
- patterns/delegated-constraint-verification-loop.md73 B
- patterns/dual-mode-degradation.md56 B
- patterns/dual-mode-meta-skill.md55 B
- patterns/dual-register-communication-enforcement.md74 B
- patterns/dynamic-specification-fetching.md65 B
- patterns/embedded-deterministic-scoring-formula.md73 B
- patterns/escalation-taxonomy.md54 B
- patterns/explicit-seed-anchored-determinism.md69 B
- patterns/graduated-autonomy.md53 B
- patterns/graduated-source-attributed-elicitation.md74 B
- patterns/highly-procedural-fallback-trees.md67 B
- patterns/iteration-directory-isolation.md64 B
- patterns/lifecycle-aware-knowledge.md60 B
- acceptance-criteria.md399 B
- fallback-tree.md1.4 KB
41 more files not listed here. See all 81 in the repository.