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.
npx skills add mazrean/kessoku --skill kessoku-digit clone --depth 1 https://github.com/mazrean/kessokuWrote 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.
[](https://agentmods.dev/skills/mazrean/kessoku/kessoku-di)<a href="https://agentmods.dev/skills/mazrean/kessoku/kessoku-di"><img src="https://agentmods.dev/badge/skills/mazrean/kessoku/kessoku-di/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.
<a href="https://agentmods.dev/skills/mazrean/kessoku/kessoku-di"><img src="https://agentmods.dev/badge/skills/mazrean/kessoku/kessoku-di.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.01146 |
| Opus 5 | $0.00026 | $0.00573 |
| Sonnet 5 | $0.00010 | $0.00229 |
| Haiku 4.5 | $0.00005 | $0.00115 |
Grade A, and why
kessoku-di 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kessoku: Parallel DI for Go
Kessoku is a compile-time dependency injection library that speeds up Go application startup through parallel initialization. Unlike google/wire (sequential), kessoku runs independent providers concurrently.
Use this skill when you are building or debugging kessoku injectors/providers, wiring async dependencies, migrating from google/wire, or troubleshooting go tool kessoku generation problems.
Supporting files: PATTERNS.md for examples, MIGRATION.md for wire migration, TROUBLESHOOTING.md for common errors.
When to Use Kessoku
- Slow startup: Multiple DB connections, API clients, or cache initialization
- Cold start optimization: Serverless/Lambda functions timing out
- google/wire alternative: Want compile-time DI with parallel execution
Quick Start
//go:generate go tool kessoku $GOFILE
package main
import "github.com/mazrean/kessoku"
var _ = kessoku.Inject[*App](
"InitializeApp",
kessoku.Async(kessoku.Provide(NewDB)), // Parallel
kessoku.Async(kessoku.Provide(NewCache)), // Parallel
kessoku.Provide(NewApp), // Waits for deps
)
Run: go generate ./... → generates *_band.go
API Reference
| API | Syntax | Purpose |
|---|---|---|
| Inject | var _ = kessoku.Inject[T]("Name", ...) |
Define injector function |
| Provide | kessoku.Provide(NewFn) |
Wrap provider function |
| Async | kessoku.Async(kessoku.Provide(...)) |
Enable parallel execution |
| Bind | kessoku.Bind[Interface](provider) |
Interface→implementation |
| Value | kessoku.Value(v) |
Inject constant value |
| Set | kessoku.Set(providers...) |
Group providers |
| Struct | kessoku.Struct[T]() |
Expand struct fields as deps |
Common Patterns
Basic Injector
var _ = kessoku.Inject[*App](
"InitializeApp",
kessoku.Provide(NewConfig),
kessoku.Provide(NewDB),
kessoku.Provide(NewApp),
)
// Generates: func InitializeApp() *App
What ships with it
3 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.
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.
- 12d ago First seen · 131 lines · 52 tokens per session scan A 9f8b4139dfe4
kessoku-di is a skill published in the GitHub repository mazrean/kessoku (140 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 1,146 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.
Other skills, from other repositories
pi-loop-forensics
Diagnose pi-go agent loops and degenerate turns — "agent loop aborted", runaway thinking with no tool calls, repeated phrases. Discriminates genuine model repetition collapse from a race, a tool-parse failure, or a too-low guard, and A/B replays a seed session across providers.
nightly-session-watch
Nightly sweep of the last 24h of pi-go sessions — anomalous runs, loop aborts, tool error rates, token waste, real prompt-token spend, and whether the observation and palace pipelines are still recording. Triages each finding to the specialist skill that diagnoses it. Use for an unattended daily health check, or on…
functions-development
Build serverless Go or Python functions for Falcon Foundry apps. TRIGGER when user asks to "create a function", "write a serverless function", "build backend logic", runs foundry functions create, or needs help with FDK handler patterns, function testing, or collection integration from functions. Also TRIGGER when…
go-performance
Measured performance decisions. Use when a workload or budget can change the mechanism, or when an optimization claim needs a comparable baseline, attribution, and delta.
golang-error-handling
Idiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log…
golang-benchmark
Golang benchmarking, profiling, and performance measurement. Use when writing, running, or comparing Go benchmarks, profiling hot paths with pprof, interpreting CPU/memory/trace profiles, analyzing results with benchstat, setting up CI benchmark regression detection, or investigating production performance with…