TAKESHI MORITA101 downloadsConnect Discord and Kakeratta to models, RAG, and skills provided by LLM Hub.
An Obsidian plugin that connects Discord and Kakeratta to the models, RAG, skills, and Vault tools provided by LLM Hub.
Available as a community plugin: https://community.obsidian.md/plugins/llm-connect-hub
cd /path/to/obsidian-llm-connect-hub
npm ci
npm run build
Copy manifest.json and main.js into <Vault>/.obsidian/plugins/llm-connect-hub/.
On first connection, LLM Connect Hub copies the Discord/Kakeratta settings and credentials saved in LLM Hub, saves them, and then disables the old connections in LLM Hub. The original values are kept for rollback. If migration fails partway, it retries on the next restart.
To roll back, disable LLM Connect Hub and re-enable the old connections in LLM Hub.
You can configure DMs, mentions, allowed channels/users, the default model, the system prompt, and the maximum message length.
| Command | Description |
|---|---|
!model / !model <name> |
List models / switch model |
!rag / !rag <name> / !rag off |
List RAG settings / switch / disable |
!websearch |
Toggle native Web Search (Gemini or official OpenAI/Anthropic/xAI APIs) |
!skill / !skill <name> |
List skills / activate a skill |
!research <query> |
Run Deep Research in the background |
!discuss <theme> |
Start an AI Discussion (uses participants from Discussion Hub) |
!reset |
Clear conversation history |
!help |
Show help |
Kakeratta personas can delegate their answers to LLM Connect Hub. Requests are answered using models, Vault notes, RAG, and skills in your Obsidian.
Authorization and value Bearer YOUR_KEY. (If migrated, just check the value.)| Setting | Description |
|---|---|
| Answer model | Model used for answers. Choose one that follows JSON output instructions. |
| Vault folders | Turn on Read the entire vault (including root notes and future folders), or list Vault-relative folders one per line. If off and empty, Vault tools are disabled. |
| RAG | Index to search. Independent of the Vault folder list. |
| Web Search | Use native Web Search with supported Gemini or official OpenAI, Anthropic, or xAI API models. Off by default. |
| Skills | Use Add skill to search and add the same folder skills as chat. Remove them individually. |
Use Add persona override to search for a persona and customize a copy of the defaults. Removing an override restores the defaults.
Posts addressed to @agent, @外部エージェント or @エージェント, and follow-up replies, are handled as direct requests using the default settings. The agent can read Kakeratta's timeline, threads, persona notes and schedules, reply in the request thread, and comment under other posts when asked. Direct requests require the new Kakeratta request API and an active external-agent connection; persona delegation is not required. They have no built-in-model fallback. This connection does not support sending email, editing Vault notes or executing scripts/workflows.
Only the current request authorizes actions such as posting comments. Earlier conversations and retrieved content may supply details referred to by the request, but cannot request additional actions.
Kakeratta: connected; 1 request failed). Failed or expired persona asks fall back to Kakeratta's built-in model. Direct requests receive a failure reply when possible.Direct-request claim IDs, conversation progress and unsent replies are saved in kakeratta-requests-*.json journal files in this plugin's folder. The next check resumes your own claimed requests after a connection failure or Obsidian restart. Changing the MCP URL or credentials uses a separate journal. Unknown comment results are not retried; lost reply responses are checked against the actual thread. Stopping the connection preserves progress; requests may time out on Kakeratta if it stays stopped.
data.json that contains a bot token or Kakeratta connection key.npm ci
npm run lint
npm test
npm run build
Bump the version to the same value in package.json, manifest.json, and versions.json, then push to main. GitHub Actions tests and builds the plugin and creates a draft release with main.js and manifest.json. No local Git tag is needed.
MIT