claudian README

README проекта с github.com/YishenTu/claudian. Одним файлом markdown: README.md.

Claudian

Claudian on Trendshift GitHub stars Obsidian downloads GitHub release License

Preview

An Obsidian plugin that embeds AI coding agents (Claude Code, Codex, Grok Build, Antigravity CLI, OpenCode, Pi, DeepSeek Harness, and more to come) in your vault. Your vault becomes the agent's working directory — file read/write, search, bash, and multi-step workflows all work out of the box.

Features & Usage

Open Claudian interface from the ribbon icon or command palette. Everything works like your familiar coding agent, Claude Code, Codex, Grok Build, Antigravity CLI, OpenCode, Pi, and DeepSeek Harness — talk to the agent, and it reads, writes, edits, searches and run commands in your vault.

Inline Edit — Select text or start at the cursor position + hotkey to edit directly in notes with word-level diff preview.

Projects — Group sessions that work toward a shared goal. Every member shares the project's instructions and a memory file that the agents keep current, and the agents can cooperate by finding, reading and messaging each other. See the Projects guide.

Zen Mode — Collapse the sidebar holding Claudian and the chat moves to a compact composer at the bottom of your notes, with a one-line activity preview and the conversation one click away.

Slash Commands & Skills — Type / or $ for reusable prompt templates or Skills from user- and vault-level scopes.

@mention — Type @ to reference vault files, folders and other Claudian sessions.

Cross-Session Messaging — Let agents read, message, steer or interrupt other Claudian sessions, or start new ones on any provider. See the Cross-session messaging guide.

Side Chat (/side or /btw) — Explore a separate, temporary conversation with follow-ups and tools while keeping the main chat unchanged.

MCP Servers — Connect external tools through each coding agent's native CLI-managed MCP configuration.

Tabs & Session Management — Use multiple tabs in single-pane mode or a persistent session manager beside the chat in dual-pane mode.

Plugin API (experimental) — Let other Obsidian plugins send prompts to sessions, stop them and read their replies. See the Plugin API guide.

Collaboration — Collab is now a standalone plugin. See Claudian Collab.

Requirements

Installation

  1. Open Obsidian → Settings → Community plugins → Browse
  2. Search for "Claudian" and click Install
  3. Enable the plugin

Or install directly from the community plugin page.

From source (development)

  1. Clone this repository into your vault's plugins folder:

    cd /path/to/vault/.obsidian/plugins
    git clone https://github.com/YishenTu/claudian.git realclaudian
    cd realclaudian
    
  2. Install dependencies and build:

    npm install
    npm run build
    
  3. Enable the plugin in Obsidian:

    • Settings → Community plugins → Enable "Claudian"

Development

# Watch mode
npm run dev

# Production build
npm run build

Privacy & Data Use

Troubleshooting

See the Troubleshooting guide for a provider CLI or Node.js that isn't found, a newly released model that is missing, and authentication that fails while the CLI subscription works. If you have a feature request or run into a bug, please submit a GitHub issue.

Architecture

src/
├── main.ts                      # Plugin entry point and sole composition root
├── composition/                 # Host objects and view wiring shared by app and features
├── app/                         # Startup, conversations, settings, and storage
├── core/                        # Provider-neutral execution, registry, and type contracts
│   ├── execution/               # Run, session snapshot, and interaction primitives
│   ├── providers/               # Provider registry and workspace services
│   ├── process/                 # CLI discovery and managed child processes
│   ├── prompt/                  # Prompt and context encoding
│   ├── auxiliary/               # Shared provider auxiliary services
│   └── ...                      # bootstrap, commands, rpc, security, storage, tools, types
├── providers/
│   ├── antigravity/             # Antigravity CLI ACP adaptor, transcript history, models
│   ├── claude/                  # Claude Agent SDK adaptor, native history, plugins
│   ├── codex/                   # Codex shared app-server adaptor, JSON-RPC, JSONL history
│   ├── deepseek/                # DeepSeek Harness native Remote adaptor, presets, and history
│   ├── grok/                    # Grok Build ACP adaptor, native history, models, and tools
│   ├── opencode/                # OpenCode HTTP adaptor, shared server
│   ├── pi/                      # Pi RPC adaptor, model discovery, JSONL history
│   └── acp/                     # Agent Client Protocol shared mechanics
├── features/
│   ├── agent-skills/            # Vault skill and Claude command management
│   ├── chat/                    # Sidebar chat: tabs, workspace lifecycle, controllers, renderers
│   ├── inline-edit/             # Inline edit modal and provider-backed edit services
│   └── settings/                # Settings shell and provider tabs
├── shared/                      # Reusable UI components, settings controls, mention/dropdown
├── i18n/                        # Internationalization (10 locales)
├── utils/                       # Domain-free leaf helpers
└── style/                       # Modular CSS

Contributing

Issues and focused pull requests are welcome. Issues are the preferred starting point: describe the problem, reproduction steps, and environment clearly so it can be investigated.

Before opening a pull request, please read the contribution guide. Pull requests must explain the problem, the proposed solution, why the approach is appropriate, and how the change was validated. Pull requests that add a new provider are not accepted; the guide explains this maintenance and product-quality boundary in detail.

Star History

Star History Chart

Sponsorship

Kimi (Moonshot AI)

Kimi (Moonshot AI)

Thanks Kimi (Moonshot AI) for supporting Claudian! Try a Kimi Code plan (CN | Global), or use the API through the Kimi Open Platform (CN | Global). New users receive bonus API credits equal to 10% of their first successful top-up. This offer ends December 31, 2026. Claudian receives no affiliate commission from these links.

Ke Holdings Inc. (BEIKE)

MOMA

Claudian is proudly sponsored by Ke Holdings Inc. (BEIKE) and the MOMA team. Their support helps Claudian continue to improve through ongoing development and maintenance.

Want to support Claudian or appear here? Contact me: [email protected].

License

Licensed under the MIT License.

claudian (YishenTu/claudian)

Ищем в базе…

Что это такое?Claudian — плагин для Obsidian, который встраивает ИИ-агентов для программирования (Claude Code, Codex, Grok, Opencode, Pi) в ваше хранилище и делает хранилище рабочей папкой агента: он может читать и записывать файлы, искать и выполнять команды bash.
Это отдельное приложение или нужно, чтобы был запущен Obsidian?Это плагин для Obsidian, а не отдельное приложение: он работает внутри настольной версии Obsidian и управляет внешними CLI-инструментами ИИ-агентов, которые у вас уже установлены.
Как мне установить Claudian?Установите его через каталог сторонних плагинов Obsidian: найдите «Claudian», нажмите «Установить» и включите; либо склонируйте репозиторий в папку plugins вашего хранилища и соберите плагин из исходного кода.
Нужно ли мне сначала установить Claude Code или другой CLI?Да — должен быть установлен хотя бы один харнесс (Claude Code CLI, Codex CLI, Grok Build, OpenCode или Pi), а также совместимая подписка или API-провайдер, например OpenRouter, Kimi, GLM или DeepSeek, и Obsidian версии v1.13.0+.
Какие подводные камни при установке мне стоит знать?Сборка плагина теперь весит более 5 МБ из-за Claude Agent SDK, поэтому официальная синхронизация Obsidian Sync её не переносит — устанавливать и обновлять плагин придётся вручную на каждом устройстве. Автоопределение CLI также может не сработать в Windows, если CLI провайдера не добавлен в PATH для графических приложений.
Claudian работает в мобильной версии Obsidian или только на компьютере?Только на компьютере — macOS, Linux и Windows. Мобильная версия не поддерживается, а для Collab Mode дополнительно нужен Git.
Куда уходят данные моего хранилища, когда я использую Claudian?Ваш ввод, прикреплённые файлы, изображения и результаты вызовов инструментов отправляются выбранному провайдеру (Anthropic, OpenAI, xAI или бэкенду, настроенному в OpenCode или Pi); собственной телеметрии у плагина нет.
Что такое Collab Mode?Экспериментальная функция, которая позволяет нескольким пользователям Claudian совместно работать над общим проектом; данные проекта в Git и служебные метаданные синхронизируются напрямую между устройствами участников по локальной сети, без участия облачного сервиса Claudian.
Что делает Inline Edit?Выделите текст или поставьте курсор и нажмите горячую клавишу — агент отредактирует заметку прямо на месте, а перед применением изменений вы увидите предпросмотр правок по словам.
Можно ли подключить MCP-серверы к Claudian?Да — MCP-серверы настраиваются через собственную конфигурацию MCP каждого ИИ-агента, которой управляет его CLI, а не через отдельную настройку Claudian.
Почему мейнтейнер не принимает PR с добавлением новых провайдеров агентов?В руководстве для контрибьюторов прямо сказано, что это граница поддержки и качества продукта, поэтому новые интеграции провайдеров не принимаются как pull request от сообщества.
Автор
YishenTu
Размер
39.4 MB
Звёзды
16K
Возраст
1 г
Коммиты · 90 дней