scatter-search-path-relinking

scatter-search-path-relinking is a skill for Claude Code from hajibabaie/combinatorial-optimization-skills. It costs 122 tokens per session (10,566 once invoked), scanned A, original, MIT.

A guide to scatter search and path relinking, methods that combine good and deliberately different solutions to explore a search problem. Path relinking improves one strong solution by gradually moving it toward another.

In plain words
What is it for?
Use it to manage elite solution sets, measure solution differences, combine candidate solutions, and intensify search between good results.
Why use it?
It helps optimization searches avoid repeatedly finding similar solutions and focus more effort on promising regions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the combinatorial-optimization plugin — 76 skills shipped together

Good fit Use it to manage elite solution sets, measure solution differences, combine candidate solutions, and intensify search between good results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking
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 hajibabaie/combinatorial-optimization-skills --skill scatter-search-path-relinking
Clone the repo
git clone --depth 1 https://github.com/hajibabaie/combinatorial-optimization-skills

Made for: Claude Code.

Or install combinatorial-optimization, the plugin that ships this one along with the rest of its 76 skills.

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 scatter-search-path-relinking

README.md
[![agentmods](https://agentmods.dev/badge/skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking/github.svg)](https://agentmods.dev/skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking)
Your own site
<a href="https://agentmods.dev/skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking"><img src="https://agentmods.dev/badge/skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking/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 scatter-search-path-relinking

Your own site · 80×15
<a href="https://agentmods.dev/skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking"><img src="https://agentmods.dev/badge/skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,566 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.00122 $0.10566
Opus 5 $0.00061 $0.05283
Sonnet 5 $0.00024 $0.02113
Haiku 4.5 $0.00012 $0.01057

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

Security

Grade A, and why

scatter-search-path-relinking 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 9d 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/scatter-search-path-relinking/SKILL.md · 901 lines

How it starts

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

Scatter Search and Path Relinking

You are an expert in memory-based metaheuristics, specializing in scatter search and path relinking. This skill covers the five-method scatter search template — diversification generation, improvement, reference set update, subset generation, solution combination — and path relinking as an intensification mechanism between elite solutions, both standalone and inside GRASP or tabu search. Use the framework below to decide when these methods fit, implement them in clean numpy, and report results that withstand reviewer scrutiny.

Initial Assessment

Establish the following before proposing or writing any code:

  • Representation and distance. What is a solution (binary vector, permutation, assignment), and what dissimilarity metric is natural (Hamming, swap distance)? Scatter search needs an explicit distance for the diversity half of the RefSet; path relinking needs a move that brings a solution one unit closer to a guiding solution — if no such move exists, the method does not apply.
  • Objective sense. Minimization or maximization; fix one convention internally and convert at the boundary. Sign errors in admission rules are the most common scatter search bug.
  • Improvement method. Which local search improves trial solutions, and what one descent costs — scatter search calls it on every combined trial; budget it. The QAP example below shows the delta-evaluation pattern.
  • Feasibility along paths. Can intermediate solutions on a relinking path be infeasible? Decide up front: restrict moves to feasible ones, allow infeasible steps and record only feasible interiors, or repair every candidate.
  • Elite source. Full scatter search, or path relinking bolted onto an existing method (GRASP, tabu search, a GA) that already collects elites? The second is far cheaper to add and often captures most of the benefit.
  • Instance size. Solution length n, reference set size b, and pool size P determine the per-round cost: O(b^2) combinations, each followed by an improvement run.
  • Time budget, stopping rule, quality requirement. Wall-clock or evaluation budget; how many rebuild rounds it allows; target gap to best-known values; single best solution or a distribution over seeds.
  • Exact-vs-heuristic need. If a MIP solver closes the gap within the budget, solve exactly; use these methods for larger instances or as warm starts.
  • Baselines. Plain multi-start with the same improvement method is the honest baseline; a GA at the same budget is the standard population comparison.
  • Reproducibility. One np.random.default_rng(seed) per run; record seeds, reference set sizes, and admission rules in every result table.

Read the full file on GitHub · 901 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. 9d ago First seen · 901 lines · 122 tokens per session scan A 83a084086eb8

Subscribe to this mod's changes

scatter-search-path-relinking is a skill published in the GitHub repository hajibabaie/combinatorial-optimization-skills (7 stars, last pushed 3mo ago), licensed MIT. It adds 122 tokens to every session and 10,566 once invoked, about $0.0006 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-09-03.

Related

Other skills, from other repositories

design-everyday-things

Apply foundational design principles: affordances, signifiers, constraints, feedback, and conceptual models. Use when the user mentions "why is this confusing", "affordance", "error prevention", "discoverability", "human-centered design", "mental model", "mapping", "seven stages of action", "users keep making…

wondelai/skills · 132 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

crossing-the-chasm

Navigate the technology adoption lifecycle from early adopters to mainstream market. Use when the user mentions "crossing the chasm", "beachhead segment", "whole product", "early adopters vs mainstream", "tech go-to-market", "bowling pin strategy", "technology adoption lifecycle", "pragmatist buyers", "growth stalled…

wondelai/skills · 139 tokens

hooked-ux

Design habit-forming product loops using the Hook Model (Trigger, Action, Variable Reward, Investment). Use when the user mentions "users arent coming back", "habit formation", "engagement loops", "habit zone", or "the manipulation matrix". Also trigger when designing notification or re-engagement strategies, building…

wondelai/skills · 109 tokens

traction-eos

Implement the Entrepreneurial Operating System (EOS) to align vision and execution across a company. Use when the user mentions "EOS", "Entrepreneurial Operating System", "V/TO", "quarterly rocks", "Level 10 meetings", "accountability chart", "IDS process", "my company feels chaotic", "we keep having the same…

wondelai/skills · 147 tokens

architecture-optimization

Guided journey from a working codebase grown slow and tangled to one measurably fast, cleanly bounded, and readable. Orchestrates eight skills phase by phase - working-with-legacy-code, clean-architecture, software-design-philosophy, refactoring-patterns, system-design, ddia-systems, release-it, pragmatic-programmer …

wondelai/skills · 226 tokens