CI
aiblueprinthq/ai-blueprint
Set up or normalize one project Verify command and matching GitHub Actions checks while preserving existing CI, with an optional local pre-push hook.
Use the "Preview in LiveCodes" GitHub Action to generate preview playground links for pull request code changes.
$ npx skills add live-codes/livecodes --skill gh-action -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install live-codes/livecodes gh-action --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/gh-action .claude/skills/gh-action && 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 "gh-action" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/gh-action into .claude/skills/gh-action/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-action", 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/gh-actionType 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 gh-action -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install live-codes/livecodes gh-action --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/gh-action .agents/skills/gh-action && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gh-action" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/gh-action into .agents/skills/gh-action/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-action", 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 gh-action -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install live-codes/livecodes gh-action --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/gh-action .cursor/skills/gh-action && 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 "gh-action" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/gh-action into .cursor/skills/gh-action/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-action", 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/gh-action--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 gh-action -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install live-codes/livecodes gh-action --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/gh-action .gemini/skills/gh-action && 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 "gh-action" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/gh-action into .gemini/skills/gh-action/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-action", 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 gh-actionInstalls 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 gh-action -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/gh-action .github/skills/gh-action && 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 "gh-action" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/gh-action into .github/skills/gh-action/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-action", 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 gh-action -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 gh-action --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/gh-action .opencode/skills/gh-action && 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 "gh-action" agent skill from https://github.com/live-codes/livecodes/tree/develop/.agents/skills/livecodes/gh-action into .opencode/skills/gh-action/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-action", 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.
gh-actionUse the "Preview in LiveCodes" GitHub Action to generate preview playground links for pull request code changes.
Gh Action is an agent skill from live-codes/livecodes. Use the "Preview in LiveCodes" GitHub Action to generate preview playground links for pull request code changes. Automates playground creation and PR comments.
Its SKILL.md is about 1.8k 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 DevOps & Cloud, covering CI/CD and Pull requests. It works with GitHub. The repository describes itself as: A Code Playground That Just Works! The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
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.
Shell commands in SKILL.md call:
gitnpmFrom 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:
livecodes.iogithub.comcdn.jsdelivr.netAlso links to:
securitylab.github.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
GITHUB_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gh Action loads about 1.8k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 437 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). 437 words, ~1,827 tokens.
.claude/skills/gh-action/SKILL.md (or your agent's skills folder).The Preview in LiveCodes GitHub Action generates preview links to LiveCodes playgrounds for code changes in pull requests and posts them as PR comments.
Use case: Library authors can preview changes in the playground before merging PRs.
.livecodes/ folder for playground configurationsThe action requires two workflow files that must be merged to the default branch first.
1. Trigger workflow .github/workflows/livecodes-preview.yml:
name: livecodes
on: [pull_request]
jobs:
build_and_prepare:
runs-on: ubuntu-latest
name: Generate Playgrounds
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and generate
uses: live-codes/preview-in-livecodes@v1
with:
# Optional: install-command: "npm install"
# Optional: build-command: "npm run build"
# Optional: base-url: "https://{{LC::REF}}.my-project.pages.dev"2. Comment workflow .github/workflows/livecodes-post-comment.yml:
name: comment
on:
workflow_run:
workflows: ['livecodes']
types:
- completed
jobs:
upload:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
steps:
- uses: live-codes/pr-comment-from-artifact@v1
with:
GITHUB_TOKEN: ${{ github.token }}Two separate workflows are needed because each runs in a different security context. See GitHub security article for details.
| Input | Required | Description |
|---|---|---|
install-command | No | Install command (e.g., npm install) |
build-command | No | Build command (e.g., npm run build) |
base-url | No | Base URL for deployed assets. Supports dynamic values. |
artifact | No | Artifact name (default: pr) |
GITHUB_TOKEN | No | GitHub token (default: ${{ github.token }}) |
| Output | Description |
|---|---|
message | Markdown message with preview links for PR comment |
Create JSON files in .livecodes/ folder. Each file becomes a playground link.
.livecodes/hello-world.json:
{
"title": "JavaScript Starter",
"markup": {
"language": "html",
"content": "<h1>Hello, World!</h1>"
},
"script": {
"language": "javascript",
"content": "import { demo } from 'my-lib';\n\ndemo();"
},
"imports": {
"my-lib": "{{LC::TO_DATA_URL(./index.js)}}"
}
}The title property becomes the playground name in the message. If omitted, filename is used.
Use these placeholders in project JSON and base-url:
| Placeholder | Description |
|---|---|
{{LC::REF}} | Branch or tag name of PR head |
{{LC::SHA}} | Full commit SHA |
{{LC::SHORT_SHA}} | Short SHA (first 7 characters) |
{{LC::PR}} | Pull request number |
{{LC::REPO}} | Repository name |
| Placeholder | Description |
|---|---|
{{LC::TO_URL(./file.js)}} | URL of file with base-url prepended |
{{LC::TO_DATA_URL(./file.js)}} | File converted to data URL (for small files) |
Three strategies to make PR code available to playgrounds:
Use Cloudflare Pages or Netlify for automatic preview deployments.
# workflow
base-url: 'https://{{LC::REF}}.my-project.pages.dev'In project JSON:
{
"imports": {
"my-lib": "{{LC::TO_URL(./dist/index.js)}}"
}
}Link to files via jsDelivr or similar:
# workflow
base-url: 'https://cdn.jsdelivr.net/gh/{{LC::REPO}}@{{LC::SHA}}/'Encode files directly. Stored at dpaste.com (limit: 1M chars, expires after 365 days).
{
"imports": {
"my-lib": "{{LC::TO_DATA_URL(./index.js)}}"
}
}The workflow files must be merged to the default branch (e.g., main) before the action can be triggered by PRs.
Wrong:
# Creating PR with workflow files
# Action won't run until merged to default branchCorrect:
# First merge workflow files to default branch
git checkout main
git merge feature/add-gh-action
git push
# Now PRs can trigger the actionSource: GitHub Actions documentation on workflow_run event
The comment workflow needs pull-requests: write permission.
jobs:
upload:
permissions:
pull-requests: write # Required!Data URLs are limited to ~1M characters at dpaste.com. Large builds will fail.
Wrong:
{
"imports": {
"my-lib": "{{LC::TO_DATA_URL(./dist/bundle.js)}}" // Too large!
}
}Correct:
# Use base-url and TO_URL for large files
base-url: 'https://{{LC::REF}}.my-project.pages.dev'## Preview in LiveCodes
**Latest commit:** abc1234
**Last updated:** Jan 15, 2024 3pm (UTC)
| Playground | Link |
| :------------: | ------------------------------------------------------------------ |
| **JavaScript** | [https://livecodes.io?x=code/...](https://livecodes.io?x=code/...) |
| **React** | [https://livecodes.io?x=code/...](https://livecodes.io?x=code/...) |
See [documentations](https://github.com/live-codes/preview-in-livecodes) for usage instructions.appUrl for self-hosted playgrounds© 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/gh-action of live-codes/livecodes.
Open the folder on GitHubat commit 5754e89
Gh Action 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 |
|---|---|---|---|---|---|---|
| Gh Action this skilllive-codes/livecodes | 1.5k | — | ~1.8k | Automated safety check: Pass | MIT | |
| CIaiblueprinthq/ai-blueprint | 458 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Michel Monitor Pull Request GitHub ActionsPackmindHub/packmind | 317 | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| CIopenJiuwen-ai/sciencediscovery | 148 | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Diy Netlifyswyxio/skills | 172 | — | ~1.1k | Automated safety check: Pass | MIT | |
| ONNX Runtime CI Managementmicrosoft/onnxruntime | 22k | — | ~4.1k | Automated safety check: Pass | MIT |
aiblueprinthq/ai-blueprint
Set up or normalize one project Verify command and matching GitHub Actions checks while preserving existing CI, with an optional local pre-push hook.
PackmindHub/packmind
Diagnose a failed, stuck, or never-triggered CI run on a GitHub PR, apply a local fix if possible, push it, and document the result in a single running PR comment.
openJiuwen-ai/sciencediscovery
Read, diagnose, and change the CI pipeline: GitHub Actions on pull requests, the nightly schedule and the release tag.
swyxio/skills
Build or audit an isolated Netlify/Vercel-style pull-request preview workflow using GitHub Actions and the project's existing hosting provider.
microsoft/onnxruntime
Triggers, re-runs and unblocks the CI checks on an ONNX Runtime pull request, after diagnosing whether a failure is transient or needs a code change.
backnotprop/plannotator
Reviews Renovate pull requests that bump GitHub Actions by checking pinned SHAs against upstream tags, scanning changelogs and confirming workflows stay compatible.
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
Run playground without visible UI using SDK methods directly.
Works with
Categories
Use the "Preview in LiveCodes" GitHub Action to generate preview playground links for pull request code changes. Gh Action is an agent skill from live-codes/livecodes. Use the "Preview in LiveCodes" GitHub Action to generate preview playground links for pull request code changes.
Gh Action fits situations like: tasks that involve CI/CD; tasks that involve Pull requests.
Run `npx skills add live-codes/livecodes --skill gh-action -a claude-code`. Or copy the skill folder (.agents/skills/livecodes/gh-action in live-codes/livecodes) into .claude/skills/gh-action in your project. Claude Code loads it when a task matches its description.
Run `npx skills add live-codes/livecodes --skill gh-action -a codex`. Or copy the skill folder (.agents/skills/livecodes/gh-action in live-codes/livecodes) into .agents/skills/gh-action 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 gh-action -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gh-action, .gemini/skills/gh-action, .github/skills/gh-action and .opencode/skills/gh-action in your project.
Going by SKILL.md and its folder, Gh Action needs the command-line tools its instructions call (git and npm) and credentials named GITHUB_TOKEN. Our summary lists: Node.js; A credential in GITHUB_TOKEN.
SKILL.md names 4 domains. In commands or code: livecodes.io, github.com and cdn.jsdelivr.net; the agent is likely to contact these when it follows the instructions. As links in the text: securitylab.github.com. 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.
Gh Action 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.8k tokens (SKILL.md is roughly 7.3k 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 Gh Action: CI (aiblueprinthq/ai-blueprint, 458 stars), Michel Monitor Pull Request GitHub Actions (PackmindHub/packmind, 317 stars), CI (openJiuwen-ai/sciencediscovery, 148 stars) and Diy Netlify (swyxio/skills, 172 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.