Логотип Kortix Cli

Kortix Cli

ОрганізаціяПопулярне
kortix-ai
kortix-cli

Drive Kortix itself from the terminal with the `kortix` CLI — preinstalled and pre-authenticated in every session sandbox. Use whenever a task means acting on THIS workspace's Kortix control plane rather than just editing files: manage secrets, list/spawn/watch/talk-to sessions, open or inspect change requests to land work on main, fire or manage triggers, set a loop to check back on this task later (`kortix loop "…" --in 24h --every 1h`), search the screen, action and audio timeline Kortix Capture recorded for the person this session acts for (`kortix capture search "…"`, when Capture is on for the account), call connectors, connect Slack, or read workspace info. This is a discovery stub — the full, always-current reference is served live via `kortix skills get kortix-system` and its reference files.

Огляд

Видавецьkortix-ai
РепозиторійCompanyOS
Назва навичкиkortix-cli
Зірки
20.8K
Форки
3.5K
Файли в пакеті
Лише інструкції
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: kortix-ai. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Kortix Cli у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/base/skills/kortix-cli
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kortix-ai/CompanyOS.git /tmp/CompanyOS
mkdir -p .claude/skills
cp -r /tmp/CompanyOS/packages/starter/templates/base/skills/kortix-cli .claude/skills/kortix-cli
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Kortix Cli в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Kortix Cli, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Kortix Cli не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

kortix-cli

The kortix CLI is the control plane for Kortix — the same surface a human drives in the dashboard, fully scriptable from a terminal. It is already installed and pre-authenticated in every session sandbox: the binary is on $PATH (/usr/local/bin/kortix), a workspace-scoped token (KORTIX_TOKEN) and KORTIX_API_URL are pre-injected, so kortix … just works with no setup.

Start here

This file is a discovery stub, not the usage guide. The full, always-current Kortix reference — the manifest, change requests, the runtime — is served live by the CLI, so it never goes stale between releases:

bash
kortix skills                    # list the Kortix system skills served live
kortix skills get kortix-system  # THE reference, then the paths of its reference files

get prints the body and then lists the skill's reference files. Pull the one you need with file instead of the whole tree with --full:

bash
kortix skills file kortix-system <path>   # ONE reference file, a path that get listed
kortix skills get kortix-system --full    # everything

Load kortix skills get kortix-system before doing anything non-trivial with Kortix — the CLI serves version-matched content, which this static stub can't. Every command prints its own flags and subcommands: kortix <command> --help. kortix skills get kortix-cli returns this same stub.

The moves you'll reach for

bash
kortix whoami                                   # which project + account this token has
kortix secrets set <NAME>=-                     # store a value you already have (stdin); --scope connector
kortix secrets request <NAME>                   # mint a link for a human to enter a value you lack
kortix secrets create-service-account BOT_TOKEN --name bot --role member --json # create + store directly; no bearer returned
kortix sessions status                          # every agent on the project + what it's doing now
kortix sessions new --json --wait --prompt "…"  # spawn a subagent, get a ready session id
kortix connectors call <connector> <action> '…' # run a configured connector action (server-side)
kortix apps deploy apps/<slug> --slug <slug> --listed  # deploy an App's folder; --listed only for an App people open
kortix tools ls                                 # the tools this project's sessions get, and removed Kortix tools
kortix tools eject <name>                       # copy a Kortix tool to tools/<name>.ts to change it
kortix cr open --title "…"                       # propose landing your branch on main (the user merges)
kortix loop "<what to check, what to do, end date>" --in 3h --every 4h  # after you send or start anything: come back and check (kortix-system <scheduling>)
kortix capture search "<words>"                # the Capture timeline of the person this session acts for (Capture on for the account)

Coordinating sessions (spawn → wait → collect)

bash
kortix sessions new --json --wait --with-file data.csv --prompt "…"   # files land in /workspace/incoming/ BEFORE the prompt
kortix sessions wait-for <id> --timeout 300     # block until the agent finishes (0=done, 3=blocked on an ask, 124=timeout) — never sleep-poll
kortix sessions pending <id>                    # see what a blocked agent is asking; answer with approve/answer
kortix sessions cp <id>:out/result.pdf .        # pull deliverables; also local→session and session→session, -r for dirs

Labels and metadata (classify sessions)

bash
kortix sessions new --json --wait --label worker --label "ticket:T-142" --meta ticket=T-142 --prompt "…"
kortix sessions update --label needs-review --meta result=pass   # no id = the session you run in ($KORTIX_SESSION_ID)
kortix sessions update <id> --unlabel needs-review --unmeta result
kortix sessions ls --label worker --json          # only sessions carrying EVERY given label
  • Labels are free-form (1–64 characters, at most 20 per session) and filter the web sidebar, sessions ls and the API list. Metadata is a free-form object for your own keys; --meta sets strings, --unmeta removes a key.

  • Label the workers you spawn so you (and the user) can find them later.

  • A finished session's sandbox stops automatically to save compute. stopped means parked, not failed — sessions cp, sessions chat, and sessions wait-for wake it on demand.

  • Session ids abbreviate: any unambiguous prefix (the 8-char ids sessions ls prints) works.

  • Session sandboxes have Python via uv (uv run / uvx / uv pip — prefer these over bare pip), Node, browsers, and document tooling preinstalled — spawn the task, not an environment-setup plan.

Every read command takes --json (clean payload on stdout), so the CLI is a 100% scriptable surface. For anything beyond the above — flags, the token-scope model, host switching, orchestration patterns — run kortix <command> --help, read kortix skills get kortix-system, or kortix skills get <name> for another system skill.

Landing work on main

A session runs on its own branch; the only sanctioned path to main is a change request, and you open it — the user reviews and merges:

bash
kortix validate                                   # schema + repository size warnings
git add . && git commit -m "…" && git push origin HEAD
kortix cr open --title "…" --description "…"     # head + session auto-detected in a sandbox

Never commit big static assets (video, datasets, build output): every session downloads them, and above 512 MiB compressed a running session stops picking up agent config changes from the base branch. Put them in object storage instead. Never merge your own CR. Full CR lifecycle: kortix skills get kortix-system.

Durable session model controls

session.setModel() remains a local preference for later sends from that SDK handle. session.getModel() reads the durable pin ({ model: string | null }). session.changeModel(model) saves the pin without sending a prompt. Pi reconfigures without restarting; the running turn finishes before the next turn uses the new model.

Agent pins, permissions and precedence. An agent's configured model is a default, not a lock: an authorized caller may replace it with a durable session pin. Changing that pin requires session-owner or workspace-manager lifecycle permission; a scoped agent token also needs workspace.session.stop. Workspace visibility alone grants no override permission. The requested model must pass account/model availability and provider-key access checks; changing a pin does not bypass those checks.

The durable pin takes precedence over the default agent/project model when pi initializes or reconfigures. For a turn, an explicit prompt model wins; otherwise an explicitly selected agent's configured model wins, then the current session selection applies. A per-prompt override does not rewrite the durable pin. switchModel queues its continuation with the requested model explicitly, so that continuation uses the switch model even if the agent has a model default. The running turn keeps its model; the new selection applies to a later turn.

ts
await session.switchModel({
  model: 'kortix/glm-5.3-flash',
  prompt: 'Continue verification with the new model.',
  idempotency_key: 'verification-model-1',
});

The switch saves the pin and queues the continuation in one database transaction. Reuse the same key and payload after a transport failure. A different payload with the same key is refused. Self-switches are limited to three per hour. A queued continuation waits for the current turn. The response contains prompt_id and deduped; inspect push_failed before reporting live application.

CLI: kortix sessions model get [session-id], set [session-id] <model>, and switch [session-id] <model> --prompt "Continue verification" --idempotency-key verification-model-1. The new verbs default to KORTIX_SESSION_ID. The existing sessions model <session-id> <model> remains supported. Never send a peer message to yourself to continue a model switch.

Service-account secret provisioning is interactive-only and stores an App-only secret without returning its bearer or injecting it into the requesting sandbox. Use the existing server-side App secret mapping. App code controls its runtime secret values; never deploy code that logs or exposes them.

Поширені запитання

Що робить навичка ШІ Kortix Cli?

Drive Kortix itself from the terminal with the `kortix` CLI — preinstalled and pre-authenticated in every session sandbox. Use whenever a task means acting on THIS workspace's Kortix control plane rather than just editing files: manage secrets, list/spawn/watch/talk-to sessions, open or inspect change requests to land work on main, fire or manage triggers, set a loop to check back on this task later (`kortix loop "…" --in 24h --every 1h`), search the screen, action and audio timeline Kortix Capture recorded for the person this session acts for (`kortix capture search "…"`, when Capture is o...

Навіщо використовувати Kortix Cli у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Kortix Cli — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Kortix Cli у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/kortix-ai/CompanyOS/tree/dev/packages/starter/templates/base/skills/kortix-cli. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Kortix Cli?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Kortix Cli?

Зі скількома забажаєте. У TypingMind ви можете використовувати Kortix Cli із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Kortix Cli?

На GitHub цю навичку публікує kortix-ai. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇