teach

teach is a command for Claude Code from obiwancenobi/klamben. It costs 36 tokens per session (1,319 once invoked), scanned A, original, Apache-2.0.

A one-time setup command for a Flutter project that records its existing design patterns in a .klamben.md context file.

In plain words
What is it for?
Scanning Flutter and Dart files, identifying design and platform conventions, asking UX questions, and saving the findings for other commands.
Why use it?
It gives later design advice information about the project’s theme, fonts, platform behavior, accessibility, and localization choices.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Scanning Flutter and Dart files, identifying design and platform conventions, asking UX questions, and saving the findings for other commands.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/obiwancenobi/klamben/teach
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.

Clone the repo
git clone --depth 1 https://github.com/obiwancenobi/klamben

Made for: Claude Code.

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 teach

README.md
[![agentmods](https://agentmods.dev/badge/commands/obiwancenobi/klamben/teach.svg)](https://agentmods.dev/commands/obiwancenobi/klamben/teach)
Your own site
<a href="https://agentmods.dev/commands/obiwancenobi/klamben/teach"><img src="https://agentmods.dev/badge/commands/obiwancenobi/klamben/teach.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,319 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.00036 $0.01319
Opus 5 $0.00018 $0.00660
Sonnet 5 $0.00007 $0.00264
Haiku 4.5 $0.00004 $0.00132

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

Security

Grade A, and why

teach 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 7d 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.

src/commands/teach.md · 163 lines

How it starts

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

/teach

First-time setup for klamben. Run once when you add klamben to a Flutter project. Gathers design context and saves it to .klamben.md so all other commands give project-tailored advice.

When to use

  • First time using klamben in a project
  • After a major rebrand or redesign
  • When switching target platforms

Process

Step 1: Codebase scan (automatic)

Scan the project without asking questions. Read these files and extract what you can:

  1. pubspec.yaml — app name, Flutter/Dart SDK version, dependencies (google_fonts, flutter_localizations, intl, flutter_svg, cached_network_image, flutter_platform_widgets, cupertino_icons)
  2. lib/ Dart files — search for:
    • ThemeData — seed color, useMaterial3, textTheme, colorScheme
    • ColorScheme.fromSeed — extract seed color
    • GoogleFonts. — which font
    • ThemeExtension — spacing tokens, custom extensions
    • Platform.isIOS / Platform.isAndroid — platform branching
    • .adaptive constructors — Switch.adaptive, Slider.adaptive
    • CupertinoPageRoute, CupertinoButton — Cupertino usage
    • Semantics, tooltip: — accessibility patterns
    • AppLocalizations, flutter_localizations — i18n setup
    • l10n.yaml — localization config
  3. analysis_options.yaml — existing lint rules

Build an internal summary of what you found. Note which questions from Step 2 are already answered by the scan.

Step 2: Ask questions (one at a time)

Skip any question already answered by the codebase scan. Use multiple choice when possible.

Q1: Target platforms (skip if scan found platform branching)

Which platforms does this app target?

  • Android + iOS with platform-adaptive UI (Recommended)
  • Android + iOS with Material-only UI
  • Android only
  • iOS only

Q2: Brand personality (always ask)

Pick 2-3 words that describe this app's personality:

  • Professional / Playful / Minimal / Bold / Warm / Technical / Premium / Friendly
  • (or let the user type their own)

Read the full file on GitHub · 163 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. 7d ago First seen · 163 lines · 36 tokens per session scan A d70177c80b8e

Subscribe to this mod's changes

teach is a command published in the GitHub repository obiwancenobi/klamben (2 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 36 tokens to every session and 1,319 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.