KosmoKrator

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, configure, and verify
# 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.

KeyEnv varTypeRequiredLabel
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.

Generic CLI call
kosmo integrations:call transifex.transifex_list_projects '{}' --json
Provider shortcut
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.

Discovery commands
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 read
Parameters
none
Generic call
kosmo integrations:call transifex.transifex_list_projects '{}' --json
Shortcut
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 read
Parameters
project_id
Generic call
kosmo integrations:call transifex.transifex_get_project '{"project_id":"example_project_id"}' --json
Shortcut
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 read
Parameters
project_id
Generic call
kosmo integrations:call transifex.transifex_list_resources '{"project_id":"example_project_id"}' --json
Shortcut
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 read
Parameters
project_id, resource_id
Generic call
kosmo integrations:call transifex.transifex_get_resource '{"project_id":"example_project_id","resource_id":"example_resource_id"}' --json
Shortcut
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 read
Parameters
project_id, resource_id, lang_code
Generic call
kosmo integrations:call transifex.transifex_list_translations '{"project_id":"example_project_id","resource_id":"example_resource_id","lang_code":"example_lang_code"}' --json
Shortcut
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 read
Parameters
project_id
Generic call
kosmo integrations:call transifex.transifex_list_languages '{"project_id":"example_project_id"}' --json
Shortcut
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 read
Parameters
none
Generic call
kosmo integrations:call transifex.transifex_get_current_user '{}' --json
Shortcut
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
Schema command
kosmo integrations:schema transifex.transifex_list_projects --json
ParameterTypeRequiredDescription
No parameters.
transifex.transifex_get_project 1 parameters
Schema command
kosmo integrations:schema transifex.transifex_get_project --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").
transifex.transifex_list_resources 1 parameters
Schema command
kosmo integrations:schema transifex.transifex_list_resources --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").
transifex.transifex_get_resource 2 parameters
Schema command
kosmo integrations:schema transifex.transifex_get_resource --json
ParameterTypeRequiredDescription
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
Schema command
kosmo integrations:schema transifex.transifex_list_translations --json
ParameterTypeRequiredDescription
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
Schema command
kosmo integrations:schema transifex.transifex_list_languages --json
ParameterTypeRequiredDescription
project_id string yes The project slug or ID (e.g., "my-project-slug").
transifex.transifex_get_current_user 0 parameters
Schema command
kosmo integrations:schema transifex.transifex_get_current_user --json
ParameterTypeRequiredDescription
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.