Agent skill

Claude API In Prototypes

by asgeirtj in asgeirtj/system_prompts_leaks

Call Claude from your HTML artifacts via window.claude.complete

CC0-1.0Auto-check passedAI & LLM Engineering

Install Claude API In Prototypes

skills CLI
$ npx skills add asgeirtj/system_prompts_leaks --skill claude-api-in-prototypes -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install asgeirtj/system_prompts_leaks claude-api-in-prototypes --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/asgeirtj/system_prompts_leaks.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Anthropic/claude-design/skills/claude-api-in-prototypes .claude/skills/claude-api-in-prototypes && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
claude-api-in-prototypes
GitHub stars
69k
Token cost
~281 tokens
SKILL.md length
107 words
Files
1
Skills in repo
124
Repo updated
First seen
Licence
CC0-1.0

At a glance

Call Claude from your HTML artifacts via window.claude.complete

  • Tasks that involve LLM API integration
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve HTML artifacts

What it does

Claude API In Prototypes is an agent skill from asgeirtj/system_prompts_leaks. Call Claude from your HTML artifacts via window.claude.complete

Its SKILL.md is about 280 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM API integration and HTML artifacts. It works with Anthropic API. The repository describes itself as: Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro… The licence is CC0-1.0.

When your agent uses it

  • Tasks that involve LLM API integration
  • Tasks that involve HTML artifacts

Example prompts

  • “/claude-api-in-prototypes”

What it can do on your machine

Read from SKILL.md and the folder at commit e31ec21. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are html).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Claude API In Prototypes loads about 281 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 107 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~281

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from asgeirtj/system_prompts_leaks at commit e31ec21, republished under its CC0-1.0 licence (© asgeirtj). 107 words, ~281 tokens.

Download SKILL.mdSave it as .claude/skills/claude-api-in-prototypes/SKILL.md (or your agent's skills folder).
name
claude-api-in-prototypes
description
Call Claude from your HTML artifacts via window.claude.complete
user-invocable
true

Claude API in prototypes

Your HTML artifacts can call Claude via a built-in helper. No SDK or API key needed.

html
<script>
(async () => {
  const text = await window.claude.complete("Summarize this: ...");
  // or with a messages array:
  const text2 = await window.claude.complete({
    messages: [{ role: 'user', content: '...' }],
  });
})();
</script>

Calls default to claude-haiku-4-5 with a 1024-token output cap. The body may also set model (haiku/sonnet families only), max_tokens (up to 32000), system, tool_choice, and client tools — standard Messages API shapes, except each tool also carries run: async (input) => string and the helper executes tool calls in-page and loops (max 8 model calls), resolving with the final text. Handler throws become is_error tool_results. Server tools (web search etc.) are rejected; no streaming; rate-limited 15 calls/minute per user, loop iterations included. Shared artifacts run under the viewer's quota.

© asgeirtj, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in Anthropic/claude-design/skills/claude-api-in-prototypes of asgeirtj/system_prompts_leaks.

Open the folder on GitHubat commit e31ec21

Compare with similar skills

Claude API In Prototypes next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Claude API In Prototypes compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Claude API In Prototypes this skillasgeirtj/system_prompts_leaks69k—~281Automated safety check: PassCC0-1.0
Paper2htmlQuZhan51496/paper2anything469—~3.3kAutomated safety check: NotesApache-2.0
Claude APIterrense/LilBot-agent121—~155Automated safety check: PassNone
Claude APIkid-sid/claude-spellbook190—~2.7kAutomated safety check: PassMIT
Prompt Caching Patternssoftspark/ai-toolkit179—~1.1kAutomated safety check: PassApache-2.0
Clade Hello Worldjeremylongshore/tons-of-skills-marketplace2.8k—~873Automated safety check: PassMIT

Similar skills

  • Paper2html

    QuZhan51496/paper2anything

    Convert an academic paper PDF into a publish-ready, self-contained single-page project homepage (a self-contained index.html) — the kind of paper landing page researchers host on GitHub Pages.

    469 GitHub stars~3.3k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check: notes
  • Claude API

    terrense/LilBot-agent

    Help with Claude/LLM API usage, models, and integration patterns.

    121 GitHub stars~155 tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Claude API

    kid-sid/claude-spellbook

    A skill your agent uses when building or debugging apps that call the Claude API — implementing tool use, streaming, vision, prompt caching, batch processing, extended thinking, or an agentic loop…

    190 GitHub stars~2.7k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed
  • Prompt Caching Patterns

    softspark/ai-toolkit

    Anthropic API prompt caching: TTL, breakpoints, stacking, invalidation, hit rate.

    179 GitHub stars~1.1k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Clade Hello World

    jeremylongshore/tons-of-skills-marketplace

    Send your first message to Claude using the Anthropic SDK. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~873 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Clade Install Auth

    jeremylongshore/tons-of-skills-marketplace

    Install and configure the Anthropic SDK for Claude API access.

    2.8k GitHub stars~951 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes

More from asgeirtj/system_prompts_leaks

All 124 skills in this repo
  • Fleet Manager for Agent Sessions

    asgeirtj/system_prompts_leaks

    Shows one digest of coding-agent sessions across your connected machines and lets you open, read, steer, approve, stop and close them, over Herdr, tmux or MSP.

    69k GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Muse Code Product Doctor

    asgeirtj/system_prompts_leaks

    Diagnoses a Muse Code installation's own failures from binary and session evidence, instead of treating the report as an ordinary repository bug.

    69k GitHub stars~3.5k tokensUpdated yesterday
    Auto-check passed
  • DOCX

    asgeirtj/system_prompts_leaks

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx) or Word templates (.dotx).

    69k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Agents Project Coordinator

    asgeirtj/system_prompts_leaks

    Runs a goal as a project in which the agent coordinates separate agent threads, judging when to split the work, and interviews you first when nothing can be verified.

    69k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Muse Plugin Creator

    asgeirtj/system_prompts_leaks

    Creates and validates a new native Muse plugin package in the current workspace, limited to five capability families, and leaves installation to you.

    69k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Deep Research

    asgeirtj/system_prompts_leaks

    A skill your agent uses when the user's prompt requires (1) researching a topic across multiple sources, comparing options or alternatives, analyzing trends or history, understanding markets or…

    69k GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Claude API In Prototypes

What does Claude API In Prototypes do?

Call Claude from your HTML artifacts via window.claude.complete. Claude API In Prototypes is an agent skill from asgeirtj/system_prompts_leaks.

When should I use Claude API In Prototypes?

Claude API In Prototypes fits situations like: tasks that involve LLM API integration; tasks that involve HTML artifacts.

How do I install Claude API In Prototypes in Claude Code?

Run `npx skills add asgeirtj/system_prompts_leaks --skill claude-api-in-prototypes -a claude-code`. Or copy the skill folder (Anthropic/claude-design/skills/claude-api-in-prototypes in asgeirtj/system_prompts_leaks) into .claude/skills/claude-api-in-prototypes in your project. Claude Code loads it when a task matches its description.

How do I install Claude API In Prototypes in Codex?

Run `npx skills add asgeirtj/system_prompts_leaks --skill claude-api-in-prototypes -a codex`. Or copy the skill folder (Anthropic/claude-design/skills/claude-api-in-prototypes in asgeirtj/system_prompts_leaks) into .agents/skills/claude-api-in-prototypes in your project. Codex loads it when a task matches its description.

Can I use Claude API In Prototypes in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add asgeirtj/system_prompts_leaks --skill claude-api-in-prototypes -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/claude-api-in-prototypes, .gemini/skills/claude-api-in-prototypes, .github/skills/claude-api-in-prototypes and .opencode/skills/claude-api-in-prototypes in your project.

What does Claude API In Prototypes need to run?

SKILL.md names no scripts, command-line tools or credentials: Claude API In Prototypes is instructions for the agent only.

Does Claude API In Prototypes access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Claude API In Prototypes safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Claude API In Prototypes use?

Claude API In Prototypes is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Claude API In Prototypes use?

About 281 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Claude API In Prototypes?

Skills that share tags, products or a category with Claude API In Prototypes: Paper2html (QuZhan51496/paper2anything, 469 stars), Claude API (terrense/LilBot-agent, 121 stars), Claude API (kid-sid/claude-spellbook, 190 stars) and Prompt Caching Patterns (softspark/ai-toolkit, 179 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Claude API In Prototypes?

asgeirtj (a GitHub user) maintains it in asgeirtj/system_prompts_leaks, which has 69,211 GitHub stars. The repository holds 124 skills in this directory. The repository was last updated on October 8, 2026.

Source: asgeirtj/system_prompts_leaks on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.