·SuperBuilder Team

OpenClaw + Obsidian: Construa uma Base de Conhecimento com IA

openclawobsidianknowledge baseproductivityai agentnote taking

OpenClaw + Obsidian: Construa uma Base de Conhecimento com IA

O Obsidian é uma poderosa base de conhecimento que funciona com arquivos Markdown locais. O OpenClaw é um agente de IA capaz de ler, escrever e raciocinar sobre arquivos. Juntos, eles criam algo notável: uma base de conhecimento que se organiza sozinha, revela conexões e cresce automaticamente a partir do seu trabalho diário.

Este guia mostra como conectar o OpenClaw ao seu vault do Obsidian e construir fluxos de trabalho que tornam sua base de conhecimento genuinamente inteligente.

Configurando a Integração

Passo 1: Dar ao OpenClaw Acesso ao Seu Vault

O OpenClaw precisa de acesso de leitura/escrita ao diretório do seu vault do Obsidian.

Bare metal:

# config.yaml
file_access:
  allowed_paths:
    - "/home/user/obsidian-vault"

Docker:

# docker-compose.yml
services:
  openclaw:
    volumes:
      - /home/user/obsidian-vault:/vault

Passo 2: Instalar a Skill do Obsidian

openclaw skill install obsidian

# Configure the vault path
openclaw skill config obsidian --vault-path "/home/user/obsidian-vault"

A skill do Obsidian fornece ações estruturadas para:

Passo 3: Configurar o SOUL.md

Adicione instruções específicas do Obsidian:

## Obsidian Knowledge Base

My Obsidian vault is at /home/user/obsidian-vault (or /vault in Docker).

### Vault Structure
- `Daily/` — Daily journal entries (YYYY-MM-DD.md)
- `Projects/` — Project-specific notes
- `People/` — Notes about contacts and colleagues
- `Meetings/` — Meeting notes
- `Concepts/` — Evergreen knowledge notes
- `Inbox/` — Quick captures to be processed
- `Templates/` — Note templates

### Conventions
- Use [[wikilinks]] for internal links
- Tags start with # (e.g., #project, #idea, #todo)
- Daily notes use the format: YYYY-MM-DD.md
- Meeting notes use: Meeting - [Topic] - YYYY-MM-DD.md
- Use frontmatter (YAML) for metadata

### When Writing Notes
- Always check if a related note already exists before creating a new one
- Link to existing concepts using [[wikilinks]]
- Add appropriate tags
- Use proper headings (## for sections)
- Keep notes atomic — one concept per note in Concepts/

Fluxos de Trabalho Essenciais

1. Geração do Diário Diário

Comece cada dia com uma entrada de diário gerada por IA:

openclaw cron add --name "daily-journal" "0 7 * * *" \
  "Create today's daily journal in my Obsidian vault at Daily/$(date +%Y-%m-%d).md
   
   Include these sections:
   - Weather for my location
   - Calendar events for today (if calendar skill available)
   - Tasks carried over from yesterday (check yesterday's journal)
   - Space for morning thoughts (leave blank for me to fill)
   - Links to any active projects
   
   Use this template:
   ---
   date: [today]
   tags: [daily]
   ---
   # [date] - [day of week]
   
   ## Morning
   **Weather:** [weather]
   
   ## Today's Schedule
   [events]
   
   ## Carried Over
   [tasks from yesterday]
   
   ## Notes
   
   
   ## End of Day Review
   "

2. Notas de Reunião a partir de E-mail

Quando você receber um resumo ou recap de reunião por e-mail, crie automaticamente uma nota de reunião estruturada:

# Add to SOUL.md

### Meeting Notes from Email
When I forward an email to you with subject containing "meeting" or "recap":
1. Extract key information: attendees, decisions, action items, topics
2. Create a note in Meetings/ with format: Meeting - [Topic] - YYYY-MM-DD.md
3. Link to People/ notes for each attendee (create if they do not exist)
4. Link to relevant Project/ notes
5. Add any action items as tasks with checkboxes
6. Tag with #meeting and relevant project tags

Se você usar e-mail como canal através do Inbounter, pode encaminhar os recaps de reunião diretamente para o endereço de e-mail do seu agente, e ele os processará em notas do Obsidian automaticamente.

# config.yaml
channels:
  email:
    provider: "inbounter"
    api_key: "${INBOUNTER_API_KEY}"
    rules:
      - match: "subject contains 'meeting'"
        action: "create_meeting_note"

3. Vinculação de Conceitos

Peça ao agente para encontrar e criar conexões entre notas:

You: Review today's journal and link any mentioned concepts to existing notes in Concepts/. 
     If a concept is mentioned but no note exists, create a stub note with a brief definition.

O agente irá:

  1. Ler o diário de hoje
  2. Identificar conceitos (pessoas, projetos, tecnologias, ideias)
  3. Pesquisar o vault em busca de notas existentes
  4. Criar [[wikilinks]] no diário
  5. Criar notas-rascunho (stub) para novos conceitos

4. Revisão Semanal de Conhecimento

openclaw cron add --name "weekly-knowledge-review" "0 18 * * 5" \
  "Review this week's Obsidian notes (created or modified in the last 7 days).
   
   Generate a weekly knowledge summary:
   1. New concepts added this week
   2. Most-linked notes (indicate knowledge hubs)
   3. Orphan notes (no incoming links — suggest connections)
   4. Unprocessed items in Inbox/
   5. Open tasks across all notes
   
   Save the summary to Daily/Weekly Review - [date].md
   Also send me a copy via Telegram."

Pesquisando no Seu Vault

Busca Semântica

Faça perguntas sobre sua base de conhecimento em linguagem natural:

You: What do I know about microservices architecture?

Agent: I found 7 relevant notes in your vault:

1. [[Concepts/Microservices]] — Your main overview note
2. [[Projects/API Gateway Redesign]] — Current project using microservices
3. [[Meetings/Meeting - Architecture Review - 2026-03-15]] — Decision to adopt event-driven architecture
4. [[Concepts/Event Sourcing]] — Related pattern you researched
5. [[Daily/2026-03-20]] — Journal entry about microservices challenges
6. [[People/Sarah Chen]] — Expert in microservices at your company
7. [[Concepts/Service Mesh]] — Related infrastructure concept

Key insights from your notes:
- You decided on event-driven architecture on March 15
- The API Gateway project uses Kong
- Sarah recommended Istio for service mesh

Consultas Baseadas em Tags

You: Show me all notes tagged #idea that I haven't acted on yet

Agent: Found 12 notes tagged #idea:

1. [[Inbox/Newsletter automation idea]] — Created 2026-03-01, no follow-up
2. [[Inbox/Blog post series concept]] — Created 2026-02-28, no follow-up
3. [[Projects/Side Project Ideas]] — Has 5 items, 2 marked as done
...

Consultas Baseadas em Data

You: What were the key decisions made in March?

Agent: Scanning March notes for decisions...

1. March 5: Decided to use PostgreSQL over MongoDB (Meeting - DB Selection)
2. March 12: Approved Q2 roadmap (Meeting - Planning)
3. March 15: Adopted event-driven architecture (Meeting - Architecture Review)
4. March 22: Hired two new engineers starting April (People/New Hires Q2)

Automatizando a Captura de Conhecimento

A partir de Favoritos/Links

You: Save this article to my vault: https://example.com/article-about-ai-agents

Agent: I've created a note:

Concepts/AI Agents in Production.md
- Title, author, date extracted
- Key points summarized
- Linked to existing notes: [[Concepts/OpenClaw]], [[Projects/AI Integration]]
- Tagged: #article #ai #agents

A partir de Conversas

You: Add what we just discussed about the database migration plan to my vault

Agent: Created: Projects/Database Migration Plan.md

Content includes:
- Migration strategy (blue-green deployment)
- Timeline: April 15-30
- Rollback plan
- Linked to: [[Concepts/PostgreSQL]], [[People/DBA Team]], [[Projects/API Gateway Redesign]]

A partir de RSS/Notícias

openclaw cron add --name "knowledge-capture" "0 8 * * *" \
  "Check my RSS feeds for new articles about AI, cloud architecture, and DevOps.
   For each relevant article:
   1. Create a note in Inbox/ with a summary
   2. Link to existing Concepts/ notes where relevant
   3. Tag with #rss and topic tags
   
   Maximum 5 articles per day to avoid inbox overflow."

Padrões Avançados

Integração com Zettelkasten

Se você usa o método Zettelkasten, configure o agente para seguir seus princípios:

# SOUL.md addition

### Zettelkasten Rules
- Each note in Concepts/ should be atomic (one idea)
- Use a unique ID prefix: YYYYMMDDHHMMSS
- Every new note must link to at least one existing note
- Use "see also" sections at the bottom for related concepts
- Distinguish between:
  - Literature notes (summaries of sources) → Concepts/Literature/
  - Permanent notes (my own thinking) → Concepts/
  - Fleeting notes (quick thoughts) → Inbox/

Repetição Espaçada

Crie um sistema de revisão para suas notas:

openclaw cron add --name "spaced-review" "0 9 * * *" \
  "Select 5 notes from my vault that I haven't reviewed recently.
   Prioritize:
   1. Notes modified 1 week ago (for first review)
   2. Notes modified 1 month ago (for second review)
   3. Notes modified 3 months ago (for long-term review)
   
   For each note, create a brief quiz question.
   Send the quiz to my Telegram. I'll respond with answers."

Extração de Conhecimento de Projetos

Quando um projeto termina, extraia as lições aprendidas:

You: The API Gateway project is wrapping up. Create a retrospective note.

Agent: I've reviewed all notes in Projects/API Gateway Redesign/ and created:

Projects/API Gateway Redesign/Retrospective.md

Sections:
- What went well (3 items from meeting notes and journal entries)
- What didn't go well (2 items)
- Key decisions and their outcomes
- Technologies used and evaluated
- Lessons learned (5 items)
- Links to all related notes (23 notes)

Resumo de E-mails para o Vault

Processe seus e-mails diários em conhecimento:

openclaw cron add --name "email-to-vault" "0 20 * * *" \
  "Review today's emails (received via Inbounter).
   For any email that contains actionable knowledge:
   1. Create or update the relevant note in the vault
   2. Add action items as tasks
   3. Link to People/ notes for senders
   
   Ignore newsletters, marketing, and transactional emails."

Usar o Inbounter como seu canal de e-mail torna isso fluido — os e-mails recebidos são webhooks que acionam o agente diretamente.

Sincronizando Entre Dispositivos

Seu vault precisa estar acessível tanto ao OpenClaw quanto ao seu app Obsidian em outros dispositivos.

Opção 1: Obsidian Sync

Use a sincronização integrada do Obsidian. Seu vault permanece sincronizado em todos os dispositivos, e o OpenClaw escreve no mesmo diretório no servidor.

Opção 2: Syncthing

Gratuito e auto-hospedado:

# Install Syncthing on your OpenClaw server
sudo apt install syncthing

# Configure it to sync the vault directory with your other devices

Opção 3: Git

# Auto-commit vault changes
openclaw cron add --name "vault-commit" "*/30 * * * *" \
  "If there are uncommitted changes in /home/user/obsidian-vault:
   1. git add -A
   2. git commit -m 'Auto-sync: [timestamp]'
   3. git push
   Do nothing if there are no changes."

Perguntas Frequentes

O OpenClaw vai bagunçar meu vault?

Se configurado corretamente, não. As regras do SOUL.md impedem o agente de modificar notas fora das pastas designadas. Comece com acesso de escrita apenas em Inbox/ e Daily/ até se sentir confortável.

O OpenClaw pode ler meu vault inteiro?

Sim. Isso é necessário para busca semântica e vinculação. Se você tem notas sensíveis, use a configuração .obsidian/ do Obsidian para excluir pastas, ou restrinja o acesso a arquivos na configuração do OpenClaw.

Isso funciona com plugins do Obsidian?

O OpenClaw trabalha no nível dos arquivos — ele lê e escreve arquivos Markdown. Ele não interage diretamente com os plugins do Obsidian. No entanto, plugins como o Dataview captarão automaticamente as notas criadas pelo OpenClaw.

Como lido com conflitos entre o OpenClaw e minhas edições?

Se você usa Git ou Syncthing, os conflitos são tratados pela ferramenta de sincronização. Se você e o agente editarem o mesmo arquivo simultaneamente, você pode ter conflitos de merge. Siga a convenção: o OpenClaw escreve em Daily/ e Inbox/, você escreve em todo o resto.

Posso usar isso com Notion ou Logseq em vez disso?

Os mesmos conceitos se aplicam, mas você precisará de skills diferentes. O Notion tem uma skill baseada em API, e o Logseq usa arquivos Markdown locais semelhantes ao Obsidian. Os padrões do SOUL.md são transferíveis diretamente.

Em quantas notas o OpenClaw consegue pesquisar?

A skill de sistema de arquivos consegue lidar com milhares de notas. Para vaults com mais de 10.000 notas, considere a indexação — o agente pesquisa primeiro os nomes de arquivos e os títulos, depois lê o conteúdo completo apenas dos arquivos relevantes.

SuperBuilder

Construa mais rápido com o SuperBuilder

Rode agentes do Claude Code em paralelo com controle de custos, fila de tarefas e isolamento por worktree. Grátis e open source.

Baixar para Mac→