Saltar al contenido
Skillpedia
Tareas y proyectos58 mil · #3233

cli-anything-obsidian

Qué hace

Esta skill permite que un agente de IA trabaje con tus notas de Obsidian, que se guardan como archivos dentro de una bóveda. Está pensada para personas que guardan sus conocimientos y textos en Obsidian.

Cuándo usarla

  • ✓Cuando quieres que tu agente añada un resumen o una sección nueva a una nota existente.
  • ✓Cuando necesitas buscar en tu bóveda notas sobre un tema.
  • ✓Cuando quieres crear una nota nueva a partir de un borrador escrito por ti y por tu agente.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/HKUDS/CLI-Anything/blob/main/obsidian/agent-harness/cli_anything/obsidian/skills/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Quiero buscar en mi bóveda de Obsidian notas sobre presupuesto y añadir un resumen a mi nota de revisión mensual.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente envía solicitudes a la Local REST API de Obsidian en tu ordenador, así que puede leer, escribir y buscar notas. Obsidian debe estar abierto con el complemento activado.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

Preguntas frecuentes

¿Qué tiene que estar en marcha para que funcione?

Obsidian debe estar abierto, y el complemento Local REST API debe estar activado.

¿Puede borrar notas?

Sí. Un comando de borrado elimina una nota de la bóveda, así que úsalo con cuidado.

¿Puede ejecutar comandos de Obsidian?

Sí. La descripción indica que la herramienta puede ejecutar comandos sin la app visual.

Detalles

Descripción original del 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

Popularidad

Estrellas en GitHub
58 mil
Posición en el ranking
#3233
Licencia
Apache-2.0
Actualizada
21/9/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas