s4h-analogy

s4h-analogy is a skill for Claude Code from human-avatar/skills-for-humanity. It costs 77 tokens per session (1,050 once invoked), scanned A, original, MIT.

A routing skill for choosing the right kind of analogy-based problem solving. It directs a request toward analogy testing, transferring ideas between fields, changing perspective, or comparing structures.

In plain words
What is it for?
Use it when you want to find a comparison, import a solution from elsewhere, get an outside perspective, or check whether two situations have the same underlying structure.
Why use it?
It removes the need to know which analogy technique fits your situation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the skills-for-humanity plugin — 197 skills, 1 hook shipped together

Good fit Use it when you want to find a comparison, import a solution from elsewhere, get an outside perspective, or check whether two situations have the same underlying structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/human-avatar/skills-for-humanity/s4h-analogy
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 human-avatar/skills-for-humanity --skill s4h-analogy
Clone the repo
git clone --depth 1 https://github.com/human-avatar/skills-for-humanity

Made for: Claude Code.

Or install skills-for-humanity, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

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 s4h-analogy

README.md
[![agentmods](https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-analogy/github.svg)](https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-analogy)
Your own site
<a href="https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-analogy"><img src="https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-analogy/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 s4h-analogy

Your own site · 80×15
<a href="https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-analogy"><img src="https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-analogy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,050 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00077 $0.01050
Opus 5 $0.00039 $0.00525
Sonnet 5 $0.00015 $0.00210
Haiku 4.5 $0.00008 $0.00105

Measured 13d ago against content hash 0ac07218086f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

s4h-analogy 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 13d 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/s4h-analogy/SKILL.md · 90 lines

How it starts

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

Analogy

Applies analogical reasoning to any problem. Diagnoses what kind of analogy work is needed and applies the right tool.

Which tool fits

You need to... Tool
Find where an existing analogy or metaphor breaks down boundary-testing
Import solutions from a completely different domain domain-transfer
Approach a problem through a different field's lens perspective-shifting
Test the structural correspondence between two situations structure-mapping

Routing Decision

  • Already using an analogy and want to stress-test it → boundary-testing
  • Stuck on a problem, want to find who's solved something like it elsewhere → domain-transfer
  • Need fresh eyes from an expert in a different field → perspective-shifting
  • Want to know if two situations are genuinely structurally similar → structure-mapping
  • Unclear → structure-mapping first (establishing the analogy rigorously), then boundary-testing (finding where it fails)

Framing check: Confirm the specific analogy situation before routing. State what you've identified — the analogy or problem being examined and the goal (stress-test, import solutions, shift perspective, or validate structure) — in one sentence, then use AskUserQuestion:

  • Question: "I'm reading this as: [your one-sentence framing of the analogy situation and goal]. Is that right?"
  • Header: "Framing"
  • Options:
    • Yes — proceed — framing is correct
    • Adjust — one element is off; user will correct it before you continue
    • Reframe — different situation than read; incorporate the correction before proceeding

Confirm Direction

After diagnosing which tool fits, use the AskUserQuestion tool to confirm direction. Construct the question dynamically to include your diagnosis:

  • Question: "My read: [diagnosed tool] — [one sentence on why it fits]. How would you like to proceed?"
  • Header: "Direction"
  • Options:
    • Yes, run that tool — Execute the diagnosed skill immediately using the context already provided
    • Show all options — List every skill in this category with one-line descriptions
    • Quick version — Run a lighter-weight alternative if one exists for this situation
    • Re-diagnose — Revisit the situation description for a different read

Read the full file on GitHub · 90 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. 13d ago First seen · 90 lines · 77 tokens per session scan A 0ac07218086f

Subscribe to this mod's changes

s4h-analogy is a skill published in the GitHub repository human-avatar/skills-for-humanity (223 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 1,050 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

decision-making-under-pressure

Provides practical habits for making better decisions faster -- reframing problems before solving them, knowing when to stop deliberating, balancing intuition with analysis, resisting 'just this once' compromises, and breaking overthinking cycles. Use when facing a high-stakes choice with incomplete data, sensing that…

fatihguner/foreman · 95 tokens

flow-state

Optimizes individual and team productivity using Csikszentmihalyi's flow state framework, covering the conditions for flow (clear goals, immediate feedback, challenge-skill balance), the four-stage flow cycle, and organizational flow design. Use when auditing personal or team focus time, diagnosing productivity loss…

fatihguner/foreman · 96 tokens

stoic-right-action

Applies Stoic ethics of right action to entrepreneurial decision-making, covering the four cardinal virtues (courage, justice, temperance, wisdom), ethical leadership under pressure, and the discipline of choosing the harder right over the easier wrong. Use when facing ethical dilemmas in business, building a…

fatihguner/foreman · 89 tokens

bakeoff

Turn one decision into a judged tournament of solutions, then pick the best. Given a problem, design choice, or a suggestion you want cross-verified, it generates diverse candidate solutions, auto-derives the evaluation dimensions for THAT problem (so you don't have to know what to score on), judges every candidate…

CoriChui/bakeoff · 330 tokens

balanced-scorecard

Translate strategy into metrics across Financial, Customer, Internal Process, and Learning & Growth perspectives.

tupe12334/instinct · 22 tokens

customer-journey-map

Visualize every touchpoint a customer has with a product or service — stages, actions, emotions, pain points, opportunities.

tupe12334/instinct · 31 tokens