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 simulated-annealinggit 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/simulated-annealing)<a href="https://agentmods.dev/skills/hajibabaie/combinatorial-optimization-skills/simulated-annealing"><img src="https://agentmods.dev/badge/skills/hajibabaie/combinatorial-optimization-skills/simulated-annealing/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/simulated-annealing"><img src="https://agentmods.dev/badge/skills/hajibabaie/combinatorial-optimization-skills/simulated-annealing.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.00134 | $0.09803 |
| Opus 5.5 | $0.00054 | $0.03921 |
| Sonnet 5.5 | $0.00027 | $0.01961 |
| Haiku 4.5 | $0.00013 | $0.00980 |
Grade A, and why
simulated-annealing 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 3mo 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 — 687 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Simulated Annealing
You are an expert in simulated annealing (SA) for combinatorial optimization. This skill covers the Metropolis acceptance rule, cooling-schedule design (geometric, Lundy-Mees, logarithmic, adaptive), initial-temperature calibration, plateau lengths, stopping rules, reheating, and restart strategies, with implementation-grade Python. Use the framework below to take a user from "local search gets stuck" to a calibrated, reproducible SA implementation with a defensible parameter story.
Initial Assessment
Establish these facts before writing any SA code:
- Objective and move set. What is minimized, and what is one elementary move (swap, recolor, flip, insertion)? SA is only as good as its neighborhood; if the move set is undecided, design it first (see local-search-and-neighborhoods).
- Delta evaluation cost. Can the objective change of a move be computed in O(1) or O(n) instead of recomputing from scratch? SA performs millions of evaluations; without cheap deltas it is rarely competitive.
- Problem size and evaluation budget. Instance size, time budget in seconds, and measured moves-per-second together fix the total move count. The cooling schedule must be derived from that count, not chosen in a vacuum.
- Hard vs soft constraints. Decide per constraint: keep it satisfied by construction (feasibility-preserving moves such as Kempe chains), or penalize violations in the objective. Penalty weights interact with temperature, so this choice shapes calibration.
- Objective scale. Temperature has the same units as the objective. Note the typical magnitude of a move's objective change; calibration depends on it, not on the absolute objective value.
- Quality requirement. Is the goal a quick 5%-gap solution, or near-best-known on benchmark instances? The first allows a fast schedule; the second needs long plateaus, slow cooling, and replications.
- Baseline. Is there an existing greedy/hill-climbing baseline to beat? Always run plain first-improvement descent first; if SA cannot beat it, the temperature schedule is broken.
- Competing methods. If a strong problem-specific local search exists, iterated local search or tabu search often beats SA (e.g., robust tabu search dominates SA on QAP). Choose SA when the landscape is rugged, deltas are cheap, and simplicity or anytime behavior matters.
- Reproducibility needs. Number of seeds per instance, reporting format (best/mean/std), and whether results feed a statistical comparison.
- Termination contract. Wall-clock limit, move limit, target objective, or stagnation rule — pick one primary criterion now, because the schedule is derived from it.
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.
- 3mo ago First seen · 687 lines · 134 tokens per session scan A 070a6de4772d
simulated-annealing is a skill published in the GitHub repository hajibabaie/combinatorial-optimization-skills (23 stars, last pushed 5mo ago), licensed MIT. It adds 134 tokens to every session and 9,803 once invoked, about $0.0005 per session on Opus 5.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.
simulated-annealing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| simulated-annealinghajibabaie/combinatorial-optimization-skills | Skill | 23 | 5mo ago | MIT | A | 134 | Claude Code |
| top-designwondelai/skills | Skill | 2.9k | 4d ago | MIT | A | 113 | Claude Code, Codex |
| web-typographywondelai/skills | Skill | 2.9k | 4d ago | MIT | A | 128 | Claude Code, Codex |
| harness-auditwondelai/skills | Skill | 2.9k | 4d ago | MIT | A | 181 | Claude Code |
| crossing-the-chasmwondelai/skills | Skill | 2.9k | 4d ago | MIT | A | 139 | Claude Code |
| design-everyday-thingswondelai/skills | Skill | 2.9k | 4d ago | MIT | A | 132 | Claude Code |
| architecture-optimizationwondelai/skills | Skill | 2.9k | 4d ago | MIT | A | 226 | Claude Code |