What problem does it solve?
This Skill helps you design and implement reliable per-instance storage for systems that manage many concurrent sessions, jobs, or agents. It solves the common problems of data collisions, scattered state, and fragile cleanup when each instance needs its own isolated files and lifecycle metadata.
Core Features & Use Cases
- Instance-rooted storage layout: Keep every session's workspace, logs, events, sidecar data, and outputs under one directory for easy inspection and deletion.
- Per-instance concurrency control: Use targeted locking so writes to one instance do not block unrelated instances.
- Atomic persistence patterns: Write JSON and other state updates safely with temporary files and atomic replace operations.
- Prepare-once, create-many workflows: Separate expensive initialization from lightweight session creation for scalable factories.
- Use Case: A CLI tool managing many build jobs can store each job in its own directory, update status safely from multiple threads, and cleanly archive or remove one job without touching others.
Quick Start
Use this skill to design a filesystem-backed instance store for my concurrent sessions with isolated directories, atomic writes, and per-instance locking.