rojo

A codebase guide for the Rojo part of bloxforge, covering its files, functions, project discovery, command handling, source maps, and synchronization tools. Rojo is a tool and project format used to work with Roblox game source files.

In plain words
What is it for?
Use it when working in the packages directory, changing Rojo-related behavior, discovering projects, running commands, syncing files, or generating source maps.
Why use it?
It helps an agent find the right code and understand how Rojo projects are built, synchronized, and mapped back to source files.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/princeofscale/bloxforge/rojo
Any agent
npx skills add princeofscale/bloxforge --skill rojo
Clone the repo
git clone --depth 1 https://github.com/princeofscale/bloxforge

Made for: Claude Code, Codex.

Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00022 $0.01392
Opus 5 $0.00011 $0.00696
Sonnet 5 $0.00004 $0.00278
Haiku 4.5 $0.00002 $0.00139

Measured 2d ago against content hash 552d10ba6801, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

rojo 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 2d 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.

.claude/skills/generated/rojo/SKILL.md · 94 lines

How it starts

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

Rojo

95 symbols | 13 files | Cohesion: 78%

When to Use

  • Working with code in packages/
  • Understanding how isRojoProjectFile, discoverRojoProjects, walk work
  • Modifying rojo-related functionality

Key Files

File Symbols
packages/core/src/rojo/rojo-tools.ts hashFile, assertSafeOutput, buildProject, generateSourcemap, nativeSyncbackPlan (+12)
packages/core/src/rojo/process-manager.ts assertPortAvailable, readServerInfo, outlives, getVersion, startOnce (+12)
packages/core/src/rojo/source-editor.ts constructor, diff, file, atomicWrite, exclusiveWrite (+6)
packages/core/src/tools/index.ts syncPull, syncStatus, rojoSyncbackPlan, rojoSyncbackApply, rojoReadSource (+4)
packages/core/src/rojo/project-discovery.ts isRojoProjectFile, discoverRojoProjects, walk, selectRojoProject, parseJsonc (+3)
packages/core/src/rojo/command-runner.ts commandErrorMessage, resolveCommand, resolve, command, run (+3)
packages/core/src/rojo/sourcemap.ts readSourcemap, resolveSourceInstance, walk, instancePathSegments, walkChildren (+1)
packages/core/src/tools/sync-tools.ts atomicWriteFile, _statePath, _writeState, _resolveSyncDir, syncPull (+1)
packages/core/src/rojo/source-mapper.ts within, canonicalCandidate, resolveProjectRoot, resolveProjectPath, classifyRojoSource
packages/core/src/toolchain/wally-tools.ts casePath, collectProjectPaths, verifyRojoMapping

Entry Points

Start here when exploring this area:

  • isRojoProjectFile (Function) — packages/core/src/rojo/project-discovery.ts:63
  • discoverRojoProjects (Function) — packages/core/src/rojo/project-discovery.ts:123
  • walk (Function) — packages/core/src/rojo/project-discovery.ts:126
  • selectRojoProject (Function) — packages/core/src/rojo/project-discovery.ts:144
  • resolveProjectRoot (Function) — packages/core/src/rojo/source-mapper.ts:21

Key Symbols

Symbol Type File Line
RojoSourceEditor Class packages/core/src/rojo/source-editor.ts 51
RojoCommandRunner Class packages/core/src/rojo/command-runner.ts 46
isRojoProjectFile Function packages/core/src/rojo/project-discovery.ts 63
discoverRojoProjects Function packages/core/src/rojo/project-discovery.ts 123
walk Function packages/core/src/rojo/project-discovery.ts 126
selectRojoProject Function packages/core/src/rojo/project-discovery.ts 144
resolveProjectRoot Function packages/core/src/rojo/source-mapper.ts 21
resolveProjectPath Function packages/core/src/rojo/source-mapper.ts 28
resolveSourceInstance Function packages/core/src/rojo/sourcemap.ts 89
classifyRojoSource Function packages/core/src/rojo/source-mapper.ts 130
isLoopbackHost Function packages/core/src/network.ts 2
assertSecureBridgeBinding Function packages/core/src/server.ts 61
instancePathSegments Function packages/core/src/rojo/sourcemap.ts 46
resolveInstanceSource Function packages/core/src/rojo/sourcemap.ts 63
buildProject Method packages/core/src/rojo/rojo-tools.ts 127
generateSourcemap Method packages/core/src/rojo/rojo-tools.ts 145
nativeSyncbackPlan Method packages/core/src/rojo/rojo-tools.ts 206
nativeSyncbackApply Method packages/core/src/rojo/rojo-tools.ts 237
syncbackPlanHash Method packages/core/src/rojo/rojo-tools.ts 315
snapshotSources Method packages/core/src/rojo/rojo-tools.ts 349

Read the full file on GitHub · 94 lines

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. 2d ago First seen · 94 lines · 22 tokens per session scan A 552d10ba6801

Subscribe to this mod's changes

rojo is a skill published in the GitHub repository princeofscale/bloxforge (5 stars, last pushed 6d ago), licensed MIT. It adds 22 tokens to every session and 1,392 once invoked, about $0.0001 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-31.