Blog Google
AgriciDaniel/claude-blog
Google API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity…
Create and configure embedded playgrounds using createPlayground(), EmbedOptions, container setup, loading modes (eager/lazy/click), and appUrl for self-hosted instances.
$ npx skills add live-codes/livecodes --skill sdk-embedding -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install live-codes/livecodes sdk-embedding --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/live-codes/livecodes.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/livecodes/sdk-embedding .claude/skills/sdk-embedding && rm -rf skills-srcUse ~/.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/
Install the "sdk-embedding" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/sdk-embedding into .claude/skills/sdk-embedding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdk-embedding", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/sdk-embeddingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add live-codes/livecodes --skill sdk-embedding -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install live-codes/livecodes sdk-embedding --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/live-codes/livecodes.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/livecodes/sdk-embedding .agents/skills/sdk-embedding && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sdk-embedding" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/sdk-embedding into .agents/skills/sdk-embedding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdk-embedding", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add live-codes/livecodes --skill sdk-embedding -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install live-codes/livecodes sdk-embedding --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/live-codes/livecodes.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/livecodes/sdk-embedding .cursor/skills/sdk-embedding && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sdk-embedding" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/sdk-embedding into .cursor/skills/sdk-embedding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdk-embedding", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/live-codes/livecodes.git --path .agents/skills/livecodes/sdk-embedding--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add live-codes/livecodes --skill sdk-embedding -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install live-codes/livecodes sdk-embedding --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/live-codes/livecodes.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/livecodes/sdk-embedding .gemini/skills/sdk-embedding && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sdk-embedding" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/sdk-embedding into .gemini/skills/sdk-embedding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdk-embedding", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install live-codes/livecodes sdk-embeddingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add live-codes/livecodes --skill sdk-embedding -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/live-codes/livecodes.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/livecodes/sdk-embedding .github/skills/sdk-embedding && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sdk-embedding" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/sdk-embedding into .github/skills/sdk-embedding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdk-embedding", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add live-codes/livecodes --skill sdk-embedding -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install live-codes/livecodes sdk-embedding --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/live-codes/livecodes.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/livecodes/sdk-embedding .opencode/skills/sdk-embedding && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sdk-embedding" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/sdk-embedding into .opencode/skills/sdk-embedding/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sdk-embedding", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sdk-embeddingCreate and configure embedded playgrounds using createPlayground(), EmbedOptions, container setup, loading modes (eager/lazy/click), and appUrl for self-hosted instances.
SDK Embedding is an agent skill from live-codes/livecodes. Create and configure embedded playgrounds using createPlayground(), EmbedOptions, container setup, loading modes (eager/lazy/click), and appUrl for self-hosted instances. Load this skill when embedding LiveCodes in web pages, configuring playground containers, or setting up SDK integration.
Its SKILL.md is about 1.5k 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 Embeddings and Third-party API integration. The repository describes itself as: A Code Playground That Just Works! The licence is MIT.
Read from SKILL.md and the folder at commit 5754e89. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
cdn.jsdelivr.netgist.github.comlivecodes.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
SDK Embedding loads about 1.5k tokens when it runs. Until then it costs about 76 tokens; SKILL.md has 266 words of instructions outside code blocks.
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.
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.
The full file from live-codes/livecodes at commit 5754e89, republished under its MIT licence (© live-codes). 266 words, ~1,488 tokens.
.claude/skills/sdk-embedding/SKILL.md (or your agent's skills folder).LiveCodes is a client-side code playground that runs in the browser. Use createPlayground to embed interactive code editors in any web page.
import { createPlayground } from 'livecodes';
// Minimal embed with template
createPlayground('#container', {
template: 'react',
});
// Embed with custom code
createPlayground('#container', {
config: {
markup: { language: 'html', content: '<h1>Hello World</h1>' },
style: { language: 'css', content: 'h1 { color: blue; }' },
script: { language: 'javascript', content: 'console.log("Hello");' },
},
});
// CDN usage (no bundler)
import { createPlayground } from 'https://cdn.jsdelivr.net/npm/livecodes';
createPlayground('#container', { template: 'vue' });Playgrounds load when they approach the viewport by default. Use loading: 'eager' for immediate load or loading: 'click' for click-to-load.
createPlayground('#container', {
template: 'react',
loading: 'click', // Shows "Click to load" screen
});For simple cases, use URL-style params instead of full config objects.
createPlayground('#container', {
params: {
html: '<h1>Hello</h1>',
css: 'h1 { color: blue; }',
js: 'console.log("Hello")',
console: 'open',
},
});Point to your own LiveCodes deployment.
createPlayground('#container', {
appUrl: 'https://playground.mywebsite.com',
template: 'react',
});When providing multiple config sources, they override in order: template < import < config < params.
createPlayground('#container', {
template: 'react', // Lowest priority
import: 'https://gist.github.com/...', // Overrides template
config: {
/* ... */
}, // Overrides import
params: { js: '...' }, // Highest priority
});Create a link to the standalone app without embedding.
import { getPlaygroundUrl } from 'livecodes';
const url = getPlaygroundUrl({
config: {
markup: { language: 'markdown', content: '# Hello World' },
},
});
// url = "https://livecodes.io/#config/..."Compress a stringified config object for use in URL hashes or compact storage.
import { compress } from 'livecodes';
const config = {
markup: { language: 'html', content: '<h1>Hello World</h1>' },
};
const compressed = compress(JSON.stringify(config));Decompress a string that was compressed with compress. Returns null if decompression fails.
import { decompress } from 'livecodes';
const decompressed = decompress(compressedString);
if (decompressed) {
const config = JSON.parse(decompressed);
}Wrong:
createPlayground('#nonexistent-container', { template: 'react' });
// Throws: "Cannot find element: \"#nonexistent-container\""Correct:
// Ensure container exists before calling
const container = document.querySelector('#container');
if (container) {
createPlayground('#container', { template: 'react' });
}
// Or use headless mode (container optional)
createPlayground({
view: 'headless',
config: {
/* ... */
},
});createPlayground throws if the container selector matches no elements. In headless mode (headless: true), the container parameter is optional.
Source: src/sdk/index.ts — throws "Cannot find element" for invalid container
Wrong:
const playground = await createPlayground('#container', options);
await playground.destroy();
await playground.run(); // Throws: "Cannot call API methods after calling `destroy()`."Correct:
const playground = await createPlayground('#container', options);
await playground.run();
// Use SDK methods while playground exists...
await playground.destroy(); // Last call — no more methods after thisOnce destroy() is called, all subsequent SDK method calls throw with the message "Cannot call API methods after calling destroy()."
Source: src/sdk/index.ts — alreadyDestroyedMessage constant
Wrong:
createPlayground('#container', {
appUrl: 'my-playground', // Not a valid URL
});
// Throws: "my-playground is not a valid URL."Correct:
createPlayground('#container', {
appUrl: 'https://playground.example.com',
template: 'react',
});The appUrl must be a parseable URL string. Use the full URL including protocol.
Source: src/sdk/index.ts — URL parsing in getPlaygroundUrl
SDK calls timeout after 60 seconds if the playground doesn't respond.
// This can timeout if playground has infinite loop or slow WASM load
await playground.run(); // Times out after 60sHandle with try/catch for long-running operations:
try {
await playground.run();
} catch (error) {
if (error.message.includes('timed out')) {
console.error('Playground timed out');
}
}Source: src/sdk/index.ts — API_TIMEOUT = 60_000 (60 seconds)
© live-codes, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/livecodes/sdk-embedding of live-codes/livecodes.
Open the folder on GitHubat commit 5754e89
SDK Embedding 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| SDK Embedding this skilllive-codes/livecodes | 1.5k | — | ~1.5k | Automated safety check: Pass | MIT | |
| Blog GoogleAgriciDaniel/claude-blog | 2.3k | 1 repos | ~3.3k | Automated safety check: Notes | MIT | |
| Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~2.3k | Automated safety check: Pass | MIT | |
| CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~1.7k | Automated safety check: Pass | MIT | |
| SageMaker Serving Image Selectionhuggingface/skills | 11k | 1 repos | ~4.6k | Automated safety check: Pass | Apache-2.0 | |
| Codebase Managementgiancarloerra/SocratiCode | 3.3k | 1 repos | ~1.8k | Automated safety check: Pass | AGPL-3.0 |
AgriciDaniel/claude-blog
Google API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity…
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
Orchestra-Research/AI-Research-SKILLs
Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.
huggingface/skills
Chooses the right serving container and current image URI for deploying a Hugging Face model to a SageMaker endpoint, preferring Hugging Face images over generic ones.
giancarloerra/SocratiCode
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
huggingface/skills
Routes a sentence-transformers training task to the right model type and required reference docs and example scripts, covering bi-encoders, rerankers, sparse and multi-vector models.
live-codes/livecodes
Work with 90+ supported languages, compilers, CSS processors, and WASM-compiled languages for markup, style, and script editors.
live-codes/livecodes
Configure playground behavior through Config object, query parameters, EmbedOptions, editor settings, processors, external resources, and custom settings.
live-codes/livecodes
Configure how the playground is displayed: full, focus, simple, lite, editor, codeblock, and result modes.
live-codes/livecodes
Use SDK with React, Vue, Svelte, Solid, Preact, and Web Components.
live-codes/livecodes
Quick start for standalone app at livecodes.io, embedding playgrounds with CDN or npm, and self-hosting basics.
live-codes/livecodes
Use the "Preview in LiveCodes" GitHub Action to generate preview playground links for pull request code changes.
Categories
Create and configure embedded playgrounds using createPlayground(), EmbedOptions, container setup, loading modes (eager/lazy/click), and appUrl for self-hosted instances. SDK Embedding is an agent skill from live-codes/livecodes. Create and configure embedded playgrounds using createPlayground(), EmbedOptions, container setup, loading modes (eager/lazy/click), and appUrl for self-hosted instances.
SDK Embedding fits situations like: tasks that involve Embeddings; tasks that involve Third-party API integration.
Run `npx skills add live-codes/livecodes --skill sdk-embedding -a claude-code`. Or copy the skill folder (.agents/skills/livecodes/sdk-embedding in live-codes/livecodes) into .claude/skills/sdk-embedding in your project. Claude Code loads it when a task matches its description.
Run `npx skills add live-codes/livecodes --skill sdk-embedding -a codex`. Or copy the skill folder (.agents/skills/livecodes/sdk-embedding in live-codes/livecodes) into .agents/skills/sdk-embedding in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add live-codes/livecodes --skill sdk-embedding -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sdk-embedding, .gemini/skills/sdk-embedding, .github/skills/sdk-embedding and .opencode/skills/sdk-embedding in your project.
SKILL.md names no scripts, command-line tools or credentials: SDK Embedding is instructions for the agent only.
SKILL.md names 3 domains. In commands or code: cdn.jsdelivr.net, gist.github.com and livecodes.io; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
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.
SDK Embedding is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with SDK Embedding: Blog Google (AgriciDaniel/claude-blog, 2.3k stars), Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars) and SageMaker Serving Image Selection (huggingface/skills, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
live-codes (a GitHub organization) maintains it in live-codes/livecodes, which has 1,512 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 6, 2026.
Source: live-codes/livecodes on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.