Logo Game Ai Behaviour And Navigation

Game Ai Behaviour And Navigation

Cộng đồng
peterbamuhigire
game-ai-behaviour-and-navigation

Dùng khi thiết kế, triển khai, phân tích hiệu năng hoặc đánh giá hành vi, điều hướng, nhận thức, hệ thống ra quyết định, đám đông, đặt chỗ, cây hành vi, cây trạng thái, logic tiện ích, AI trong các màn chạm trán hoặc kiểm định AI của nhân vật không phải người chơi trong game; tải kỹ năng dành cho engine để dùng API cụ thể.

Add to TypingMind

Tổng quan

Nhà phát hànhpeterbamuhigire
Kho mãchwezi-dev-engine
Tên kỹ nănggame-ai-behaviour-and-navigation
Sao
29
Bản fork
6
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được peterbamuhigire công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Game Ai Behaviour And Navigation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/game-development/game-ai-behaviour-and-navigation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/game-development/game-ai-behaviour-and-navigation .claude/skills/game-ai-behaviour-and-navigation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Game Ai Behaviour And Navigation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Game Ai Behaviour And Navigation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Game Ai Behaviour And Navigation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Game AI Behaviour and Navigation

Build deterministic, debuggable and budgeted runtime agents whose decisions, movement, perception and interaction remain legible under worst-case gameplay conditions.

Prerequisites

Load world-class-engineering, gameplay-systems-engineering, level-world-and-content-production, the selected engine skill, performance/testing skills, and the game's accessibility, difficulty and narrative contracts.

Use When

  • Defining agent goals, states, decisions, behaviour trees/state machines/utility systems, blackboards, perception, navigation, avoidance, crowds or Smart-Object-style reservations.
  • Debugging stuck, oscillating, unfair, expensive, nondeterministic or unreadable NPC behaviour.
  • Specifying AI architecture, data contracts, budgets, telemetry, authoring tools and validation scenarios.

Do Not Use When

  • The task is generative AI, model training or an online LLM feature.
  • The task is animation rigging; use game-3d-asset-pipeline and animation systems.
  • The requested API is engine-specific but engine/version is unknown; freeze a versioned spike first.

Required Inputs

InputRequiredMissing-input response
Agent fantasy, capabilities, fairness/readability rules and difficulty envelopeyesStop architecture and return gameplay decisions required.
World topology, traversal types, collision, interactions and animation contractyesLimit work to an abstract state model.
Pinned engine/version and feature maturity policyyes for implementationMark APIs and performance not assessed.
Simultaneous-agent envelope, frame/memory/network budgets and target hardwareyesBlock scale claims and crowd architecture.
Determinism, save/load, replay, authority and multiplayer constraintsconditionalFlag state ownership and reproduction gaps.

Workflow

  1. Define each agent archetype by player-observable goals, verbs, senses, knowledge limits, reaction windows, failure modes and fairness contract.
  2. Separate sensing, memory/world state, decision, action execution, navigation, animation and feedback. Keep engine controllers/adapters outside reusable domain logic.
  3. Choose the simplest decision model that explains the behaviour: finite state for bounded modes, behaviour tree for reactive hierarchy, utility for competing scored choices, planner for expensive compositional goals, or hybrid with explicit boundaries.
  4. Give all shared state typed keys, ownership, defaults, lifetime and update/event policy. Prefer event-driven reevaluation; bound polling rates.
  5. Specify navigation agents, mesh generation/update, areas/costs/filters, links, path failure, partial paths, moving targets, avoidance, off-mesh traversal and recovery.
  6. Treat interactable locations as capacity-controlled resources: eligibility, reservation, timeout, cancellation, completion and orphan cleanup are explicit.
  7. Integrate animation and gameplay with named events and bounded waits. Define root-motion, turning, hit reaction, interruption and fallback contracts.
  8. Instrument decision transitions, perception changes, path requests/failures, stuck recovery, reservation lifecycle and per-archetype cost without shipping noisy debug output.
  9. Test single-agent correctness, adversarial geometry, simultaneous worst case, save/load, network authority, difficulty variants and target hardware. Retain seeds, scenario, build and trace.
  10. Stop on unbounded search/polling, missing recovery, unstable experimental dependency, unfair information access, unreachable state or budget failure.
  11. Load references/behaviour-telemetry-and-tuning.md before tuning behaviour. Retain the exact build, seed, configuration, scenario, state trace, path failures, and guardrail result for every experiment; never promote learned or probabilistic behaviour without a deterministic fallback and rollback path.

Outputs

ArtefactAcceptance condition
AI behaviour contract and state/key registryStates, transitions, ownership, defaults and failure recovery are deterministic.
Navigation/interaction contractAgents, costs, links, reservations, invalidation and fallback are explicit.
Engine adapter and feature-status decisionVersion, plugin/feature maturity, fallback and upgrade evidence are recorded.
AI verification and profiling reportNamed scenarios prove correctness, legibility and worst-case cost.

Evidence Produced

CategoryArtifactFormatExample
CorrectnessTransition, perception, path, reservation, save/load and recovery traces.Trace log with build, seed, scenario and state transitionsdocs/game-ai/navigation-traces.jsonl
PerformancePer-agent and simultaneous worst-case CPU, memory and path-query evidence.Profiling report with scenario, target hardware and measured costsdocs/game-ai/navigation-profile.md
UX qualityReaction, telegraph, knowledge-boundary and difficulty playtests.Playtest report with fairness/readability observations and findingsdocs/game-ai/fairness-playtests.md
Release evidenceEngine/plugin version, feature status, known failure states and regression suite.Release record with version identity, limitations and regression resultsdocs/game-ai/release-evidence.md

Capability and Degraded Mode

Changing navigation generation, runtime authority or experimental plugins requires implementation authority and rollback. Without the pinned engine and representative build, provide contracts and test scenarios only; mark API fit, feature stability and performance not assessed.

Decision Rules

ConditionAction
Behaviour can be expressed with a small explicit state machineDo not introduce a planner or deep tree.
Agent reads information the player could not reasonably exposeAdd a perception/memory path or label the intentional difficulty rule.
Decision checks run every frame without needConvert to events, services at bounded intervals, or scheduled batches.
Path or interaction can failSpecify timeout, retry/backoff, alternate goal and safe idle—not an infinite wait.
Engine feature is beta/experimentalRecord status in the pinned release, isolate behind an adapter and define fallback.

Quality Standards

  • Name behaviours by intent; keep tasks/actions small, reusable and independently testable.
  • Do not mutate decision-node configuration at runtime; keep changing state in typed runtime data.
  • AI difficulty changes decision quality, timing, resources or coordination explicitly—not hidden omniscience.
  • Measure worst cases with actual agents, geometry, animation and target hardware.
  • Record time and memory complexity, update frequency, worst-case path/search cost, and invariants for critical behaviours. Test a bounded degraded path before standardising a Kaizen change.

Anti-Patterns

  • Giant behaviour tree as a visual script. Fix: split domain decisions, reusable actions and engine adapters.
  • Polling everything every frame. Fix: event-driven updates and budgeted schedules.
  • Navigation success treated as guaranteed. Fix: handle invalid targets, partial paths, topology change and stuck recovery.
  • Reservation without cancellation. Fix: define ownership, timeout and cleanup on death/unload/disconnect.
  • Debugging by animation alone. Fix: capture state, reason, key changes, path status and timestamps.
  • Tutorial agent counts treated as product budgets. Fix: measure project worst cases.

Read Next

  • The selected Unity/Unreal/Godot skill for concrete implementation.
  • level-world-and-content-production for nav-ready spaces and encounter topology.
  • game-testing-polish and performance skills for scenario and target-device evidence.

References

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Game Ai Behaviour And Navigation làm được gì?

Dùng khi thiết kế, triển khai, phân tích hiệu năng hoặc đánh giá hành vi, điều hướng, nhận thức, hệ thống ra quyết định, đám đông, đặt chỗ, cây hành vi, cây trạng thái, logic tiện ích, AI trong các màn chạm trán hoặc kiểm định AI của nhân vật không phải người chơi trong game; tải kỹ năng dành cho engine để dùng API cụ thể.

Vì sao nên dùng Game Ai Behaviour And Navigation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Game Ai Behaviour And Navigation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Game Ai Behaviour And Navigation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/game-development/game-ai-behaviour-and-navigation. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Game Ai Behaviour And Navigation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Game Ai Behaviour And Navigation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Game Ai Behaviour And Navigation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Game Ai Behaviour And Navigation có miễn phí không?

Có. Kỹ năng này được peterbamuhigire phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇