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 artifact-capabilitiesgit 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/artifact-capabilities)<a href="https://agentmods.dev/skills/asgeirtj/system_prompts_leaks/artifact-capabilities"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/artifact-capabilities/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/artifact-capabilities"><img src="https://agentmods.dev/badge/skills/asgeirtj/system_prompts_leaks/artifact-capabilities.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 38 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00144 | $0.06497 |
| Opus 5.5 | $0.00058 | $0.02599 |
| Sonnet 5.5 | $0.00029 | $0.01299 |
| Haiku 4.5 | $0.00014 | $0.00650 |
Grade A, and why
artifact-capabilities scanned grade A with 1 finding 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 15d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**Your connectors this session.** Connector tools appear in your tool list as `mcp__<connector>__<toolName>`. Set `server` to the `<connector>` segment — everything between `mcp__` and the next `__` (for `mcp__claude_ai_ How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Artifact runtime capabilities
A published Artifact page can declare runtime capabilities — abilities the claude.ai viewer grants the page at open time — by passing capabilities: {name: config} to the Artifact tool. The control plane is the authority on valid names and config shapes. Declaration gestures: omitting capabilities on a redeploy carries the stored declaration forward unchanged (and preserves the artifact's stored contract pin); an empty object {} is the explicit clear-all; a non-empty object is a full-set declaration (anything stored but not restated is revoked). Moving a republished artifact's runtime version is a deliberate gesture — pass contract: 'latest' to upgrade, or a specific version to pin or roll back — never a side effect of editing.
A page that republishes itself through the artifact capability sends its whole document in exactly the shape the Artifact tool publishes, so a later publish from the tool recognizes and replaces the skeleton instead of nesting it: <!doctype html><html><head><meta charset=utf8><meta name=viewport content="width=device-width,initial-scale=1,viewport-fit=cover"><style> the same small reset the tool's description names </style></head><body> — no whitespace between those tags and nothing else in the head — then the page content exactly as it was written for the tool (its <title> and <style> first, inside the body, regenerated from the page's state), then </body></html>.
Available capabilities: artifact, assets, comments, db, dictation, downloads, files, mcp, room, sample, self, tts, user — the complete set of capability names you may declare; built in on every page, called without declaring (never pass these in capabilities): permissions. Anything not listed is unavailable to this user.
Tool spelling in this session: the
Artifacttool'saction: "read_db"/"write_db"with adb_opare theArtifactDatatool, whoseactionis thatdb_op("get", "list", "query", "set", "update", "str_replace", "delete", "batch") with the other fields unchanged — load it with ToolSearch when you first need it. Read the steps below with that substitution.
Runtime contract 0.2.96
Capability namespaces live behind claude.use(name): const db = await claude.use("db") resolves the capability's namespace, or null when this view cannot run it (not served, not granted, or failed to load — indistinguishable by design). Branch on null and design for absence. window.claude carries only use: no window.claude.db, .room, or .artifact member is ever promised, so never read one — render the page without them and light features up when the promise resolves (later, never within your script's first run, and unordered with DOMContentLoaded; null after 10 s when no viewer answers). The resolved namespace is frozen and platform-owned: call its functions and keep the reference; never assign to it, defineProperty on it, or replace a member (wrap it for your own helpers). Permission stays on the calls: a consent prompt, rate limit, or policy refusal arrives on the first call, never from use(). Awaiting use("db") again is free (memoized); an unknown name resolves null.
--- capability: artifact ---
Use artifact for pages that should remember what people do with them: polls, sign-up sheets, checklists, trackers, boards — the page is the record; data kept server-side, or seeded or read back by Claude, is db. Declare capabilities: {artifact: {}}; const artifact = await claude.use("artifact"), then await artifact.publish(html) saves html (a complete document, doctype first) as the new version, and every open view, this one included, reloads to it. Nothing a viewer types, ticks or drags is kept unless the page publishes it. So embed the shared state as data in the HTML you publish and render the page from it; when an interaction completes, update the state, regenerate the document and publish it — never serialize the live DOM; batch rapid edits into one publish; publish only after a viewer acts, never on load. conflict is routine (every view reloads to the winner, dropping this edit): no retry. For read-only viewers publish rejects not_granted/not_writer — render a read-only view.
What ships with it
15 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.
- 0.2.96/artifact.d.ts 32 KB runs code
- 0.2.96/assets.d.ts 18 KB runs code
- 0.2.96/claude.d.ts 2.9 KB runs code
- 0.2.96/comments.d.ts 37 KB runs code
- 0.2.96/db.d.ts 29 KB runs code
- 0.2.96/dictation.d.ts 6.7 KB runs code
- 0.2.96/downloads.d.ts 5.9 KB runs code
- 0.2.96/files.d.ts 6.7 KB runs code
- 0.2.96/mcp.d.ts 40 KB runs code
- 0.2.96/permissions.d.ts 4.2 KB runs code
- 0.2.96/room.d.ts 34 KB runs code
- 0.2.96/sample.d.ts 39 KB runs code
- 0.2.96/self.d.ts 644 B runs code
- 0.2.96/tts.d.ts 16 KB runs code
- 0.2.96/user.d.ts 15 KB runs code
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.
- 15d ago Changed · +13 lines 10c73f3823c8
- 19d ago Changed · +2 lines b36dbc2aa33a
- 1mo ago Changed · -1 lines · +15 tokens per session 395397b70caa
- 1mo ago Changed · +18 lines 47c0b6279250
- 2mo ago Changed · +12 lines 5a6491282220
- 2mo ago Changed · +5 lines 1af18f3cdffa
- 2mo ago Changed · +35 lines · +4 tokens per session 917476b65370
- 3mo ago First seen · 41 lines · 125 tokens per session scan A 53c46784d156
artifact-capabilities is a skill published in the GitHub repository asgeirtj/system_prompts_leaks (73,683 stars, last pushed yesterday), licensed CC0-1.0. It adds 144 tokens to every session and 6,497 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
artifact-capabilities compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| artifact-capabilitiesasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 144 | 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 |