cachly

approvedunreviewed

by Heinrich Neb

Explain it once, every AI knows it: the lessons your team's AI tools learned in Claude Code, Cursor, Copilot or JetBrains, as notes in your vault.

↓ 6 downloadsUpdated todayApache-2.0

cachly for your vault

Explain it once. Every AI knows it.

cachly keeps what you explain to your AI tools: the fixes, decisions and traps of a project. Claude Code, Cursor, Copilot, Windsurf, Codex, Gemini CLI and JetBrains read the same experience. This plugin puts those lessons into your vault as Markdown notes, so you can read, search and link them like any other note.

What the built-in memory of an AI vendor keeps is your preferences. cachly keeps what a project has learned, for a team or a whole company, across every tool.

What it does

  • Command Sync lessons (shown as "cachly: Sync lessons") and a ribbon icon fetch all lessons of one cachly Brain.
  • One note per lesson, in the folder cachly/ (changeable). The front matter holds cachly_id, topic, outcome, severity, tags and date. The body holds what worked, what failed, commands and files.
  • An overview note cachly/README.md lists all lessons by category.
  • Optional automatic sync: off, every 15 or every 60 minutes.
  • Lessons that no longer exist in cachly are moved to cachly/_archiv/. Nothing is deleted.
  • Your own notes in the folder (notes without cachly_id) are never touched.

One way only

The sync goes from cachly into the vault, never back. Every sync overwrites the lesson notes in the target folder with the current state in cachly. Edit a lesson in cachly, not in the vault; changes made in the vault are lost at the next sync. To keep your own notes about a lesson, put them in a note outside the target folder and link to the lesson.

If cachly reports that an export is incomplete, the plugin writes what it got and archives nothing.

Setup

  1. You need a cachly account and a Brain. A free plan exists: https://cachly.dev.
  2. Install the plugin and open its settings.
  3. Enter your API key and your Brain ID (the instance ID of your Brain). Leave the base URL at https://api.cachly.dev.
  4. Run cachly: Sync lessons from the command palette.

Network use and data (disclosure)

  • Server: only the cachly API, by default https://api.cachly.dev. You can change the address in the settings, for example for a self-hosted cachly. No other server is contacted.
  • What is sent: one GET request to /api/v1/instances/<Brain ID>/export with your API key in the Authorization header. No note, file name or other content of your vault is sent. No telemetry, no ads, no analytics.
  • What is received: the lessons of that Brain (topic, outcome, severity, tags, texts, commands, file paths, date). They are written as notes into your vault.
  • Account required: yes. You need a cachly account, an API key and a Brain.
  • Where the data lives: cachly stores lessons on servers in Germany. Network calls use Obsidian's requestUrl.
  • API key storage: the key is saved in the plugin data file .obsidian/plugins/cachly/data.json in your vault, in plain text, as Obsidian offers no safer place for plugins. It is shown masked in the settings. Do not publish or share that file, and keep .obsidian/ out of public repositories and shared sync folders. If a key leaks, revoke it in the cachly dashboard.
  • The plugin reads and writes only inside the target folder. It uses no eval, no innerHTML and no desktop-only APIs, so it also works on mobile.

Build from source

npm ci
npm run build   # type check + main.js
npm test

Copy main.js and manifest.json into <vault>/.obsidian/plugins/cachly/.

License

Apache-2.0, like the cachly MCP server. See LICENSE.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.