generate-topic

generate-topic is a skill for Kiro from smileynet/teach-me. It costs 40 tokens per session (3,298 once invoked), scanned A, original, MIT.

A complete lesson-production workflow that researches a topic, writes the lesson, adds supporting materials, and checks the finished result.

In plain words
What is it for?
Use it to create or complete a topic from a workspace map, research the domain and existing lessons, verify sources, generate lesson content, and run post-processing and checks.
Why use it?
It coordinates the many steps needed for a finished educational topic, reducing the chance that research, definitions, quizzes, references, or verification are skipped.

Skill for Kiro

Written for Kiro: installed under .kiro/. Also seen: mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python tools/concept_hints.py source-chunks/{domain}.json --topic {slug} --domain {domain}.

Good fit Use it to create or complete a topic from a workspace map, research the domain and existing lessons, verify sources, generate lesson content, and run post-processing and checks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/smileynet/teach-me
agentmods
npx agentmods add skills/smileynet/teach-me/generate-topic

Made for: Kiro.

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 generate-topic

README.md
[![agentmods](https://agentmods.dev/badge/skills/smileynet/teach-me/generate-topic/github.svg)](https://agentmods.dev/skills/smileynet/teach-me/generate-topic)
Your own site
<a href="https://agentmods.dev/skills/smileynet/teach-me/generate-topic"><img src="https://agentmods.dev/badge/skills/smileynet/teach-me/generate-topic/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 generate-topic

Your own site · 80×15
<a href="https://agentmods.dev/skills/smileynet/teach-me/generate-topic"><img src="https://agentmods.dev/badge/skills/smileynet/teach-me/generate-topic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,298 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.00040 $0.03298
Opus 5.5 $0.00016 $0.01319
Sonnet 5.5 $0.00008 $0.00660
Haiku 4.5 $0.00004 $0.00330

Measured 6d ago against content hash 96b5effbda7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-topic 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 6d 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.

.kiro/skills/generate-topic/SKILL.md · 216 lines

How it starts

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

Generate Topic

Orchestrates the full lesson generation pipeline for one topic. Ensures every downstream step (jargon, quiz, reference, SVG theming, verification) actually happens — not just the lesson writing.

Ownership & Routing

generate-topic is the durable artifact assembly line. It owns the research-backed authoring sequence; teach owns the conversational relationship. The two never both drive the same request.

generate-topic owns:

  • The single source of truth for the authoring sequence: research → lesson → reference → SR questions → quiz → code extraction → verify (this document's Phase 1–4). Every other skill that needs a durable artifact invokes this pipeline rather than restating it.
  • Completeness and the verify gate — a topic is not "done" until Phase 4 passes.
  • Committed graph data writes on success (lesson_file: in MAP.md) and overlay status transitions for the topic being generated.

generate-topic does NOT own (defer, don't duplicate):

  • The live learner relationship — mission elicitation, ZPD selection, orientation, and re-explanation belong to teach. This pipeline assumes the topic and workspace are already chosen.
  • Pedagogy rules it applies but does not define: lesson shape and the knowledgeable-colleague posture (teach SKILL + ADR 0001), exercise/callout hierarchy (visual-teaching.md), SR-question structure (references/sr-question-authoring.md).
  • Retention quizzing of taught material (quiz-me).

Invoked by: teach (when a chosen topic must become a tracked artifact), a direct user request ("generate/complete topic X"), or map-driven generation. Hands back to teach for anything conversational once the artifact exists.

See the routing table in the teach skill for how specific learner prompts resolve to one owner. The short rule: durable + verified artifact → generate-topic; conversation, orientation, or re-explanation → teach.

Read the full file on GitHub · 216 lines

Files

What ships with it

1 file 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. 6d ago Changed · +42 lines 96b5effbda7d
  2. 1mo ago First seen · 174 lines · 40 tokens per session scan A 87b9da938d89

Subscribe to this mod's changes

generate-topic is a skill published in the GitHub repository smileynet/teach-me (3 stars, last pushed 3d ago), licensed MIT. It adds 40 tokens to every session and 3,298 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

anki

Anki spaced repetition learning system reference. Covers the science of SRS and SM-2 algorithm, card design principles, optimal deck settings, FSRS scheduler, study workflow, essential add-ons, custom templates, filtered decks, and AnkiConnect API.

bytesagain/ai-skills · 53 tokens

reading-metaskill

A reading and learning guide based on building a regular reading habit, choosing books, and understanding difficult subjects through original works and explanation.

kangarooking/cangjie-skill · 139 tokens

assisted-mastery

Makes agent reasoning visible, surfaces tradeoffs, and fades help so humans build judgment. Use when reviewing or learning from agent-written code.

athola/claude-night-market · 32 tokens

antivibe

Code learning and audit framework. Analyze any codebase — new, legacy, or AI-generated — and produce educational explanations or architectural audits. Use when the user wants to understand WHAT and WHY behind any code, not just accept it.

mohi-devhub/antivibe · 50 tokens

shikhu-inquiry

Answer a question about how or why something in THIS repository works, by showing which tracked files answer it and why, then recording the exchange so it can seed a quiz later. Use it whenever the user asks a genuine question whose subject belongs to this repository — its source, CLI behavior, config, CI, hooks or…

arjunpatel7/shikhu · 232 tokens

shikhu-study

Tutor the user through a source file with a cached summary, a guided walkthrough, and free-form Q&A — then persist a review record so future quizzes know what was covered.

arjunpatel7/shikhu · 40 tokens