/core:affinity-mapperfrom core
Run digital affinity mapping on research observations, quotes, or notes — grouping related items into clusters, naming clusters, identifying outliers, and showing relationships. Use when a researcher has a large volume of unstructured observations from interviews, usability tests, survey open-ends, or support tickets that need organizing into meaningful groups. Also triggers on affinity diagram, cluster observations, group research notes, sort findings, thematic clustering, or card sorting analysis. Outputs clustered observations with named groups, outlier highlights, and a relationship map.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Runs digital affinity mapping — groups observations into meaningful clusters.
Accepts observations in any format:
Each observation should be one discrete thought. If the input contains compound observations ("The signup was easy but the dashboard was confusing"), split them into separate items before mapping.
Ensure each input item is:
Read through all observations and create initial clusters based on semantic similarity:
Target 8-15 clusters for a set of 50-100 observations. Fewer than 8 usually means clusters are too broad. More than 20 usually means they're too granular.
Each cluster gets two labels:
Naming rules:
Items that don't fit any cluster are often the most interesting:
Between clusters, identify:
# Affinity Map: [Study/Project Name]
## Overview
- Total observations: [X]
- Clusters identified: [Y]
- Outliers: [Z]
- Sources: [participant count or data sources]
## Cluster Map
### Cluster 1: [Descriptive Name]
**Insight:** [What this cluster reveals]
**Size:** [X] observations
**Sources:** [Which participants/sources contributed]
Observations:
1. "[Observation text]" — [Source]
2. "[Observation text]" — [Source]
3. "[Observation text]" — [Source]
---
### Cluster 2: [Descriptive Name]
[Same structure]
---
## Outliers
These observations didn't fit established clusters but may signal emerging patterns:
1. "[Observation]" — [Source] — **Why it's notable:** [brief note]
2. "[Observation]" — [Source] — **Why it's notable:** [brief note]
## Relationships Between Clusters
| From | To | Relationship | Evidence |
|------|----|-------------|----------|
| Cluster 1 | Cluster 3 | Causes | [Brief explanation] |
| Cluster 2 | Cluster 5 | Contradicts | [Brief explanation] |
| Cluster 1 | Cluster 2 | Precedes (journey) | [Brief explanation] |
## Cluster Hierarchy (if applicable)
If some clusters are sub-groups of a larger theme:
- **[Parent theme]**
- Cluster 1: [Name] ([X] observations)
- Cluster 3: [Name] ([Y] observations)
- **[Parent theme]**
- Cluster 2: [Name] ([X] observations)
This skill does semantic grouping — it clusters items based on the words and concepts they share. But research insight often comes from connections that aren't semantically obvious.
Use this output as a draft, not a finished analysis. The value is that 80% of the sorting is done correctly, freeing the researcher to spend their time on:
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/ask-pmRoutes a product, growth, leadership, founder or career goal to the one to four Lenny skills that fit, loads them, and combines their guidance into one answer. Use when the user types /ask-pm, says ask PM or ask Lenny, asks what Lenny's guests would say, or brings a goal that spans several Lenny skills or does not clearly belong to one. A request that plainly matches a single Lenny skill goes straight to that skill./ask-storyFinds the through line in a pile of notes, thoughts and documents and turns it into a finished piece for a named audience. Asks its questions first, designs a workflow for the ask, then runs it: read the pile against questions, cluster from the evidence up, reduce to one governing idea and its pillars, build the storyline, write the brief, memo, executive summary or deck outline, and audit it. Coordinates the StrategyU skills with affinity-mapper and the strategy and exec-comms skills, in sequence, in parallel or through specialist sub-agents. Use when the user types /ask-story, or has scattered material and wants the thread, the story, the narrative, the pillars or the themes, or wants an argument told to an audience. Building or stress-testing a strategy belongs to ask-strategy. Product, growth and career questions belong to ask-pm./ask-strategyOrchestrates the building and stress-testing of a strategy: frames the problem, names the crux, makes the choices, sets the pillars as things to do and things to stop, and audits the result before it is told. Always asks its routing questions first, then triages to the right installed skill or chain of skills, runs stages in sequence or in parallel, and spawns specialist sub-agents when the work divides. Hands the reading of a pile and the telling of the story to ask-story. Use when the user types /ask-strategy, or asks to write, build, choose, review, grade or stress-test a strategy, a strategy memo or a set of strategic pillars. Finding a through line in scattered material, or writing the brief that tells a settled strategy, belongs to ask-story. Product, growth, hiring and career questions with no strategy in view belong to ask-pm./brief-from-pileTurn a folder of accumulated documents into one decision-ready brief — the skim-map pass over the pile, the extraction against the brief's actual questions, the conflict reconciliation when documents disagree, and the provenance trail back to sources. Use when asked read all this and tell me what matters, synthesize this folder for the new lead, turn these 20 docs into a brief, or what does all this material actually say. Produces the pile map, the question-driven extraction, the reconciled brief with per-claim sources, and the didn't-read honesty ledger./file-and-nameFile an output into the right place under the right name with exactly one authoritative version — covers intake, the naming convention, project folder shape, and superseding older material./minto-pyramidRestructures writing into Barbara Minto's Pyramid Principle — conclusion first, then grouped reasons, then evidence — and audits an existing draft's logic against Minto's rules. Use when the user is writing, or has drafted, something that asks a reader to accept a judgment or make a decision: a recommendation, proposal, exec summary, memo, review with a verdict, or status update with an ask; or when a draft buries its point or narrates the process instead of the finding. Not for incident timelines, runbooks, tutorials, notes, or writing where chronology is the content.npx claudepluginhub benjaminearlevans/skills --plugin core