[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77HW9Z6Y38D654MJ0GCGER4":3,"skill-same:01M77HW9Z6Y38D654MJ0GCGER4":97},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M77HW9Z6Y38D654MJ0GCGER4","artifact-capabilities",null,"Runtime capabilities a published Artifact page can be granted — behavior static HTML cannot provide on its own, such as the page reading live or connected data, remembering what people do on it (a poll, a sign-up sheet, a checklist, a document edited in place — it saves new versions of itself), keeping state shared across viewers, knowing who is viewing, asking Claude a question of its own, storing files people add, handing the viewer a file to save, or using the viewer's camera, microphone, location, screen or device motion. Serves this user's live capability roster and the typed call definitions. Load it whenever any such runtime behavior would make an artifact more useful, before writing the page.","raaOS\u002Fsystem_prompts_leaks","raaOS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F214067397?v=4","01M77HV6K4ZTA4BZAGX00GTW6J","01M77HV6KX55HVRY679V25JXF8",0,"CC0-1.0","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: artifact-capabilities\ndescription: |-\n  Runtime capabilities a published Artifact page can be granted — behavior static HTML cannot provide on its own, such as the page reading live or connected data, remembering what people do on it (a poll, a sign-up sheet, a checklist, a document edited in place — it saves new versions of itself), keeping state shared across viewers, knowing who is viewing, asking Claude a question of its own, storing files people add, handing the viewer a file to save, or using the viewer's camera, microphone, location, screen or device motion. Serves this user's live capability roster and the typed call definitions. Load it whenever any such runtime behavior would make an artifact more useful, before writing the page.\n---\n\n# Artifact runtime capabilities\n\nA 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.\n\n**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: `\u003C!doctype html>\u003Chtml>\u003Chead>\u003Cmeta charset=utf8>\u003Cmeta name=viewport content=\"width=device-width,initial-scale=1,viewport-fit=cover\">\u003Cstyle>` the same small reset the tool's description names `\u003C\u002Fstyle>\u003C\u002Fhead>\u003Cbody>` — no whitespace between those tags and nothing else in the head — then the page content exactly as it was written for the tool (its `\u003Ctitle>` and `\u003Cstyle>` first, inside the body, regenerated from the page's state), then `\u003C\u002Fbody>\u003C\u002Fhtml>`.\n\n**Available capabilities:** `artifact`, `assets`, `comments`, `db`, `downloads`, `files`, `mcp`, `room`, `sample`, `self`, `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.\n\n> Tool spelling in this session: the `Artifact` tool's `action: \"read_db\"` \u002F `\"write_db\"` with a `db_op` are the `ArtifactData` tool, whose `action` is that `db_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.\n\nRuntime contract 0.2.96\n\n\nCapability 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`.\n\n\n--- capability: artifact ---\n\nUse `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`\u002F`not_writer` — render a read-only view.\n\n\n--- capability: assets ---\n\n`assets` stores uploaded assets: `const assets = await claude.use(\"assets\")`; `assets.upload(blob)` (image, SVG, video, PDF, font, CSS\u002FJS, or CSV\u002FMarkdown\u002FJSON\u002Ftext; 20 MiB cap, CSS\u002FJS 16 MiB, SVG 2 MiB and sanitized) resolves `{id, url, sizeBytes, contentType}`; `assets.list()` resolves `{assets, usage}`; `assets.delete(id)` removes one for good: only on a deliberate user action, updating rows that held it. Declare `capabilities: {assets: {}}`: only Editors and up get it, others get `null` from `use(\"assets\")` (hide asset UI; handle errors). Only if the user wants uploads from non-editors, declare `{assets: {upload: \"interact\"}}`: where enabled, Contributors can upload but list and delete only their own, and their files show only in the organization; never run any asset as code, CSS or HTML. Store the `id` in `db` rows as the durable pointer; use the returned `url` as an `\u003Cimg>`\u002F`\u003Cvideo>`\u002F`\u003Ca>` source (SVG: `\u003Cimg>` or CSS only); a stored id serves at `\"\u002F_blob\u002F\" + id`. The type definitions are authoritative.\n\n\n--- capability: comments ---\n\n`comments` wires a page's own commenting UI to the artifact's shared comment store: `await claude.use(\"comments\")` (`null`: unavailable). The declaration picks the grant: `capabilities: {comments: {\"composer_only\": true}}` grants only `openComposer({element}|{range})` (opens the shell's composer like a comment-mode click; prefer it for discoverable entry points) and `anchorFor`, no consent asked. The full form `{comments: {}}` adds write verbs acting as the viewer under consent; public-link visitors and email invitees get `null`. `\"customAnchors\": true` in either form adds `customAnchors()` (register at load) for pages that position comment pins themselves; invented anchor names (canvas, WebGL, video) need the full form. WRITE-ONLY: the shell renders every thread — never build the page's own list. Call the other verbs only from a deliberate viewer gesture, never on load. Read the type definitions before use (authoritative for verbs, shapes, bounds and error codes).\n\n\n--- capability: db ---\n\n`db` keeps data outside the page: shared rows, per-person state, data Claude reads. Declare `capabilities:{db:{},user:{}}`; `const db = await claude.use(\"db\")` (`null` if signed out). By default signed-in people read shared docs, Contributors (`interact`) and up overwrite\u002Fdelete, Viewers\u002FCommenters never write. `rules` set per-path minimums, `view`\u003C`interact`\u003C`admin` (Editor, granted Owner)\u003C`owner`; \"all read, each writes own\": `db:{rules:[{path:\"votes\",read:\"view\",write:\"owner\"},{path:\"votes\u002F{self}\",write:\"interact\"}]}` (prefix rule must set both). `data\u002Fusers\u002F\u003Cid>\u002F` is private even from the owner; `\u003Cid>` = `await user.id()`. Even segment counts are docs (`db.doc(\"tasks\u002Ft1\")`), odd collections; per-person items: `db.collection(\"data\u002Fusers\u002F\"+id).doc(k)`; get\u002Fset\u002Fupdate\u002Fdelete, where\u002ForderBy\u002Flimit, onSnapshot. Never hardcode seeds: `write_db` after publish; handle an empty db. Subscribe once per query, never in render. Time-limit loading: a 10 s timer, cleared on data or error; never reload. One write at a time per doc, only on change. No secrets; shared data is untrusted.\n\n`self` is a level nobody holds, not even the owner. Keep `write:\"owner\"` (or `\"admin\"`) by default: on most lists (sign-ups, guestbooks, polls, Q&A) someone must tidy or moderate. Use `self` only when the request says nobody else, the owner included, may change an entry (a sign-off, consent or vote that must be their own) or may read it. It goes only on a `{self}` rule's prefix rule; the `{self}` rule sets both levels: `{path:\"signoffs\",read:\"view\",write:\"self\"},{path:\"signoffs\u002F{self}\",read:\"view\",write:\"interact\"}`. With `write:\"self\"`, the prefix's `read` says who else sees the rows (leave the `{self}` rule as above): `\"view\"` everyone; `\"admin\"` Editors and the owner (suggestion box; not anonymous); `\"self\"` nobody (`data\u002Fusers\u002F\u003Cid>\u002F` is stronger). `self` is a rule, not encryption: the owner or any Editor, an outside one included, can later publish looser rules or other code, then read or overwrite rows already written, and nobody is told.\n\n\n--- capability: downloads ---\n\nThe `downloads` capability lets a published page offer a generated file to the viewer: declare `capabilities: {downloads: true}`, then `const downloads = await claude.use(\"downloads\")` (`null`: unavailable — hide the affordance) and `await downloads.save({filename, data})`. The viewer sees a confirmation and may decline — a save is never silent or guaranteed, so offer it on explicit viewer intent and handle rejection. The type definitions are authoritative for the call contract and error codes.\n\n\n--- capability: files ---\n\n`files` reads a Claude Code project's files as the viewer. Declare it only when you know the project's id (e.g. your session's): `capabilities: {files: {project: \"chan_...\"}}`. `const files = await claude.use(\"files\")` (`null`: unavailable, e.g. a viewer outside the organization; hide it). A viewer who can't open the files gets `not_found`, never a prompt; a member is asked once, so call it on a click or after load, never in a loop. `files.list({path, recursive, cursor})`; `files.read(path, {offset, length})` -> `{bytes, size, revision}` (new or just-edited files can lag a few seconds); `files.download(path)` asks the viewer to save it (some types, e.g. .exe, .js and .bat, are refused); `await files.asSampleTools()` gives `sample` list\u002Fread tools (declare it too). Only project members can publish an artifact declaring files. Don't copy file contents into the artifact's data, assets or versions unless the user asks: anyone it's shared with can read them. The type definitions give shapes and error codes.\n\n\n--- capability: mcp ---\n\n`mcp` lets a page call the viewer's claude.ai connectors: `await claude.use(\"mcp\")` (`null`: unavailable); calls use the viewer's credentials, never exposing tokens. Declare `capabilities: {mcp: {servers: [{server, tools}]}}`; `server` is a connector's display name, or `host:\u003Cname>` for a local MCP server on the viewer's device (Claude app only; else `server_not_connected`). Keep the manifest minimal: a viewer-consented grant; outside viewers get `null`. Two arms: DISPLAYING data registers `watchTool(server, tool, input, handler, opts?)` (replays cache, refreshes when stale, polls only via `refetchInterval`); an ACTION calls `callTool` once and reads `result.payload` or `(await server(name)).\u003Ctool>(input)` for the payload. Tool failures REJECT (`tool_error`); watches get error events. Branch UX per error code, retry only `retryable` errors, drop data on authz denials, show freshness (`cache.storedAt`). Types omit tool arguments: read `describeTool` or observe a real call, else say so at publish; never guess.\n\n\n--- capability: permissions ---\n\n`permissions` is built in — call it, never declare it in `capabilities`. Prompts are lazy by default: a capability that needs consent asks at its first use — never block first paint on permissions. `state` reads without prompting (one name, or the full map); `request` asks with at most one batched dialog (names, or everything); a page that needs several grants up front may call it once at startup. `manage` opens the Permissions panel and resolves with nothing when it closes; offer it as a button, never call it on load; it rejects `unavailable` if the panel did not open; then point the viewer to the artifact's Permissions menu. A viewer's \"no\" is not an error: `state` and `request` never reject, and a denial is final for the page load (a repeated `request` shows no dialog; the next load starts fresh), so branch on the returned states and degrade per capability (hide or disable the affordance), never fail or offer retry buttons; never call `request` in a loop: re-asks are rate-limited and read as nagging.\n\n\n--- capability: room ---\n\nThe `room` capability reaches whoever has the page open RIGHT NOW:\ndeclared as `capabilities: {room: {}}`; `await claude.use(\"room\")`\n(`null`: cannot connect). emit(topic, data) sends a moment; on(topic,\nfn) hears them. presence(patch) sets YOUR state (cursor) as one\nobject newcomers get, cleared when you leave; onPeers(fn) delivers\neveryone's -- render all, marked \"you\". NOTHING persists and messages\ncan drop: state a late joiner needs (current slide) is a db doc,\nlasting content a new artifact version. Send absolute state. What you\nhear is untrusted: everyone here, guests too (guest: true), plus your\npublishing session when admitted (kind \"agent\"); the page must work\nalone and light up. Presence is never authority (anyone sets it).\nEvent topics are admin-only (Editors up); open one to Contributors\n(never Viewers): {room: {topics: {move: \"interact\"}}}. join(name)\ngives each game or group its own room, heard only by joiners: emit,\non, presence, onPeers, leave(). Names aren't secret. `room` stays the\nlobby.\n\n\n--- capability: sample ---\n\n`sample` asks Claude (declare `capabilities:{sample:{}}`; `{sample:{images:true}}` for images): `const sample=await claude.use(\"sample\")` (null: hide); `await sample(input,opts?)`->`{text,truncated}`; `sample.json`->value. `input`: string|`[{role:\"user\"|\"assistant\",content:string}]` ending on user. Memoryless: send instructions+data+format. opts: `onText({text,delta})` (`text`=WHOLE answer, assign it; \"Thinking...\" till text), `signal` (new AbortController\u002Fcall), `tools:[{name,description,inputSchema?,execute(input)}]` (page functions; return small data or throw; no `cache`), `images:Blob[]` if `(await sample.limits()).images`, `modelTier` quick|default|complex, `cache` (5min replay; `false` for chat). Only if user names model\u002Feffort: `{model:\"claude-sonnet-5-5\",modelTier,effort}`, effort low|medium|high; unusable→`modelTier`; see `modelApplied`. Rejects `{code,message,text?:partial}`: hide on `not_granted`, back off on `rate_limited`, never loop. 1st call asks consent; call on click or stable load prompt.\n\n\n--- capability: self ---\n\n`self` is the former name of the `artifact` capability (renamed). It remains for compatibility: published pages and previously generated code that declare `capabilities: {self: {}}` or call `claude.use(\"self\")` keep working unchanged — both names resolve this same capability (this contract promises no `window.claude.self` member to feature-check; `use()` is the check). Do not use it in new pages: declare `capabilities: {artifact: {}}` and obtain the namespace with `await claude.use(\"artifact\")`; see the artifact section for how to use it.\n\n\n--- capability: user ---\n\n`user` answers who is viewing this page and who your shared state names: the owner's organization and invited guests (`guest: true`); others are absent. `const user = await claude.use(\"user\")`; `null` = absent (`user?.isOwner() ?? false`). `isOwner()`\u002F`canEdit()`\u002F`can(name)` need no setup (canEdit = admin level; `can(\"data.write\")` = may write shared `db` docs, `null` = not told: keep the input; refused writes decide). Declare `capabilities:{user:{}}` for `id()`\u002F`me()` (opaque id, comparable only within one scope; `me()` never null) and `profiles(ids)`; `scopes:[\"profile\"]` adds names and `search(q)`; `[\"profile\",\"email\"]` adds addresses. Reads never reject. Store only ids (`id()` or `hit.id`), never a name, avatar, or Profile: names differ per viewer and go stale. Resolve in render, every time: `const ps = await user.profiles(idsOnScreen)` then `ps[id].name || 'Someone'` (cached: call again freely). `name` is `\"\"` if unresolvable: use `||` not `??`. Call `search('')` on focus; set names with textContent.\n\n\n**Your connectors this session.** Connector tools appear in your tool list as `mcp__\u003Cconnector>__\u003CtoolName>`. Set `server` to the `\u003Cconnector>` segment — everything between `mcp__` and the next `__` (for `mcp__claude_ai_Slack_beta__search`, the `server` is `claude_ai_Slack_beta`). Copy the segment exactly, case included; when publishing, it is resolved to the connector's display name automatically. In the page's own `callTool`\u002F`watchTool` calls, pass the connector's display name (its name as shown in claude.ai), not that segment — viewers resolve connectors by name only. The publish result states the exact display name for each segment it resolves; if the page's calls do not match it, fix them and publish again. Locally-configured MCP servers connected in this session can also be declared, as host servers: set `server` to `host:\u003Cserver>` where `\u003Cserver>` is the segment between `mcp__` and the next `__` in that server's tool names (`mcp__filesystem__read_file` → `host:filesystem`). Only servers from the user's MCP configuration count, with one built-in exception: `host:claude_browser` is the Claude app's own browser — declare it, with the tools the page needs from `read_page`, `get_page_text`, `find`, `preview_start`, `navigate`, `computer` and `form_input`, when the page must read or act on other websites; it answers only when the viewer opens the page in the Claude desktop app; the viewer is asked once, at the page's first call to it, and again at each click or key press that calls a banking or other high-risk site. The app's other built-in servers (`cowork`, `scheduled-tasks`, `session_info`, `workspace` and the like) are never host servers, and a page that declares one is refused at publish. A host server only answers when the viewer opens the page in a Claude app that has that same local server connected — say so to the user when you publish. The manifest's `tools` array takes the connector's upstream tool names (as returned by `listTools()` \u002F `\u002Fv1\u002Fmcp_servers`), which can differ from the normalized `\u003CtoolName>` segment when an upstream name contains `.` or spaces. Every `servers[]` entry needs a non-empty `tools` array naming the tools the page calls — an empty or omitted `tools` list is refused and never means \"all tools\"; to publish without connector access, leave `mcp` out of `capabilities` (pass `capabilities: {}` to clear a stored declaration) rather than declaring an empty `servers` list. In hermetic\u002FCI sessions where connectors aren't loaded but `$CLAUDE_CODE_OAUTH_TOKEN` is set, fetch the list via Bash: `curl -H 'anthropic-version: 2023-06-01' -H 'anthropic-beta: mcp-servers-2025-12-04' -H \"Authorization: Bearer $CLAUDE_CODE_OAUTH_TOKEN\" https:\u002F\u002Fapi.anthropic.com\u002Fv1\u002Fmcp_servers?limit=1000`; in that case use each entry's `display_name` as the `server` value (exact display names are always accepted alongside tool-prefix segments).\n\n**Call contract** (runtime contract 0.2.96). The platform-served `window.claude` type definitions for this contract are extracted under `\u002Fprivate\u002Ftmp\u002Fclaude-501\u002Fbundled-skills\u002F2.1.321\u002F07e00bde5f1d8749804513a46a71efb0\u002Fartifact-capabilities`: `0.2.96\u002Fartifact.d.ts`, `0.2.96\u002Fassets.d.ts`, `0.2.96\u002Fclaude.d.ts`, `0.2.96\u002Fcomments.d.ts`, `0.2.96\u002Fdb.d.ts`, `0.2.96\u002Fdownloads.d.ts`, `0.2.96\u002Ffiles.d.ts`, `0.2.96\u002Fmcp.d.ts`, `0.2.96\u002Fpermissions.d.ts`, `0.2.96\u002Froom.d.ts`, `0.2.96\u002Fsample.d.ts`, `0.2.96\u002Fself.d.ts`, `0.2.96\u002Fuser.d.ts`. Read `\u002Fprivate\u002Ftmp\u002Fclaude-501\u002Fbundled-skills\u002F2.1.321\u002F07e00bde5f1d8749804513a46a71efb0\u002Fartifact-capabilities\u002F0.2.96\u002Fclaude.d.ts` (how a page reaches any capability on this contract) and `\u002Fprivate\u002Ftmp\u002Fclaude-501\u002Fbundled-skills\u002F2.1.321\u002F07e00bde5f1d8749804513a46a71efb0\u002Fartifact-capabilities\u002F0.2.96\u002Fmcp.d.ts` before writing any code that calls the `mcp` capability — they are authoritative for this contract version over any remembered API shape. Open these files with the Read tool rather than `cat`: a file past the Bash tool's inline output limit does not come back in full. The type definitions cover only the call envelope, not a connector tool's argument names or result shape. Take argument names from the tool's input schema in this session's own definition of that connector tool, when it is loaded here. Learn a result's shape from one real call of a tool that is safe to run — never run a write only to learn its result. The published page may also read a connector tool's schema itself with `describeTool(server, tool)` at view time, once the viewer has allowed that connector for the page (viewers without that support reject it — treat any rejection as no schema available); this session cannot read that answer before publishing, so it is no substitute for a schema read here. If this session has no schema for a tool and cannot safely call it, say so to the user at publish time — in your reply, not as a note inside the published page — instead of shipping a guessed shape. Observed response payloads are the user's real data: learn the shape from them, but never embed the observed values in the published page as sample or placeholder data.\n\n## Where a page keeps its state — this session\n\n- A per-viewer convenience (a remembered tab, a draft): browser storage; it never reaches other viewers or Claude.\n- The page itself is the record (a poll, a sign-up sheet, a checklist): the `artifact` capability — a viewer who can write republishes the whole page from its state; every open view reloads to the winner, a concurrent save rejects `conflict`, and read-only viewers cannot save. Such a page regenerates the whole document from its state: keep the head, tokens and structure and change only the content.\n- Data outside the page (Claude seeds or reads it, more than the page shows, private per viewer, many writers at once): the `db` capability — documents under access rules, live through `onSnapshot`, kept across republishes.\n\n## Verify before you hand over the link — this session\n\nA page whose `capabilities` you declared in this session gets one functional pass, not a render loop: after the first publish, one `ArtifactData` `list` of each collection the page writes, and, where its rules hide something from ordinary viewers, the same read with a lower `as_level`, which must not show what the rules hide from such a viewer. Then tell the user in one line what you exercised and what you could not. An Artifact made from an Artifact type is not such a page: its capabilities come from the type, and the type's instructions govern any checking.","# Artifact runtime capabilities\n\nA 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.\n\n**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: `\u003C!doctype html>\u003Chtml>\u003Chead>\u003Cmeta charset=utf8>\u003Cmeta name=viewport content=\"width=device-width,initial-scale=1,viewport-fit=cover\">\u003Cstyle>` the same small reset the tool's description names `\u003C\u002Fstyle>\u003C\u002Fhead>\u003Cbody>` — no whitespace between those tags and nothing else in the head — then the page content exactly as it was written for the tool (its `\u003Ctitle>` and `\u003Cstyle>` first, inside the body, regenerated from the page's state), then `\u003C\u002Fbody>\u003C\u002Fhtml>`.\n\n**Available capabilities:** `artifact`, `assets`, `comments`, `db`, `downloads`, `files`, `mcp`, `room`, `sample`, `self`, `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.\n\n> Tool spelling in this session: the `Artifact` tool's `action: \"read_db\"` \u002F `\"write_db\"` with a `db_op` are the `ArtifactData` tool, whose `action` is that `db_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.\n\nRuntime contract 0.2.96\n\n\nCapability 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`.\n\n\n--- capability: artifact ---\n\nUse `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`\u002F`not_writer` — render a read-only view.\n\n\n--- capability: assets ---\n\n`assets` stores uploaded assets: `const assets = await claude.use(\"assets\")`; `assets.upload(blob)` (image, SVG, video, PDF, font, CSS\u002FJS, or CSV\u002FMarkdown\u002FJSON\u002Ftext; 20 MiB cap, CSS\u002FJS 16 MiB, SVG 2 MiB and sanitized) resolves `{id, url, sizeBytes, contentType}`; `assets.list()` resolves `{assets, usage}`; `assets.delete(id)` removes one for good: only on a deliberate user action, updating rows that held it. Declare `capabilities: {assets: {}}`: only Editors and up get it, others get `null` from `use(\"assets\")` (hide asset UI; handle errors). Only if the user wants uploads from non-editors, declare `{assets: {upload: \"interact\"}}`: where enabled, Contributors can upload but list and delete only their own, and their files show only in the organization; never run any asset as code, CSS or HTML. Store the `id` in `db` rows as the durable pointer; use the returned `url` as an `\u003Cimg>`\u002F`\u003Cvideo>`\u002F`\u003Ca>` source (SVG: `\u003Cimg>` or CSS only); a stored id serves at `\"\u002F_blob\u002F\" + id`. The type definitions are authoritative.\n\n\n--- capability: comments ---\n\n`comments` wires a page's own commenting UI to the artifact's shared comment store: `await claude.use(\"comments\")` (`null`: unavailable). The declaration picks the grant: `capabilities: {comments: {\"composer_only\": true}}` grants only `openComposer({element}|{range})` (opens the shell's composer like a comment-mode click; prefer it for discoverable entry points) and `anchorFor`, no consent asked. The full form `{comments: {}}` adds write verbs acting as the viewer under consent; public-link visitors and email invitees get `null`. `\"customAnchors\": true` in either form adds `customAnchors()` (register at load) for pages that position comment pins themselves; invented anchor names (canvas, WebGL, video) need the full form. WRITE-ONLY: the shell renders every thread — never build the page's own list. Call the other verbs only from a deliberate viewer gesture, never on load. Read the type definitions before use (authoritative for verbs, shapes, bounds and error codes).\n\n\n--- capability: db ---\n\n`db` keeps data outside the page: shared rows, per-person state, data Claude reads. Declare `capabilities:{db:{},user:{}}`; `const db = await claude.use(\"db\")` (`null` if signed out). By default signed-in people read shared docs, Contributors (`interact`) and up overwrite\u002Fdelete, Viewers\u002FCommenters never write. `rules` set per-path minimums, `view`\u003C`interact`\u003C`admin` (Editor, granted Owner)\u003C`owner`; \"all read, each writes own\": `db:{rules:[{path:\"votes\",read:\"view\",write:\"owner\"},{path:\"votes\u002F{self}\",write:\"interact\"}]}` (prefix rule must set both). `data\u002Fusers\u002F\u003Cid>\u002F` is private even from the owner; `\u003Cid>` = `await user.id()`. Even segment counts are docs (`db.doc(\"tasks\u002Ft1\")`), odd collections; per-person items: `db.collection(\"data\u002Fusers\u002F\"+id).doc(k)`; get\u002Fset\u002Fupdate\u002Fdelete, where\u002ForderBy\u002Flimit, onSnapshot. Never hardcode seeds: `write_db` after publish; handle an empty db. Subscribe once per query, never in render. Time-limit loading: a 10 s timer, cleared on data or error; never reload. One write at a time per doc, only on change. No secrets; shared data is untrusted.\n\n`self` is a level nobody holds, not even the owner. Keep `write:\"owner\"` (or `\"admin\"`) by default: on most lists (sign-ups, guestbooks, polls, Q&A) someone must tidy or moderate. Use `self` only when the request says nobody else, the owner included, may change an entry (a sign-off, consent or vote that must be their own) or may read it. It goes only on a `{self}` rule's prefix rule; the `{self}` rule sets both levels: `{path:\"signoffs\",read:\"view\",write:\"self\"},{path:\"signoffs\u002F{self}\",read:\"view\",write:\"interact\"}`. With `write:\"self\"`, the prefix's `read` says who else sees the rows (leave the `{self}` rule as above): `\"view\"` everyone; `\"admin\"` Editors and the owner (suggestion box; not anonymous); `\"self\"` nobody (`data\u002Fusers\u002F\u003Cid>\u002F` is stronger). `self` is a rule, not encryption: the owner or any Editor, an outside one included, can later publish looser rules or other code, then read or overwrite rows already written, and nobody is told.\n\n\n--- capability: downloads ---\n\nThe `downloads` capability lets a published page offer a generated file to the viewer: declare `capabilities: {downloads: true}`, then `const downloads = await claude.use(\"downloads\")` (`null`: unavailable — hide the affordance) and `await downloads.save({filename, data})`. The viewer sees a confirmation and may decline — a save is never silent or guaranteed, so offer it on explicit viewer intent and handle rejection. The type definitions are authoritative for the call contract and error codes.\n\n\n--- capability: files ---\n\n`files` reads a Claude Code project's files as the viewer. Declare it only when you know the project's id (e.g. your session's): `capabilities: {files: {project: \"chan_...\"}}`. `const files = await claude.use(\"files\")` (`null`: unavailable, e.g. a viewer outside the organization; hide it). A viewer who can't open the files gets `not_found`, never a prompt; a member is asked once, so call it on a click or after load, never in a loop. `files.list({path, recursive, cursor})`; `files.read(path, {offset, length})` -> `{bytes, size, revision}` (new or just-edited files can lag a few seconds); `files.download(path)` asks the viewer to save it (some types, e.g. .exe, .js and .bat, are refused); `await files.asSampleTools()` gives `sample` list\u002Fread tools (declare it too). Only project members can publish an artifact declaring files. Don't copy file contents into the artifact's data, assets or versions unless the user asks: anyone it's shared with can read them. The type definitions give shapes and error codes.\n\n\n--- capability: mcp ---\n\n`mcp` lets a page call the viewer's claude.ai connectors: `await claude.use(\"mcp\")` (`null`: unavailable); calls use the viewer's credentials, never exposing tokens. Declare `capabilities: {mcp: {servers: [{server, tools}]}}`; `server` is a connector's display name, or `host:\u003Cname>` for a local MCP server on the viewer's device (Claude app only; else `server_not_connected`). Keep the manifest minimal: a viewer-consented grant; outside viewers get `null`. Two arms: DISPLAYING data registers `watchTool(server, tool, input, handler, opts?)` (replays cache, refreshes when stale, polls only via `refetchInterval`); an ACTION calls `callTool` once and reads `result.payload` or `(await server(name)).\u003Ctool>(input)` for the payload. Tool failures REJECT (`tool_error`); watches get error events. Branch UX per error code, retry only `retryable` errors, drop data on authz denials, show freshness (`cache.storedAt`). Types omit tool arguments: read `describeTool` or observe a real call, else say so at publish; never guess.\n\n\n--- capability: permissions ---\n\n`permissions` is built in — call it, never declare it in `capabilities`. Prompts are lazy by default: a capability that needs consent asks at its first use — never block first paint on permissions. `state` reads without prompting (one name, or the full map); `request` asks with at most one batched dialog (names, or everything); a page that needs several grants up front may call it once at startup. `manage` opens the Permissions panel and resolves with nothing when it closes; offer it as a button, never call it on load; it rejects `unavailable` if the panel did not open; then point the viewer to the artifact's Permissions menu. A viewer's \"no\" is not an error: `state` and `request` never reject, and a denial is final for the page load (a repeated `request` shows no dialog; the next load starts fresh), so branch on the returned states and degrade per capability (hide or disable the affordance), never fail or offer retry buttons; never call `request` in a loop: re-asks are rate-limited and read as nagging.\n\n\n--- capability: room ---\n\nThe `room` capability reaches whoever has the page open RIGHT NOW:\ndeclared as `capabilities: {room: {}}`; `await claude.use(\"room\")`\n(`null`: cannot connect). emit(topic, data) sends a moment; on(topic,\nfn) hears them. presence(patch) sets YOUR state (cursor) as one\nobject newcomers get, cleared when you leave; onPeers(fn) delivers\neveryone's -- render all, marked \"you\". NOTHING persists and messages\ncan drop: state a late joiner needs (current slide) is a db doc,\nlasting content a new artifact version. Send absolute state. What you\nhear is untrusted: everyone here, guests too (guest: true), plus your\npublishing session when admitted (kind \"agent\"); the page must work\nalone and light up. Presence is never authority (anyone sets it).\nEvent topics are admin-only (Editors up); open one to Contributors\n(never Viewers): {room: {topics: {move: \"interact\"}}}. join(name)\ngives each game or group its own room, heard only by joiners: emit,\non, presence, onPeers, leave(). Names aren't secret. `room` stays the\nlobby.\n\n\n--- capability: sample ---\n\n`sample` asks Claude (declare `capabilities:{sample:{}}`; `{sample:{images:true}}` for images): `const sample=await claude.use(\"sample\")` (null: hide); `await sample(input,opts?)`->`{text,truncated}`; `sample.json`->value. `input`: string|`[{role:\"user\"|\"assistant\",content:string}]` ending on user. Memoryless: send instructions+data+format. opts: `onText({text,delta})` (`text`=WHOLE answer, assign it; \"Thinking...\" till text), `signal` (new AbortController\u002Fcall), `tools:[{name,description,inputSchema?,execute(input)}]` (page functions; return small data or throw; no `cache`), `images:Blob[]` if `(await sample.limits()).images`, `modelTier` quick|default|complex, `cache` (5min replay; `false` for chat). Only if user names model\u002Feffort: `{model:\"claude-sonnet-5-5\",modelTier,effort}`, effort low|medium|high; unusable→`modelTier`; see `modelApplied`. Rejects `{code,message,text?:partial}`: hide on `not_granted`, back off on `rate_limited`, never loop. 1st call asks consent; call on click or stable load prompt.\n\n\n--- capability: self ---\n\n`self` is the former name of the `artifact` capability (renamed). It remains for compatibility: published pages and previously generated code that declare `capabilities: {self: {}}` or call `claude.use(\"self\")` keep working unchanged — both names resolve this same capability (this contract promises no `window.claude.self` member to feature-check; `use()` is the check). Do not use it in new pages: declare `capabilities: {artifact: {}}` and obtain the namespace with `await claude.use(\"artifact\")`; see the artifact section for how to use it.\n\n\n--- capability: user ---\n\n`user` answers who is viewing this page and who your shared state names: the owner's organization and invited guests (`guest: true`); others are absent. `const user = await claude.use(\"user\")`; `null` = absent (`user?.isOwner() ?? false`). `isOwner()`\u002F`canEdit()`\u002F`can(name)` need no setup (canEdit = admin level; `can(\"data.write\")` = may write shared `db` docs, `null` = not told: keep the input; refused writes decide). Declare `capabilities:{user:{}}` for `id()`\u002F`me()` (opaque id, comparable only within one scope; `me()` never null) and `profiles(ids)`; `scopes:[\"profile\"]` adds names and `search(q)`; `[\"profile\",\"email\"]` adds addresses. Reads never reject. Store only ids (`id()` or `hit.id`), never a name, avatar, or Profile: names differ per viewer and go stale. Resolve in render, every time: `const ps = await user.profiles(idsOnScreen)` then `ps[id].name || 'Someone'` (cached: call again freely). `name` is `\"\"` if unresolvable: use `||` not `??`. Call `search('')` on focus; set names with textContent.\n\n\n**Your connectors this session.** Connector tools appear in your tool list as `mcp__\u003Cconnector>__\u003CtoolName>`. Set `server` to the `\u003Cconnector>` segment — everything between `mcp__` and the next `__` (for `mcp__claude_ai_Slack_beta__search`, the `server` is `claude_ai_Slack_beta`). Copy the segment exactly, case included; when publishing, it is resolved to the connector's display name automatically. In the page's own `callTool`\u002F`watchTool` calls, pass the connector's display name (its name as shown in claude.ai), not that segment — viewers resolve connectors by name only. The publish result states the exact display name for each segment it resolves; if the page's calls do not match it, fix them and publish again. Locally-configured MCP servers connected in this session can also be declared, as host servers: set `server` to `host:\u003Cserver>` where `\u003Cserver>` is the segment between `mcp__` and the next `__` in that server's tool names (`mcp__filesystem__read_file` → `host:filesystem`). Only servers from the user's MCP configuration count, with one built-in exception: `host:claude_browser` is the Claude app's own browser — declare it, with the tools the page needs from `read_page`, `get_page_text`, `find`, `preview_start`, `navigate`, `computer` and `form_input`, when the page must read or act on other websites; it answers only when the viewer opens the page in the Claude desktop app; the viewer is asked once, at the page's first call to it, and again at each click or key press that calls a banking or other high-risk site. The app's other built-in servers (`cowork`, `scheduled-tasks`, `session_info`, `workspace` and the like) are never host servers, and a page that declares one is refused at publish. A host server only answers when the viewer opens the page in a Claude app that has that same local server connected — say so to the user when you publish. The manifest's `tools` array takes the connector's upstream tool names (as returned by `listTools()` \u002F `\u002Fv1\u002Fmcp_servers`), which can differ from the normalized `\u003CtoolName>` segment when an upstream name contains `.` or spaces. Every `servers[]` entry needs a non-empty `tools` array naming the tools the page calls — an empty or omitted `tools` list is refused and never means \"all tools\"; to publish without connector access, leave `mcp` out of `capabilities` (pass `capabilities: {}` to clear a stored declaration) rather than declaring an empty `servers` list. In hermetic\u002FCI sessions where connectors aren't loaded but `$CLAUDE_CODE_OAUTH_TOKEN` is set, fetch the list via Bash: `curl -H 'anthropic-version: 2023-06-01' -H 'anthropic-beta: mcp-servers-2025-12-04' -H \"Authorization: Bearer $CLAUDE_CODE_OAUTH_TOKEN\" https:\u002F\u002Fapi.anthropic.com\u002Fv1\u002Fmcp_servers?limit=1000`; in that case use each entry's `display_name` as the `server` value (exact display names are always accepted alongside tool-prefix segments).\n\n**Call contract** (runtime contract 0.2.96). The platform-served `window.claude` type definitions for this contract are extracted under `\u002Fprivate\u002Ftmp\u002Fclaude-501\u002Fbundled-skills\u002F2.1.321\u002F07e00bde5f1d8749804513a46a71efb0\u002Fartifact-capabilities`: `0.2.96\u002Fartifact.d.ts`, `0.2.96\u002Fassets.d.ts`, `0.2.96\u002Fclaude.d.ts`, `0.2.96\u002Fcomments.d.ts`, `0.2.96\u002Fdb.d.ts`, `0.2.96\u002Fdownloads.d.ts`, `0.2.96\u002Ffiles.d.ts`, `0.2.96\u002Fmcp.d.ts`, `0.2.96\u002Fpermissions.d.ts`, `0.2.96\u002Froom.d.ts`, `0.2.96\u002Fsample.d.ts`, `0.2.96\u002Fself.d.ts`, `0.2.96\u002Fuser.d.ts`. Read `\u002Fprivate\u002Ftmp\u002Fclaude-501\u002Fbundled-skills\u002F2.1.321\u002F07e00bde5f1d8749804513a46a71efb0\u002Fartifact-capabilities\u002F0.2.96\u002Fclaude.d.ts` (how a page reaches any capability on this contract) and `\u002Fprivate\u002Ftmp\u002Fclaude-501\u002Fbundled-skills\u002F2.1.321\u002F07e00bde5f1d8749804513a46a71efb0\u002Fartifact-capabilities\u002F0.2.96\u002Fmcp.d.ts` before writing any code that calls the `mcp` capability — they are authoritative for this contract version over any remembered API shape. Open these files with the Read tool rather than `cat`: a file past the Bash tool's inline output limit does not come back in full. The type definitions cover only the call envelope, not a connector tool's argument names or result shape. Take argument names from the tool's input schema in this session's own definition of that connector tool, when it is loaded here. Learn a result's shape from one real call of a tool that is safe to run — never run a write only to learn its result. The published page may also read a connector tool's schema itself with `describeTool(server, tool)` at view time, once the viewer has allowed that connector for the page (viewers without that support reject it — treat any rejection as no schema available); this session cannot read that answer before publishing, so it is no substitute for a schema read here. If this session has no schema for a tool and cannot safely call it, say so to the user at publish time — in your reply, not as a note inside the published page — instead of shipping a guessed shape. Observed response payloads are the user's real data: learn the shape from them, but never embed the observed values in the published page as sample or placeholder data.\n\n## Where a page keeps its state — this session\n\n- A per-viewer convenience (a remembered tab, a draft): browser storage; it never reaches other viewers or Claude.\n- The page itself is the record (a poll, a sign-up sheet, a checklist): the `artifact` capability — a viewer who can write republishes the whole page from its state; every open view reloads to the winner, a concurrent save rejects `conflict`, and read-only viewers cannot save. Such a page regenerates the whole document from its state: keep the head, tokens and structure and change only the content.\n- Data outside the page (Claude seeds or reads it, more than the page shows, private per viewer, many writers at once): the `db` capability — documents under access rules, live through `onSnapshot`, kept across republishes.\n\n## Verify before you hand over the link — this session\n\nA page whose `capabilities` you declared in this session gets one functional pass, not a render loop: after the first publish, one `ArtifactData` `list` of each collection the page writes, and, where its rules hide something from ordinary viewers, the same read with a lower `as_level`, which must not show what the rules hide from such a viewer. Then tell the user in one line what you exercised and what you could not. An Artifact made from an Artifact type is not such a page: its capabilities come from the type, and the type's instructions govern any checking.",{"name":5,"description":7},"main","2975a5ac469614541ae22929d43b6da2635e1ee9","Anthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks","https:\u002F\u002Fgithub.com\u002FraaOS","2026-11-14 21:19:17",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add raaOS\u002Fsystem_prompts_leaks --skill artifact-capabilities",{"tool":35,"command":36},"bunx","bunx skills add raaOS\u002Fsystem_prompts_leaks --skill artifact-capabilities",{"tool":38,"command":39},"pnpm","pnpm dlx skills add raaOS\u002Fsystem_prompts_leaks --skill artifact-capabilities","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002FSKILL.md",true,[43,49,53,57,61,65,69,73,77,81,85,89,93],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"0.2.96\u002Fartifact.d.ts","SCRIPT","脚本",33001,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fartifact.d.ts",{"path":50,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":51,"sourceHtmlUrl":52},"0.2.96\u002Fassets.d.ts",18016,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fassets.d.ts",{"path":54,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":55,"sourceHtmlUrl":56},"0.2.96\u002Fclaude.d.ts",3017,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fclaude.d.ts",{"path":58,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":59,"sourceHtmlUrl":60},"0.2.96\u002Fcomments.d.ts",37909,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fcomments.d.ts",{"path":62,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":63,"sourceHtmlUrl":64},"0.2.96\u002Fdb.d.ts",29777,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fdb.d.ts",{"path":66,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":67,"sourceHtmlUrl":68},"0.2.96\u002Fdownloads.d.ts",6055,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fdownloads.d.ts",{"path":70,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":71,"sourceHtmlUrl":72},"0.2.96\u002Ffiles.d.ts",6823,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Ffiles.d.ts",{"path":74,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":75,"sourceHtmlUrl":76},"0.2.96\u002Fmcp.d.ts",40824,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fmcp.d.ts",{"path":78,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":79,"sourceHtmlUrl":80},"0.2.96\u002Fpermissions.d.ts",4320,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fpermissions.d.ts",{"path":82,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":83,"sourceHtmlUrl":84},"0.2.96\u002Froom.d.ts",34952,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Froom.d.ts",{"path":86,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":87,"sourceHtmlUrl":88},"0.2.96\u002Fsample.d.ts",40081,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fsample.d.ts",{"path":90,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":91,"sourceHtmlUrl":92},"0.2.96\u002Fself.d.ts",644,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fself.d.ts",{"path":94,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":95,"sourceHtmlUrl":96},"0.2.96\u002Fuser.d.ts",15236,"https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FAnthropic\u002Fclaude-code\u002Fskills\u002Fartifact-capabilities\u002F0.2.96\u002Fuser.d.ts",[98,104,111,118,125,132],{"skillNo":99,"name":100,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M77JV1M0ZZTZZREM9Q96TKZZ","model-council","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FPerplexity\u002Fskills\u002Fmodel-council\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":18},"01M77JTYND3ETS9EGCX3B9CW6E","writing-style","Draft or edit writing in the user's voice for the person who will read it and where it will appear. Use for messages, emails, documents or slides written on their behalf, not for your own replies.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwriting-style\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":18},"01M77JTVWEHY80JC2H1JG1JMQB","write-page","Create or edit requested Page\u002FSpace content, or use for prose you have already decided to save as a standalone Markdown file, only if the user did not explicitly request a Markdown file. Honor established formats, destinations, and repository documentation. A selected Page alone does not authorize a write.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwrite-page\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":18},"01M77JTQ5ND23QPF6RJYJPXHSZ","software-engineering","For use only in threads for this proactive personal assistant. Investigate software issues; inspect, write, review, or test code; work on a repository or local engineering file; or create, fix, or monitor a pull request or CI run. Use for actual engineering or product QA work, not a general programming explanation.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fsoftware-engineering\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":18},"01M77JTM3ZDPCYE8C1FW7G7S2B","slides-artifact","Use when the user asks to create, edit, or review slides or a presentation (PowerPoint or Google Slides), including when the task clearly calls for an audience-ready slide deck. Also use to answer questions that require inspecting an existing deck; not for general presentation advice or a chat-only outline.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslides-artifact\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":18},"01M77JTHTWZN2J27KD2H66XDBZ","slack","Use when reading Slack conversations, deciding when to respond, or sending messages, files, and reactions in Slack.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslack\u002FSKILL.md",[],[]]