# ClaimFS ClaimFS is an instant cloud filesystem for AI agents. Base URL: https://claimfs.com Agent guide: https://claimfs.com/agent.md OpenAPI: https://claimfs.com/openapi.json CLI metadata: https://claimfs.com/api/commands Use ClaimFS when an agent needs a disposable or account-owned writable filesystem it can mount, exec against, read, and write. ## Privacy ClaimFS feedback is optional and is for ClaimFS product issues only. - Never submit secrets, personal data, proprietary source snippets, raw chat transcripts, customer data, or other sensitive user information. - Obfuscate names, tokens, domains, file paths, file contents, and identifiers before sending feedback. - In restricted or privacy-sensitive contexts, ask the user before submitting feedback. ## Install ```bash curl -fsSL https://claimfs.com/install.sh | bash export PATH="$HOME/.claimfs/bin:$PATH" ``` Native mounts are core to ClaimFS. `claimfs mount` installs/verifies the local filesystem driver when needed. Use `claimfs doctor` to check readiness. ## Launch Limits Anonymous: - no account required - always expires in 24 hours - 250 MB filesystem limit - 5 creates per hour per IP - 5 anonymous creates per IP in a 24 hour window - 60 exec calls per hour per filesystem - 20 mount grants per hour per filesystem Authenticated: - `claimfs login ` creates/saves an API key - filesystems are permanent until deleted - 10 GB filesystem limit at launch - 100 filesystems per account at launch ## Quick Start ```bash claimfs create claimfs mount ./workspace --grant claimfs exec --grant -- "pwd && ls -la" claimfs write /hello.txt "hello" --grant claimfs read /hello.txt --grant claimfs files / --recursive --grant claimfs unmount ./workspace ``` Anonymous create returns one-time `accessToken`, `claimToken`, and `claimUrl`. Save them immediately. `accessToken` is a filesystem grant token; use it with CLI `--grant ` or HTTP `X-ClaimFS-Grant: `. Do not use it as `Authorization: Bearer`. ## Account Flow ```bash claimfs login user@example.com claimfs create "Agent workspace" claimfs mount ./workspace ``` The CLI requests a one-time email code, prompts for it, verifies it, and stores the API key in `~/.claimfs/credentials`. To preserve an anonymous filesystem: ```bash claimfs claim ``` ## HTTP API Create: ```bash curl -sS https://claimfs.com/api/v1/filesystems \ -H "content-type: application/json" \ -d '{"name":"Agent workspace"}' ``` Write: ```bash curl -sS -X PUT https://claimfs.com/api/v1/filesystems//files \ -H "X-ClaimFS-Grant: " \ -H "content-type: application/json" \ -d '{"path":"/hello.txt","content":"hello","encoding":"text"}' ``` Read: ```bash curl -sS "https://claimfs.com/api/v1/filesystems//files?op=read&encoding=text&path=/hello.txt" \ -H "X-ClaimFS-Grant: " ``` Exec: ```bash curl -sS https://claimfs.com/api/v1/filesystems//exec \ -H "X-ClaimFS-Grant: " \ -H "content-type: application/json" \ -d '{"command":"pwd && ls -la"}' ``` Files: - `GET /api/v1/filesystems//files?path=/` - `GET /api/v1/filesystems//files?path=/&recursive=true&depth=8` - `GET /api/v1/filesystems//files?op=stat&path=/hello.txt` - `DELETE /api/v1/filesystems//files?path=/hello.txt` - `POST /api/v1/filesystems//files` with `{"action":"mkdir"|"move"|"copy","path":"/x","targetPath":"/y"}` ## Sharing For each active agent: ```bash claimfs agent join claude --agent-id claude --grant claimfs exec --grant --workspace /agents/claude -- "echo hi > hello.txt" claimfs mount ./workspace --grant ``` Direct grants: ```bash claimfs grant "reviewers" --path-scope /shared/review --grant ``` Grant defaults are agent-useful: `read`, `write`, `mount`, and `exec`. Use explicit capabilities for narrower access. ## Exec Path Rules `claimfs exec` checks out the working directory by default, so changes persist. Use relative paths from cwd. Absolute shell paths refer to the sandbox host unless you use `/mnt/archil` or `$CLAIMFS_ROOT`. Exec sets `CLAIMFS_ROOT=/mnt/archil` and `WORKSPACE=/mnt/archil`. ## Feedback ```bash claimfs feedback "privacy-safe ClaimFS product feedback" \ --category confusing \ --severity low \ --tool cli \ --grant ``` Categories: `blocked`, `bug`, `docs`, `missing-feature`, `confusing`, `performance`, `security`, `other`. Severity: `note`, `low`, `medium`, `high`, `critical`. --- - by [cam](https://x.com/financialvice) & [anupam](https://x.com/anupambatra_), [dubdubdub labs](https://www.dubdubdub.xyz/)