Documentation Index
Fetch the complete documentation index at: https://docs.baimoqilin.com/llms.txt
Use this file to discover all available pages before exploring further.
Why session discipline matters
Sessions are MineClawd’s long-term memory. A clean session workflow gives you better answers, fewer context mistakes, and faster recovery when something breaks.How sessions are scoped
- Sessions are isolated by owner key.
- Player commands use the player UUID as owner key.
- Console commands use the command source name as owner key.
- Each owner has one active session pointer.
- All session commands require OP permission level
2.
Daily command workflow
| Goal | Command | GUI alternative |
|---|---|---|
| Start a clean context | /mineclawd sessions new | Click New Session in the Sessions view |
| See all saved sessions | /mineclawd sessions list | Open Sessions from the overlay menu |
| Switch active context | /mineclawd sessions resume <session> | Click a session row in the Sessions view |
| Remove stale context | /mineclawd sessions remove <session> | — |
| Read current chat history | /mineclawd history | Scroll through the overlay conversation |
| Repair malformed Vertex turns | /mineclawd sessions repair [session] | — |
<session> accepts either a short id like 1a2b or a token like 1a2b-my-build-plan.
Best practices for long tasks
- Use one session per objective, not one session for everything.
- Rename context by starting fresh sessions instead of dragging old history forever.
- Run
/mineclawd sessions listbeforeresume,remove, orrepair. - Avoid session mutations while a request is still running.
- Review context with
/mineclawd historybefore destructive tasks.
Using /mineclawd history well
- The history book shows session token, update time, and visible chat turns.
- The command only works for players, not console.
- The history book UI requires MineClawd on the client.
- Very long history is truncated to Minecraft book page limits.
sessions list plus recent chat logs as your fallback context check.
Recovery playbook
Request failed but context should stay
Use/mineclawd retry <token> from the latest failure message. Retry tokens expire after 30 minutes.
Vertex function-call mismatch errors
Run:repair normalizes malformed Vertex function-call turns and saves the fixed session.
Session file locations
MineClawd stores sessions under your game directory:active.jsonstores the active session id.<id>.jsonstores metadata and both provider histories (openAiHistory,vertexHistory).- If you remove the active session, MineClawd auto-selects the most recently updated remaining session. If none remain, active session is cleared.
Backup and cleanup strategy
- Back up
mineclawd/sessions/before mass cleanup. - Remove stale sessions with
/mineclawd sessions remove <session>. - Keep one known-good session per operator for rapid rollback.
- Use
/resources/technical-detailswhen you need to inspect storage internals.
