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.
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 skills add asgeirtj/system_prompts_leaks --skill run-workflowgit clone --depth 1 https://github.com/asgeirtj/system_prompts_leaksWrote 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/asgeirtj/system_prompts_leaks/run-workflow)<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.
<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>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.00108 | $0.02578 |
| Opus 5.5 | $0.00043 | $0.01031 |
| Sonnet 5.5 | $0.00022 | $0.00516 |
| Haiku 4.5 | $0.00011 | $0.00258 |
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.
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
- Pass the script inline as
Script, or write it to a file (for example in the conversation scratch directory) and pass its absolute path asScriptPath. Set exactly one of them; a file is easier to fix and rerun. - Call
run_workflow(Script="...", Description="...")or
run_workflow(ScriptPath="/abs/path/workflow.py", Description="...").
Descriptionis 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 acall_toolfan-out, setWaitMsBeforeAsync(up to 10000) to get the result in the same turn if it finishes in time. To pass inputs, setArgsto a JSON object; the script reads it as theargsdict. WhenScriptPathis a saved workflow's entry script,Argsis validated against the args schema in itsworkflow.json. - 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. - 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:
awaitworks at the top level, and you can defineasync defhelpers.- Installed library workflows are importable by name (
import <library>orfrom <library> import <name>); library modules see the same primitives as the script. - What the script prints (
print(),stderr, child-process output, and thereprof a trailing expression) is returned in the tool result'sOutput:section (and appended to the error when the workflow fails). - An uncaught exception stops the workflow and reports the script line.
CONVERSATION_IDandSTEP_INDEXidentify therun_workflowstep.WORKSPACESis a tuple of the workspace directories, primary first (empty if there are none).- The working directory is
Cwdif given, elseWORKSPACES[0], so relative paths resolve against it. Local modules are not importable.
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.
- 6d ago First seen · 199 lines · 108 tokens per session scan A 38ef511e837d
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.
run-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| run-workflowasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 108 | Claude Code, Codex |
| arxivNousResearch/hermes-agent | Skill | 267k | today | MIT | C | 18 | Claude Code, Codex |
| brand-voiceopen-octo/octo-agent | Skill | 160 | yesterday | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |