bloxkit-ai
AGENTS.md0 starsChanged 6 months agoMITView on GitHub
These instructions apply to the bloxkit-ai template repo and to generated Bloxkit projects. Run these before normal development: If setup fails, run: /fix-myself checks Node, npm, Rokit, Rojo, StyLua, Wally, Selene, and Lune. It runs safe install and validation steps, then reports any manual Studio or Rojo work that remains. Before handing off template changes, run: For a generated project, run: Agents can prepare projects and build .rbxl files. A human still needs to open Roblox Studio, connect Rojo, press…
- Installs packages
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository29 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-placeSkill
- adopt-projectSkill
- buildSkill
- doctorSkill
- fix-myselfSkill
- new-featureSkill
- new-gameSkill
- new-placeSkill
- persistence-proofSkill
- run-testsSkill
- runtimeSkill
- serveSkill
- setup-new-gameSkill
- setupSkill
- testSkill
- travel-proofSkill
- ui-add-daily-rewardsSkill
- ui-add-hudSkill
- ui-add-inventorySkill
- ui-add-leaderboardSkill
- ui-add-popupSkill
- ui-add-quest-logSkill
- ui-add-settingsSkill
- ui-add-shopSkill
- ui-add-upgrade-menuSkill
- ui-previewSkill
- uiSkill
- upgrade-projectSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 1 is common, 4 are distinctive, and 4 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
Prefer the shared workflow runner: node toolkit-v2/scripts/command-runner.mjs /command.
- Very specific: line 9
Keep Codex, Claude Code, and Claude Desktop behavior aligned by updating toolkit-v2/commands/ first, then running npm run …
- Distinctive: line 10
Do not edit generated project output by hand unless you are debugging the generator.
- Very specific: line 11
Treat generated-project/, reports/, builds/, node_modules/, .rokit/, and .bloxkit/cache/ as generated or local runtime output.
- Common: line 12
Never commit personal paths, local machine names, private emails, API keys, tokens, or generated dependency folders.
- Distinctive: line 16
Run these before normal development:
- Distinctive: line 23
If setup fails, run:
- Very specific: line 40
Add prefab UI: /ui-add-shop, /ui-add-inventory, /ui-add-upgrade-menu, /ui-add-settings, /ui-add-daily-rewards, /ui-add-quest-log, …
- Distinctive: line 45
Before handing off template changes, run:
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bloxkit AI Agent Guide
These instructions apply to the bloxkit-ai template repo and to generated Bloxkit projects.
Core Rules
- Work from the current repo root. Do not use hard-coded absolute paths.
- Prefer the shared workflow runner:
node toolkit-v2/scripts/command-runner.mjs /command. - Keep Codex, Claude Code, and Claude Desktop behavior aligned by updating
toolkit-v2/commands/first, then runningnpm run v2:generate-agent-surfaces. - Do not edit generated project output by hand unless you are debugging the generator. Change specs, overrides, or toolkit scripts, then rebuild.
- Treat
generated-project/,reports/,builds/,node_modules/,.rokit/, and.bloxkit/cache/as generated or local runtime output. - Never commit personal paths, local machine names, private emails, API keys, tokens, or generated dependency folders.
Standard Setup
Run these before normal development:
npm install
npm run tools:verifyIf setup fails, run:
npm run fix-myself -- --dry-run
npm run fix-myself/fix-myself checks Node, npm, Rokit, Rojo, StyLua, Wally, Selene, and Lune. It runs safe install and validation steps, then reports any manual Studio or Rojo work that remains.
Main Workflows
- New standalone game:
/new-game "Game Name" - Existing Rojo repo:
/adopt-project --repo-root ../your-existing-game - Existing Bloxkit project setup:
/setup - Validate a project:
/doctor,/test,/runtime - Build a project:
/build - Serve to Studio:
/serve - Add prefab UI:
/ui-add-shop,/ui-add-inventory,/ui-add-upgrade-menu,/ui-add-settings,/ui-add-daily-rewards,/ui-add-quest-log,/ui-add-hud,/ui-add-popup - Preview UI:
/ui-preview [Screen.Shop]
Validation
Before handing off template changes, run:
npm run tools:verify
npm run v2:generate-agent-surfaces
npm run v2:test:workflow-surface
npm run v2:list-commands
npm run security:scanFor a generated project, run:
npm run setup
npm run build
npm run doctorStudio Handoff
Agents can prepare projects and build .rbxl files. A human still needs to open Roblox Studio, connect Rojo, press Play, and verify visual or gameplay behavior unless a Studio MCP session is available.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

