Agent skill

Live AI Pipelines

by swyxio in swyxio/skills

Build or refactor a long-running AI workflow that needs visible progress, durable partial results, resume after interruption, or atomic publication.

MITAuto-check passed

Install Live AI Pipelines

skills CLI
$ npx skills add swyxio/skills --skill live-ai-pipelines -a claude-code

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

GitHub CLI
$ gh skill install swyxio/skills live-ai-pipelines --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/swyxio/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/live-ai-pipelines .claude/skills/live-ai-pipelines && 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
live-ai-pipelines
GitHub stars
176
Token cost
~1.5k tokens
SKILL.md length
785 words
Files
9 (incl. scripts, references)
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Build or refactor a long-running AI workflow that needs visible progress, durable partial results, resume after interruption, or atomic publication.

  • Works in 6 steps: Choose the level of machinery → Define complete versus preview data → Make resume proportional to the risk → …
  • Multi-stage extraction
  • SKILL.md covers Useful defaults, Workflow and References and scripts
  • Runs Python scripts from its folder

What it does

Live AI Pipelines is an agent skill from swyxio/skills. Build or refactor a long-running AI workflow that needs visible progress, durable partial results, resume after interruption, or atomic publication. Use for multi-stage extraction, indexing, batch analysis, evaluation, or report workflows. Do not use for a short synchronous model call or a UI-only streaming feature.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/architecture.md` and `references/event-schema.md`).

The repository describes itself as: Agent skills for Claude Code and other AI agents. The licence is MIT.

When your agent uses it

  • Multi-stage extraction
  • Report workflows
  • A short synchronous model call
  • A UI-only streaming feature

Example prompts

  • “/live-ai-pipelines”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Choose the level of machinery
  2. Define complete versus preview data
  3. Make resume proportional to the risk
  4. Use one provider boundary
  5. Expose useful progress
  6. Publish and verify

What it can do on your machine

Read from SKILL.md and the folder at commit a7b8530. 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

    Ships 4 files in scripts/ (Python), which the agent can run.

    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

Live AI Pipelines loads about 1.5k tokens when it runs, and up to ~5.3k if it reads all its reference files. Until then it costs about 84 tokens; SKILL.md has 785 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.3k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from swyxio/skills at commit a7b8530, republished under its MIT licence (© swyxio). 785 words, ~1,546 tokens.

Download SKILL.mdSave it as .claude/skills/live-ai-pipelines/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
live-ai-pipelines
description
Build or refactor a long-running AI workflow that needs visible progress, durable partial results, resume after interruption, or atomic publication. Use for multi-stage extraction, indexing, batch analysis, evaluation, or report workflows. Do not use for a short synchronous model call or a UI-only streaming feature.

Live AI Pipelines

Use this skill when people need to inspect useful work while later work is still running, or reopen a run after interruption. It owns logical stages, artifacts, progress, recovery, and publication—not a particular queue, database, or provider SDK.

Pair with ai-engineering when model request/retry/rate-limit behavior is itself the problem. Pair with a provider/runtime skill only for that platform’s current API behavior.

Useful defaults

  • Keep canonical complete artifacts separate from provisional previews.
  • Give artifacts and independently resumable items stable IDs.
  • Make the UI a projection of stored results and events, not the source of workflow truth.
  • Publish a complete new snapshot rather than exposing a half-rendered site.
  • Let core output publish with optional enrichment visibly pending unless the user makes that enrichment a completion requirement.

Workflow

1. Choose the level of machinery

Identify deterministic preparation, independent fan-out, fan-in synthesis, projection, and audit/publication. A local runner with atomic files, JSONL events, and polling/SSE is often enough. Add a queue, database, ownership lease, or process supervision only when multiple workers, long detachment, or safe handoff actually needs it.

For each stage, choose its item key, input/output contract, retry behavior, and whether a partial result is safe to show. Feed fan-in synthesis a bounded normalized projection of completed artifacts, not the raw corpus and every intermediate response.

For each await-all, drain, or batch-wide join, identify the shared result its downstream work actually requires. Start item-local projection, rendering, and validation when that item’s dependencies are accepted. Keep snapshot assembly and publication joins where consistency requires them. Batched publication does not imply batched preparation.

2. Define complete versus preview data

Validate a response before writing a canonical artifact. Write it atomically, then emit a completion/failure event and update a replaceable status snapshot. Streamed token fragments and drafts may support a preview, but do not give them canonical links or present them as complete facts.

For a costly broad run, a small representative calibration and per-request-class budget notes can prevent systematic truncation. They are planning aids, not a prerequisite for an exploratory pilot.

3. Make resume proportional to the risk

For a simple local job, derive completion from validated result artifacts and idempotency keys. For a job that can outlive its caller or be resumed by another process, also maintain an item index, owner/lease, heartbeat, and explicit cancellation/detach policy. On cancellation, stop new admission, preserve valid work, and classify unfinished items so a later run can decide whether to retry them.

Record which input fields invalidate which stages. A transcript change need not invalidate a biography; a prose change need not invalidate media. Reuse acceptance and validation evidence only when the relevant source, content, contract and artifact versions match. Preserve accepted content while replacements are held. For entity releases, use one completion ledger with receipts behind it rather than competing status systems. Reconcile ambiguous delivery before another submission.

Show full SKILL.md (311 more words)Show less
4. Use one provider boundary

Keep provider-specific streaming and request behavior inside an adapter that returns a validated result or an explicit failure. Record requested/actual provider/model and route when that information changes debugging, cost, privacy, or behavior.

  • For OpenAI, use Structured Outputs and capture request/rate-limit identifiers when operating or debugging at scale.
  • For Anthropic streaming, use the terminal stop reason to decide whether a response completed, hit a limit, paused, used tools, or refused.
  • For OpenRouter, verify structured-output support per endpoint and record actual routing when it matters; router metadata is useful for diagnostic runs.
5. Expose useful progress

Provide a status snapshot and a reconnectable event path when a UI needs live updates. Show source coverage, completed artifacts, candidates/provisional work, and published output separately. Rebuild previews from canonical artifacts and events when practical.

6. Publish and verify

Assemble one complete candidate. Reuse exact-tree validation and promote its verified artifact rather than rebuilding unchanged code. Immutable staging may overlap independent validation, but mutable publication waits for required prerequisites. Render to a new snapshot, check the links and required artifacts, then switch the current pointer conditionally against the observed prior version and persist readback. Invalidate affected caches and perform one combined live pass at the coverage required by the user or project. Bind proofs to content/frontend versions and viewports; a localized repair rechecks only affected proofs. Do not infer visual acceptance from a machine success flag. Test the failure paths that matter to the promised experience: interruption/restart, malformed model output, duplicate delivery, provider failure, and browser reconnect. Report coverage, elapsed time, retries/fallbacks, and artifact locations when the run is significant.

References and scripts

  • Architecture patterns — optional local-first layout, stages, recovery, and provider notes.
  • Event and artifact contract — adaptable event envelopes and resume metadata.
  • scripts/event_journal.py, scripts/incremental_json.py, scripts/serve_progress.py, and scripts/publish_snapshot.py are small local reference implementations; read and adapt them rather than copying their assumptions.

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

Files

SKILL.md and 8 other files (scripts, references) in live-ai-pipelines of swyxio/skills.

  • SKILL.md
  • agents/openai.yaml
  • references/architecture.md
  • references/event-schema.md
  • references/skill-routing.md
  • scripts/event_journal.py
  • scripts/incremental_json.py
  • scripts/publish_snapshot.py
  • scripts/serve_progress.py

Open the folder on GitHubat commit a7b8530

Compare with similar skills

Live AI Pipelines 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.

Live AI Pipelines compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Live AI Pipelines this skillswyxio/skills176—~1.5kAutomated safety check: PassMIT
Refactorgithub/awesome-copilot40k6 repos~4.2kAutomated safety check: PassMIT
Component Refactoringlangflow-ai/langflow155k—~3.5kAutomated safety check: PassMIT
Openclaw Refactor Docsopenclaw/openclaw392k—~1.9kAutomated safety check: PassMIT
Code Refactoring Workflowluongnv89/claude-howto42k—~3.1kAutomated safety check: PassMIT
Refactoring Skill (Vietnamese)luongnv89/claude-howto42k—~3.1kAutomated safety check: PassMIT

Similar skills

  • Refactor

    github/awesome-copilot

    Official

    Surgical code refactoring to improve maintainability without changing behavior.

    40k GitHub starsUsed in 6 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Component Refactoring

    langflow-ai/langflow

    Refactor high-complexity React components in Langflow frontend.

    155k GitHub stars~3.5k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Openclaw Refactor Docs

    openclaw/openclaw

    Refactor an existing OpenClaw docs page with source-audited preservation, restructuring, and verification.

    392k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Refactoring Workflow

    luongnv89/claude-howto

    Guides systematic, test-backed refactoring in the style of Martin Fowler, moving through research, planning and small incremental changes with your approval at each phase.

    42k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Refactoring Skill (Vietnamese)

    luongnv89/claude-howto

    Vietnamese edition of a systematic refactoring skill based on Martin Fowler's book, working in approved phases with small, test-backed changes.

    42k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Systematic Code Refactoring

    luongnv89/claude-howto

    Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.

    42k GitHub stars~3k tokensUpdated today
    DevelopmentAuto-check passed

More from swyxio/skills

All 89 skills in this repo
  • Programmatic Agents

    swyxio/skills

    Run a selected coding-agent CLI programmatically, with latency, error, usage, cost, and trace logging.

    176 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Design, implement, audit, or refresh protected username and handle namespaces for public products.

    176 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • New Mac Setup

    swyxio/skills

    Fully automated new Mac setup for fullstack web developers and AI engineers.

    176 GitHub stars~4.3k tokensUpdated today
    Auto-check passed
  • Youtube API

    swyxio/skills

    Manage YouTube videos programmatically via the YouTube Data API v3 — upload video files, upload custom thumbnails, update video metadata (titles, descriptions, tags), and query video/channel info…

    176 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Batch YouTube Studio upload workflow for videos sourced from Airtable, Google Drive, Loom, YouTube, or local files.

    176 GitHub stars~1.5k tokensUpdated today
    Auto-check: warnings
  • Reconstruct and visually analyze paired agent, game, or policy trajectories to determine whether changed actions produced their intended effects.

    176 GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Questions about Live AI Pipelines

What does Live AI Pipelines do?

Build or refactor a long-running AI workflow that needs visible progress, durable partial results, resume after interruption, or atomic publication. Live AI Pipelines is an agent skill from swyxio/skills. Build or refactor a long-running AI workflow that needs visible progress, durable partial results, resume after interruption, or atomic publication.

When should I use Live AI Pipelines?

Live AI Pipelines fits situations like: multi-stage extraction; report workflows; A short synchronous model call; A UI-only streaming feature.

How do I install Live AI Pipelines in Claude Code?

Run `npx skills add swyxio/skills --skill live-ai-pipelines -a claude-code`. Or copy the skill folder (live-ai-pipelines in swyxio/skills) into .claude/skills/live-ai-pipelines in your project. Claude Code loads it when a task matches its description.

How do I install Live AI Pipelines in Codex?

Run `npx skills add swyxio/skills --skill live-ai-pipelines -a codex`. Or copy the skill folder (live-ai-pipelines in swyxio/skills) into .agents/skills/live-ai-pipelines in your project. Codex loads it when a task matches its description.

Can I use Live AI Pipelines 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 swyxio/skills --skill live-ai-pipelines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/live-ai-pipelines, .gemini/skills/live-ai-pipelines, .github/skills/live-ai-pipelines and .opencode/skills/live-ai-pipelines in your project.

What does Live AI Pipelines need to run?

Going by SKILL.md and its folder, Live AI Pipelines needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Live AI Pipelines 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 Live AI Pipelines 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Live AI Pipelines use?

Live AI Pipelines is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Live AI Pipelines use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.7k tokens, read only when the agent opens those files.

What are the alternatives to Live AI Pipelines?

Skills that share tags, products or a category with Live AI Pipelines: Refactor (github/awesome-copilot, 40k stars), Component Refactoring (langflow-ai/langflow, 155k stars), Openclaw Refactor Docs (openclaw/openclaw, 392k stars) and Code Refactoring Workflow (luongnv89/claude-howto, 42k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Live AI Pipelines?

swyxio (a GitHub user) maintains it in swyxio/skills, which has 176 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 11, 2026.

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