account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
\"Implement Gale-Shapley stable matching algorithm for two-sided matching problems. Use this skill when the user needs to match candidates to positions, assign students to schools, or solve any two-sided preference matching — even if they say 'optimal job matching', 'stable
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-hr-matching --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/algo-hr-matchingContext preview
The summary Claude sees to decide when to auto-load this skill.
\"Implement Gale-Shapley stable matching algorithm for two-sided matching problems. Use this skill when the user needs to match candidates to positions, assign students to schools, or solve any two-sided preference matching — even if they say 'optimal job matching', 'stable
name: "\"algo-hr-matching\"" description: "\"Implement Gale-Shapley stable matching algorithm for two-sided matching problems. Use this skill when the user needs to match candidates to positions, assign students to schools, or solve any two-sided preference matching — even if they say 'optimal job matching', 'stable assignment', or 'candidate-position pairing'.\"." allowed-tools: Read, Glob, Grep
Gale-Shapley (deferred acceptance) finds a stable matching between two equally-sized sets where no unmatched pair prefers each other over their current match. Runs in O(n²) worst case. Proposer-optimal: the proposing side gets their best stable partner.
**Trigger conditions:**
**When NOT to use:**
IRON LAW: The Proposing Side Gets Their BEST Stable Partner Gale-Shapley is proposer-optimal and reviewer-pessimal. If employers propose, they get their best stable match; candidates get their worst. The CHOICE of who proposes determines which stable matching is found.
Collect: preference rankings from both sides. Each participant ranks all members of the other side. **Gate:** Complete preference lists, equal-sized groups (or handle unequal with dummy entries).
1. All proposers are "free" (unmatched) 2. While any proposer is free and hasn't proposed to everyone:
3. Terminate when all proposers are matched
Check stability: for every unmatched pair (a,b), verify that at least one of them prefers their current match over the other. No blocking pairs = stable. **Gate:** Zero blocking pairs found.
Return matching with stability confirmation.
{
"matching": [{"proposer": "Candidate_A", "reviewer": "Company_X", "proposer_rank": 1, "reviewer_rank": 2}],
"metadata": {"pairs": 10, "rounds": 23, "blocking_pairs": 0, "proposer_side": "candidates"}
}**Input:** 3 candidates, 3 companies, each with full preference rankings **Expected:** Stable matching with zero blocking pairs. Candidate-proposing gives candidate-optimal result.
| Input | Expected | Why | |-------|----------|-----| | All prefer same #1 | Still terminates, stable | Rejected proposers move to next choice | | Identical preferences | Unique stable matching | Only one possibility | | Unequal sides | Some unmatched on larger side | Add dummy entries or use many-to-one variant |
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM.…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when shipping agent features,…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining tools for agents, SDKs, or…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the user needs to choose a bidding…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict click probability, build an ad…