particle-swarm

particle-swarm is a skill for Claude Code, Codex from AllanWessels/Bratan. It costs 78 tokens per session (803 once invoked), scanned A, original, no licence file.

An optimization method for problems with mixed numeric, choice-based, and category-based settings. Particle swarm optimization and related methods search through many possible combinations when the results are uneven or difficult to model.

In plain words
What is it for?
Use it to optimize a large search space containing continuous values, discrete choices, and categories.
Why use it?
It helps find good settings when checking every combination would take too long and simpler prediction-based search is a poor fit.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to optimize a large search space containing continuous values, discrete choices, and categories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/allanwessels/bratan/particle-swarm
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 AllanWessels/Bratan --skill particle-swarm
Clone the repo
git clone --depth 1 https://github.com/AllanWessels/Bratan

Made for: Claude Code, Codex.

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 particle-swarm

README.md
[![agentmods](https://agentmods.dev/badge/skills/allanwessels/bratan/particle-swarm/github.svg)](https://agentmods.dev/skills/allanwessels/bratan/particle-swarm)
Your own site
<a href="https://agentmods.dev/skills/allanwessels/bratan/particle-swarm"><img src="https://agentmods.dev/badge/skills/allanwessels/bratan/particle-swarm/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 particle-swarm

Your own site · 80×15
<a href="https://agentmods.dev/skills/allanwessels/bratan/particle-swarm"><img src="https://agentmods.dev/badge/skills/allanwessels/bratan/particle-swarm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 803 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 unknown 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.00078 $0.00803
Opus 5 $0.00039 $0.00402
Sonnet 5 $0.00016 $0.00161
Haiku 4.5 $0.00008 $0.00080

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

Security

Grade A, and why

particle-swarm 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 12d 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/particle-swarm/SKILL.md · 81 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 12d ago First seen · 81 lines · 78 tokens per session scan A d7ca938156c6

Subscribe to this mod's changes

particle-swarm is a skill published in the GitHub repository AllanWessels/Bratan (2 stars, last pushed 2mo ago), with no licence file. It adds 78 tokens to every session and 803 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

research-rigor

A structured method for doing research and analysis with explicit assumptions, evidence checks, scoring criteria, independent review, and later accuracy checks. The description is mainly in Chinese and does not define a specific software integration.

LiHongwei-cn/lihongwei-cn · 175 tokens

nature-academic-search

Multi-source literature search, citation verification, MeSH search strategy, citation file management (.nbib/.ris/.bib conversion), and reference management (BibTeX, related articles, ID conversion) via MCP tools (PubMed, CrossRef, arXiv). Use when the user needs coordinated multi-step literature workflows beyond a…

LiHongwei-cn/lihongwei-cn · 74 tokens

oo-biorxiv-medrxiv

Operate bioRxiv and medRxiv through your OOMOL-connected account. This skill calls the biorxivmedrxiv connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

oomol-lab/skills · 62 tokens

nature-paper2ppt

Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes. Use this skill whenever the user asks to make slides/PPT/PPTX for journal club, group meeting, paper sharing, thesis seminar, lab meeting, department…

LiHongwei-cn/lihongwei-cn · 130 tokens

nature-figure

Submission-grade Nature/high-impact journal figure workflow for Python or R. Use whenever the user asks to create, revise, audit, or polish manuscript figures, multi-panel scientific plots, figures4papers-style matplotlib plots, or journal-ready SVG/PDF/TIFF outputs, especially for Nature-family or other high-impact…

LiHongwei-cn/lihongwei-cn · 149 tokens

nature-citation

Add strict Nature/CNS citations to manuscript text by splitting long passages into citable segments, searching only accepted flagship and subjournal titles from Nature Portfolio, the AAAS Science family, and Cell Press, filtering by publication time range, and exporting one reference-manager-ready output by default.…

LiHongwei-cn/lihongwei-cn · 150 tokens