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
施蟻群優化與採食論於資尋、探用衡、散發現——衡探未知與用已知之益。
coordinate-swarm 以特資發模表資環以擇適採策。
coordinate-swarm)得:已表採境含資分類、信可用、費構。此定施何採模。
敗:境全不知→自全探始(諸偵,無用),限時預以建初圖。境性明則換適模。
遣探 agent 入尋空並令其標所得。
得:偵已布於尋空並依資質存跡信。自偵報現境初圖。
敗:偵於初掃無所得→偵比過低(增至 50%)、尋模誤(自 random walk 換 Levy flight 以斑資)、或質估誤校(降察門)。
造正饋環放大功途並令不功者衰。
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 ↗ │
│ │
└─────────────────────────────────────────────────────────────────────┘
得:自調之正饋環,良資招增注而劣者自棄。系僅以跡動衡用探。
敗:諸採聚於單跡(早收)→衰率過慢或飽頂過高。增衰、降頂、或入隨探令(如 10% 採者恒忽跡)。跡衰過速而無用→減衰率。
監資產以知何時自用返探。
得:採群自用階(聚於已知良地)與探階(偵散)間移,以產監驅非任意表。
敗:群於竭地留過久→邊際值門設過低或遷費估過高。以實產率較重校。群過早棄良地→門過敏——加產量之滑窗。
依境反饋擇並換採策。
得:採系適現境之探-用衡,境變而守效。
敗:策適本身不穩(震於探用間)→加阻尼:錯信須持 N 時單始觸切。無策合→重估一步境類——資分或較初設更繁。
coordinate-swarm — 撐採信設之基協模build-consensus — 群須共議何斑先用時scale-colony — 資境或群大長時採運擴assess-form — 估系現態之 morphic 技,與境估互補configure-alerting-rules — 適遞減益察之警模plan-capacity — 容謀共採之探-用框forage-solutions — AI 自用變;映蟻採於單 agent 解探含偵假與跡強