Command Reference
Every command in the kapi CLI, generated from the binary so the flags and synopses match the version you have installed. Select a command to read its description, flags, and examples. Commands that run entirely in the browser carry a Run button that executes them against a small sample file. AI and MT commands carry a Demo badge and run via a built-in stub — the output is illustrative, not from a real model. Commands that need network access, an API key, or local system access point to a walkthrough instead. Each command has a shareable link.
107 of 107 commands
Analysis
ai-entity-extractDemoDetect named entities (people, organizations, products, locations) using an LLM23 flagsai-terminologyDemoExtract candidate terminology from content using an LLM provider19 flagschar-countRunCharacter Count17 flagschars-listingRunCharacters Listing16 flagsencoding-detectRunEncoding Detect14 flagsrepetition-analysisRunRepetition Analysis15 flagsscoping-reportRunScoping Report14 flagssegment-countRunSegment Count14 flagstranslation-comparisonRunTranslation Comparison20 flagsword-countRunWord Countwc17 flags
Content
Management
brandWatchKeep AI-generated content on brand (voice, tone, terminology)credentialsWatchManage saved AI provider credentialscredsflowsRunList available flowsformatsRunList supported file formats2 flagspluginWatchInstall and manage manifest-driven plugins (#438)pluginspresetsRunManage format and framework presetsregistryWatchManage plugin registriesskillsWatchInstall Agent Skills that plug kapi into your AI coding assistanttermbaseRunManage terminologytmRunManage translation memorytoolsRunList available processing toolsversionRunShow version information
Processing
Quality
ai-qaDemoCheck translation quality using an LLM provider21 flagsai-reviewDemoReview translations with scoring using an LLM provider20 flagsbrand-voice-checkDemoCheck text against a brand voice profile using an LLM provider19 flagschars-checkRunCharacters Check19 flagsinconsistency-checkRunInconsistency Check19 flagslength-checkRunLength Check26 flagspattern-checkRunPattern Check14 flagsqa-checkRunQA Checkqa42 flagsterm-checkRunTerminology Check16 flagsverifyWatchRun a project's bound quality gates (brand, terminology, QA) in one shot10 flags
Text processing
case-transformRunCase Transform19 flagsredactRunReplace sensitive spans with protected placeholders before processing18 flagsscriptRunScript20 flagssearch-replaceRunSearch and Replace23 flagssegmentationDemoSegmentationsegment33 flagsunredactRunRestore original values into redacted content after processing14 flags
Translation
ai-translateDemoTranslate content using an LLM providertranslate23 flagsdeepl-translateDemoTranslate content using DeepL22 flagsdiff-leverageRunDiff Leverage18 flagsgoogle-translateDemoTranslate content using Google Translate22 flagsmicrosoft-translateDemoTranslate content using Microsoft Translator22 flagsmodernmt-translateDemoTranslate content using ModernMT22 flagsmymemory-translateDemoTranslate content using MyMemory22 flagspseudo-translateRunPseudo Translatepseudo19 flagstm-leverageRunTM Leverage25 flags
Other
brand checkWatchScore text against a brand voice profile16 flagsbrand guideWatchPrint the brand voice guide (inject into your assistant's context)14 flagsbrand importWatchImport a profile YAML into the local brand store8 flagsbrand newWatchScaffold a brand voice profile YAML to fill in (optionally seeded from a starter pack)2 flagsbrand packWatchInstall a built-in starter pack into the local brand store8 flagsbrand profilesWatchList brand voice profiles (local store + built-in packs)8 flagsbrand rewriteWatchRewrite text to comply with a brand voice profile15 flagsbrand showWatchShow a brand voice profile as a guide14 flagsbrand validateWatchValidate a brand voice profile YAML (structure, enums, regex, terms)5 flagscompletionRunGenerate shell completion scriptcredentials addWatchSave a named AI provider credential4 flagscredentials listWatchList saved credentialscredentials removeWatchRemove a saved credentialcredentials testWatchTest that a credential's API key is accessibleflows listRunList available flowsformats infoRunShow detailed information about a formatformats schemaRunOutput JSON Schema for a formatplugin infoWatchShow details for an installed pluginplugin installWatchInstall a plugin from the registry3 flagsplugin listWatchList installed pluginsplugin rebuild-cacheWatchForce a rebuild of the plugin dispatch cacheplugin removeWatchRemove an installed pluginplugin searchWatchSearch the registry for plugins1 flagplugin updateWatchUpdate an installed plugin to the latest matching version4 flagsplugin update-indexWatchRefresh the cached registry index1 flagplugin verifyWatchRe-verify an installed plugin's manifest and binarypresets listRunList available presets2 flagspresets showRunShow preset detailsregistry addWatchAdd a registry to global config1 flagregistry listWatchList configured registriesregistry removeWatchRemove a registry from global configskills exportWatchExport all skills to a directory (for the plugin bundle)6 flagsskills installWatchInstall skills into .claude/skills (project or user scope)6 flagsskills listWatchList the bundled Agent Skills5 flagsskills uninstallWatchRemove installed skills from .claude/skills6 flagstermbase exportRunExport termbase to CSV, JSON, TBX, or native .klftb8 flagstermbase importRunImport terms from CSV, JSON, TBX, or native .klftb into a termbase9 flagstermbase listRunList named termbases in KAPI_HOMEtermbase lookupRunLook up a term in the termbase7 flagstermbase searchRunSearch concepts in the termbase6 flagstermbase statsRunShow termbase statistics3 flagstm auditRunTrace TM entries by merge batch id5 flagstm exportRunExport translation memory to TMX or .klftm6 flagstm importRunImport a TMX or .klftm file into translation memory8 flagstm import-dirRunImport all TMX files from a directory into translation memory9 flagstm listRunList named TMs in KAPI_HOMEtm lookupRunLook up text in translation memory7 flagstm searchRunSearch translation memory entries6 flagstm sessionsRunManage TMX import sessionstm sessions deleteRunRemove a session record (entries are retained, session_id cleared)3 flagstm sessions listRunList all import sessions3 flagstm sessions showRunShow details for a single import session3 flagstm statsRunShow translation memory statistics3 flagstools listRunList available processing toolstools schemaRunPrint the JSON Schema for a tool's parameters