Ask your Obsidian vault with Claude Code or Codex CLI (DeepAsk)
You already run Claude Code or Codex in a terminal. The next question is whether that same CLI can ask the Obsidian vault. DeepAsk can select Claude Code CLI or Codex CLI and narrow context with tags, open notes, and a date range. Copilot Agent Chat also runs coding agents in the vault. Pick by workflow. This page does not ask you to uninstall the other one.
Local CLIs are desktop-only. The license includes no hosted model quota. DeepAsk and LifeOS Pro are separate purchases. Agent file changes require an explicit whole-vault approval for that turn. Phone control of a desktop session is Vibelet, not this page.
Short answer
- The feature doc names Codex CLI and Claude Code CLI.
- Ask, Edit, and structured workflows stay read-only. Edit returns a proposal and does not write files.
- Agent can modify files only when write and delete are both enabled and you approve whole-vault access for that turn. Refusal means the CLI does not start.
- LifeOS Pro is not required to use the CLI. LifeOS AI entry points do require an activated DeepAsk.
- Obsidian Mobile cannot run the Node.js CLI. API models can still be used on mobile where the docs allow it.
Three layers
| Layer | What you are doing |
|---|---|
| Desktop CLI | Official Claude Code or Codex in a project directory. |
| Vault Q&A | Select that CLI inside DeepAsk, with tags, files, or a date. |
| Phone remote | Approve tool calls on the desktop session after you leave the keyboard. See the Vibelet comparisons for Claude and Codex. |
Local CLI safety table
Source: DeepAsk feature docs. Local CLIs cannot reuse the plugin's per-tool diff and undo protocol for ordinary API models, so the boundary is intentionally stricter.
| Mode | Local CLI |
|---|---|
| Ask | Always read-only. Analyze or answer only. |
| Edit | Read-only. Returns a proposed change and does not write files. |
| Structured workflow | Read-only, so a workflow cannot bypass host review. |
| Agent | Can modify files only when both write and delete are enabled and you approve whole-vault access for that turn. Otherwise it stays read-only. After approval it may change or delete files anywhere in the current vault for that turn. Back up first, or use a test vault. |
Ask, Edit, and structured workflows never become writable just because a mutation setting is on.
One read-only ask
- Install and sign in to your own Claude Code or Codex CLI. The plugin license does not include their usage.
- Enable Dataview and an activated DeepAsk in desktop Obsidian.
- Select that local CLI in DeepAsk and leave the mode on Ask.
- Narrow with a
#tag, an open note, or a date such as/2025-08-22, then ask. - Switch to Edit for a proposal, or to Agent only after a backup and an explicit whole-vault approval.
If you only want API chat, configure an OpenAI-compatible endpoint, the Anthropic SDK, or Ollama. The CLI is optional. Webpage context on the same workflow is the Chrome page.
Copilot Agent Chat
Both products can run Claude Code or Codex against a vault. Copilot's docs also list opencode and Codex via codex-acp, with Safe / Plan / Auto permissions. DeepAsk's differences on this page are tag and date context, the official Chrome extension on the same workflow, the table above, and LifeOS Skill. Check Copilot's docs on the day you decide. You can install both. Keep one primary entry so approvals do not stack.
Related notes remain Smart Connections' job. The longer comparison is DeepAsk vs Copilot and Smart Connections.
LifeOS Skill first
If the vault is a LifeOS vault, install LifeOS Skill so the agent follows that vault's folders and journals. The built-in MCP server is the compatibility path, at http://127.0.0.1:51377/mcp, with the activation code as a bearer token. MCP is not the recommended first install.
Price
On 2026-10-14 deepask.vip lists $29.90 (English) and ¥139 (Chinese), up to 5 devices. That does not include Claude or Codex hosted credits. The CLI uses the account already signed in on your machine. Buying LifeOS Pro does not activate DeepAsk.
Next step
Open deepask.vip, activate, and run one read-only Ask. Add the Chrome extension when the page matters. Install the Skill when the vault should follow LifeOS rules. The shelf is shop.lifeos.md.