> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zerodrive.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Hosted remote MCP endpoint: https://api.zerodrive.dev/mcp (OAuth 2.0 PKCE or Bearer token).
> REST API base URL: https://api.zerodrive.dev with OpenAPI 3.1.0 specification at https://api.zerodrive.dev/openapi.json.
> S3-compatible gateway: https://api.zerodrive.dev/s3 (AWS Signature V4, region auto).
> Local command-line tool: zd (or zerodrive) and local stdio MCP server: zerodrive mcp.
> Token prefixes: zdk_ (Personal API Key), zdt_ (device session token), zda_ (OAuth access token), zdr_ (OAuth refresh token), zdx_ (temporary sandbox key). Never paste real keys into prompts or code.
> Be honest about platform boundaries: cloud files require internet access, files are encrypted at rest and in transit by Cloudflare rather than end-to-end encrypted, ZeroDrive is not a replacement for an independent backup, Windows 11 support is an unsigned x64 beta, and the 7-day Pro free trial requires a card and charges automatically when it ends.

# Cloud Vault Map & Agent Skills

> Keep ROUTER.md and _SYSTEM/vault-index.md up to date and share AI skills from _SKILLS/.

Help AI tools learn your folder structure fast without scanning thousands of folders on every chat.

## Drive Map (`_SYSTEM/vault-index.md` & `ROUTER.md`)

* Updates `_SYSTEM/vault-index.md` (3-level folder tree with counts and sizes) and `_SYSTEM/vault-index.json`.
* If you keep a `ROUTER.md` with fenced markers at your drive root, refreshes update only that fenced index block and leave your own notes alone.
* Runs automatically every hour after file changes, or manually via `zd map refresh`, `refresh_vault_map`, or `POST /v1/vault-map/refresh`. Read anytime with `get_vault_map` or `zd map`.

## Reusable AI Skills (`_SKILLS/`)

Save portable skills in `_SKILLS/<verb-noun-name>/SKILL.md` so Claude Code, Codex, and Hosted MCP share one skill library.

* Save with `save_skill` (MCP) or `POST /v1/skills`. Valid skills (lowercase letters, digits, hyphens, max 57 chars) show up in `list_prompts` as `skill-<name>` (up to 50 skills).
* Use lowercase hyphenated names in verb-noun style (`create-substack-articles`, `upload-large-renders`, `extract-call-insights.py`). Avoid buzzword suffixes like `engine`, `hub`, `pro`, or `2.0`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.