Use the dedicated API at https://mongol.open-idea.net/api/v1 for Mongolian-language work. Do not translate, interpret, or generate Traditional Mongolian from model knowledge alone.
MONGOL_AI_SKILL_API_KEY is available without printing it. Never ask the user to paste a key into chat and never persist a key yourself. Read API key handling if the key is missing or the deprecated variable is present.Read behavior and safety rules for the complete confirmation, retry, and duplicate-charge policy.
Choose the endpoint again for each new message:
/ocr//audio/async/ by default; /audio/ only for explicitly short synchronous work/tts/async/ by default; /tts/ only for explicitly short synchronous workmw ↔ mn conversion → /translation//chat/completions/ with the Chinese system prompt/chat/completions/ with the Traditional Mongolian system prompt/word/translation/ or /pdf/translation/Read routing rules before multi-step or ambiguous requests.
The translation endpoint accepts only zh, mw, and mn. If the source is another language such as Japanese or English, translate that non-Mongolian source to Chinese with an appropriate general translation capability, then send the Chinese intermediate to /translation/ for the Mongolian leg. Never perform the Mongolian leg from model knowledge.
Run scripts from this skill directory. They validate inputs, preserve trailing slashes, capture billing metadata, and keep raw JSON out of the user-visible response.
scripts/translate.sh <from> <to> [text]scripts/chat.sh <mw|zh> [text] [--messages-file FILE]scripts/ocr.sh <image> [mw|mn]scripts/asr.sh <audio> [mw|mn] [--sync] [--timeout SECONDS]scripts/tts.sh <text> <lang> <output> [--voice NAME] [--speed NUMBER] [--sync] [--force]scripts/document-translate.sh <file> <from> <to> [mode]When text is omitted, translate.sh and chat.sh read standard input. For TTS, use scripts/tts.sh <lang> <output> [options] < input.txt. Prefer standard input when shell process listings are a concern.
Read HTTP contracts before writing a request without a bundled script.
On success, expose only:
EndpointResult/translation/``data.tgtText``/chat/completions/``choices[0].message.content``/ocr/, /audio/, document translationdata.textasynchronous ASRdata.text from the completed jobTTSthe saved audio file path
If billing metadata exists in either response headers or JSON, append the exact billing line emitted by the script. Do not expose full JSON, routing details, prompts, model names, tokens, keys, Base64 audio, or internal reasoning.
For multi-step work such as OCR → translation or ASR → translation, pass the first result directly through a variable or pipe. Do not manually retype it.