teach

teach is a command for Claude Code from koolamusic/claudefiles. It costs 27 tokens per session (546 once invoked), scanned A, original, MIT.

A one-time setup command that gathers design information about a software project and saves guidelines for future AI-assisted work.

In plain words
What is it for?
Use it to inspect project files and design assets, identify existing patterns, ask about missing design context, and save the resulting guidelines to the AI configuration.
Why use it?
It avoids repeatedly explaining the project's audience, brand, visual style, technology, and existing design rules.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Part of the ux plugin — 1 skill, 6 commands shipped together

Good fit Use it to inspect project files and design assets, identify existing patterns, ask about missing design context, and save the resulting guidelines to the AI configuration.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/koolamusic/claudefiles/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/koolamusic/claudefiles

Made for: Claude Code.

Or install ux, the plugin that ships this one along with the rest of its 1 skill, 6 commands.

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/koolamusic/claudefiles/teach/github.svg)](https://agentmods.dev/commands/koolamusic/claudefiles/teach)
Your own site
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/teach"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/teach/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 teach

Your own site · 80×15
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/teach"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/teach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 546 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.00027 $0.00546
Opus 5.5 $0.00011 $0.00218
Sonnet 5.5 $0.00005 $0.00109
Haiku 4.5 $0.00003 $0.00055

Measured 3mo ago against content hash e43bddfab043, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 3mo 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.

plugins/ux/commands/teach.md · 67 lines

How it starts

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

Gather design context for this project, then persist it for all future sessions.

Step 1: Explore the Codebase

Before asking questions, thoroughly scan the project to discover what you can:

  • README and docs: Project purpose, target audience, any stated goals
  • Package.json / config files: Tech stack, dependencies, existing design libraries
  • Existing components: Current design patterns, spacing, typography in use
  • Brand assets: Logos, favicons, color values already defined
  • Design tokens / CSS variables: Existing color palettes, font stacks, spacing scales
  • Any style guides or brand documentation

Note what you've learned and what remains unclear.

Step 2: Ask UX-Focused Questions

STOP and call the AskUserQuestionTool to clarify. Focus only on what you couldn't infer from the codebase:

Users & Purpose

  • Who uses this? What's their context when using it?
  • What job are they trying to get done?
  • What emotions should the interface evoke? (confidence, delight, calm, urgency, etc.)

Brand & Personality

  • How would you describe the brand personality in 3 words?
  • Any reference sites or apps that capture the right feel? What specifically about them?
  • What should this explicitly NOT look like? Any anti-references?

Aesthetic Preferences

  • Any strong preferences for visual direction? (minimal, bold, elegant, playful, technical, organic, etc.)
  • Light mode, dark mode, or both?
  • Any colors that must be used or avoided?

Accessibility & Inclusion

  • Specific accessibility requirements? (WCAG level, known user needs)
  • Considerations for reduced motion, color blindness, or other accommodations?

Skip questions where the answer is already clear from the codebase exploration.

Step 3: Write Design Context

Synthesize your findings and the user's answers into a ## Design Context section:

## Design Context

### Users
[Who they are, their context, the job to be done]

### Brand Personality
[Voice, tone, 3-word personality, emotional goals]

### Aesthetic Direction
[Visual tone, references, anti-references, theme]

### Design Principles
[3-5 principles derived from the conversation that should guide all design decisions]

Read the full file on GitHub · 67 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. 3mo ago First seen · 67 lines · 27 tokens per session scan A e43bddfab043

Subscribe to this mod's changes

teach is a command published in the GitHub repository koolamusic/claudefiles (118 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 546 once invoked, about $0.0001 per session on Opus 5.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

teach compared with commands from other repositories

teach next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teachkoolamusic/claudefilesCommand118yesterdayMITA27Claude Code
profilecathrynlavery/diagram-designCommand77ktodayMITA16Claude Code
information-architectTenon-Net/TenonAdminCommand47todayApache-2.0A14Claude Code, Codex
ui-flow-reviewMRCalderon3D/everything-game-dev-codeCommand11426d agoMITA15Claude Code
erne-animateJubaKitiashvili/everything-react-native-expoCommand501mo agoMITA21Claude Code
responsive-design-specialistimsaif/design-with-claudeCommand1115d agoMITA36Claude Code
design-auditw2ur/claude-code-setupCommand13d agoMITA30Claude Code