-
Notifications
You must be signed in to change notification settings - Fork 0
box write
mrdulasolutions edited this page May 25, 2026
·
1 revision
Save a memory to the local Box Drive workspace. Append-only — never overwrites. Box Drive handles cloud sync on its own schedule.
/box-write [content] [--kind=<kind>] [--title=<title>] [--team=<team>] [--tags=<a,b,c>]
Same as the cloud variant in spirit, with FS-only operations:
- Verify workspace and backend (
box-drive-detect) - Generate ULID + slug
- Check slug collision in local
_index.json - Build frontmatter (ASCII only, no em-dashes — Cowork strictness)
- Compose body
- Acquire workspace lock
- Write file atomically:
<filename>.tmp→fsync→rename - Compute SHA256 locally (no API call)
- Update folder
_index.json - Release lock
- Report
- No Box MCP calls — all FS operations
- No metadata template instance — Box API would be required
-
file_idin index entry isnull— Box Drive assigns Box file IDs only after sync; reconciliation is out of scope for v0.0.x -
local_pathis the canonical pointer — relative path from workspace root - No URL link to the file in Box — file only exists locally until Box Drive syncs
After writing, Box Drive syncs on its own schedule:
| Workflow | Latency |
|---|---|
Same agent reading via local _index.json
|
Instant |
| Another machine reading via Box Drive (on-prem variant) | Seconds to minutes (Box Drive sync) |
| Cloud variant reading via Box MCP | Seconds to minutes after sync + ~10 min for Box search index |
| Box AI / Hubs Q&A (cloud variant only) | ~10 min Hub warm-up |
Plan workflows accordingly.
Same as cloud variant:
- Title is searchable
- Body explains WHY, not just WHAT
- Tags sparse (2-5)
- Wikilinks intentional
-
No workspace → run
/box-initfirst -
Lock not acquired → another writer active OR stale lock;
/box-index-rebuildto inspect - Mount lost mid-write (Box Drive crashed) → write may be incomplete; surface clearly
- Schema — frontmatter spec
- box-recall — find what was written (local only)
- box-companion — for binaries (note: no Box AI Extract available)
- box-index-rebuild — if you suspect index drift
- Source:
skills/box-write/SKILL.md
box-memory-onprem · MIT · Repo · Latest release · Cloud variant · Cloud wiki
Getting started
Concepts
Compliance
Skills reference
- Skills Reference (all)
- box-drive-detect
- box-airgap-status
- box-init
- box-write
- box-recall
- box-companion
- box-team
- box-status
- box-index-rebuild
Operations
Project