roblox-npc-ai SKILL.md skillA
roblox-npc-ai from tabooharmony/roblox-brain is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tabooharmony/roblox-brain/roblox-npc-ai@git:20261015.f9f74c2Pins git:20261015.f9f74c2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tabooharmony/roblox-brain
- Path
skills/gameplay/roblox-npc-ai/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261015.f9f74c2, committed Oct 15, 2026
- First version recorded
- Sep 23, 2026
- Size
- 2,916 bytes
- Repository stars
- 160
- License
- MIT
Use when creating or fixing Roblox NPCs, bots or enemies: pathfinding, state machines, line of sight, spawns, AI update loops.
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
# Roblox NPC & AI
## When to Load
Load for NPCs/enemies: pathfinding, state machines, LOS/FOV detection, spawns, AI loops, or physics ownership.
## Quick Reference
### PathfindingService
```luau
local path = PathfindingService:CreatePath({
AgentRadius = 2, AgentHeight = 5, AgentCanJump = true,
Costs = { Water = 20, DangerZone = math.huge },
})
path:ComputeAsync(npcPos, targetPos)
if path.Status ~= Enum.PathStatus.Success then return end
for _, wp in path:GetWaypoints() do
if wp.Action == Enum.PathWaypointAction.Jump then humanoid.Jump = true end
humanoid:MoveTo(wp.Position)
if not humanoid.MoveToFinished:Wait() then return end
end
```
- Recompute on blocked with a bounded retry or cancellation policy.
- In Studio, test `Workspace.PathfindingUseImprovedSearch` on representative maps before rollout; it is not scriptable.
- Avoid long requests and repeated recomputation. Moving collidable geometry can trigger navigation-mesh work.
- Region modifiers: anchored part + `PathfindingModifier` Label → Costs
- `PassThrough = true` for doors; `PathfindingLink` for disconnected navmesh
- `math.huge` cost = non-traversable
### State Machine
…Read the whole file at its exact version.
How to install
mdr add tabooharmony/roblox-brain/roblox-npc-ai@sha256:5f2723047a6353d5The line at the top of this page pins the label git:20261015.f9f74c2, 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_2kbbmudpb3vrb5yx)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Sep 23, 2026 and Oct 15, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261015.f9f74c2 latest | 2026-10-15 | f9f74c2 | 2,916 B | A | view · diff |
| git:20261015.be33683 | 2026-10-15 | be33683 | 2,903 B | A | view · diff |
| git:20260923.88a4cf9 | 2026-09-23 | 88a4cf9 | 2,783 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 (2916 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
tabooharmony/roblox-brain · 160 stars · license MIT · pushed 2026-10-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2kbbmudpb3vrb5yx GET https://markdownregistry.com/api/v1/resolve?ref=tabooharmony/roblox-brain/roblox-npc-ai GET https://markdownregistry.com/api/v1/blob/5f2723047a6353d5287699a3f7c6f8ce8c81bb02cbe7da9e9536115ff6463792
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.