2 min read
Claude AI for Obsidian

CAO allows you to chat with Claude directly in a note.

Installation

Search for CAO in Obsidian’s community plugins page.

Usage

  1. After installation, set your Claude API key in CAO settings
  2. Use “Open new chat” command to create a new chat note
  3. Optionally, use “Add/Reset chat options” command for customization
  4. Type out a question and use “Get response” to get replies
  5. Next time, use “Open last chat” to continue last conversation

Features

  1. Chat in notes with editable content
  2. Manage chat histories with note files
  3. Customize chat options in front matter
  4. Utilize built-in prompts
  5. Use any notes as chat context

Commands

  1. Open new chat: Creates a new chat note
  2. Open last chat: Opens the last chatted note
  3. Get response: Interact with Claude for replies.
  4. Add/Reset chat options: Properties will be created/restored in front matter.

You should add a hot key for getting responses, such as “Ctrl + s”

Chat Options

Here’re the available chat options to use in front matter:

  • model
  • max_tokens
  • temperature
  • system_prompt

Supported Models

  1. Claude 3.5 Sonnet: claude-3-5-sonnet-latest
  2. Claude 3.5 Haiku: claude-3-5-haiku-latest
  3. Claude 3 Opus: claude-3-opus-latest
  4. Claude 3 Sonnet: claude-3-sonnet-20240229
  5. Claude 3 Haiku: claude-3-haiku-20240307

To use other models, you can customize in front matter.