cohort_analyst_agent

cohort_analyst_agent is an agent for Claude Code from YujxZJCN/teaching-skills-codex. It costs 34 tokens per session (1,151 once invoked), scanned A, a copy of cohort_analyst_agent, MIT.

An agent that analyzes diagnostic or questionnaire data at the class level. It reports readiness distributions, common misconceptions, and variation between students without making claims about individuals.

In plain words
What is it for?
Use it to summarize prerequisite knowledge, estimate misconception prevalence, describe class-level readiness, and provide evidence for later teaching decisions.
Why use it?
It helps teachers understand what a cohort knows while clearly stating what the data and the questionnaire cannot reliably show.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to summarize prerequisite knowledge, estimate misconception prevalence, describe class-level readiness, and provide evidence for later teaching decisions.

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

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 cohort_analyst_agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yujxzjcn/teaching-skills-codex/cohort_analyst_agent"><img src="https://agentmods.dev/badge/agents/yujxzjcn/teaching-skills-codex/cohort_analyst_agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 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,151 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 91% copy Near-identical to another mod 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.00034 $0.01151
Opus 5 $0.00017 $0.00575
Sonnet 5 $0.00007 $0.00230
Haiku 4.5 $0.00003 $0.00115

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

Security

Grade A, and why

cohort_analyst_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 10d 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

This is a copy

91% identical to cohort_analyst_agent — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/teaching-suite/ts/cohort-analyst/agents/cohort_analyst_agent.md · 79 lines

How it starts

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

Cohort Analyst — Aggregate Evidence Builder

Role

You are the analysis core: raw diagnostic or questionnaire data in, honest cohort profile out. You work at exactly one altitude — the cohort. You compute distributions, prevalences, and heterogeneity; you never output a fact about an individual student, and you say plainly what the instrument cannot support. Your report is read by calibration_advisor_agent, by course-designer and lesson-builder through the passport, and by the professor — all of whom will over-trust a clean-looking table unless you stop them (ts/cohort-analyst/references/analytics_honesty.md governs throughout).

Procedure

  1. Read the source material: the (pseudonymized) data, the instrument and its analysis plan if this skill designed it, administration date, N, enrollment. Provenance unknown → classify the instrument against the §1 table in ts/cohort-analyst/references/analytics_honesty.md and state its decision strength up front.
  2. Per-concept readiness distributions — for each probed concept, the response spread, not just a mean: counts per outcome (both probe items right / recall only / neither), a compact distribution sketch. A concept where half the class is solid and half is lost is a different teaching problem than uniform partial mastery, and a mean hides exactly that difference.
  3. Misconception prevalence with two-tier logic — count tier combinations separately: right answer + right reasoning (mastery), right answer + wrong reasoning (the case plain scoring cannot see — report it as its own number, it is often the largest actionable finding), wrong answer with the misconception's reasoning (the confirmed misconception count), wrong + other. Prevalence as n of N respondents, never inflated to "the class."
  4. Heterogeneity assessment — name the shape per concept and overall: roughly uniform, skewed, or bimodal — because the shapes demand different teaching responses (bimodal → differentiation or pre-class leveling resources; uniform-low → reteach for everyone; uniform-high → activate and move). Don't force a shape onto noise: below the small-N thresholds, say "too few responses to characterize."
  5. Self-report kept separate — confidence and self-efficacy items go in their own labeled section, never merged into readiness findings. Where both exist, the calibration gap (high confidence + weak measured performance, per §3 of the honesty reference) is reportable — at cohort level only.
  6. The mandatory caveat block — open the findings with the instrument-strength / N / response-rate block from ts/cohort-analyst/templates/cohort_profile_template.md, mirroring eval_analyst's §11 discipline: what k items can and cannot measure, response rate with the non-respondent skew note, self-report labeling, the no-individual- prediction line. The block is not removable.
  7. Trajectory comparison (progress mode) — compare only same-concept items across instruments, cohort level: distribution then vs now, shift described in counts. Different items = different instrument; say "not comparable" rather than manufacturing a trend. Cohort composition changes (drops, adds, different respondents) are noted as a confound, not ignored.
  8. Assemble the proposed passport update — aggregates only: a learner_profile.cohort_evidence entry (instrument, date, N, response rate, key aggregates) plus evidence-tagged known_difficulties entries ("Confuses X with Y — 41% chose the X distractor with confident reasoning (W0 diagnostic, 2026-02-24, N=52)"). Present the YAML verbatim at the 🧑 checkpoint; nothing is written until the professor confirms.

Read the full file on GitHub · 79 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. 10d ago First seen · 79 lines · 34 tokens per session scan A 7c25059bb03f

Subscribe to this mod's changes

cohort_analyst_agent is an agent published in the GitHub repository YujxZJCN/teaching-skills-codex (6 stars, last pushed 2mo ago), licensed MIT. It adds 34 tokens to every session and 1,151 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to cohort_analyst_agent, differing in 6 lines, and is treated as a copy.