minecraft-scheduling
Skill1 starsChanged 58 days agoMITView on GitHub
Fix Minecraft scheduling, asynchronous I/O, task cancellation or Paper/Folia thread-ownership bugs.
In this repository46 other files it gives its agents.
- minecraft-coworkerSkill
- minecraft-evidenceSkill
- minecraft-subagentsSkill
- minecraft-commands-permissionsSkill
- minecraft-dependency-detectionSkill
- minecraft-platform-detectionSkill
- minecraft-project-contextSkill
- minecraft-version-compatibilitySkill
- minecraft-version-detectionSkill
- minecraft-configurationSkill
- minecraft-inventory-transactionsSkill
- minecraft-persistenceSkill
- minecraft-recipes-lootSkill
- minecraft-datapacksSkill
- minecraft-performanceSkill
- minecraft-release-recoverySkill
- minecraft-crafting-automationSkill
- minecraft-creative-buildingSkill
- minecraft-entity-aiSkill
- minecraft-exploration-contentSkill
- minecraft-gameplay-designSkill
- minecraft-game-sessionsSkill
- minecraft-items-equipmentSkill
- minecraft-movement-abilitiesSkill
- minecraft-survival-simulationSkill
- minecraft-teams-socialSkill
- minecraft-crossplaySkill
- minecraft-permission-providersSkill
- minecraft-plugin-apisSkill
- minecraft-proxy-securitySkill
- minecraft-bedrock-addonsSkill
- minecraft-data-generationSkill
- minecraft-network-payloadsSkill
- minecraft-hostingSkill
- minecraft-animation-soundSkill
- minecraft-bitmap-fontsSkill
- minecraft-item-modelsSkill
- minecraft-pack-deliverySkill
- minecraft-agentSkill
- minecraft-task-classifierSkill
- minecraft-testingSkill
- minecraft-hud-localizationSkill
- minecraft-claimsSkill
- minecraft-map-designSkill
- minecraft-schematicsSkill
- minecraft-world-generationSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Treat tick delays as simulation time.
- Distinctive: line 18
Test delayed completion after logout and disable, slow I/O and cancellation.
- Very specific: line 26
Read contract.json for applicability and required outputs.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
Scheduling, threads and Folia ownership
Identify the owner of each operation before changing threads. Separate immutable computation/I/O from live world, inventory and entity mutation.
- On conventional Paper, capture safe inputs on the owning server thread, perform blocking work outside the tick path and apply results on the correct thread after revalidation.
- Under Folia, use entity scheduling for entities that move and region scheduling for location-owned work. Global work is not a substitute for access to arbitrary regions.
- Treat tick delays as simulation time. For offline elapsed time, use persisted timestamps with bounded catch-up rather than assuming a fixed TPS-to-wall-clock conversion.
- Handle logout, entity retirement, unloaded chunks and plugin disable before applying delayed results. Cancel tasks owned by expired sessions.
- Batch work and cap backlog; a task per block or item often turns a small feature into unbounded scheduler overhead. Mark Folia support only after verifying ownership and cross-region behavior.
Verification
Test delayed completion after logout and disable, slow I/O and cancellation. For Folia support, exercise two players in different regions and an entity crossing region boundaries.
Example request
Move database work off the tick thread without reading inventories asynchronously or losing a pending result.
Contract and evidence
Read contract.json for applicability and required outputs; REFERENCE.md for evidence and version limits. No listed verified release means resolve the target before generation. examples/scenario.md contains a documented evaluation prompt, not proof that an agent passed.
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.

