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 查信號設計)預期: 已具資源分布類、信息可得、代價結構之採覓景。此定施何採覓模型。
失敗時: 若景全不知,以固定時間預算始最大之探(所有 scout,無用)以建初圖。景性明後切至合適之模型。
送探性代理入搜空間,帶其所尋之標之指令。
預期: Scout 已部於搜空間,存與資源質成比之跡信號。景之初圖自 scout 報始現。
失敗時: 若 scout 於初掃無所得,或 scout 百分比過低(增至 50%)、或搜模式誤(於片狀資源自隨機遊走切至 Levy 飛行)、或質評誤校(降偵閾)。
建擴成功路而令失敗者衰之正反饋環。
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% 採者恒忽跡)。若跡衰過速而無用,減衰率。
監資源產以知何時自用轉回探。
預期: 採覓群自然於用相(集中於已知善位)與探相(scout 分散)間切,由產監驅動而非任意程序。
失敗時: 若群於耗盡位留過久,邊際值閾設過低或旅代價估過高。以實產率比重校。若群過早棄善位,閾過敏——於產量加平滑窗。
依環境反饋擇並切採覓策。
預期: 採覓系統調其探-用平衡於當前環境,隨條件變保效。
失敗時: 若策適應本身不穩(於探與用間振盪),加阻尼:需不配信號持 N 時單位方觸策切。若無策似可行,重評步驟一之景刻劃——資源分布或較初假為更複。
coordinate-swarm — 支採覓信號設計之基礎協調模式build-consensus — 群須共議何資源片優先時所用scale-colony — 資源景或群規模增時之採覓操作規模化assess-form — morphic 評當前系統態之技,輔景評configure-alerting-rules — 適於減益偵之告警模式plan-capacity — 容量規劃與採覓論共探-用之框forage-solutions — AI 自應用變體;映蟻群採覓至單代理解探,帶 scout 假設與跡強化