OneLinersCommand workbench
Guides
Operational guides

Complete procedures with a way back.

Searchable, versioned procedures with prerequisites, verification, concrete output, and rollback.

Guides
243
Favorites
0
243 launch guides · 2601 reviewed steps
6 of 243 guides

AI/ML · Software Engineering · Security

Process large offline workloads with the OpenAI Batch API

Create deterministic JSONL requests, upload and submit a bounded batch, poll without duplication, reconcile output and error files by custom ID, report cost, and safely resume only missing work.
Save to collectionCreate a collection in the sidebar first.
caution150 minadvanced10 stepsNode.js

AI/ML · Software Engineering · System Administration

Compare local open-weight models with cloud LLM APIs

Run a workload-owned, evidence-based comparison between a pinned local Qwen3-4B GGUF served by llama.cpp and current OpenAI and Anthropic cloud API candidates. Measure quality, privacy boundaries, latency, reliability, operations, capacity, and total cost without pretending differently sized models or delivery models are identical.
Save to collectionCreate a collection in the sidebar first.
caution300 minadvanced11 stepsllama.cpp

AI/ML · Software Engineering · Security

Reduce Claude cost and latency with prompt caching

Add explicit prompt-cache breakpoints to stable Claude tool, system, document, and conversation prefixes; measure creation and read tokens, test invalidation and minimum-size behavior, compare uncached and cached latency, and roll back without corrupting the prompt contract.
Save to collectionCreate a collection in the sidebar first.
caution165 minadvanced10 stepsNode.js

AI/ML · Software Engineering · Security

Process bulk jobs with Claude Message Batches

Build an asynchronous Claude batch pipeline with deterministic custom IDs, durable manifests, bounded request construction, polling and cancellation, unordered JSONL result ingestion, per-item success and failure states, usage accounting, retention-aware export, and safe replay of only unresolved work.
Save to collectionCreate a collection in the sidebar first.
caution210 minadvanced10 stepsNode.js

AI/ML · Observability & Monitoring · Security

Observe and evaluate agent traces, tool calls, latency, token cost, and unsafe behavior

Instrument complete agent trajectories with privacy-safe OpenAI Agents SDK traces and OpenTelemetry, correlate model calls, handoffs, guardrails, approvals, tools, retries, and side effects, measure end-to-end latency and all token cost, evaluate unsafe behavior deterministically, and release dashboards and alerts with the agent.
Save to collectionCreate a collection in the sidebar first.
caution360 minadvanced10 stepsOpenAI Agents SDK

AI/ML · DevOps & CI/CD · Software Engineering

Optimize LLM cost, latency, caching and context safely

Measure production token economics and user latency, design cacheable prompts and context budgets, and ship only quality-gated optimizations.
Save to collectionCreate a collection in the sidebar first.
caution180 minadvanced12 stepsOpenAI Responses API