convez.ai
ComandoProdutividadeIntermediário
Rrominet

Claudo - Plugin Obsidian com Claude

Rrominet/obsidian-ai

Execute comandos no Obsidian com IA Claude context-aware

Ver no GitHub
InicialPluginScore · de 0 a 100

Plugin para Obsidian que integra a API Claude para executar comandos e modificar documentos com contexto do vault. Permite fazer perguntas ao LLM e aplicar mudanças diretas nos seus arquivos ou gerar respostas em novos documentos.

Instalação

$npx convez-ai Rrominet/obsidian-ai

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
8
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 8 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Editar e transformar documentos dentro do Obsidian via prompt
  • Gerar respostas do Claude salvas automaticamente em arquivos
  • Automação de tarefas repetitivas em notas usando linguagem natural

Veredito

Plugin funcional que traz IA generativa direto no fluxo de escrita do Obsidian. Requer cuidado com execução de comandos via Python (riscos de segurança), mas oferece ganho real para quem trabalha com notas e precisa de assistência contextual rápida.

README

A tradução para o português deste README ainda está na fila.

Claudo

A tool that lets you call the Claude API directly to modify your documents in Obsidian that is context aware.

Claudo Demo

Manual installation as a user without using Obsidian's Community Platform.

If you don't give a fuck about modifying the plugin code, you don't need to build it yourself. I've left the built files in the dir so you can install them easily. To do it, you need your vault path.

Let's imagine it's /home/my-vault

Now you need to find your plugin folder in it. It's simple, just add to the path /.obsidian/plugins/

In our example, it would be /home/my-vault/.obsidian/plugins/

Now you create a new folder called claudo in it.

And from this repo you copy 2 files into it:

  • manifest.json
  • main.js

And you're done with the installation.

  • To activate it, open Obsidian, go to your Vault Settings -> Community plugins
  • Turn off Restricted Mode if it's not done yet.
  • The Claudo plugin should appear in your list, you just have to toggle it on.

Annnd, you're good!

How to use it

Getting your api-key from Anthropic

To use this plugin you need an api-key from Anthropic (the company behind the LLM Claude). To get it, you need:

  • To create an account on Anthropic
  • Once connected, in the Dashboard Page, click on API Keys
  • Click on the + Create Key button
  • Give it a name and validate by clicking on Add
  • The website will prompt you with an insanely long list of characters, this is your key. Copy paste it somewhere safe.

Ok now, that this fucking shit show is done, you're ready to have some fun.

Configure the plugin

For the plugin to work, you need to give it your api-key.

  • To do this, just go to your Vault Settings and click on Claudo.
  • Then, just copy paste your key in the first field.

After this, you need to give it your python executable path. (Obviously, you'll need to install python first if you don't have it yet)

And then, just put your /path/to/your/python-installation in the last field.

You're good to go!

How do you use it?

Freaking Simple.

  • Press Ctrl P to open the Command Palette and search for Claudo.
  • There is only one command (for now), so click on it.
  • You'll see a Window Prompt that just appeared
  • You can set the first option to Do something or Respond
  • You type your prompt in the text area below
  • And you validate with the button Send to Claude...

What's the Do something option?

It will execute your prompt into your vault. For example, you can ask: Remove the paragraph about cats in my current document. And it will do it.

[!note] Claude has for now only the context of your current document name, content and your vault filepath. It does not know about the other documents or your vault hierarchy. That being said, these features are planned.

[!warning] The execution uses python under the hood. (see the python field in the settings) And it can virtually do anything. So don't come crying if you ask it to delete all your files and that is what you've got.

There is also provoke major security risks, so deal with it like a grown man.

What's the Respond option?

It will create a file in your vault called Claude Respond.md which contains the answer to your prompt.

[!note] Once again, keep in mind that Claude has for now only the context of your current document name, content and your vault filepath. It does not know about the other documents or your vault hierarchy.

How can I change the Anthropic Model?

Go into the Claudo settings and below your api key, you can choose the model that fits you best.

Building it as a developer

If you want to build the plugin to be able to modify it and make it your own, this is for you. Go into your vault plugin path: /your/vault/path/.obsidian/plugins/

Run git clone to clone this repo:

cd /your/vault/path/.obsidian/plugins
git clone https://github.com/Rrominet/obsidian-ai

Now go into the created directory obsidian-ai:

cd ./obsidian-ai

Install npm if you don't have it:

Debian/Ubuntu/Mint:

sudo apt update
sudo apt install npm

Fedora:

sudo dnf install npm

CentOS/RHEL 8+:

sudo dnf install npm

CentOS/RHEL 7:

sudo yum install npm

Arch/Manjaro:

sudo pacman -S npm

openSUSE:

sudo zypper install npm

Alpine:

apk add npm

Gentoo:

sudo emerge -av net-libs/nodejs

Or use the "proper" way using Node Version Manager (nvm) that works across all distros:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | ```bash
nvm install node

And run the classic npm commands to build any Typescript project:

npm install
npm run dev

You should be good to start coding.

Why Claudo ?

Because "Claudo" means homeless in French and I found it hilarious.

Ver o original no GitHub

Bom para

Relacionados