> ## 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.

# Ask ZeroDrive & Agent Workspace

> Run your own Claude Code or OpenAI Codex inside ZeroDrive Studio with Plan mode, cleanup previews, Skills editor, and clear safety levels.

Chat with **Claude Code** or **OpenAI Codex** right inside ZeroDrive Studio. ZeroDrive charges `$0` extra for AI and connects straight to your local and cloud files.

***

## How Ask ZeroDrive runs your AI

ZeroDrive runs the `claude` or `codex` CLI already installed on your computer. Nothing passes through a ZeroDrive AI proxy.

> [tab] Claude Code
>
> Runs your local `claude` CLI directly on your Mac or PC using your chosen model and effort setting.
>
> > [!NOTE]
> >
> > **Your account stays yours.** ZeroDrive never reads, copies, or touches your Claude login tokens. Optional API keys live strictly inside macOS Keychain or Windows Credential Manager.

> [tab] OpenAI Codex
>
> Talks directly to your local `codex` CLI and automatically reuses your existing Codex login or optional OpenAI API key.

***

## Useful tools inside the workspace

* **Start in Plan mode.** Inspect folders and preview changes in read-only **Plan** mode first, then click **Switch to Act & Run Plan** when ready.
* **Open the Quick Drawer (`⌘J`).** Press `⌘J` from any screen in Studio to open Ask ZeroDrive as a side drawer.
* **Preview SSD cleanups.** Ask ZeroDrive builds clickable optimization cards showing disk space you can free and safe caches to send to Trash.
* **Search Vault then Web.** Pick specific Knowledge Brain collections, toggle MCP servers, or search your drive first and fill gaps from the web.
* **One-click AI launchers.** Open prompts cleanly in Claude, ChatGPT, Gemini, Perplexity, or Grok from the composer bar (hide anytime in **Settings**).

***

## Your `~/.zerodrive-agent` skills folder

ZeroDrive keeps reusable instructions and skills in `~/.zerodrive-agent` (`CLAUDE.md`, `AGENTS.md`, `.mcp.json`, `.claude/`, and `.codex/`).

Edit, test, or reset skills right inside Studio. If an update changes a template you customized, **Agent Workspace → View Changes / Keep Mine** protects your edits automatically.

***

## Built-in safety levels

| Level | What happens | Tools |
| :- | :- | :- |
| **Read and check** | Runs right away | `zd_get_status`, `zd_list_local_folder` (reads folders without downloading cloud files), `zd_list_vault`, `zd_scan_storage_advisor`, `zd_scan_duplicates`, `zd_get_activity`, `zd_search_everywhere` |
| **Safe copies & scans** | Shows live progress and Stop button | `zd_run_backup` (copy-only), `zd_refresh_drive`, node status refresh |
| **Moving asks first** | Opens confirmation sheet first | `zd_stage_transfer`, `zd_stage_optimization_preview` |
| **Deleting never runs by AI** | Humans confirm deletes themselves | `zd_open_duplicate_review` (opens Duplicate Protection for you) |

***

## Next steps

> [card] [Choose AI Permissions](https://docs.zerodrive.dev/mcp/permissions.md)
>
> Understand read, write, full, and single-folder locks across AI tools.

> [card] [Studio Workspace Tour](https://docs.zerodrive.dev/desktop/studio-workspace.md)
>
> Explore all 11 screens in ZeroDrive Studio.


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