productivity
Transifex CLI for AI Agents
Use the Transifex CLI from KosmoKrator to call Transifex tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.Transifex CLI Setup
Transifex can be configured headlessly with `kosmokrator integrations:configure transifex`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure transifex --set api_token="$TRANSIFEX_API_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor transifex --json
kosmokrator integrations:status --json Credentials
Authentication type: API token api_token. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
| Key | Env var | Type | Required | Label |
|---|---|---|---|---|
api_token | TRANSIFEX_API_TOKEN | Secret secret | yes | API Token |
base_url | TRANSIFEX_BASE_URL | URL url | no | API Base URL |
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call transifex.transifex_list_projects '{}' --json kosmo integrations:transifex transifex_list_projects '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs transifex --json
kosmo integrations:docs transifex.transifex_list_projects --json
kosmo integrations:schema transifex.transifex_list_projects --json
kosmo integrations:search "Transifex" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
transifex.transifex_list_projects
List all Transifex projects. Returns project slugs, names, descriptions, and language statistics.
read - Parameters
- none
kosmo integrations:call transifex.transifex_list_projects '{}' --json kosmo integrations:transifex transifex_list_projects '{}' --json transifex.transifex_get_project
Get details of a specific Transifex project including its name, description, source language, and team.
read - Parameters
- project_id
kosmo integrations:call transifex.transifex_get_project '{"project_id":"example_project_id"}' --json kosmo integrations:transifex transifex_get_project '{"project_id":"example_project_id"}' --json transifex.transifex_list_resources
List all resources (source files) in a Transifex project. Returns resource slugs, names, types, and word/string counts.
read - Parameters
- project_id
kosmo integrations:call transifex.transifex_list_resources '{"project_id":"example_project_id"}' --json kosmo integrations:transifex transifex_list_resources '{"project_id":"example_project_id"}' --json transifex.transifex_get_resource
Get details of a specific Transifex resource including its name, type, word count, string count, and translation progress.
read - Parameters
- project_id, resource_id
kosmo integrations:call transifex.transifex_get_resource '{"project_id":"example_project_id","resource_id":"example_resource_id"}' --json kosmo integrations:transifex transifex_get_resource '{"project_id":"example_project_id","resource_id":"example_resource_id"}' --json transifex.transifex_list_translations
List translations for a specific resource in a Transifex project. Optionally filter by language code.
read - Parameters
- project_id, resource_id, lang_code
kosmo integrations:call transifex.transifex_list_translations '{"project_id":"example_project_id","resource_id":"example_resource_id","lang_code":"example_lang_code"}' --json kosmo integrations:transifex transifex_list_translations '{"project_id":"example_project_id","resource_id":"example_resource_id","lang_code":"example_lang_code"}' --json transifex.transifex_list_languages
List all languages configured for a Transifex project. Returns language codes, names, and translation progress.
read - Parameters
- project_id
kosmo integrations:call transifex.transifex_list_languages '{"project_id":"example_project_id"}' --json kosmo integrations:transifex transifex_list_languages '{"project_id":"example_project_id"}' --json transifex.transifex_get_current_user
Get information about the currently authenticated Transifex user, including username, email, and account details.
read - Parameters
- none
kosmo integrations:call transifex.transifex_get_current_user '{}' --json kosmo integrations:transifex transifex_get_current_user '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
transifex.transifex_list_projects 0 parameters
kosmo integrations:schema transifex.transifex_list_projects --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
transifex.transifex_get_project 1 parameters
kosmo integrations:schema transifex.transifex_get_project --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | The project slug or ID (e.g., "my-project-slug"). |
transifex.transifex_list_resources 1 parameters
kosmo integrations:schema transifex.transifex_list_resources --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | The project slug or ID (e.g., "my-project-slug"). |
transifex.transifex_get_resource 2 parameters
kosmo integrations:schema transifex.transifex_get_resource --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | The project slug or ID (e.g., "my-project-slug"). |
resource_id | string | yes | The resource slug or ID (e.g., "my-resource-slug"). |
transifex.transifex_list_translations 3 parameters
kosmo integrations:schema transifex.transifex_list_translations --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | The project slug or ID (e.g., "my-project-slug"). |
resource_id | string | yes | The resource slug or ID (e.g., "my-resource-slug"). |
lang_code | string | no | Optional language code to filter translations (e.g., "fr", "de", "ja"). |
transifex.transifex_list_languages 1 parameters
kosmo integrations:schema transifex.transifex_list_languages --json | Parameter | Type | Required | Description |
|---|---|---|---|
project_id | string | yes | The project slug or ID (e.g., "my-project-slug"). |
transifex.transifex_get_current_user 0 parameters
kosmo integrations:schema transifex.transifex_get_current_user --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.