Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Claudian WeChat Bridge

xsvmxsvm67 downloads

Drive your Obsidian Claudian AI coding agent from WeChat. Chat, send images, switch sessions, run slash commands, and mirror desktop turns to mobile.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates9

中文 | English

Remote control your Claudian AI coding agent inside Obsidian directly from WeChat, via the official WeChat ClawBot (iLink) interface.

WeChat messages and images are relayed into a live Claudian session, and Claudian's responses are relayed straight back to the same WeChat conversation — turning your WeChat chat into a portable remote controller for your Obsidian agent.

Overview

Claudian embeds Claude Code (and other coding agents) as a sidebar inside Obsidian. WeChat ClawBot is an official WeChat capability that lets a bot account exchange messages with WeChat users over a long-polling HTTP API. This project connects the two seamlessly.

Shipped as a single self-contained Obsidian plugin folder:

  • obsidian-plugin/ — Obsidian plugin (claudian-wechat) running inside Obsidian alongside Claudian. It exposes a local loopback HTTP interface and drives Claudian's own chat tabs and runtime objects.
  • obsidian-plugin/relay.py — Bundled Python script managing the WeChat ClawBot protocol (QR login, long-poll getUpdates, sendMessage) and forwarding data between WeChat and the plugin's local HTTP endpoint.

The plugin manages relay.py's entire lifecycle automatically: it locates your system Python, bootstraps an isolated virtual environment (venv/, created only on first run), installs dependencies, presents an in-Obsidian QR code modal for initial WeChat login, and spawns relay.py serve as a managed child process. When the plugin is disabled or Obsidian is closed, the relay exits cleanly.

All communications between the plugin and relay stay strictly on 127.0.0.1.

Architecture

WeChat User (Mobile)
    |
    v
WeChat ClawBot (Official Tencent Server)
    |  iLink API: QR login, long-poll getUpdates, sendMessage
    v
relay.py                                    (bundled with plugin, managed as child process)
    |  HTTP POST 127.0.0.1:39217/message     (loopback only)
    v
obsidian-plugin (claudian-wechat)            (TypeScript, running in Obsidian)
    |  interacts with loaded Claudian plugin runtime
    v
Claudian (github.com/YishenTu/claudian)      (driven via runtime objects)
    |
    v
Claude Code / Configured Provider

Features

  • Zero-Config Bootstrap: Automatically creates a dedicated Python virtual environment, prompts QR login inside Obsidian, and manages background relay processes.
  • Two-Way Streaming: Send text and images from WeChat into Claudian; receive responses and status updates back in real time.
  • Multi-Image Batching: Send multiple photos in sequence with cached buffering; append a follow-up caption to send together, or use /skip to send buffered images immediately.
  • Mid-Send Tab Switch Protection: Automatically tracks and verifies target conversation IDs before and during message dispatch to prevent sending to the wrong tab or losing responses.
  • Remote Session Management:
    • /ls — List known Claudian sessions sorted by update time
    • /goto N — Switch to session #N
    • /new — Detach and start a fresh session on the next message
  • Runtime Configuration Control: Switch /model (omit arguments to list available models), /effort (thinking level), and /permission (permission mode) from WeChat.
  • Slash Commands Forwarding: Send /commands to discover Claude's native commands, vault commands, and skills; all slash commands can be executed straight from WeChat.
  • Desktop Mirroring (/listen): Push desktop Claudian interactions to WeChat in real time.
  • Noise Filtering: Cleans out internal tool calls, raw thinking traces, and subagent chatter, forwarding only final assistant text.
  • Bilingual Interface: Full Chinese and English bilingual support, automatically matched to Claudian's configured locale.
  • Token Usage Metric: Reports context window token consumption at the end of each completed turn.

Requirements

  • Desktop Obsidian (isDesktopOnly, Windows / macOS / Linux).
  • Claudian plugin installed, enabled, and configured with a working provider.
  • WeChat account with official ClawBot access.
  • Python 3.11+ available on system PATH.
  • Node.js & npm (only required if building from source).

Installation

Method A: From Release (Recommended)

  1. Download the latest release package from Releases.
  2. Extract to <vault>/.obsidian/plugins/claudian-wechat/.
  3. Enable Claudian WeChat Bridge in Obsidian Settings -> Community Plugins.
  4. Open the Claudian sidebar once so the bridge can attach.

Method B: Build from Source

git clone https://github.com/xsvm/obsidian-claudian-wechat.git
cd obsidian-claudian-wechat/obsidian-plugin
npm install
npm run build

Copy the built files (manifest.json, main.js, relay.py, strings.json) into <vault>/.obsidian/plugins/claudian-wechat/ and enable the plugin.

Commands Reference

Command Description
/help Display command reference and usage
/ls List known conversations, numbered
/goto N Switch to conversation #N
/new Start a brand new conversation
/model List available models for the current provider (static list for claude, discovered models for others)
/model <name> Change model (e.g. /model opus, /model sonnet)
/effort <level> Change reasoning effort (e.g. /effort low, /effort high)
/permission <mode> Change permission mode (e.g. /permission yolo, /permission default)
/status View current model, effort, permission mode, and listen state
/hist List input history in current session
/hist N View the response corresponding to message #N
/skip Immediately dispatch cached images without waiting for caption
/listen on / /listen off Toggle live mirroring of desktop turns to WeChat
/commands List Claude Code's native slash commands
any other text Forwarded directly to Claudian as prompt

Design Principles

  • Non-Invasive API Usage: Drives Claudian through its native methods (claudian.mutateSettings and InputController.sendMessage) rather than tampering with DOM elements or raw settings files.
  • Local Isolation: HTTP server strictly binds to 127.0.0.1:39217 without external network exposure.
  • Lifecycle Guarantees: relay.py child process is tightly managed by RelayManager to avoid orphaned background processes.

Acknowledgments

  • Claudian by Yishen Tu — The core Obsidian agent plugin driven by this bridge.
  • wechat-clawbot by nightsailer (Pan Fan) — Python WeChat ClawBot iLink API client foundation.
  • The wider WeChat ClawBot ↔ Claude Code bridging community.

Community

Join the WeChat group for questions, feedback, and updates:

WeChat group QR code

License

This project is licensed under the MIT License.

HealthExcellent
ReviewCaution
About
Control Claudian AI coding agent inside Obsidian directly from WeChat. Relay messages and images into live Claudian sessions and return agent replies to the same WeChat conversation, turning your chat into a portable remote controller.
IntegrationsAI
Details
Current version
1.0.8
Last updated
Last week
Created
2 weeks ago
Updates
9 releases
Downloads
67
Compatible with
Obsidian 1.7.2+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
xsvmxsvmxsvm
GitHubxsvm
  1. Community
  2. Plugins
  3. Integrations
  4. Claudian WeChat Bridge

Related plugins

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Agent Client

Chat with Claude Code, Codex, Gemini CLI, and more via the Agent Client Protocol — right from your vault.

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

Claude Sidebar

Run Claude Code in your sidebar.

Claude Code IDE

Connect your vault to Claude Code and share editor context with the CLI.

Snipd Official

Sync Snipd podcast highlights to your vault with transcript, notes, AI summaries and metadata.

Plaud Sync

Sync Plaud voice recordings into Markdown notes with transcripts, AI summaries, and highlights.

BRAT

Easily install a beta version of a plugin for testing.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.