跳到正文
cccskills
免费在 GitHub 公开

navigation-pathfinding

Use for reusable navigation pathfinding recipes in software and coding-agent work.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Navigation & pathfinding — recipes (generic tier)

On-demand recipes (2). Trigger→action heuristics; pull the relevant one when its situation arises.

1. Use A* over greedy, with total OOB/unexplored handling and a node cap

generic

Always use A* for grid navigation, never greedy/best-first, which detours and dead-ends around walls and oscillates forever between two cells each closer on a different axis; A* has no per-tick directional choice so it eliminates oscillation structurally (in alpha_cog cogs-v-clips this cut max stuck-ticks 5875 -> 11 and closed the largest tournament gap, so a sky-high max-stuck stat signals navigation, not strategy, is the bottleneck). Treat out-of-bounds queries as impassable WALL (keeps the search total, avoids scattering bounds checks). Match A*'s unexplored-tile assumption to the policy's: if the policy treats unexplored as passable, A* must too. Use a Manhattan heuristic with a tie-breaking counter for determinism, and cap node expansions to bound per-tick cost (alpha_cog uses 10,000) -- but a cap set below what a real path needs makes A* silently give up even when a path exists (a 30,000 cap failed on a path needing ~92,000 expansions), so confirm reachability with an UNCAPPED BFS and compare expansion count to the cap before blaming the map. <sub>sources: claude-code:27984094-3b9e-4e67-92c5-da2a61ceb32a, codex:019e031e-f7d3-7342-a7d9-96993bc91097, claude-code:19ac76fb-7c48-44a1-81dd-eebcbdc9c19c, opencode:ses_1ff24a65cffeJSXwU2v6gcXbHQ (+6)</sub>

2. Give every action a success condition, retry budget, and state-changing exit

generic · ⚠ session-derived, unverified

Give every action/task a success condition, a bounded retry budget, and a clean failure that hands control back with fresh state. An action with no success signal, no timeout, and no fallback becomes an infinite no-op loop (example: a task pressed a button every other tick for 300+ ticks because its success detection was broken and it never saw completion). A 'complete' flag that does not change the next decision creates a re-entry loop — if a meta-decider re-selects the same state because its inputs are unchanged, ensure completing a state changes observable state or the decider's inputs. A no-op fallback on a transient degraded state traps the agent in dead time if the no-op does nothing to recover — prefer an active escape/recovery action. Make a reflex's cooldown at least as long as the behavior it triggers, or the cooldown expires mid-behavior and the reflex re-fires before finishing. <sub>sources: claude-code:3b14ac5a-1d66-4524-94c0-59a48466d223, claude-code:067e7439-cbd1-4b26-9b3f-d054bde3aa40, claude-code:0919285d-1374-4827-b596-6e7107d95526</sub>

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use for ab methodology recipes when optimizing a Coworld player.

中文简介正在准备中。当前显示原文说明。

Metta-AI/coworld172026年10月22日 更新

Use for ab methodology recipes in scripted Coworld policy optimization.

中文简介正在准备中。当前显示原文说明。

Metta-AI/coworld172026年10月22日 更新

Use for reusable ab methodology recipes in software and coding-agent work.

中文简介正在准备中。当前显示原文说明。

Metta-AI/coworld172026年10月22日 更新

Use for Crewrift-specific ab methodology recipes when optimizing a player.

中文简介正在准备中。当前显示原文说明。

Metta-AI/coworld172026年10月22日 更新

Use for Crewrift-specific agent workflow collab recipes when optimizing a player.

中文简介正在准备中。当前显示原文说明。

Metta-AI/coworld172026年10月22日 更新

Use for agent workflow collab recipes when optimizing a Coworld player.

中文简介正在准备中。当前显示原文说明。

Metta-AI/coworld172026年10月22日 更新

查看 Metta-AI 的全部技能

报告此技能的问题