sanzaru-cli

sanzaru-cli is a skill for Claude Code from TJC-LP/sanzaru. It costs 116 tokens per session (4,102 once invoked), scanned A, original, MIT.

A command-line tool for creating videos, images, speech, transcriptions, and podcasts using media services from a shell.

In plain words
What is it for?
It is for running one-off or batch media-generation jobs, including Sora videos, generated images, text-to-speech, audio transcription, scripted podcasts, and conversational simulated podcasts.
Why use it?
It removes the need to manage each media job manually and provides structured results, progress reporting, resumable waits, and downloads.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is --max-cost 5 -o ./out/pilot.mp4 --timeout 25m | jq -r .result.file.path.

Part of the sanzaru plugin — 3 skills shipped together

Good fit It is for running one-off or batch media-generation jobs, including Sora videos, generated images, text-to-speech, audio transcription, scripted podcasts, and conversational simulated podcasts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/TJC-LP/sanzaru
agentmods
npx agentmods add skills/tjc-lp/sanzaru/sanzaru-cli

Made for: Claude Code.

Or install sanzaru, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sanzaru-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/tjc-lp/sanzaru/sanzaru-cli/github.svg)](https://agentmods.dev/skills/tjc-lp/sanzaru/sanzaru-cli)
Your own site
<a href="https://agentmods.dev/skills/tjc-lp/sanzaru/sanzaru-cli"><img src="https://agentmods.dev/badge/skills/tjc-lp/sanzaru/sanzaru-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sanzaru-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/tjc-lp/sanzaru/sanzaru-cli"><img src="https://agentmods.dev/badge/skills/tjc-lp/sanzaru/sanzaru-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,102 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00116 $0.04102
Opus 5.5 $0.00046 $0.01641
Sonnet 5.5 $0.00023 $0.00820
Haiku 4.5 $0.00012 $0.00410

Measured 5d ago against content hash 03b39efdd583, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sanzaru-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/sanzaru-cli/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sanzaru CLI for agents

sanzaru <group> <verb> wraps Higgsfield video, gpt-image-2.6, TTS/transcription, and podcast APIs for shell use. Requires OPENAI_API_KEY in the environment, and HF_KEY (a Higgsfield API key, key_id:key_secret — prepaid, billed separately from a Higgsfield app subscription) for video. This skill is the shell surface; the same server's MCP tools are covered by sanzaru-mcp, and how to write the prompts (video prompt anatomy, the reference-image golden rule) by prompt-guidance. Start with:

sanzaru capabilities   # no API key needed: version, enabled features, command map

Output contract (parse this, not the docs)

  • stdout: exactly one JSON envelope per input — {"v":1, "ok":true, "command":"...", "result":{...}}. Fan-out commands stream one envelope per line (JSONL) in completion order.
  • stderr: progress lines and hints (sanzaru: hf_1c9e… in_progress t=95s). Never parse it.
  • Errors are envelopes too ("ok":false, error.type, often a resume command) — jq never hangs.
  • Exit codes: 0 ok · 1 runtime/API · 2 usage · 3 config (missing key/extra) · 4 timeout — job still running, resumable · 5 job failed server-side · 6 partial batch · 130 interrupted.
  • Video error types worth branching on: over_budget (exit 2 — over --max-cost, nothing submitted or charged), concurrency_limit (exit 1 — 4 jobs already in flight; resubmitting is safe, or pass --retry-busy 5m), insufficient_credits (exit 1 — top up the API balance), and api_error with maybe_submitted: true (the submit may have gone through — check before resubmitting).

The one-shot pattern (preferred)

-o implies --download implies --wait: one command submits, polls, downloads, and prints the final path. Run it in the background if your shell caps foreground time.

sanzaru video create "the pilot looks up and smiles" --duration 8 --aspect-ratio 16:9 \
  --max-cost 5 -o ./out/pilot.mp4 --timeout 25m | jq -r .result.file.path
sanzaru image generate "an app icon, flat design" --quality high -o ./art/icon.png   # sync, ~10-60s

Read the full file on GitHub · 234 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed 03b39efdd583
  2. 28d ago Changed · +13 lines 040665a4e0cd
  3. 2mo ago Changed · +25 lines · +18 tokens per session 015e48cbb738
  4. 2mo ago Changed · +20 lines · +8 tokens per session 0cb31b3f0c5e
  5. 2mo ago Changed · +2 lines 4547a6827047
  6. 2mo ago Changed · +2 tokens per session d8a1fb34c7c6
  7. 3mo ago First seen · 174 lines · 88 tokens per session scan A 78506f24ff31

Subscribe to this mod's changes

sanzaru-cli is a skill published in the GitHub repository TJC-LP/sanzaru (6 stars, last pushed 6d ago), licensed MIT. It adds 116 tokens to every session and 4,102 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sanzaru-cli compared with skills from other repositories

sanzaru-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sanzaru-cliTJC-LP/sanzaruSkill66d agoMITA116Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code