roblox-npcs

roblox-npcs is a skill for Claude Code, Codex from nonlooped/roblox-suite. It costs 96 tokens per session (1,889 once invoked), scanned A, original, MIT.

A guide to making Roblox characters find paths and behave as non-player characters (NPCs), such as guards, pets, or zombies.

In plain words
What is it for?
Building patrol, follow, chase, and obstacle-avoiding NPCs with Roblox's PathfindingService.
Why use it?
It helps handle obstacles, blocked routes, terrain preferences, and movement patterns without designing a custom pathfinding system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building patrol, follow, chase, and obstacle-avoiding NPCs with Roblox's PathfindingService.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nonlooped/roblox-suite/roblox-npcs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nonlooped/roblox-suite --skill roblox-npcs
Clone the repo
git clone --depth 1 https://github.com/nonlooped/roblox-suite

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for roblox-npcs

README.md
[![agentmods](https://agentmods.dev/badge/skills/nonlooped/roblox-suite/roblox-npcs/github.svg)](https://agentmods.dev/skills/nonlooped/roblox-suite/roblox-npcs)
Your own site
<a href="https://agentmods.dev/skills/nonlooped/roblox-suite/roblox-npcs"><img src="https://agentmods.dev/badge/skills/nonlooped/roblox-suite/roblox-npcs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for roblox-npcs

Your own site · 80×15
<a href="https://agentmods.dev/skills/nonlooped/roblox-suite/roblox-npcs"><img src="https://agentmods.dev/badge/skills/nonlooped/roblox-suite/roblox-npcs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,889 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01889
Opus 5 $0.00048 $0.00945
Sonnet 5 $0.00019 $0.00378
Haiku 4.5 $0.00010 $0.00189

Measured 10d ago against content hash cabd156ece82, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

roblox-npcs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

roblox-npcs/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

roblox-npcs

Official sources (always check these for the latest):

This skill covers navigation mesh pathfinding and the AI patterns that use it. It does not cover custom A* implementations unless absolutely necessary — PathfindingService is the official, optimized solution.

When to use this skill

Activate when:

  • Building zombies, guards, pets, companions, or any AI that walks/follows/patrols.
  • Tuning agent size, jump/climb ability, or preferred terrain.
  • Handling dynamic obstacles and blocked paths.
  • Using PathfindingModifier regions/links for doors, traps, ladders, boats.
  • Scaling pathfinding for many agents.

Cross-reference:

PathfindingService basics

Create a path:

local PathfindingService = game:GetService("PathfindingService")

local path = PathfindingService:CreatePath({
    AgentRadius = 2,
    AgentHeight = 5,
    AgentCanJump = true,
    AgentCanClimb = false,
    WaypointSpacing = 4,
    Costs = {
        Water = 20,
        DangerZone = math.huge,
    }
})
path.CalculationSecondsTimeout = 1

Compute and follow:

local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")

local success, err = pcall(function()
    path:ComputeAsync(rootPart.Position, endPos)
end)

if success and path.Status == Enum.PathStatus.Success then
    local waypoints = path:GetWaypoints()
    -- follow waypoints with Humanoid:Move()
end

Read the full file on GitHub · 199 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 199 lines · 96 tokens per session scan A cabd156ece82

Subscribe to this mod's changes

roblox-npcs is a skill published in the GitHub repository nonlooped/roblox-suite (14 stars, last pushed 7d ago), licensed MIT. It adds 96 tokens to every session and 1,889 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

roblox-engineer

!cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/game-test-protocol.md 2>/dev/null || true !cat skills/shared/protocols/quality-gate.md 2>/dev/null || true !cat…

buiphucminhtam/forgewright · 50 tokens

roblox-dev-skill

Core scripting and engine skill for Roblox game development. Covers full-lifecycle development: architecture, Luau scripting, debugging, security, performance, data persistence, networking, and the Roblox Studio environment. MUST use this skill whenever the user mentions: 'Roblox', 'Luau', 'Roblox Studio'…

MSayib/roblox-dev-skill · 145 tokens

roblox-best-practices

Framework-agnostic Roblox/Luau coding standards. Use when writing, reviewing, or refactoring any Luau code (Script, LocalScript, ModuleScript) in a Roblox project, or when the user asks to keep best practices in mind as standing guidance — enforces the VARIABLES/FUNCTIONS/INITIALIZATION layout, naming, performance…

andrian-syh/roblox-best-practices-skill · 184 tokens

professional-game-developer

Universal production game engineering skill — design, build, profile, test, and ship games across Unreal Engine 5, Unity 6 (DOTS), Godot 4.3+, Roblox (Luau), and Web/Custom engines with senior studio-grade architectural discipline. Encompasses all 42 specialized game studio job roles across 6 departments: Game Design…

chahat1709/professional-game-developer.skill · 103 tokens

roblox-studio

Build, inspect, repair, validate, and playtest Roblox Studio maps and Luau through the local bridge. Use for SceneSpecs, terrain, Studio edits, gameplay objects, visual checks, and Rojo output.

ShiroKSH/skills · 48 tokens

game-engineer

Meta-skill for game development that orchestrates specialized engine skills. Routes to the appropriate game engine skill (Unity, Unreal, Godot, Roblox, Phaser 3, Three.js) based on project requirements. Provides unified game development workflow.

buiphucminhtam/forgewright · 52 tokens