minecraft-persistence
Skill1 starsChanged 58 days agoMITView on GitHub
Design or repair Minecraft player, island, item and transaction persistence, migrations and recovery after restart or crash.
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-schedulingSkill
- minecraft-version-compatibilitySkill
- minecraft-version-detectionSkill
- minecraft-configurationSkill
- minecraft-inventory-transactionsSkill
- 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 13
Use transactions/constraints for money or shared balances when available.
- Distinctive: line 27
Read references/durable-trades.md when handling the detailed cases above.
- Very specific: line 31
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
Persistent state and recovery
Identify authoritative state and durability needs before choosing storage. PDC suits metadata on supported holders; queryable/shared accounts may require a database. JDBC drivers are dependencies, not part of Java's standard library.
- Choose stable UUID/key ownership and schema versioning. Distinguish an item instance, stack quantity, player profile and island account; do not use names or lore as identifiers.
- Ordinary blocks do not expose item-style PDC. Store custom plant state using a persistent world/chunk/coordinate index and remove it when blocks change.
- Capture immutable snapshots on the owner thread; persist off-thread with ordered writes. A stale asynchronous save must not overwrite newer state.
- Use transactions/constraints for money or shared balances when available. Saving a player and saving an external ledger are not one atomic operation.
- For file storage, write a temporary file and use an appropriate atomic replacement where supported. Preserve previous data on parse failure; migration must be rerunnable or guarded.
- Back up consistent database/world/account state and test restoration. Include WAL/auxiliary files correctly rather than copying a live database file blindly.
Verification
Inject failure between commits, retry a migration and simulate out-of-order saves. Restore into an isolated runtime and reconcile balances/items.
Example request
A balance reverts after logout because an older asynchronous save finishes last.
Focused reference
Read references/durable-trades.md when handling the detailed cases above.
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.

