Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-sarvam

БесплатноБез исполняемых скриптовНе проверен

Every Sarvam AI model on your terminal — translate, speak, transcribe, chat, and extract documents in 22 Indian languages, with a local history that…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Sarvam AI — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the sarvam-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install sarvam --cli-only
    
  2. Verify: sarvam-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Sarvam AI's official SDKs and MCP server are great for code, but nothing offers offline capability: no local history of translations, TTS generations, transcriptions, or chat threads. sarvam-pp-cli adds a local SQLite store, voice auditioning, conversation resume, batch job retry/report, pronunciation spot-checks, subtitle export, and a doc-ai extraction schema library — all with --json, --dry-run, and typed exit codes for agents and scripts.

When to Use This CLI

Use sarvam-pp-cli when you need to translate, transliterate, transcribe, synthesize speech, chat, or extract document fields through Sarvam AI's Indic-language models — especially when you want a record of what you did, offline search across past work, batch orchestration, or scriptable/agent-friendly output. It is the right tool for voice-agent prompt engineering, call-center transcription QA, content localization, and document-intelligence pipelines.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI for the Voice Agents platform (apps.sarvam.ai) — deployments, campaigns, cohorts, analytics, and instant outbound use a separate X-API-Key auth system with org/workspace scoping and are not implemented here.
  • Do not use this CLI for real-time WebSocket streaming (realtime STT, TTS WS) — those are AsyncAPI surfaces not covered by the REST CLI.
  • Do not use this CLI to replace a full speech-recognition model benchmark — the API is a paid service and the CLI does not add model-evaluation tooling.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Speech workflow

  • voices preview — Generate one sample sentence across every TTS speaker and hear them all side by side

    Use when choosing a TTS voice for a new language or prompt set without burning manual API calls

    sarvam-pp-cli voices preview --lang hi-IN --sample "नमस्ते, स्वागत है" --speakers shubh,ritu,priya --output ./voices
    
  • pron-check — Verify a term's TTS pronunciation via a speech round-trip (TTS then STT)

    Use to confirm a pronunciation dictionary edit took effect before shipping IVR prompts

    sarvam-pp-cli pron-check "SarvamPay" --lang hi-IN
    

Local state that compounds

  • chat resume — Continue a past chat thread from local history with full context

    Use to continue an assistant session without losing context. New chats save the request messages and reply in local SQLite; older response-only records can resume from the last reply but cannot recover earlier prompts. This command sends a new paid chat request.

    sarvam-pp-cli chat resume 20260814_2d09e061 "what was our conclusion?"
    

    Completed text-only streamed chats can also be resumed. JSON output includes structured results.id, results.choices, and results.usage, plus every SSE event in results.stream; only the first text choice is saved for resume. Incomplete streams and streamed tool calls are not saved because their full context cannot be reconstructed safely. Successful text-to-speech requests save their request text without copying audio into SQLite.

  • subs — Emit .srt/.vtt subtitles from timestamped transcriptions in local history

    Use to turn a timestamped transcription into subtitles without a throwaway script

    sarvam-pp-cli subs --from last --format srt --output subtitles.srt
    

Job orchestration

  • stt-job retry — Re-run only the failed files of a batch STT job with one command

    Use when a batch job partially fails and you need to reprocess just the failures

    sarvam-pp-cli stt-job retry 20260707_9f1c2b3a-4d5e-6f70-8a9b-c0d1e2f3a4b5 --failed-only --dir ./audio/
    
  • stt-job report — Per-file digest of a batch STT job with typed exit codes for cron alerting

    Use in cron to alert when a batch transcription job degrades

    sarvam-pp-cli stt-job report 20260707_9f1c2b3a-4d5e-6f70-8a9b-c0d1e2f3a4b5 --json
    

Document intelligence

  • docai schema list — Save, l
Полный SKILL.md на GitHub

Установить pp-sarvam в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.golangci.yml.goreleaser.yaml.manuscripts/20260814-164825-7ec4499e/proofs/20260814-164825-fix-sarvam-pp-cli-acceptance.md.manuscripts/20260814-164825-7ec4499e/proofs/20260814-164825-fix-sarvam-pp-cli-build-log.md.manuscripts/20260814-164825-7ec4499e/proofs/20260814-164825-fix-sarvam-pp-cli-polish.md.manuscripts/20260814-164825-7ec4499e/proofs/20260814-164825-fix-sarvam-pp-cli-shipcheck.md.manuscripts/20260814-164825-7ec4499e/proofs/dogfood-results.json.manuscripts/20260814-164825-7ec4499e/proofs/phase-4.85-findings.md.manuscripts/20260814-164825-7ec4499e/proofs/phase5-acceptance.json.manuscripts/20260814-164825-7ec4499e/research.json.manuscripts/20260814-164825-7ec4499e/research/20260814-164825-feat-sarvam-pp-cli-absorb-manifest.md.manuscripts/20260814-164825-7ec4499e/research/20260814-164825-feat-sarvam-pp-cli-brief.md.manuscripts/20260814-164825-7ec4499e/research/20260814-164825-novel-features-brainstorm.md.manuscripts/20260814-164825-7ec4499e/research/sarvam-fern-openapi.json.manuscripts/20260814-164825-7ec4499e/research/sarvam-openapi.yaml.printing-press-patches/.gitkeep.printing-press-patches/ambiguous-write-retries-disabled.json.printing-press-patches/batch-rollback-reports-committed-count.json.printing-press-patches/sarvam-docai-schema-mcp-write-hints.json.printing-press-patches/sarvam-full-chat-and-tts-history.json.printing-press-patches/sarvam-mcpb-auth-prompt-provenance.json.printing-press-patches/sarvam-mcpb-bundle-manifest.json.printing-press-patches/sarvam-presigned-upload-and-mcp-safety.json.printing-press-patches/sarvam-private-streaming-export.json.printing-press-patches/sarvam-pronunciation-and-private-exports.json.printing-press-patches/sarvam-resource-scoped-ids.json.printing-press-patches/sarvam-stt-retry-checkpoint.json.printing-press-patches/sarvam-version-writer.json.printing-press-pii-polish.json.printing-press-release.json.printing-press-tools-polish.json.printing-press.jsonAGENTS.mdCHANGELOG.mdCLAUDE.mdLICENSEMakefileNOTICEREADME.mdcmd/sarvam-pp-cli/main.go

FAQ

Что делает скилл pp-sarvam?

Every Sarvam AI model on your terminal — translate, speak, transcribe, chat, and extract documents in 22 Indian languages, with a local history that compounds. Trigger phrases: `translate this to Hindi`, `generate speech audio in Tamil`, `transcribe this audio file`, `what language is this text`, `extract fields from this document`, `use sarvam`, `run sarvam`.

Как установить скилл pp-sarvam?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-sarvam запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-sarvam с