clawflow

clawflow is a skill for Claude Code, Codex from S3YED/appie-kit. It costs 72 tokens per session (565 once invoked), scanned A, original, MIT.

A runtime for managing longer jobs that continue across detached tasks or separate runs while keeping one owner and shared context.

In plain words
What is it for?
It helps coordinate multi-step background tasks, wait for subtask results, preserve small outputs, and send progress updates.
Why use it?
It provides a place to track waiting, resumed, completed, failed, or cancelled work without putting the job’s decision logic inside the runtime.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/s3yed/appie-kit/clawflow
Any agent
npx skills add S3YED/appie-kit --skill clawflow
Clone the repo
git clone --depth 1 https://github.com/S3YED/appie-kit

Made for: Claude Code, Codex.

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 clawflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/s3yed/appie-kit/clawflow.svg)](https://agentmods.dev/skills/s3yed/appie-kit/clawflow)
Your own site
<a href="https://agentmods.dev/skills/s3yed/appie-kit/clawflow"><img src="https://agentmods.dev/badge/skills/s3yed/appie-kit/clawflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00072 $0.00565
Opus 5 $0.00036 $0.00282
Sonnet 5 $0.00014 $0.00113
Haiku 4.5 $0.00007 $0.00056

Measured 3d ago against content hash 9ec8dcbc6bbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

clawflow 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 3d 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.

skills/automation/clawflow/SKILL.md · 77 lines

What it actually says

ClawFlow

Use ClawFlow when a job needs to outlive one prompt or one detached run, but you still want one owner session, one thread context, and one place to inspect or resume the work.

When to use it

  • Multi-step background work with one owner
  • Work that waits on detached ACP or subagent tasks
  • Jobs that may need to emit one clear update back to the owner
  • Jobs that need a small persisted output bag between steps

What ClawFlow owns

  • flow identity
  • owner session and return context
  • waiting state
  • small persisted outputs
  • finish, fail, cancel, and blocked state

It does not own branching or business logic. Put that in Lobster, acpx, or the calling code.

Runtime pattern

  1. createFlow(...)
  2. runTaskInFlow(...)
  3. setFlowWaiting(...) or setFlowOutput(...)
  4. resumeFlow(...)
  5. emitFlowUpdate(...) only when needed
  6. finishFlow(...) or failFlow(...)

Example shape

const flow = createFlow({
  ownerSessionKey,
  goal: "triage inbox",
});

const classify = runTaskInFlow({
  flowId: flow.flowId,
  runtime: "acp",
  task: "Classify inbox messages",
  currentStep: "wait_for_classification",
});

resumeFlow({
  flowId: flow.flowId,
  currentStep: "route_results",
});

setFlowOutput({
  flowId: flow.flowId,
  key: "classification",
  value: { route: "business" },
});

Keep conditionals above the runtime

Use the flow runtime for state and task linkage. Keep decisions in the authoring layer:

  • business → post to Slack and wait
  • personal → notify the owner now
  • later → append to an end-of-day summary bucket

Examples

  • See skills/clawflow/examples/inbox-triage.lobster
  • See skills/clawflow/examples/pr-intake.lobster
  • See skills/clawflow-inbox-triage/SKILL.md for a concrete routing pattern
Files

What ships with it

2 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. 3d ago First seen · 77 lines · 72 tokens per session scan A 9ec8dcbc6bbc

Subscribe to this mod's changes

clawflow is a skill published in the GitHub repository S3YED/appie-kit (7 stars, last pushed 8d ago), licensed MIT. It adds 72 tokens to every session and 565 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

geo-pipeline

Entry point + orchestrator for the recomby-geo GEO (Generative Engine Optimization) workflow on OpenAI Codex CLI. Use when the user wants to run any stage of the GEO pipeline on a client folder — intake, visibility audit, content-gap analysis, content brief, draft production, distribution, or monthly re-audit — or…

ViryaZheng/recomby-geo · 169 tokens

schedule

Create, list, remove or inspect this bot's scheduled work — recurring jobs ("every morning at 7 tell me X", "every weekday at 9 post the standup") and one-shot follow-ups ("check back in 20 minutes", "watch that deploy until it lands", "remind me on Friday"). Use whenever something must happen on a schedule…

xrgarcia/slashbin-ai-team · 92 tokens

digest

Activate for: daily digest, morning briefing, what's happening today, start of day brief, week ahead, Monday brief, weekly digest, start of week, what do I need to know today, morning rundown, daily overview, what's due today, Friday close, end of week summary. NOT for: executive dashboard (use progress-tracker)…

panaversity/agentfactory-business-plugins · 78 tokens

meeting-intelligence

Activate for: meeting prep, meeting synthesis, before the meeting, after the meeting, D/A/F/Q/R, meeting brief, stakeholder prep, meeting notes synthesis, meeting follow-up, meeting actions, meeting decisions, post-meeting notes, synthesise the meeting, what was decided in the meeting, meeting record. NOT for…

panaversity/agentfactory-business-plugins · 84 tokens

task-intelligence

Activate for: brain dump, prioritise, P1 P2 P3, critical path, daily priorities, weekly planning, backlog review, cross-domain plan, what should I work on, capture everything in my head, sort my priorities, what is most important right now, weekly critical path. NOT for: basic task CRUD (use official productivity…

panaversity/agentfactory-business-plugins · 83 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens