Pular para o conteúdo
Skillpedia
Tarefas e projetos58 mil · #3233

cli-anything-obsidian

O que ela faz

Esta skill permite que um agente de IA trabalhe com as suas notas do Obsidian, que ficam guardadas como arquivos em um cofre. Ela é para quem guarda seu conhecimento e sua escrita no Obsidian.

Quando usar

  • ✓Quando você quer que seu agente adicione um resumo ou uma nova seção a uma nota existente.
  • ✓Quando você precisa pesquisar no seu cofre por notas sobre um tema.
  • ✓Quando você quer criar uma nota nova a partir de um rascunho escrito por você e pelo agente.

Link da skill

https://github.com/HKUDS/CLI-Anything/blob/main/obsidian/agent-harness/cli_anything/obsidian/skills/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/HKUDS/CLI-Anything/blob/main/obsidian/agent-harness/cli_anything/obsidian/skills/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Quero pesquisar no meu cofre do Obsidian notas sobre orçamento e adicionar um resumo à minha revisão mensal.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente envia requisições à Local REST API do Obsidian no seu computador, para que possa ler, escrever e pesquisar notas. O Obsidian precisa estar aberto com o plugin ativado.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

cli-anything-obsidian

Knowledge management and note-taking via the Obsidian Local REST API. Designed for AI agents and power users who need to manage notes, search the vault, and execute commands without the GUI.

Installation

This CLI is installed as part of the cli-anything-obsidian package:

pip install cli-anything-obsidian

Prerequisites:

Usage

Basic Commands

# Show help
cli-anything-obsidian --help

# Start interactive REPL mode
cli-anything-obsidian

# List vault files
cli-anything-obsidian vault list

# Run with JSON output (for agent consumption)
cli-anything-obsidian --json vault list

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-obsidian
# Enter commands interactively with tab-completion and history

Command Groups

Vault

Vault file management commands.

Command Description
list List files in the vault or a subdirectory
read Read the content of a note
create Create a new note
update Overwrite an existing note
delete Delete a note from the vault
append Append content to an existing note

Search

Vault search commands.

Command Description
query Search using Obsidian query syntax
simple Plain text search across the vault

Note

Active note commands.

Command Description
active Get the currently active note in Obsidian
open Open a note in the Obsidian editor

Command

Obsidian command palette commands.

Command Description
list List all available Obsidian commands
execute Execute a command by its ID

Server

Server status and info commands.

Command Description
status Check if the Obsidian Local REST API is running

Session

Session state commands.

Command Description
status Show current session state

Examples

List and Read Notes

# List all vault files
cli-anything-obsidian vault list

# List files in a subdirectory
cli-anything-obsidian vault list "Daily Notes"

# Read a note
cli-anything-obsidian vault read "Projects/my-project.md"

Create and Update Notes

# Create a new note
cli-anything-obsidian vault create "Projects/new-project.md" --content "# New Project"

# Update (overwrite) a note
cli-anything-obsidian vault update "Projects/new-project.md" --content "# Updated Content"

# Append to a note
cli-anything-obsidian vault append "Projects/new-project.md" --content "\n## New Section"

Search

# Plain text search (GET /search/simple/)
cli-anything-obsidian search simple "meeting notes"

# Dataview DQL query — default --type dql, sent as
# application/vnd.olrapi.dataview.dql+txt
cli-anything-obsidian search query 'TABLE file.link FROM "Projects"'

# JsonLogic query — application/vnd.olrapi.jsonlogic+json
cli-anything-obsidian search query --type jsonlogic \
  '{"==":[{"var":"frontmatter.status"},"active"]}'

Commands

# List available commands
cli-anything-obsidian command list

# Execute a command by ID
cli-anything-obsidian command execute "editor:toggle-bold"

Interactive REPL Session

Start an interactive session for exploratory use.

cli-anything-obsidian
# Enter commands interactively
# Use 'help' to see available commands

API Key Configuration

# Via flag
cli-anything-obsidian --api-key YOUR_KEY vault list

# Via environment variable (recommended for agents)
export OBSIDIAN_API_KEY=YOUR_KEY
cli-anything-obsidian vault list

State Management

The CLI maintains lightweight session state:

  • API key: Configurable via --api-key or OBSIDIAN_API_KEY environment variable
  • Host URL: Defaults to https://localhost:27124; configurable via --host

Output Formats

All commands support dual output modes:

  • Human-readable (default): Tables, colors, formatted text
  • Machine-readable (--json flag): Structured JSON for agent consumption
# Human output
cli-anything-obsidian vault list

# JSON output for agents
cli-anything-obsidian --json vault list

Fo

Perguntas frequentes

O que precisa estar rodando para funcionar?

O Obsidian precisa estar aberto e o plugin Local REST API precisa estar ativado.

Ela consegue excluir notas?

Sim. Um comando de exclusão remove uma nota do cofre, então use com cuidado.

Ela consegue executar comandos do Obsidian?

Sim. A descrição diz que a ferramenta pode executar comandos sem o aplicativo visual.

Detalhes

Descrição original do autor

Command-line interface for Obsidian — Knowledge management and note-taking via Obsidian Local REST API. Designed for AI agents and power users who need to manage notes, search the vault, and execute commands without the GUI.

repo: HKUDS/CLI-Anything

Popularidade

Estrelas no GitHub
58 mil
Posição no ranking
#3233
Licença
Apache-2.0
Atualizada em
21/09/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas