Programmatic Agents

Run or integrate coding-agent CLIs in scripts and batches, preserving the selected model, execution permissions, structured outputs, and telemetry. Use for CLI adapters, bounded parallel runs, or CLI model comparisons; not ordinary interactive work or direct provider-API workflows.

201 stars 12 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add swyxio/skills --skill programmatic-agents
Manual install
git clone --depth 1 https://github.com/swyxio/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/programmatic-agents ~/.claude/skills/programmatic-agents

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Programmatic Agents

Run the user-requested model through its selected coding-agent CLI without silently substituting another model. Treat coding-agent login, subscription access, and provider API access as separate authorization surfaces.

Special preview model identifiers must be supplied by the user for the current task. Do not name, suggest, hardcode, or infer preview identifiers from prior sessions or local availability. Keep reusable examples generic, using placeholders such as `$MODEL_ID`.

This skill covers agent invocation and execution mechanics. When building an orchestrator with multiple stages, shared resources, batch joins, or durable resume, also consult [live-ai-pipelines](../live-ai-pipelines/SKILL.md); consult [ai-engineering](../ai-engineering/SKILL.md) for admission, retries, concurrency, and timing. Provider adapters do not substitute for workflow dependency design.

## Choose the execution surface

Use the coding-agent CLI selected by the user or existing workflow. Check its
installed capabilities, authentication, permissions, and output format; do not
silently substitute another CLI or model.

Use [scripts/agents.mjs](scripts/agents.mjs) for the implemented adapters: Codex,
Cursor, Antigravity, Muse, Deep Code, ZCode, Devin, and Mistral Vibe. Read
[references/multi-cli.md](references/multi-cli.md) for configuration and telemetry.

```sh
node /Users/swyx/Work/skills/programmatic-agents/scripts/agents.mjs run.json prompt.txt
```
Read the full skill on GitHub

Details

Skill name
programmatic-agents
Repository
swyxio/skills
Path
programmatic-agents/SKILL.md
License
MIT
Repo updated
16 November 2026

FAQ

What does the Programmatic Agents skill do?

Run or integrate coding-agent CLIs in scripts and batches, preserving the selected model, execution permissions, structured outputs, and telemetry. Use for CLI adapters, bounded parallel runs, or CLI model comparisons; not ordinary interactive work or direct provider-API workflows.

How do I install the Programmatic Agents skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add swyxio/skills --skill programmatic-agents. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Programmatic Agents popular?

It lives in swyxio/skills, which has 201 GitHub stars and 12 forks.

Related skills

Accelevents API

201

swyxio/skills

Use when reading or updating AI Engineer Europe speaker records through the Accelevents REST API, especially for full-record PUT updates, auth header quirks, and preserving existing speaker fields.

Software Development12

Accelevents Speaker Sync

201

swyxio/skills

Use when website speaker, session, schedule, room, track, or headshot changes must be synchronized back to Accelevents for AI Engineer Europe 2026.

AI, LLMs & Agents12

Agents SDK

201

swyxio/skills

Build or debug stateful applications that specifically use Cloudflare's `agents` package, including Agent classes, routing, callable methods, synchronized state, scheduling, AIChatAgent, durable execution, or Agents SDK client hooks. Do not trigger for generic AI-agent design, the OpenAI Agents SDK, or ordinary Durable Object work that does not use the Cloudflare Agents SDK.

AI, LLMs & Agents12

Provision Model Keys

201

swyxio/skills

Provision app-specific Claude, OpenAI, OpenRouter, ElevenLabs or fal.ai API keys, install secrets, rotate keys or adjust their budgets using saved authorization. Use for credential setup and lifecycle requests, not ordinary model/API implementation.

AI, LLMs & Agents12

Opensearch Function Scoring Algorithms

228

pproenca/dot-skills

Search relevance and ranking on OpenSearch/Elasticsearch for a two-sided marketplace — candidate retrieval (hybrid BM25 + kNN, RRF, two-tower EBR), base relevance (BM25F, multi_match, LambdaMART), quality signals (Wilson lower bound, Bayesian average, rank_feature saturation/sigmoid), personalization (listing/user/session embeddings), spatial/temporal decay (gauss/exp), marketplace balance (conversion-weighted ranking, supply fairness, Pareto multi-objective), bias correction (IPS, click models, Thompson sampling), empirical evaluation (judgment sets, NDCG, ablation, A/B sizing, CUPED, regress

AI, LLMs & Agents19

Ray LLM

228

pproenca/dot-skills

LLM workloads on open-source Ray (pinned to 2.57) — OpenAI-compatible serving with ray.serve.llm (vLLM-backed LLMConfig + build_openai_app) and batch inference with ray.data.llm (build_processor). Corrects the stale defaults a model produces — the archived ray-llm repo and its YAML configs, hand-rolled vLLM engines inside plain Serve deployments, the removed build_llm_processor name, deprecated boolean stage flags, top-level LLMServer/LLMRouter imports, free-form accelerator strings, one-deployment-per-LoRA-adapter designs — with the 2.57 idioms (stage configs, placement_group_config over hand

AI, LLMs & Agents19

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.