[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73462":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},73462,"claudian","YishenTu\u002Fclaudian","YishenTu","An Obsidian plugin that embeds Claude Code\u002FCodex as an AI collaborator in your vault","",null,"TypeScript",12614,779,35,60,0,205,498,930,615,43.68,"MIT License",false,"main",[26,27,28,29,30,31],"claude-code","codex","ide","obsidian","obsidian-plugin","productivity","2026-06-12 02:03:13","# Claudian\n\n![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FYishenTu\u002Fclaudian?style=social)\n![GitHub release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FYishenTu\u002Fclaudian)\n![License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FYishenTu\u002Fclaudian)\n\n![Preview](Preview.png)\n\nAn Obsidian plugin that embeds AI coding agents (Claude Code, Codex, Opencode and more to come) in your vault. Your vault becomes the agent's working directory — file read\u002Fwrite, search, bash, and multi-step workflows all work out of the box.\n\n## Features & Usage\n\nOpen the chat sidebar from the ribbon icon or command palette. Select text and use the hotkey for inline edit. Everything works like your familiar coding agent, Claude Code, Codex and Opencode — talk to the agent, and it reads, writes, edits, and searches files in your vault.\n\n**Inline Edit** — Select text or start at the cursor position + hotkey to edit directly in notes with word-level diff preview.\n\n**Slash Commands & Skills** — Type `\u002F` or `$` for reusable prompt templates or Skills from user- and vault-level scopes.\n\n**`@mention`** - Type `@` to mention anything you want the agent to work with, vault files, subagents, MCP servers, or files in external directories.\n\n**Plan Mode** — Toggle via `Shift+Tab`. The agent explores and designs before implementing, then presents a plan for approval.\n\n**Instruction Mode (`#`)** — Refined custom instructions added from the chat input.\n\n**MCP Servers** — Connect external tools via Model Context Protocol (stdio, SSE, HTTP). Claude manages vault MCP in-app; Codex uses its own CLI-managed MCP configuration.\n\n**Multi-Tab & Conversations** — Multiple chat tabs, conversation history, fork, resume, and compact.\n\n## Requirements\n\n- **Claude provider**: [Claude Code CLI](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Foverview) installed (native install recommended). Claude subscription\u002FAPI or compatible provider ([Openrouter](https:\u002F\u002Fopenrouter.ai\u002Fdocs\u002Fguides\u002Fguides\u002Fclaude-code-integration), [Kimi](https:\u002F\u002Fplatform.moonshot.ai\u002Fdocs\u002Fguide\u002Fagent-support), etc.).\n- **Optional providers**: [Codex CLI](https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex), [Opencode](https:\u002F\u002Fopencode.ai\u002F).\n- Obsidian v1.7.2+\n- Desktop only (macOS, Linux, Windows)\n\n## Installation\n\n### From Obsidian Community Plugins (recommended)\n\n1. Open Obsidian → Settings → Community plugins → Browse\n2. Search for \"Claudian\" and click Install\n3. Enable the plugin\n\nOr install directly from the [community plugin page](https:\u002F\u002Fcommunity.obsidian.md\u002Fplugins\u002Frealclaudian).\n\n### From GitHub Release\n\n1. Download `main.js`, `manifest.json`, and `styles.css` from the [latest release](https:\u002F\u002Fgithub.com\u002FYishenTu\u002Fclaudian\u002Freleases\u002Flatest)\n2. Create a folder called `claudian` in your vault's plugins folder:\n   ```\n   \u002Fpath\u002Fto\u002Fvault\u002F.obsidian\u002Fplugins\u002Fclaudian\u002F\n   ```\n3. Copy the downloaded files into the `claudian` folder\n4. Enable the plugin in Obsidian:\n   - Settings → Community plugins → Enable \"Claudian\"\n\n### From source (development)\n\n1. Clone this repository into your vault's plugins folder:\n   ```bash\n   cd \u002Fpath\u002Fto\u002Fvault\u002F.obsidian\u002Fplugins\n   git clone https:\u002F\u002Fgithub.com\u002FYishenTu\u002Fclaudian.git\n   cd claudian\n   ```\n\n2. Install dependencies and build:\n   ```bash\n   npm install\n   npm run build\n   ```\n\n3. Enable the plugin in Obsidian:\n   - Settings → Community plugins → Enable \"Claudian\"\n\n### Development\n\n```bash\n# Watch mode\nnpm run dev\n\n# Production build\nnpm run build\n```\n\n## Privacy & Data Use\n\n- **Sent to API**: Your input, attached files, images, and tool call outputs. Default: Anthropic (Claude) or OpenAI (Codex); configurable via provider settings and environment variables.\n- **Local storage**: Claudian settings and session metadata in `vault\u002F.claudian\u002F`; Claude provider files in `vault\u002F.claude\u002F`; transcripts in `~\u002F.claude\u002Fprojects\u002F` (Claude) and `~\u002F.codex\u002Fsessions\u002F` (Codex).\n- **Environment variables**: Provider subprocesses inherit the Obsidian process environment plus any variables you configure in Claudian. This is needed for CLI authentication, proxies, certificates, and PATH resolution.\n- **Device-specific paths**: Per-device CLI paths use an opaque local key stored in browser local storage, not your system hostname.\n- **Background activity**: Claudian does not run telemetry beacons. UI polling timers read local Obsidian\u002Feditor selection state only. Network activity is limited to explicit provider runtime work, configured MCP endpoints, and provider SDK\u002FCLI calls needed to answer your requests.\n\n## Troubleshooting\n\n### Claude CLI not found\n\nIf you encounter `spawn claude ENOENT` or `Claude CLI not found`, the plugin can't auto-detect your Claude installation. Common with Node version managers (nvm, fnm, volta).\n\n**Solution**: Leave the setting empty first so Claudian can auto-detect Claude Code. If auto-detection fails, find your CLI path and set it in Settings → Advanced → Claude CLI path.\n\n| Platform | Command | Example Path |\n|----------|---------|--------------|\n| macOS\u002FLinux | `which claude` | `\u002FUsers\u002Fyou\u002F.volta\u002Fbin\u002Fclaude` |\n| Windows (native) | `where.exe claude` | `C:\\Users\\you\\AppData\\Local\\Claude\\claude.exe` |\n| Windows (npm) | `npm root -g` | `{root}\\@anthropic-ai\\claude-code\\cli-wrapper.cjs` |\n\n> **Note**: On Windows, avoid `.cmd` and `.ps1` wrappers. Use `claude.exe` for native installs, or `cli-wrapper.cjs` for package-manager installs. `cli.js` is only a legacy fallback for older Claude Code npm packages.\n\n**Alternative**: Add your Node.js bin directory to PATH in Settings → Environment → Custom variables.\n\n### npm CLI and Node.js not in same directory\n\nIf using npm-installed CLI, check if `claude` and `node` are in the same directory:\n```bash\ndirname $(which claude)\ndirname $(which node)\n```\n\nIf different, GUI apps like Obsidian may not find Node.js.\n\n**Solutions**:\n1. Install native binary (recommended)\n2. Add Node.js path to Settings → Environment: `PATH=\u002Fpath\u002Fto\u002Fnode\u002Fbin`\n\n### Other providers\n\nCodex and Opencode support are live but features might be incomplete, and still need more testing across platforms and installation methods. If you have feature request or run into any bugs, please [submit a GitHub issue](https:\u002F\u002Fgithub.com\u002FYishenTu\u002Fclaudian\u002Fissues).\n\n## Architecture\n\n```\nsrc\u002F\n├── main.ts                      # Plugin entry point\n├── app\u002F                         # Shared defaults and plugin-level storage\n├── core\u002F                        # Provider-neutral runtime, registry, and type contracts\n│   ├── runtime\u002F                 # ChatRuntime interface and approval types\n│   ├── providers\u002F               # Provider registry and workspace services\n│   ├── auxiliary\u002F               # Shared provider auxiliary services\n│   ├── bootstrap\u002F               # Plugin bootstrap wiring\n│   ├── security\u002F                # Approval utilities\n│   └── ...                      # commands, mcp, prompt, storage, tools, types\n├── providers\u002F\n│   ├── claude\u002F                  # Claude SDK adaptor, prompt encoding, storage, MCP, plugins\n│   ├── codex\u002F                   # Codex app-server adaptor, JSON-RPC transport, JSONL history\n│   ├── opencode\u002F                # Opencode adaptor\n│   └── acp\u002F                     # Agent Client Protocol shared transport\n├── features\u002F\n│   ├── chat\u002F                    # Sidebar chat: tabs, controllers, renderers\n│   ├── inline-edit\u002F             # Inline edit modal and provider-backed edit services\n│   └── settings\u002F                # Settings shell with provider tabs\n├── shared\u002F                      # Reusable UI components and modals\n├── i18n\u002F                        # Internationalization (10 locales)\n├── types\u002F                       # Shared ambient types\n├── utils\u002F                       # Cross-cutting utilities\n└── style\u002F                       # Modular CSS\n```\n\n## Roadmap\n\n- [x] 1M Opus and Sonnet models\n- [x] Codex provider integration\n- [x] Opencode support\n- [ ] More to come!\n\n## License\n\nLicensed under the [MIT License](LICENSE).\n\n## Star History\n\n\u003Ca href=\"https:\u002F\u002Fwww.star-history.com\u002F?repos=YishenTu%2Fclaudian&type=date&legend=top-left\">\n \u003Cpicture>\n   \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fimage?repos=YishenTu\u002Fclaudian&type=date&theme=dark&legend=top-left\" \u002F>\n   \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fimage?repos=YishenTu\u002Fclaudian&type=date&legend=top-left\" \u002F>\n   \u003Cimg alt=\"Star History Chart\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fimage?repos=YishenTu\u002Fclaudian&type=date&legend=top-left\" \u002F>\n \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n## Acknowledgments\n\n- [Obsidian](https:\u002F\u002Fobsidian.md) for the plugin API\n- [Anthropic](https:\u002F\u002Fanthropic.com) for Claude and the [Claude Agent SDK](https:\u002F\u002Fplatform.claude.com\u002Fdocs\u002Fen\u002Fagent-sdk\u002Foverview)\n- [OpenAI](https:\u002F\u002Fopenai.com) for [Codex](https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex)\n- [Opencode](https:\u002F\u002Fopencode.ai\u002F) \n","Claudian 是一个 Obsidian 插件，它将 Claude Code\u002FCodex 等 AI 编码助手集成到你的知识库中。该插件的核心功能包括直接在笔记中进行内联编辑、使用斜杠命令和技能、以及通过 @提及方式让 AI 与特定文件或外部工具交互。此外，还支持计划模式和指令模式，便于更精细地控制 AI 的行为。Claudian 适用于需要提高编程效率和文档管理的开发者及团队，尤其是在处理复杂项目时，能够显著提升生产力。基于 TypeScript 开发，并遵循 MIT 许可协议。",2,"2026-06-11 03:45:41","high_star"]