kitaru-adapter-builder

kitaru-adapter-builder is a skill for Claude Code, Codex from decodingai-magazine/building-a-coding-agent-from-scratch-course. It costs 79 tokens per session (1,947 once invoked), scanned A, original, Apache-2.0.

A guide for building a project-local adapter that connects an unsupported Python or TypeScript agent framework to Kitaru. The adapter records and replays agent runs through the framework's public interfaces.

In plain words
What is it for?
Use it to inspect an agent framework, build the smallest adapter in the project, preserve run details, and validate recording, replay, and recovery limits.
Why use it?
It avoids copying an integration that does not fit and makes clear which parts of a run can actually be observed or replayed. It also prevents changes to Kitaru itself when a local adapter is enough.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

Good fit Use it to inspect an agent framework, build the smallest adapter in the project, preserve run details, and validate recording, replay, and recovery limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/decodingai-magazine/building-a-coding-agent-from-scratch-course/kitaru-adapter-builder
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 decodingai-magazine/building-a-coding-agent-from-scratch-course --skill kitaru-adapter-builder
Clone the repo
git clone --depth 1 https://github.com/decodingai-magazine/building-a-coding-agent-from-scratch-course

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 kitaru-adapter-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/decodingai-magazine/building-a-coding-agent-from-scratch-course/kitaru-adapter-builder/github.svg)](https://agentmods.dev/skills/decodingai-magazine/building-a-coding-agent-from-scratch-course/kitaru-adapter-builder)
Your own site
<a href="https://agentmods.dev/skills/decodingai-magazine/building-a-coding-agent-from-scratch-course/kitaru-adapter-builder"><img src="https://agentmods.dev/badge/skills/decodingai-magazine/building-a-coding-agent-from-scratch-course/kitaru-adapter-builder/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 kitaru-adapter-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/decodingai-magazine/building-a-coding-agent-from-scratch-course/kitaru-adapter-builder"><img src="https://agentmods.dev/badge/skills/decodingai-magazine/building-a-coding-agent-from-scratch-course/kitaru-adapter-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,947 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.00079 $0.01947
Opus 5 $0.00039 $0.00974
Sonnet 5 $0.00016 $0.00389
Haiku 4.5 $0.00008 $0.00195

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

Security

Grade A, and why

kitaru-adapter-builder 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 2d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/kitaru-adapter-builder/SKILL.md · 193 lines

How it starts

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

Kitaru adapter builder

Build the smallest honest adapter inside the user's project. Preserve the framework's public entrypoint and report exactly what the adapter can observe, record, replay, and recover from.

Do not assume every framework can support the same fidelity. A useful result is either a locally tested adapter or a precise blocker tied to the installed versions and public hooks.

Core contract

  • Start with read-only inspection of the user's project and installed packages.
  • Prefer supported Kitaru adapters, importers, or OTLP export when they meet the requested recording and replay needs. Do not create a duplicate integration.
  • Treat the user's installed SDK and framework as authority. Use Kitaru reference adapters as patterns, not as source to copy or as proof of a published API.
  • Use only public framework hooks. Offer a coarser boundary or stop when complete coverage would require private internals.
  • Implement in the user's project first. Do not edit Kitaru core or prepare an upstream contribution unless the user separately approves that work.
  • Keep per-run session IDs, clients, node indexes, buffers, replay state, and framework context isolated. Never store invocation state on a shared wrapper.
  • Treat a partially recorded run as partial or failed evidence. Never call it a complete trace because the application returned successfully.
  • Treat replay as execution, not a transaction. Block unknown or write-capable side effects unless the selected policy and user approval make them safe.
  • Never install dependencies, call credentialed providers, create a remote Kitaru session, execute write-capable tools, or publish changes without the relevant approval.
  • Run every Kitaru CLI command and SDK script with KITARU_ACTIVE_SKILL=kitaru-adapter-builder set so the server attributes the resulting activity to this skill.
  • Start or restart a user-controlled worker with --concurrency 10. Use KITARU_WORKER_CONCURRENCY=10 only when the launch surface exposes worker settings through environment variables instead of CLI options.

Read the full file on GitHub · 193 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 193 lines · 79 tokens per session scan A a8ff7e1c070a

Subscribe to this mod's changes

kitaru-adapter-builder is a skill published in the GitHub repository decodingai-magazine/building-a-coding-agent-from-scratch-course (387 stars, last pushed today), licensed Apache-2.0. It adds 79 tokens to every session and 1,947 once invoked, about $0.0004 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-09-09.