compare

compare is a skill for Claude Code from yarikleto/claude-teacher-plugin. It costs 36 tokens per session (1,554 once invoked), scanned A, original, MIT.

A study tool for comparing two concepts side by side in a structured table. It also covers use cases, common misunderstandings, and a key takeaway.

In plain words
What is it for?
Use it to compare subjects such as TCP and UDP, REST and GraphQL, Docker and virtual machines, or SQL and NoSQL.
Why use it?
It clarifies differences and similarities when two technologies or ideas are easy to confuse.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-teacher plugin — 15 skills, 5 hooks shipped together

Good fit Use it to compare subjects such as TCP and UDP, REST and GraphQL, Docker and virtual machines, or SQL and NoSQL.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add yarikleto/claude-teacher-plugin
Claude Code
/plugin install claude-teacher

Made for: Claude Code.

Or install claude-teacher, the plugin that ships this one along with the rest of its 15 skills, 5 hooks.

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 compare

README.md
[![agentmods](https://agentmods.dev/badge/skills/yarikleto/claude-teacher-plugin/compare/github.svg)](https://agentmods.dev/skills/yarikleto/claude-teacher-plugin/compare)
Your own site
<a href="https://agentmods.dev/skills/yarikleto/claude-teacher-plugin/compare"><img src="https://agentmods.dev/badge/skills/yarikleto/claude-teacher-plugin/compare/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 compare

Your own site · 80×15
<a href="https://agentmods.dev/skills/yarikleto/claude-teacher-plugin/compare"><img src="https://agentmods.dev/badge/skills/yarikleto/claude-teacher-plugin/compare.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,554 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.01554
Opus 5 $0.00018 $0.00777
Sonnet 5 $0.00007 $0.00311
Haiku 4.5 $0.00004 $0.00155

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

Security

Grade A, and why

compare 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 2d 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.

skills/compare/SKILL.md · 145 lines

How it starts

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

Requested topic/task: $ARGUMENTS

Before accessing education data, read ${CLAUDE_PLUGIN_ROOT}/references/education-data.md. Resolve every <education-db> below using that contract. Current session ID: ${CLAUDE_SESSION_ID}.

Compare — Side-by-Side Concept Comparisons

Creates a structured, researched comparison of two concepts. Adapts depth and language to the student's level. Results are saved to both project-local and global education docs.

Invocation

/claude-teacher:compare <concept A> vs <concept B>

Examples:

  • /claude-teacher:compare TCP vs UDP
  • /claude-teacher:compare REST vs GraphQL
  • /claude-teacher:compare mutex vs semaphore
  • /claude-teacher:compare Docker vs VMs
  • /claude-teacher:compare SQL vs NoSQL

Process

  1. Parse the two concepts from the invocation (prefer vs or versus; ask if the boundary is ambiguous instead of splitting names that contain and)
  2. Read <education-db>/student.json — adapt to level, interests, and learning style
  3. Read <education-db>/dashboard.json — check if either concept is already tracked
  4. If tracked, read <education-db>/topics/<concept>.json for each — check depth, misconceptions
  5. Use WebSearch to research BOTH concepts before writing the comparison — never rely solely on training data. Search for official documentation, authoritative articles, and recent best-practice guides for each concept.
  6. Generate the structured comparison (see Output Format below)
  7. Save comparison to docs and update DB (see DB Update below)

Output Format

Present the comparison in this exact structure:

── Compare: [Concept A] vs [Concept B] ──────────────────

## What they are

**[Concept A]:** [One-line summary]
**[Concept B]:** [One-line summary]

## Side-by-side comparison

| Feature            | [Concept A]       | [Concept B]       |
|--------------------|-------------------|-------------------|
| [Feature 1]        | [Value/behavior]  | [Value/behavior]  |
| [Feature 2]        | [Value/behavior]  | [Value/behavior]  |
| [Feature 3]        | [Value/behavior]  | [Value/behavior]  |
| ...                | ...               | ...               |

Include 5-8 rows covering the most important differentiators.
Adapt column detail to student level (beginner = simpler terms, advanced = precise technical language).

## When to use which

**Choose [Concept A] when:**
- [Concrete scenario 1]
- [Concrete scenario 2]
- [Concrete scenario 3]

**Choose [Concept B] when:**
- [Concrete scenario 1]
- [Concrete scenario 2]
- [Concrete scenario 3]

## Common misconceptions

- **Misconception:** "[common wrong belief]"
  **Reality:** [correction with explanation]

- **Misconception:** "[another common wrong belief]"
  **Reality:** [correction with explanation]

Include 2-4 misconceptions. If the student has recorded misconceptions about either topic, address those FIRST.

## Key takeaway

> [One memorable sentence that captures the essential difference]

**Sources:** [list 2-4 links to official docs, RFCs, or authoritative articles used]

──────────────────────────────────────────────────────────

Read the full file on GitHub · 145 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. 2d ago Changed · +4 lines 1122ef810728
  2. 10d ago First seen · 141 lines · 36 tokens per session scan A f439048cc47b

Subscribe to this mod's changes

compare is a skill published in the GitHub repository yarikleto/claude-teacher-plugin (8 stars, last pushed 3d ago), licensed MIT. It adds 36 tokens to every session and 1,554 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.

Related

Other skills, from other repositories

learn-anything

A source-grounded adaptive tutor that tracks proof of mastery rather than content completion. Use it to learn a topic systematically, build a course from PDFs, webpages, transcripts or notes, practice retrieval and transfer, resume a long-running course, or verify whether the learner can recall and apply what they…

Nar101/learn-anything · 162 tokens

learn-by-ai

Run long-term, evidence-based adaptive learning and reconnect named study requests to local project records across sessions. Use when a learner says to start, continue, or resume learning a subject; for systematic study plans, source-grounded teaching, layered practice, review, or maintaining a knowledge graph and…

iyohesohoka646-dotcom/learn-by-ai · 77 tokens

learning-mode

Guide active, hands-on learning without completing the chosen learning target for the learner. Use when the user explicitly wants to learn, practice, master, or build something themselves with guidance, especially when a technology or concept is new to them. Diagnose the smallest missing prerequisite, guide prediction…

melsayedx/learning-mode · 116 tokens

fyuu-tutor

Operate long-running, document-backed tutoring projects that turn trusted materials or goals into adaptive HTML lessons, practice, and evidence-guided next steps. Use when creating, continuing, reviewing, or handing off a private learning project; auditing source materials; planning a curriculum; generating lessons or…

fyuuwang/fyuu-tutor · 80 tokens

teach

Use when the user wants to learn or be taught a topic interactively over multiple turns, with the agent acting as tutor rather than answer-giver. Triggers on phrases like "teach me", "tutor me", "quiz me", "let's learn", "help me understand X by working through it step by step", or any request framed around learning a…

SebastianElvis/hammer · 192 tokens

deeptutor-cli

Configure, manage, and use DeepTutor through its CLI, including capabilities, knowledge bases, partners, memory, sessions, notebooks, providers, skills, and the server or Web app.

HKUDS/DeepTutor · 42 tokens