durable-workflow-runtime
Load when the user explicitly asks for `durable-workflow-runtime`, invokes a durable workflow shortcut, or when implementing, debugging, authoring, or…
Skill by onesmash
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/onesmash-durable-workflow-runtime
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/durable-workflow-runtime
What's inside
- Skill name
durable-workflow-runtime- Description
- Load when the user explicitly asks for `durable-workflow-runtime`, invokes a durable workflow shortcut, or when implementing, debugging, authoring, or reviewing this skill's bundled durable workflow surfaces with `start/resume`, workflow branching, retries, blocked handling, bridge payloads, explicit workflow selection, `spec.json`, `custom_verifier_requirements`, `verifiers.py`, workflow authoring guides, or agent review contracts. When triggered, operate through the bridge protocol instead of free-form chat: do not infer workflow steps from static docs, do not execute business stages before `bridge.py start` returns `yield` or `done`, and treat the runtime response as the only authority for the current step.
- License
- MIT
- Instructions
- 676 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: 676 lines (spec recommends under 500)
- files: referenced but missing: references/flowchart.md
Files (200)
- SKILL.md
- SKILL.md · delete/
- delete-cli-spec.md · delete/references/
- delete_workflow.py · delete/scripts/
- evals.json · evals/
- SKILL.md · inject/
- inject-cli-spec.md · inject/references/
- inject.py · inject/scripts/
- SKILL.md · pack/
- pack-cli-spec.md · pack/references/
- pack.py · pack/scripts/
- bridge-cli-spec.md · references/
- environment-setup.md · references/
- host-loop.md · references/
- index.md · references/
- observation-format.md · references/
- prompt-asset-template.md · references/
- prompt-placeholder-spec.md · references/
- runtime-layout.md · references/
- skill-host-python-spec.md · references/
- step-contract-spec.md · references/
- workflow-authoring-guide.md · references/
- workflow-input-contract-spec.md · references/
- workflow-selection-spec.md · references/
- SKILL.md · register/
- register-cli-spec.md · register/references/
- register.py · register/scripts/
- requirements.txt
- bridge.py · scripts/
- host_io.py · scripts/
- workflow_shortcut_skill.py · scripts/
- SKILL.md · setup/
- setup-cli-spec.md · setup/references/
- setup.py · setup/scripts/
- test_durable_workflow_runtime.py · tests/
- test_runtime_hardening.py · tests/
- workflow-binding.json
- SKILL.md · workflow-creator/
- workflow-creator-cli-spec.md · workflow-creator/references/
- create_workflow.py · workflow-creator/scripts/
- __init__.py · workflow-runtime/adapters/
- skill_host.py · workflow-runtime/adapters/
- __init__.py · workflow-runtime/runtime/
- artifacts.py · workflow-runtime/runtime/
- dependency_preflight.py · workflow-runtime/runtime/
- engine_graphbuilder.py · workflow-runtime/runtime/
- errors.py · workflow-runtime/runtime/
- history.py · workflow-runtime/runtime/
- limits.py · workflow-runtime/runtime/
- models.py · workflow-runtime/runtime/
- module_loader.py · workflow-runtime/runtime/
- persistence.py · workflow-runtime/runtime/
- redaction.py · workflow-runtime/runtime/
- retention.py · workflow-runtime/runtime/
- telemetry.py · workflow-runtime/runtime/
- transport.py · workflow-runtime/runtime/
- validation.py · workflow-runtime/runtime/
- verifier_runner.py · workflow-runtime/runtime/
- workflow_identity.py · workflow-runtime/runtime/
- README.md · workflow-runtime/templates/workflow_skeleton/
- …and 140 more
SKILL.md (first lines)
# Durable Workflow Runtime This skill is an explicit entrypoint into the bundled runtime. Once it is invoked, treat that as the decision to use the runtime contract instead of re-evaluating applicability inside the conversation. ## Invocation contract - If the first token after `/durable-workflow-runtime` is a reserved wrapper command, handle that command and stop. Do not call `bridge.py start`. - If this skill is loaded for a normal workflow run, operate through the shipped runtime and bridge contract. - The remaining selection is which published `workflow_id` to start, not whether the skill should keep governing the task. - Keep workflow choice explicit when possible; otherwise rely on the configured default binding. ## Reserved wrapper commands These tokens are wrapper commands, not `workflow_id` values: - `setup` Install slash-only skills from `workflow-shortcuts/` and the `workflow-creator` companion into `~/.agents/skills` and `~/.claude/skills`. Follow `setup/SKILL.md` and run `setup/scripts/setup.py`. Do not start a workflow afterward unless the user separately asks to run one. ## Primary contract If you review only one thing in this skill, review this loop: ```text start -> yield -> host executes prompt -> Observation -> resume -> ... -> done ``` This loop is the product. Everything else in this skill exists to protect this handoff from drifting into free-form chat behavior. Ownership in that loop: - `start` the host calls `bridge.py start` - `yield` the runtime returns a `response.json` that asks the host to execute one step - `Observation` the host's only valid structured reply after a yielded step - `resume` the host sends that `Observation` back through `bridge.py resume` - `done` the runtime, not the host, decides the workflow is terminal Do not blur these two namespaces: - `response.kind` runtime-to-host control signal: `yield | done | error` - `Observation.status` host-to-runtime execution result: `succeeded | failed | blocked | partial` They are not interchangeable. The host never emits `done`; the runtime never emits `succeeded`. ## Default reading boundary Read only this whitelist before `bridge.py start` succeeds: - `workflow-binding.json` - `scripts/bridge.py` - `references/bridge-cli-spec.md` - `references/host-loop.md` - `references/observation-format.md` - `references/index.md` only when you need the concrete skill-root layout - `references/workflow-selection-spec.md` only when choosing a published `workflow_id` Do not read anything under `workflow-runtime/workflows/` before start for normal execution, including workflow-specific `references/flowchart.md`, `contract.py`, `policy.py`, `state.py`, `verifiers.py`, `graphbuilder_runtime.py`, or workflow prompt assets. Those are allowed only when the task is explicitly about authoring or debugging workflow internals. Treat verifier logic and workflow business references as runtime-owned implementation detail by default. The host agent normally does not need them to execute or resume a workflow correctly. ## Keep the layers separate - `runtime`: owns state, pause/resume, branch selection, and terminal states - `workflow`: owns internal step contracts, prompts, policy, and verifier logic - `skill wrapper`: only routes into the skill-local bridge/runtime - `host agent`: only executes the current prompt and returns an observation If these blur together, the host agent will start improvising branch decisions and step semantics in chat, which defeats the whole point of the runtime. ## First moves 1. If the invocation is `/durable-workflow-runtime setup` or `durable-workflow-runtime:setup`, follow `setup/SKILL.md`, run `setup/scripts/setup.py`, report the link result, and stop. 2. Treat any other skill invocation as the decision to use the bundled runtime. 3. Check whether this skill bundle already has `scripts/bridge.py`, `workflow-binding.json`, and the wrapper entry. If you need the concrete install path for the current environment, read `references/index.md` instead of assuming a Codex-specific directory layout. 4. Read `references/index.md`, then start with interface-level spokes only. 5. If the bridge or bundled runtime does not exist yet, say so explicitly and switch to design or implementation guidance instead of pretending the loop can already run. 6. If the caller needs to choose a workflow, use the published wrapper catalog in `workflow-binding.json` and read `references/workflow-selection-spec.md` for the exact selection contract. 7. For normal execution, use the inlined `start/resume` loop below. The reference docs are for examples and edge cases, not for the core path. ## Core execution loop This is the minimum contract the host agent should follow without leaving this file.
From onesmash/slm-as-harness, MIT.
More from onesmash/slm-as-harness
- 0.529score
semif-decide
onesmash
Run runtime-defined semantic decisions ("semantic ifs") locally with the SemIf CLI (`semif-score`): give a local LLM unstructured state + a criterion question…
SkillBFreshness: BClaude Code +9 - 0.522score
agent-voice
onesmash
在 macOS 上从零搭建'文本→本地 TTS→虚拟麦克风'系统并正确运行。当用户想要把文字转成语音并通过虚拟麦克风输出给其他应用(Zoom/微信/录音软件等)时使用此 skill。覆盖:MOSS-TTS-Nano ONNX 引擎部署、BlackHole 虚拟声卡安装与配置、launchd…
SkillBFreshness: BClaude Code +9 - 0.479score
context-index
onesmash
Install the Context Index system — a progressive-disclosure mechanism that intercepts large tool outputs, saves them to disk, indexes them with a local small…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 29, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/onesmash/slm-as-harness
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from onesmash
- 0.529score
semif-decide
onesmash
Run runtime-defined semantic decisions ("semantic ifs") locally with the SemIf CLI (`semif-score`): give a local LLM unstructured state + a criterion question…
SkillBFreshness: BClaude Code +9 - 0.522score
agent-voice
onesmash
在 macOS 上从零搭建'文本→本地 TTS→虚拟麦克风'系统并正确运行。当用户想要把文字转成语音并通过虚拟麦克风输出给其他应用(Zoom/微信/录音软件等)时使用此 skill。覆盖:MOSS-TTS-Nano ONNX 引擎部署、BlackHole 虚拟声卡安装与配置、launchd…
SkillBFreshness: BClaude Code +9 - 0.479score
context-index
onesmash
Install the Context Index system — a progressive-disclosure mechanism that intercepts large tool outputs, saves them to disk, indexes them with a local small…
SkillCFreshness: CClaude Code +9
Cite this page
durable-workflow-runtime skill. Agent Mart. https://agentmart.dev/skills/onesmash-durable-workflow-runtime (last updated 2026-10-24)