Files
CLI-Anything/examples
2026-04-02 16:59:05 +00:00
..
2026-04-02 16:54:44 +00:00
2026-04-02 16:54:44 +00:00
2026-04-02 16:54:44 +00:00
2026-04-02 16:59:05 +00:00

CLI-Anything Examples

Real-world demonstrations of CLI-Anything harnesses in action. Each example shows an AI agent (Claude Code) using a generated CLI to produce a complete, useful artifact — no GUI needed.


Draw.io — HTTPS Handshake Diagram

Harness: cli-anything-drawio | Time: ~4 min | Artifact: .drawio + .png

An agent creates a full HTTPS connection lifecycle diagram from scratch — TCP three-way handshake, TLS negotiation, encrypted data exchange, and TCP four-way termination — entirely through CLI commands.

Draw.io CLI demo: building an HTTPS handshake diagram

Final artifact

HTTPS handshake sequence diagram

What it demonstrates:

  • Creating shapes (rectangles, labels) with precise positioning
  • Adding styled connectors (arrows with colors, labels, dashed lines)
  • Section-based layout with color-coded phases (orange/purple/teal/red)
  • Exporting to PNG via the Draw.io backend

Contributed by @zhangxilong-43


Slay the Spire II — Game Automation

Harness: cli-anything-slay-the-spire-ii | Artifact: Automated gameplay session

An agent plays through a Slay the Spire II run using the CLI harness — reading game state, selecting cards, choosing paths, and making strategic decisions in real-time.

Slay the Spire II CLI gameplay demo

What it demonstrates:

  • Real-time game state reading and decision making
  • Complex multi-step strategy execution
  • Agent-driven interaction with a live application

Contributed by @TianyuFan0504


VideoCaptioner — Auto-Generated Subtitles

Harness: cli-anything-videocaptioner | Artifact: Captioned video frames

An agent uses the VideoCaptioner CLI to automatically generate and overlay styled subtitles onto video content, with bilingual text rendering and customizable formatting.

Sub A Sub B
Video frame before captioning Video frame after captioning

What it demonstrates:

  • Automatic speech-to-text subtitle generation
  • Bilingual caption overlay (Chinese + English)
  • Styled text rendering with custom formatting and positioning

Contributed by @WEIFENG2333


More CLI Demos Coming Soon