learn-alternatives

learn-alternatives is a skill for Claude Code from FlorianBruniaux/claude-code-plugins. It costs 13 tokens per session (1,225 once invoked), scanned A, original, MIT.

A learning aid that compares several ways to solve the same programming problem. It explains what each approach is, when to use it, its advantages and disadvantages, and gives a recommendation.

In plain words
What is it for?
Use it to compare authentication methods, state-management options, or other approaches, with optional detailed explanations and code examples.
Why use it?
It makes trade-offs easier to understand when more than one design or technology could work. This helps you choose deliberately instead of relying on the first familiar option.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the session-tools plugin — 7 skills, 1 agent, 1 plugin shipped together

Good fit Use it to compare authentication methods, state-management options, or other approaches, with optional detailed explanations and code examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/florianbruniaux/claude-code-plugins/learn-alternatives
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.

Any agent
npx skills add FlorianBruniaux/claude-code-plugins --skill learn-alternatives
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Made for: Claude Code.

Or install session-tools, the plugin that ships this one along with the rest of its 7 skills, 1 agent, 1 plugin.

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 learn-alternatives

README.md
[![agentmods](https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/learn-alternatives/github.svg)](https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/learn-alternatives)
Your own site
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/learn-alternatives"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/learn-alternatives/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 learn-alternatives

Your own site · 80×15
<a href="https://agentmods.dev/skills/florianbruniaux/claude-code-plugins/learn-alternatives"><img src="https://agentmods.dev/badge/skills/florianbruniaux/claude-code-plugins/learn-alternatives.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,225 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.00013 $0.01225
Opus 5.5 $0.00005 $0.00490
Sonnet 5.5 $0.00003 $0.00245
Haiku 4.5 $0.00001 $0.00122

Measured yesterday against content hash 473eae719e6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

learn-alternatives 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 yesterday.

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/session-tools/skills/learn-alternatives/SKILL.md · 200 lines

How it starts

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

Show alternatives

Compare different approaches to solve the same problem.

Usage

/learn:alternatives              # Compare approaches for current code
/learn:alternatives auth         # Compare authentication methods
/learn:alternatives state        # Compare state management options
/learn:alternatives --detailed   # Include code examples for each

Instructions

  1. Identify the problem being solved (from context or argument)
  2. Present 3-5 alternative approaches
  3. For each approach, explain:
    • What it is (one sentence)
    • When to use it
    • Trade-offs (pros/cons)
  4. Provide a recommendation based on context
  5. Optionally show code examples for top choices

Response format

## Problem: [What we're trying to solve]

### Approach 1: [Name]

**What**: [One-sentence description]

**When to use**:
- [Scenario 1]
- [Scenario 2]

**Pros**: [List]
**Cons**: [List]

---

### Approach 2: [Name]
...

---

## Comparison Table

| Criteria | Approach 1 | Approach 2 | Approach 3 |
|----------|------------|------------|------------|
| Complexity | Low | Medium | High |
| Performance | ★★☆ | ★★★ | ★★☆ |
| Bundle size | Small | Medium | Large |
| Learning curve | Easy | Medium | Steep |

## Recommendation

**For your case**: [Recommended approach] because [reason based on context]

**Consider instead if**: [Alternative scenarios]

Comparison criteria

Standard criteria to evaluate (adjust based on problem):

Criteria Description
Complexity How hard to implement and maintain
Performance Runtime speed, memory usage
Bundle size Impact on frontend bundle
Learning curve Time to understand and use correctly
Flexibility Ease of extending or modifying
Community Documentation, ecosystem, support
Testing How easy to test
Type safety TypeScript support quality

Depth modes

Default

  • 3-4 alternatives
  • Brief description each
  • Comparison table
  • Recommendation

Read the full file on GitHub · 200 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. yesterday First seen · 200 lines · 13 tokens per session scan A 473eae719e6a

Subscribe to this mod's changes

learn-alternatives is a skill published in the GitHub repository FlorianBruniaux/claude-code-plugins (43 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 1,225 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-29.

Related

Other skills, from other repositories

pentest-ctf

CTF (Capture the Flag) challenge solving advisory — HackTheBox, TryHackMe, PicoCTF, web/pwn/rev/crypto/forensics. Triggers on CTF, HackTheBox, HTB, TryHackMe, THM, PicoCTF, OverTheWire, pwn, reverse engineering, crypto challenge, forensics challenge, stego.

fatihkan/badi · 84 tokens

stride-analysis-patterns

Apply STRIDE methodology to systematically identify threats. Use when analyzing system security, conducting threat modeling sessions, or creating security documentation.

sangrokjung/claude-forge · 30 tokens

career-path-planner

Career goal mapping with skill gap analysis, actionable development plans, and milestone tracking. Use when planning career transitions, identifying skill gaps, setting professional development goals, or evaluating career options.

travisjneuman/.claude · 41 tokens

onboarding-guide-creator

New hire onboarding guide generation with role-specific content, structured timelines, and resource organization. Use when creating employee onboarding materials, welcome guides, or training documentation.

travisjneuman/.claude · 37 tokens

blind-spot-pass

Use before starting work in a domain you don't know well, to surface the "unknown unknowns" — the things you don't even know to ask about — and learn just enough to prompt and decide well. Implements the "blind spot pass" pattern from Anthropic's Fable "finding your unknowns" field guide. Triggers when you say "I'm…

sangrokjung/claude-forge · 221 tokens

course-material-creator

Create custom educational materials including syllabi, lesson plans, assessments, reading lists, and learning objectives. Use when building course curricula, training programs, workshops, or educational content.

travisjneuman/.claude · 40 tokens