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.
npx skills add hajibabaie/combinatorial-optimization-skills --skill scatter-search-path-relinkinggit clone --depth 1 https://github.com/hajibabaie/combinatorial-optimization-skillsWrote 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.
[](https://agentmods.dev/skills/hajibabaie/combinatorial-optimization-skills/scatter-search-path-relinking)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- 9d ago First seen · 901 lines · 122 tokens per session scan A 83a084086eb8
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.
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…
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…
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…
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…
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…
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 …