writing-skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
forage-resourcesApply ant colony optimization and foraging theory to resource search, exploration-exploitation tradeoffs, and distributed discovery. Covers scout deployment, trail reinforcement, diminishing returns detection, and adaptive foraging strategy selection. Use when searching a large solution space where brute-force enumeration is impractical, balancing investmen…
Independent GitHub snapshot · Automated classification · Original documentation governs
Apply foraging theory + ant colony opt → systematically search, evaluate, exploit distributed resources — balance exploration unknown vs exploitation known yields.
coordinate-swarm w/ specific resource-discovery patternsCharacterize resource env → select strategy.
coordinate-swarm for signal design)→ Characterized landscape w/ distribution, info, cost. Determines foraging model.
If err: completely unknown → max exploration (all scouts, no exploit) for fixed budget → build initial map. Switch to model once character clear.
Exploratory agents into search space + instructions mark what find.
→ Scouts deployed, depositing signals proportional to quality. Initial map emerges from reports.
If err: nothing initial sweep → (a) scout % too low (increase 50%), (b) wrong pattern (random walk → Levy flight for patchy), (c) quality miscalibrated (lower detection threshold).
Positive feedback loops amplify successful paths, let unsuccessful fade.
Trail Reinforcement Dynamics:
┌─────────────────────────────────────────────────────────────────────┐
│ │
│ Strong trail ──→ More foragers ──→ If good: reinforce ──→ EXPLOIT │
│ ↑ │ │
│ │ If bad: no reinforce │ │
│ │ │ │ │
│ │ ↓ │ │
│ Decay ←── Weak trail ←── Fewer foragers ←── Trail fades │ │
│ │ │ │
│ ↓ │ │
│ No trail ──→ Scouts explore ──→ New discovery ──→ New trail ↗ │
│ │
└─────────────────────────────────────────────────────────────────────┘
→ Self-regulating loop: good attract, poor abandoned. Balance via trail dynamics.
If err: all converge single trail (premature convergence) → decay too slow or cap too high. Increase decay, lower cap, or random exploration mandates (10% ignore trails). Fade too fast → reduce decay.
Monitor yields → know when shift exploit back to explore.
→ Swarm shifts between exploit (known-good) + exploration (scouts dispersed), driven by monitoring not arbitrary schedules.
If err: stays depleted too long → marginal threshold too low or travel cost too high. Recalibrate via actual rates. Abandons good too early → threshold too sensitive, add smoothing window.
Select + switch strategies based on env feedback.
→ System adapts balance to env, maintains effectiveness as conditions change.
If err: adaptation unstable (oscillating) → damping: require mismatch persist N time units before shift. No strategy works → reassess Step 1 landscape, distribution may be more complex than assumed.
coordinate-swarm — foundational coordination underpinning signal designbuild-consensus — swarm must collectively agree which patches prioritizescale-colony — scaling operations as landscape/swarm growsassess-form — morphic for system current state, complementary to landscapeconfigure-alerting-rules — alerting applicable to diminishing returnsplan-capacity — capacity planning shares explore-exploit framingforage-solutions — AI self-application variant; maps ant colony to single-agent solution exploration w/ scout hypotheses + trail reinforcement