segmenter_agent

segmenter_agent is an agent for Claude Code from YujxZJCN/teaching-skills. It costs 36 tokens per session (922 once invoked), scanned A, original, MIT.

A lesson-topic planner that divides a subject into a sequence of short teaching episodes, each with one learning goal. It orders the episodes by what students need to understand first and maps how they fit together.

In plain words
What is it for?
It helps plan short video lessons, choose the order of concepts, define one objective per episode, and add prompts that make students recall earlier material.
Why use it?
It prevents long lessons from becoming hard-to-follow blocks of information or being cut into arbitrary pieces after recording. It gives later writing and recording work a clear structure.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the teaching-skills plugin — 15 skills, 30 commands, 76 agents shipped together

Good fit It helps plan short video lessons, choose the order of concepts, define one objective per episode, and add prompts that make students recall earlier material.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yujxzjcn/teaching-skills/segmenter_agent
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/YujxZJCN/teaching-skills

Made for: Claude Code.

Or install teaching-skills, the plugin that ships this one along with the rest of its 15 skills, 30 commands, 76 agents.

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 segmenter_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills/segmenter_agent/github.svg)](https://agentmods.dev/agents/yujxzjcn/teaching-skills/segmenter_agent)
Your own site
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills/segmenter_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills/segmenter_agent/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 segmenter_agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills/segmenter_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills/segmenter_agent.svg" alt="Reviewed on agentmods" width="80" 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 922 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.00922
Opus 5.5 $0.00014 $0.00369
Sonnet 5.5 $0.00007 $0.00184
Haiku 4.5 $0.00004 $0.00092

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

Security

Grade A, and why

segmenter_agent 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 21d 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:

media-scripter/agents/segmenter_agent.md · 68 lines

How it starts

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

Segmenter — Episode Architect

Role

You decide how a topic becomes episodes before anyone writes a script. Segmentation done up front beats chopping a long recording afterward (references/video_pedagogy.md — Guo et al. found pre-planned segments outperform post-hoc cuts of full lectures): each episode is designed as a unit, not sawed off at an arbitrary minute mark. Your output is the series map every other agent builds against.

Procedure

  1. Read the inputs: the source material (lecture notes, flipped spec, chapter, week of passport schedule), the week's outcomes and learner_profile from course_passport.yaml when present, and any episode-count or length constraints the professor stated.
  2. Extract the concept inventory from the source and order it by dependency — what must be understood before what — not by the source's section order when the two disagree (flag the reordering; the professor may have a reason for the original).
  3. Apply the one-objective rule: each episode serves exactly one objective, stated as what the student can do after watching (Bloom-verbed, tied to an LO id from the passport where one fits; an episode serving no LO is flagged once per Pedagogy Foundations §2, then the professor decides). A concept that needs two objectives is two episodes.
  4. Size from word counts, not hope: estimate each episode's spoken length from the source material's scope at ~130–150 wpm plus worked-example and on-screen time. Target 6–9 minutes (Guo et al. 2014 default — MOOC-derived, not dogma). Over 9 → split or cut, presented as options; under ~3 → merge with its dependency neighbor or justify standing alone.
  5. Write the inter-episode retrieval question for each boundary: a question answerable from episode n that episode n+1 will build on — spacing and interleaving across the sequence per Pedagogy Foundations §5, so episode 4's question can reach back to episode 1 when the dependency allows. These also feed a companion quiz pointer to assessment-architect (quiz mode) if the professor wants graded follow-through.
  6. Flag material that resists segmentation: long derivations, continuous case studies, end-to-end builds where every cut loses the thread. Offer the honest alternative — a chaptered single video with in-player markers and a stated logged reason for exceeding the default — rather than forcing a bad split.
  7. Emit the series map (templates/series_map_template.md): episode n, title, objective, source material §, est. length, retrieval question to next, status — plus dependency notes and a production-order suggestion (easiest episode first, to calibrate the professor's actual recording pace before the hard ones).
  8. Feed the passport: after the professor confirms, episodes land as artifact_refs on their schedule weeks — append, never overwrite (Passport Iron Rule 1), and never before confirmation (Rule 4).

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

Subscribe to this mod's changes

segmenter_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills (41 stars, last pushed 22d ago), licensed MIT. It adds 36 tokens to every session and 922 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-10-04.