game-ai SKILL.md skillA
game-ai from poorvith-mp/skills-gamedev is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add poorvith-mp/skills-gamedev/game-ai@git:20260912.4cb57a5Pins git:20260912.4cb57a5 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- poorvith-mp/skills-gamedev
- Path
skills/game-ai/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260912.4cb57a5, committed Sep 12, 2026
- First version recorded
- Sep 6, 2026
- Size
- 6,098 bytes
- Repository stars
- 5
- License
- MIT
Design NPC behaviour: behaviour trees, state machines, pathfinding, perception and difficulty tuning. Use when designing behavior trees, state machines, or enemy AI.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# game-ai
## Core Philosophy
Game Artificial Intelligence (AI) is not academic machine learning trying to predict the future or beat human chess grandmasters. Game AI is an entertainment and pacing illusion. An NPC that plays with superhuman accuracy, pixel-perfect aim, and zero hesitation is frustrating and un-fun to play against. Game AI must provide clear telegraphing, readable tactical decision-making, believable sensory perception, and dynamic difficulty calibration that gives players the thrilling sensation of outsmarting a competent opponent.
---
## 4-Step Game AI Architecture
### Step 1: Decision-Making Architectures: Behavior Trees vs FSMs
1. **Behavior Trees (The Industry Standard for Combat AI)**:
- Built on hierarchical nodes evaluated from left-to-right:
- *Composites*:
- **Sequence ($ o$)**: Executes children sequentially; fails if any child fails (e.g. *Has Weapon* $ o$ *Reload* $ o$ *Aim*).
- **Selector ($?$)**: Executes children until one succeeds (e.g. *Flee If Low Health* $?$ *Melee Attack* $?$ *Seek Cover*).
- *Decorators*: Conditional gates (e.g. *Invert, Time Limit, Cooldown*).
…Read the whole file at its exact version.
How to install
mdr add poorvith-mp/skills-gamedev/game-ai@sha256:d5ec22142a6d7f8aThe line at the top of this page pins the label git:20260912.4cb57a5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_6eprj6doiih7fhhe)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 6, 2026 and Sep 12, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260912.4cb57a5 latest | 2026-09-12 | 4cb57a5 | 6,098 B | A | view · diff |
| git:20260906.817015e | 2026-09-06 | 817015e | 6,072 B | A | view · diff |
| git:20260906.13642d5 | 2026-09-06 | 13642d5 | 2,596 B | A | view · diff |
| git:20260906.88902ac | 2026-09-06 | 88902ac | 2,517 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6098 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
poorvith-mp/skills-gamedev · 5 stars · license MIT · pushed 2026-10-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_6eprj6doiih7fhhe GET https://markdownregistry.com/api/v1/resolve?ref=poorvith-mp/skills-gamedev/game-ai GET https://markdownregistry.com/api/v1/blob/d5ec22142a6d7f8ab907ead841d1778816537d0970ab3dde44e2ab917953d288
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from poorvith-mp/skills-gamedev
Every file in poorvith-mp/skills-gamedev