run-workflow

run-workflow is a skill for Claude Code, Codex from asgeirtj/system_prompts_leaks. It costs 108 tokens per session (2,578 once invoked), scanned A, original, CC0-1.0.

A way to run a Python workflow that coordinates several coding agents. It supports parallel work, ordered stages, and passing results from one stage to the next.

In plain words
What is it for?
Use it to fan work out to multiple agents, run staged pipelines, or collect their results in a background job.
Why use it?
It replaces repeated manual agent calls when a task can be split across files, bugs, or review angles and then combined.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to fan work out to multiple agents, run staged pipelines, or collect their results in a background job.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgeirtj/system_prompts_leaks/run-workflow
About the project

System Prompts Leaks is a collection of captured system instructions used to guide AI chatbots and coding agents before they receive user messages. It serves researchers and developers studying how different AI assistants are directed.

asgeirtj/system_prompts_leaks · 73,683 stars · on GitHub

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.

Any agent
npx skills add asgeirtj/system_prompts_leaks --skill run-workflow
Clone the repo
git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks

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 run-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/run-workflow/github.svg)](https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/run-workflow)
Your own site
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/run-workflow"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/run-workflow/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 run-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/run-workflow"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/run-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,578 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.00108 $0.02578
Opus 5.5 $0.00043 $0.01031
Sonnet 5.5 $0.00022 $0.00516
Haiku 4.5 $0.00011 $0.00258

Measured 6d ago against content hash 38ef511e837d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-workflow 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 6d 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.

Google/antigravity/skills/run-workflow/SKILL.md · 199 lines

How it starts

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

Dynamic workflows with run_workflow

A workflow is a short Python script that the run_workflow tool executes. The script decides which agents to start, in what order, and what to do with their results. Use it instead of many manual subagent calls when the orchestration itself is code: loops over a list, fan-out then aggregate, or staged pipelines.

Steps

  1. Pass the script inline as Script, or write it to a file (for example in the conversation scratch directory) and pass its absolute path as ScriptPath. Set exactly one of them; a file is easier to fix and rerun.
  2. Call run_workflow(Script="...", Description="...") or
    run_workflow(ScriptPath="/abs/path/workflow.py", Description="...").
    Description is a one-line goal shown in the UI. The workflow runs in the background, and you are notified when it ends. For a quick script, such as a call_tool fan-out, set WaitMsBeforeAsync (up to 10000) to get the result in the same turn if it finishes in time. To pass inputs, set Args to a JSON object; the script reads it as the args dict. When ScriptPath is a saved workflow's entry script, Args is validated against the args schema in its workflow.json.
  3. Read the tool result: it contains the log() output (Logs:) and what the script printed (Output:). Each agent is also linked from the workflow step, so the user can open its conversation.
  4. If the tool returns an error, fix the script at the reported line and run it again.

Script rules

The script runs in its own python3 process, which needs Python 3.8 or later on PATH:

  • await works at the top level, and you can define async def helpers.
  • Installed library workflows are importable by name (import <library> or from <library> import <name>); library modules see the same primitives as the script.
  • What the script prints (print(), stderr, child-process output, and the repr of a trailing expression) is returned in the tool result's Output: section (and appended to the error when the workflow fails).
  • An uncaught exception stops the workflow and reports the script line.
  • CONVERSATION_ID and STEP_INDEX identify the run_workflow step. WORKSPACES is a tuple of the workspace directories, primary first (empty if there are none).
  • The working directory is Cwd if given, else WORKSPACES[0], so relative paths resolve against it. Local modules are not importable.

Read the full file on GitHub · 199 lines

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. 6d ago First seen · 199 lines · 108 tokens per session scan A 38ef511e837d

Subscribe to this mod's changes

run-workflow is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 108 tokens to every session and 2,578 once invoked, about $0.0004 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-24.

Related

run-workflow compared with skills from other repositories

run-workflow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-workflowasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A108Claude Code, Codex
arxivNousResearch/hermes-agentSkill267ktodayMITC18Claude Code, Codex
brand-voiceopen-octo/octo-agentSkill160yesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code