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 and ant colony optimization to system search for, check, and exploit spread resources — balance roam of unknown ground with exploit of known yields.
coordinate-swarm with specific resource-find patternsDescribe resource env to pick right forage strategy.
coordinate-swarm for signal design)Got: Described forage landscape with resource distribution type, info availability, cost structure. This picks which forage model to apply.
If fail: Landscape fully unknown? Start with max roam (all scouts, no exploit) for fixed time budget to build first map. Switch to right model once landscape character becomes clear.
Send roam agents into search space with orders to mark what they find.
Got: Scouts sent across search space, dropping trail signals by resource quality. First map of landscape starts to emerge from scout reports.
If fail: Scouts find nothing in first sweep? Either scout percent too low (bump to 50%), search pattern wrong (switch from random walk to Levy flight for patchy resources), or quality check miscalibrated (lower detection threshold).
Make positive feedback loops that amplify good paths and let bad ones 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 ↗ │
│ │
└─────────────────────────────────────────────────────────────────────┘
Got: Self-regulating feedback loop where good resources pull growing focus and poor resources naturally abandoned. System balances exploit and roam through trail dynamics alone.
If fail: All foragers converge on single trail (premature converge)? Decay rate too slow or saturation cap too high. Bump decay, lower cap, or add random roam rules (e.g., 10% of foragers always ignore trails). Trails fade too fast and nothing gets exploited? Drop decay rate.
Watch resource yields to know when to shift from exploit back to roam.
Got: Forage swarm naturally shifts between exploit phases (focused on known-good sites) and roam phases (scouts spread), driven by yield watch rather than fixed schedules.
If fail: Swarm stays on depleted sites too long? Marginal value threshold too low or travel cost estimate too high. Recalibrate by compare real yield rates. Swarm abandons good sites too early? Threshold too sensitive — add smoothing window to yield measure.
Pick and switch between forage strategies by env feedback.
Got: Forage system that adapts its roam-exploit balance to current env, keeping effect as conditions shift.
If fail: Strategy adapt itself becomes unstable (oscillating between roam and exploit)? Add damping: need mismatch signal to stick for N time units before fire strategy shift. No strategy seems to work? Recheck landscape description from Step 1 — resource distribution may be more complex than first assumed.
coordinate-swarm — base coord patterns that back forage signal designbuild-consensus — used when swarm must collectively agree on which resource patches to prioritizescale-colony — scaling forage ops when resource landscape or swarm size growsassess-form — morphic skill for check of current state of system, complement to landscape checkconfigure-alerting-rules — alerting patterns apply to diminishing returns detectplan-capacity — capacity plan shares explore-exploit frame with forage theoryforage-solutions — AI self-apply variant; maps ant colony forage to single-agent solution roam with scout hypotheses and trail reinforcement