Entry point for the analogy toolkit. An agent skill from human-avatar/skills-for-humanity.

MITAuto-check passed

Install S4h Analogy

skills CLI
$ npx skills add human-avatar/skills-for-humanity --skill s4h-analogy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install human-avatar/skills-for-humanity s4h-analogy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/human-avatar/skills-for-humanity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/s4h-analogy .claude/skills/s4h-analogy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
s4h-analogy
GitHub stars
231
Token cost
~1.3k tokens
SKILL.md length
648 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Entry point for the analogy toolkit. An agent skill from human-avatar/skills-for-humanity.

  • You say analogy
  • SKILL.md covers Which tool fits, Routing Decision, Confirm Direction and Boundary Testing, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Is this like that

What it does

S4h Analogy is an agent skill from human-avatar/skills-for-humanity. Entry point for the analogy toolkit. Routes to the right analogy skill based on your situation. Use when you say 'analogy', 'is this like that', 'find a comparison', 'import a solution from elsewhere', 'fresh eyes on this', 'where does this metaphor break', or want analogical reasoning applied without knowing which specific tool fits.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Structured reasoning methodologies from history's most rigorous thinkers, packaged as Claude Code skills. The licence is MIT.

When your agent uses it

  • You say analogy
  • Is this like that
  • Find a comparison
  • Import a solution from elsewhere

Example prompts

  • “analogy”
  • “is this like that”
  • “find a comparison”
  • “/s4h-analogy”

What it can do on your machine

Read from SKILL.md and the folder at commit a30df8b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

S4h Analogy loads about 1.3k tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 648 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from human-avatar/skills-for-humanity at commit a30df8b, republished under its MIT licence (© human-avatar). 648 words, ~1,307 tokens.

Download SKILL.mdSave it as .claude/skills/s4h-analogy/SKILL.md (or your agent's skills folder).
name
s4h-analogy
description
Entry point for the analogy toolkit. Routes to the right analogy skill based on your situation. Use when you say 'analogy', 'is this like that', 'find a comparison', 'import a solution from elsewhere', 'fresh eyes on this', 'where does this metaphor break', or want analogical reasoning applied without knowing which specific tool fits.

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 downboundary-testing
Import solutions from a completely different domaindomain-transfer
Approach a problem through a different field's lensperspective-shifting
Test the structural correspondence between two situationsstructure-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

Proceed based on their selection.


Boundary Testing

Finds where an analogy breaks down before it's relied upon.

Name the analogy explicitly: A is like B because [shared properties]. Now systematically test each dimension of the comparison. For each shared property: does it actually hold? What differences exist? Find the dimension where the analogy fails in a way that matters for the decision at hand. Analogies fail silently — the damage happens when decisions are made on a mapping that doesn't hold in the relevant dimension.

Output: Analogy map (what holds, what doesn't), the specific dimension of failure, and what decisions should not rely on this analogy.


Show full SKILL.md (248 more words)Show less

Domain Transfer

Imports solutions from unrelated domains by finding structural similarities.

Name the core structure of the problem: what kind of challenge is this underneath the surface details? Search for domains that have solved structurally similar problems — often in completely unrelated fields (biology for network design, military strategy for resource constraints, jazz for improvisational systems). For each candidate domain: what was the solution? How does it map back?

Output: Core problem structure, candidate domains with solved analogues, and specific solutions mapped back to the original problem.


Perspective Shifting

Approaches a problem through a completely different field's lens.

Name the home domain — the expertise lens being applied by default. Now select 2-3 radically different fields: what would a [biologist / game designer / urban planner / etc.] see when looking at this? Apply each lens genuinely, not superficially. The goal is to surface assumptions invisible from inside the home domain.

Output: Per-lens analysis — what each field notices, what assumptions it challenges, what solutions it suggests that the home domain wouldn't.


Structure Mapping

Identifies the deep structural correspondence between two situations.

List the elements of situation A. List the elements of situation B. For each element in A: does a corresponding element exist in B? Are the relationships between elements preserved? Test whether the mapping is genuine isomorphism or just surface similarity. Surface similarity fails on deeper structure; genuine isomorphism predicts behavior accurately.

Output: Element-by-element correspondence table, relationship preservation check, verdict on whether the analogy is structurally valid, and what the mapping predicts.

© human-avatar, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/s4h-analogy of human-avatar/skills-for-humanity.

Open the folder on GitHubat commit a30df8b

Compare with similar skills

S4h Analogy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

S4h Analogy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
S4h Analogy this skillhuman-avatar/skills-for-humanity231—~1.3kAutomated safety check: PassMIT
Smart Contract Entry Point Analyzertrailofbits/skills7.5k1 repos~2.4kAutomated safety check: NotesCC-BY-SA-4.0
HyperFrames Video Entry Pointheygen-com/hyperframes60k3 repos~5.2kAutomated safety check: PassApache-2.0
OmniRoute Routing CLIdiegosouzapw/OmniRoute75k—~342Automated safety check: PassMIT
OmniRoute Combo Routingdiegosouzapw/OmniRoute75k—~2.1kAutomated safety check: PassMIT
Intelligence Routeruvnet/ruflo74k—~874Automated safety check: NotesMIT

Similar skills

  • Official

    Maps the state-changing entry points of a smart contract codebase and sorts them by access level, producing a structured audit report that leaves out read-only functions.

    7.5k GitHub starsUsed in 1 repo~2.4k tokens
    SecurityAuto-check: notes
  • HyperFrames Video Entry Point

    heygen-com/hyperframes

    Entry point for making, editing and rendering videos from HTML compositions with HyperFrames, routing each request to the right workflow.

    60k GitHub starsUsed in 3 repos~5.2k tokens
    Media & CreativeAuto-check passed
  • OmniRoute Routing CLI

    diegosouzapw/OmniRoute

    Creates, switches, and inspects OmniRoute model-routing combos, plus a suggestion command with cost and latency constraints.

    75k GitHub stars~342 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • OmniRoute Combo Routing

    diegosouzapw/OmniRoute

    Manages OmniRoute routing combos through its REST API: create and update combos, choose from 19 strategies, set fallback chains, test outcomes and read metrics.

    75k GitHub stars~2.1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Intelligence Route

    ruvnet/ruflo

    Route tasks via the 3-tier model selector and learned patterns; emits a routing rationale via hooksexplain

    74k GitHub stars~874 tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • SenseNova PPT Entry

    OpenSenseNova/SenseNova-Skills

    Entry point for SenseNova presentation generation: creates a task folder, picks depth, output format and design richness, and routes to the right PPT skill.

    5.7k GitHub stars~2.7k tokensUpdated 2 days ago
    Documents & OfficeAuto-check: notes

More from human-avatar/skills-for-humanity

All 11 skills in this repo
  • S4H Reasoning Orchestrator

    human-avatar/skills-for-humanity

    Takes a situation described in plain English, designs a short sequence of reasoning skills for it and runs them in order, each building on the last.

    231 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Ethics Council

    human-avatar/skills-for-humanity

    Runs a decision or policy question past five ethical frameworks, has them review one another, and returns a chair's synthesis of which values conflict.

    231 GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • S4h Logic Council

    human-avatar/skills-for-humanity

    Run a reasoning problem, argument, plan, or decision through a council of 5 logical reasoning advisors who analyze it from distinct reasoning frameworks, peer-review each other, and synthesize a…

    231 GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed
  • S4h Aesthetic

    human-avatar/skills-for-humanity

    Entry point for the aesthetic toolkit. An agent skill from human-avatar/skills-for-humanity.

    231 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • S4h Aesthetic Coherence Check

    human-avatar/skills-for-humanity

    Tests whether the parts of something form a unified whole — finding the jarring inconsistencies that accumulate when different contributors work without a shared vision.

    231 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • S4h Aesthetic Elegance Testing

    human-avatar/skills-for-humanity

    Tests whether a solution is more complex than it needs to be — distinguishing necessary complexity from accidental complexity that accreted over time.

    231 GitHub stars~1.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about S4h Analogy

What does S4h Analogy do?

Entry point for the analogy toolkit. An agent skill from human-avatar/skills-for-humanity. S4h Analogy is an agent skill from human-avatar/skills-for-humanity. Entry point for the analogy toolkit.

When should I use S4h Analogy?

S4h Analogy fits situations like: you say analogy; is this like that; find a comparison; import a solution from elsewhere.

How do I install S4h Analogy in Claude Code?

Run `npx skills add human-avatar/skills-for-humanity --skill s4h-analogy -a claude-code`. Or copy the skill folder (skills/s4h-analogy in human-avatar/skills-for-humanity) into .claude/skills/s4h-analogy in your project. Claude Code loads it when a task matches its description.

How do I install S4h Analogy in Codex?

Run `npx skills add human-avatar/skills-for-humanity --skill s4h-analogy -a codex`. Or copy the skill folder (skills/s4h-analogy in human-avatar/skills-for-humanity) into .agents/skills/s4h-analogy in your project. Codex loads it when a task matches its description.

Can I use S4h Analogy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add human-avatar/skills-for-humanity --skill s4h-analogy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/s4h-analogy, .gemini/skills/s4h-analogy, .github/skills/s4h-analogy and .opencode/skills/s4h-analogy in your project.

What does S4h Analogy need to run?

SKILL.md names no scripts, command-line tools or credentials: S4h Analogy is instructions for the agent only.

Does S4h Analogy access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is S4h Analogy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does S4h Analogy use?

S4h Analogy is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does S4h Analogy use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to S4h Analogy?

Skills that share tags, products or a category with S4h Analogy: Smart Contract Entry Point Analyzer (trailofbits/skills, 7.5k stars), HyperFrames Video Entry Point (heygen-com/hyperframes, 60k stars), OmniRoute Routing CLI (diegosouzapw/OmniRoute, 75k stars) and OmniRoute Combo Routing (diegosouzapw/OmniRoute, 75k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains S4h Analogy?

human-avatar (a GitHub organization) maintains it in human-avatar/skills-for-humanity, which has 231 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on July 15, 2026.

Source: human-avatar/skills-for-humanity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.