kodama-behavior

kodama-behavior is a skill for Claude Code, Codex from amergrgic/kodama. It costs 37 tokens per session (447 once invoked), scanned A, original, MIT.

A behavior playbook for coding agents working on unfamiliar, ambiguous, or multi-step tasks. It covers request classification, repository inspection, safe delegation, and recovery when attempts fail.

In plain words
What is it for?
Use it to guide repository discovery, current-technology research, task planning, specialist delegation, review, debugging, documentation, and infrastructure work.
Why use it?
It gives the agent a consistent way to decide whether to inspect, research, ask a question, delegate, or act directly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to guide repository discovery, current-technology research, task planning, specialist delegation, review, debugging, documentation, and infrastructure work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amergrgic/kodama/kodama-behavior
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.

Any agent
npx skills add amergrgic/kodama --skill kodama-behavior
Clone the repo
git clone --depth 1 https://github.com/amergrgic/kodama

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 kodama-behavior

README.md
[![agentmods](https://agentmods.dev/badge/skills/amergrgic/kodama/kodama-behavior/github.svg)](https://agentmods.dev/skills/amergrgic/kodama/kodama-behavior)
Your own site
<a href="https://agentmods.dev/skills/amergrgic/kodama/kodama-behavior"><img src="https://agentmods.dev/badge/skills/amergrgic/kodama/kodama-behavior/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kodama-behavior

Your own site · 80×15
<a href="https://agentmods.dev/skills/amergrgic/kodama/kodama-behavior"><img src="https://agentmods.dev/badge/skills/amergrgic/kodama/kodama-behavior.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 447 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00037 $0.00447
Opus 5 $0.00018 $0.00224
Sonnet 5 $0.00007 $0.00089
Haiku 4.5 $0.00004 $0.00045

Measured 9d ago against content hash b13dbb32ede3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

kodama-behavior 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 9d 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/kodama-behavior/SKILL.md · 51 lines

What it actually says

Behavior Playbook

Classify before acting

Request shape Default response
Single known edit or direct question Act directly.
Repository discovery Inspect existing code and tests before proposing changes.
Current API, framework, or compatibility question Research primary sources.
Ambiguous outcome or missing constraint Ask one focused clarification question.
Multi-step work Define success criteria and a task list before editing.

Delegate deliberately

Use a specialist when delegation improves quality or speed:

  • kodama-scout: repository structure, established patterns, dependencies, and tests.
  • kodama-scholar: current external documentation and examples.
  • kodama-sage: hard debugging, architecture, and high-impact tradeoffs.
  • kodama-artist: user-facing UI, UX, and accessibility work.
  • kodama-smith: bounded implementation after scope is clear.
  • kodama-critic: independent review of a non-trivial diff.
  • kodama-forge: infrastructure, CI/CD, containerization, and deployment.
  • kodama-scribe: documentation, changelogs, ADRs, and technical writing.

For a delegation, state the goal, desired output, relevant paths, constraints, and actions that are out of scope. Run independent research in parallel; reconcile the findings before implementation.

Assess before modifying

Before changing unfamiliar code, identify:

  1. a similar implementation;
  2. local naming and organization conventions;
  3. dependencies already available;
  4. the relevant test location and test runner;
  5. the smallest safe validation command.

Recover from failures

  1. Read the error and identify the failing boundary.
  2. Form a root-cause hypothesis and gather evidence.
  3. Retry only with a materially different approach.
  4. After two failed approaches, escalate with the command, output, evidence, and remaining uncertainty.

Do not repeat a failed command unchanged, guess at unfamiliar systems, or hide uncertainty.

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. 9d ago First seen · 51 lines · 37 tokens per session scan A b13dbb32ede3

Subscribe to this mod's changes

kodama-behavior is a skill published in the GitHub repository amergrgic/kodama (6 stars, last pushed 29d ago), licensed MIT. It adds 37 tokens to every session and 447 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

babysit

Same-session monitoring loop for PRs, CI runs, tickets, and deployments using the monitorstart / monitorupdate / autonudgestop MCP tools. The loop re-injects your check instructions into THIS session on an idle interval — same context, same tools — and works from dashboard chat, Slack threads, and Discord DMs. Use…

kirodotdev/KiroCrew · 137 tokens

computer-use

Read and drive native desktop applications through the accessibility layer — list on-screen apps, snapshot one window as a numbered element tree, then click / type / set a value / scroll / drag / run a named action, by element index or by screen coordinates. Use for work in a desktop app rather than a web page. Full…

kirodotdev/KiroCrew · 105 tokens

goal-ledger-conductor

Own a long-horizon goal end to end while tracking it in the work ledger - decompose it into items, stand up one session per item, read each worker's reported status as structured data rather than as a transcript, verify claims with the acceptance evaluator, and decide each next round until the goal is met or a stop…

kirodotdev/KiroCrew · 125 tokens

feature-demo-recording

Record a demo video of a web feature from a real browser. Two modes -- a NARRATED film where measured voiceover drives the timeline (designed slides, subtitles, punch-in camera, rendered from an HTML timeline), and a SILENT evidence clip for a PR or a QA pass. Use when the user asks to record a video, demo, or screen…

kirodotdev/KiroCrew · 90 tokens

goal-conductor

Own a long-horizon goal end to end - decompose it into work items, stand up one top-level session per item, patrol their state on a nudge loop, and decide each next round until the goal is met or a stop condition fires. Use when the user hands over a goal too large for one session ("clear the flaky-test backlog"…

kirodotdev/KiroCrew · 105 tokens

artifact-deploy

One-click deploy a user's pre-built app/artifact into their OWN AWS account and get a global public HTTPS link (Vercel-like), with a default TTL and promote-to-persistent. Use when the user says "deploy this", "ship this demo", "give me a public link", "share this externally", or "deploy to AWS".

kirodotdev/KiroCrew · 74 tokens