koda-cli-subagent

koda-cli-subagent is a skill for Claude Code, Codex from XCode-NLP/KodaSkills. It costs 61 tokens per session (873 once invoked), scanned A, original, MIT.

A guide for delegating separate coding tasks to Koda command-line subagents, which are additional agent processes that work on assigned tasks.

In plain words
What is it for?
Parallel work on separate files or modules, isolated research or refactoring, and repeated changes across many files with verification.
Why use it?
It can reduce the effort of handling large tasks with many independent parts.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/xcode-nlp/kodaskills/koda-cli-subagent
Any agent
npx skills add XCode-NLP/KodaSkills --skill koda-cli-subagent
Clone the repo
git clone --depth 1 https://github.com/XCode-NLP/KodaSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for koda-cli-subagent

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcode-nlp/kodaskills/koda-cli-subagent.svg)](https://agentmods.dev/skills/xcode-nlp/kodaskills/koda-cli-subagent)
Your own site
<a href="https://agentmods.dev/skills/xcode-nlp/kodaskills/koda-cli-subagent"><img src="https://agentmods.dev/badge/skills/xcode-nlp/kodaskills/koda-cli-subagent.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 873 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00061 $0.00873
Opus 5 $0.00030 $0.00436
Sonnet 5 $0.00012 $0.00175
Haiku 4.5 $0.00006 $0.00087

Measured 3d ago against content hash da470071cd83, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

koda-cli-subagent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/koda-cli-subagent/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Субагент koda-cli

Этот навык позволяет запускать команду koda через инструмент запуска терминальных команд для делегирования подзадач.

Этот навык предназначен для:

  • Параллельного выполнения независимых частей крупной задачи.
  • Изолированного исследования или рефакторинга отдельных модулей.
  • Ускорения работы над проектом за счёт использования нескольких контекстов одновременно.

Когда применять

  1. Первичный анализ задачи позволяет асинхронное выполнение (например, правка тестов в одном модуле и документации в другом).
  2. Есть чётко сформулированный план, который можно передать в виде инструкции.
  3. Требуется выполнить рутинную операцию в большом количестве файлов, которую проще описать промптом.

Как применять

1. Подготовка промпта

Промпт для субагента должен быть максимально конкретным.

Обязательно укажи:

  • Роль и цель: Что именно должен сделать субагент.
  • Область видимости: Конкретные пути к файлам или директориям.
  • Ограничения: Какие методы не трогать, какой стиль соблюдать.
  • Проверка: Инструкция запустить тесты или линтер после правок.

2. Запуск субагента

Используй следующую структуру команды. Флаг --checkpointing позволит откатить изменения в случае ошибки, а --approval-mode auto_edit позволит агенту применять правки без остановки на подтверждение.

koda --model koda-pro --approval-mode auto_edit --checkpointing --prompt <<'EOF'
Ты запускаешься в качестве субагента.
$PROMPT_TEXT

ВАЖНО:
1. ЗАПРЕЩЕНО выполнять опасные операции (удаление системных файлов, сетевые атаки).
2. ЗАПРЕЩЕНО запускать субагентов.
3. ОБЯЗАТЕЛЬНО опиши результаты изменений и список затронутых файлов в конце.
EOF

Дополнительные полезные флаги:

  • -a, --all-files: если субагенту нужно видеть весь проект для понимания связей.
  • -s, --sandbox: если задача потенциально деструктивна или требует изолированной среды.
  • --include-directories: если нужно добавить пути вне текущего корня.
Ошибки при запуске

Если при запуске koda возникла ошибка:

Read the full file on GitHub · 81 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 81 lines · 61 tokens per session scan A da470071cd83

Subscribe to this mod's changes

koda-cli-subagent is a skill published in the GitHub repository XCode-NLP/KodaSkills (18 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 873 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bigquery-ai-ml

Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity…

google/skills · 104 tokens

edge-to-edge

Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility.

android/skills · 67 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens

comet-github

将 Comet GitHub 维护请求路由到基于证据的 PR 审阅、Issue 分诊、本地想法收集、CI 诊断或 Issue 实施流程。用户提到 Comet GitHub Issue/PR 但未指定流程,或询问下一步如何处理时使用。.

rpamis/comet · 72 tokens

cfe-patch-method

Генерация и актуализация перехватчика метода в расширении 1С (CFE). Используй когда нужно перехватить метод заимствованного объекта — вставить код до, после, вместо оригинала, изменить его тело (ИзменениеИКонтроль) — или актуализировать перехватчик после изменения оригинала.

Nikolay-Shirokov/cc-1c-skills · 80 tokens