enemy-ai SKILL.md skillA

enemy-ai from jammyfu/open-game-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jammyfu/open-game-skills/enemy-ai@git:20260913.74cd25b

Pins git:20260913.74cd25b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jammyfu/open-game-skills
Path
skills/disciplines/enemy-ai/SKILL.md
Versions recorded
2
Latest version
git:20260913.74cd25b, committed Sep 13, 2026
First version recorded
Sep 12, 2026
Size
2,089 bytes
Repository stars
12
License
MIT

Use when an NPC needs explicit idle, alert, search, combat, retreat, or reset state transitions and those transitions are currently snapping, looping, or contradicting other AI systems.

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

# Enemy AI

This skill owns the **brain state machine and transition policy**. It does not own sensing geometry, target scoring, attack warnings, or move balance.

## Modes

| Mode | State emphasis |
|---|---|
| leash-guard | guard area, pursue within published leash, then recover |
| patrol-hunt | patrol → investigate/search → combat → recover |
| ambush | hidden/idle → authored reveal → combat |
| duelist | combat spacing and state commitment for one primary opponent |
| swarm | simple local states coordinated by `group-tactics` |

`enemy-perception` owns sight/hearing/last-known evidence. `aggro-table` owns AI threat scoring. `enemy-kit-balance` owns move data. `attack-tell` owns readable startup.

## Transition contract

Publish state IDs and the event/evidence that can enter or leave each state. A transition records its reason (`saw_target`, `lost_target`, `leash_exceeded`, `scripted_phase`, and so on) so debug output can explain why the brain changed state.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jammyfu/open-game-skills/enemy-ai@sha256:3eb09faefb7d9da6

The line at the top of this page pins the label git:20260913.74cd25b, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yaf6lhs2d2ltqnj6.svg)](https://markdownregistry.com/a/art_yaf6lhs2d2ltqnj6)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Sep 12, 2026 and Sep 13, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20260913.74cd25b latest2026-09-13 74cd25b 2,089 BA view · diff
git:20260912.9399f332026-09-12 9399f33 436 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2089 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

GitHub

jammyfu/open-game-skills · 12 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yaf6lhs2d2ltqnj6
GET https://markdownregistry.com/api/v1/resolve?ref=jammyfu/open-game-skills/enemy-ai
GET https://markdownregistry.com/api/v1/blob/3eb09faefb7d9da68de5f1f83781da757bb569ff67870adec8e61c29748d88dd

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 jammyfu/open-game-skills

pixel-animation SKILL.md skill
jammyfu/open-game-skills · skills/2d/pixel-animation/SKILL.md · Use when sprite animation disagrees with attack timing, hitstop skips cells, or pixel-art clips need an explicit…
git:20260912.329d840 · audit A · 12 stars
spine-skeletal SKILL.md skill
jammyfu/open-game-skills · skills/2d/spine-skeletal/SKILL.md · Use when a 2D skeletal character needs bind, weighting, layered-track, attachment, or per-actor hitstop playback…
git:20260913.1acd634 · audit A · 12 stars
sprite-atlas SKILL.md skill
jammyfu/open-game-skills · skills/2d/sprite-atlas/SKILL.md · Use when sprite sheets need slicing, stable pivots, texture packing or engine metadata, or when an imported animation…
git:20261015.36228cb · audit A · 12 stars
sprite-catalog SKILL.md skill
jammyfu/open-game-skills · skills/2d/sprite-catalog/SKILL.md · Use when a project needs to inventory required sprites, tiles, UI, icons, portraits, props, animation states, or…
git:20261015.36228cb · audit A · 12 stars
sprite-skin SKILL.md skill
jammyfu/open-game-skills · skills/2d/sprite-skin/SKILL.md · Use when a 2D character needs cosmetic atlas-slot, skeletal-skin, or palette swaps while gameplay collision, timing…
git:20260913.1acd634 · audit A · 12 stars
open-game-skills SKILL.md skill
jammyfu/open-game-skills · skills/SKILL.md · Use when a game task should be routed through this pack's engine-neutral disciplines, shared execution contract and…
git:20260913.af188d7 · audit A · 12 stars
art-bible SKILL.md skill
jammyfu/open-game-skills · skills/assets/art-bible/SKILL.md · Use when a project lacks a stable visual-style contract across silhouettes, palettes, generated art, UI, enemies, or…
git:20260913.1acd634 · audit A · 12 stars
asset-pack-intake SKILL.md skill
jammyfu/open-game-skills · skills/assets/asset-pack-intake/SKILL.md · Use when a project receives a pre-built genre asset pack (sprite atlases, tilesets, level maps, feel/animation/audio…
git:20261015.e0a9690 · audit A · 12 stars
character-rig SKILL.md skill
jammyfu/open-game-skills · skills/assets/character-rig/SKILL.md · Use when character skeletons, rest poses, axes, sockets, or IK contact points must be standardized across assets or…
git:20260914.6145d0a · audit A · 12 stars
materials SKILL.md skill
jammyfu/open-game-skills · skills/assets/materials/SKILL.md · Use when game materials need a shared PBR or stylized contract, texture-channel policy, compression budget, or runtime…
git:20260913.1acd634 · audit A · 12 stars
model-pipeline SKILL.md skill
jammyfu/open-game-skills · skills/assets/model-pipeline/SKILL.md · Use when 3D assets need consistent source units, origins, collision proxies, transforms, sockets, export rules, or…
git:20260914.6145d0a · audit A · 12 stars
open-asset-fixture SKILL.md skill
jammyfu/open-game-skills · skills/assets/open-asset-fixture/SKILL.md · Use when game tests need reusable 2D sprites, 3D models, animations, sound, music, particle textures, native effects…
git:20261012.4a4a286 · audit A · 12 stars

Every file in jammyfu/open-game-skills

Browse by kind, by grade A, or by owner.