Argos Translate
Use this skill when a request names Argos Translate, argostranslate, argos-translate, argospm, .argosmodel, language-pair packages, offline translation, or the package/configuration errors that come with them.
What this skill covers
- Translating text from Python or the
argos-translate CLI.
- Loading installed language pairs and understanding translation objects.
- Updating the package index and installing/removing language packages.
- Reading and changing runtime settings such as device selection, sentence-boundary mode, and package/cache locations.
- Troubleshooting missing dependencies, missing packages, invalid archives, and optional backend errors.
Start here
- Read
references/api-reference.md for the verified public modules, classes, and functions.
- Read
references/cli-reference.md for the supported argos-translate and argospm commands.
- Read
references/configuration.md before changing environment variables or config files.
- Read
references/troubleshooting.md when imports, package installs, CLI calls, or translation setup fail.
- Read
references/repo-provenance.md when you need to check whether this skill still matches the current checkout.
Install and minimal check
- Install from PyPI:
pip install argostranslate
- Or from a local checkout:
pip install -e .
- For local verification work, also install
pytest.
Minimal smoke check:
python -I -c "from importlib.metadata import version; print(version('argostranslate'))"
python -I -c "from argostranslate import package, translate; print(package.__name__, translate.__name__)"
If the package import or CLI help fails, run scripts/check_runtime.py from the installed environment before debugging anything else.
Route map
Translation workflows
Use sub-skills/translation/ when the task is about:
- Translating text from Python.
- Using
argos-translate with --from-lang and --to-lang.
- Reading from stdin versus a positional text argument.
- Understanding installed language pairs and translation lookup.
- Optional device, chunking, or remote-provider settings that affect translation behavior.
- Sentence-boundary behavior or tag-preserving translation behavior.
Package-management workflows
Use sub-skills/package-management/ when the task is about:
argospm update, search, install, list, or remove.
- Installing a local
.argosmodel archive.
- Inspecting package metadata or package contents.
- Package directory layout, cached downloads, or stale index/package errors.
Shared runtime helpers
scripts/check_runtime.py — run this to inspect the installed package, signatures, and basic translation smoke behavior.
scripts/completion.bash — read or source this if you want Argos Translate shell completion for argos-translate and argospm.
When to read more
- Read
references/package-format.md before changing how .argosmodel files are inspected or installed.
- Read
references/configuration.md before setting ARGOS_DEVICE_TYPE, ARGOS_CHUNK_TYPE, ARGOS_PACKAGE_INDEX, or package/cache directories.
- Read
references/cli-reference.md whenever the exact command syntax matters.
- Read
references/troubleshooting.md whenever the failure mentions a missing wheel, missing model package, invalid archive, or optional backend.
What not to route here
- The separate
argos-translate-gui repository and GUI-specific workflows.
- Generic Python packaging advice that does not depend on Argos Translate behavior.
- Maintainer-only release scripts, snap publishing, or PyPI upload workflows.
Evidence basis
This skill was distilled from the repository source, README, docs, tests, and installed-package inspection for Argos Translate 1.11.1. Read references/repo-provenance.md before treating it as current for a different checkout.
1---2name: "argos-translate"3description: "Routes Argos Translate workflows for offline machine translation,4 package installation, CLI usage, runtime settings, and troubleshooting."5disable-model-invocation: true6metadata:7 source: https://skillmd.com/skills/vectorspacelab/argos-translate8 disco-role: operating9license: MIT10---1112# Argos Translate1314Use this skill when a request names **Argos Translate**, `argostranslate`, `argos-translate`, `argospm`, `.argosmodel`, language-pair packages, offline translation, or the package/configuration errors that come with them.1516## What this skill covers1718- Translating text from Python or the `argos-translate` CLI.19- Loading installed language pairs and understanding translation objects.20- Updating the package index and installing/removing language packages.21- Reading and changing runtime settings such as device selection, sentence-boundary mode, and package/cache locations.22- Troubleshooting missing dependencies, missing packages, invalid archives, and optional backend errors.2324## Start here25261. Read `references/api-reference.md` for the verified public modules, classes, and functions.272. Read `references/cli-reference.md` for the supported `argos-translate` and `argospm` commands.283. Read `references/configuration.md` before changing environment variables or config files.294. Read `references/troubleshooting.md` when imports, package installs, CLI calls, or translation setup fail.305. Read `references/repo-provenance.md` when you need to check whether this skill still matches the current checkout.3132## Install and minimal check3334- Install from PyPI: `pip install argostranslate`35- Or from a local checkout: `pip install -e .`36- For local verification work, also install `pytest`.3738Minimal smoke check:3940```bash41python -I -c "from importlib.metadata import version; print(version('argostranslate'))"42python -I -c "from argostranslate import package, translate; print(package.__name__, translate.__name__)"43```4445If the package import or CLI help fails, run `scripts/check_runtime.py` from the installed environment before debugging anything else.4647## Route map4849### Translation workflows50Use `sub-skills/translation/` when the task is about:5152- Translating text from Python.53- Using `argos-translate` with `--from-lang` and `--to-lang`.54- Reading from stdin versus a positional text argument.55- Understanding installed language pairs and translation lookup.56- Optional device, chunking, or remote-provider settings that affect translation behavior.57- Sentence-boundary behavior or tag-preserving translation behavior.5859### Package-management workflows60Use `sub-skills/package-management/` when the task is about:6162- `argospm update`, `search`, `install`, `list`, or `remove`.63- Installing a local `.argosmodel` archive.64- Inspecting package metadata or package contents.65- Package directory layout, cached downloads, or stale index/package errors.6667## Shared runtime helpers6869- `scripts/check_runtime.py` — run this to inspect the installed package, signatures, and basic translation smoke behavior.70- `scripts/completion.bash` — read or source this if you want Argos Translate shell completion for `argos-translate` and `argospm`.7172## When to read more7374- Read `references/package-format.md` before changing how `.argosmodel` files are inspected or installed.75- Read `references/configuration.md` before setting `ARGOS_DEVICE_TYPE`, `ARGOS_CHUNK_TYPE`, `ARGOS_PACKAGE_INDEX`, or package/cache directories.76- Read `references/cli-reference.md` whenever the exact command syntax matters.77- Read `references/troubleshooting.md` whenever the failure mentions a missing wheel, missing model package, invalid archive, or optional backend.7879## What not to route here8081- The separate `argos-translate-gui` repository and GUI-specific workflows.82- Generic Python packaging advice that does not depend on Argos Translate behavior.83- Maintainer-only release scripts, snap publishing, or PyPI upload workflows.8485## Evidence basis8687This skill was distilled from the repository source, README, docs, tests, and installed-package inspection for Argos Translate 1.11.1. Read `references/repo-provenance.md` before treating it as current for a different checkout.