agentNote

by Xinxin
5
4
3
2
1
Score: 49/100

Description

A local-first Obsidian plugin that shares live notes and files with AI agents, then tracks knowledge reuse privately.

Reviews

No reviews yet.

Stats

3
stars
155
downloads
0
forks
27
days
1
days
1
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
44
total issues
1
open issues
43
closed issues
84
commits

Latest Version

a day ago

Changelog

这一版让接入 Agent 更直接:在接入台点击“接入”,把复制的任务发给 Agent。它会下载同一份本地 Skill、完成自己的配置,并向 Obsidian 回报真实安装位置。Claude Code、Codex、WorkBuddy 和其他 Agent 使用同一流程。

使用体验

  • 接入位置由 Agent 确认: 不再依赖插件猜测各工具的 Skill 目录;不同电脑分别保存自己的安装路径。看板中的协作历史照常显示。
  • 接入后直接管理: 绿色“已接入”可打开 Skill;上方预览完整内容,下方填写该 Agent 的附加要求,保存后预览立即更新。也可以在警告确认后编辑全文。
  • 面板更清爽: 已接入卡片的“已接入 / 修改 / 删除”排在一行,其他 Agent 的默认图标居中。删除接入会备份并停用对应 Skill,历史记录保留。
  • 安装任务更简短: 只说明下载 Skill、配置身份、上报位置,以及安装后的一次简单确认。

更新方式

在 Obsidian 的 agentNote 设置中点击“检查更新”;也可以下载本页的 main.js、manifest.json、styles.css,放入 .obsidian/plugins/agentnote/ 后重新加载插件。

旧版直接安装的 Skill 不会自动登记到新版控制面板。需要管理它时,在接入台重新把安装任务发给对应 Agent,让它上报实际路径。

README file from

Github

agentNote

Share local Obsidian notes and files with AI agents through a private, local-only HTTP service.

中文说明:README.zh-CN.md

agentNote is an Obsidian desktop plugin that connects your vault with agents such as Claude Code, Codex, and WorkBuddy. Share selected material through a local URL and let an agent write its work back to your vault.

Features

  • Share a note, file, folder, or selected text with an agent.
  • Include background context so the agent understands what the shared material is and why it matters.
  • Let an agent create and update Markdown notes in your vault through natural language.
  • Keep share links live: updated files resolve to their latest content.
  • Show Claude Code, Codex, and WorkBuddy in the connection panel even when they are not installed.
  • Connect another agent through the same installation task used by the three presets.
  • Explore a local knowledge profile with reuse rankings, contribution history, activity, and archive suggestions.
  • Generate a privacy-aware PNG of all-time knowledge contributions for sharing.
  • Open a note directly from its title in the knowledge profile, and review its local activity history.
  • Keep immutable, per-day cold copies of past activity logs, either automatically or on demand.

Start in 3 minutes

Read the illustrated How to Use guide for the complete first workflow. The short version is:

  1. Open the agentNote connection panel and confirm that the local service is running.
  2. Select 接入, send the copied installation task to an agent, and wait for it to report its installed Skill path.
  3. Right-click a vault file or folder, choose agentNote: Share with agent, and paste the copied link into the conversation.
  4. Ask the connected agent to read the link, or simply say “Write this to Obsidian.”

Installation

From the Obsidian Community Plugins directory

  1. Open Settings → Community plugins in Obsidian.
  2. Search for agentNote.
  3. Install and enable the plugin.
  4. Open the agentNote connection panel and confirm that the local service is running.

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest GitHub release.
  2. Create .obsidian/plugins/agentnote/ inside your vault.
  3. Copy the three files into that folder.
  4. Restart Obsidian or reload the plugin from Settings → Community plugins.

Basic usage

Share content with an agent

  • Right-click a file or folder and choose agentNote: Share with agent.
  • Select multiple files or folders in the file explorer, then choose agentNote: Share selected items with agent. The clipboard contains title-labeled links separated by horizontal rules, ready to paste together.
  • Select text in the editor and use agentNote: Share selected content.
  • Send the copied local URL to your agent.

The response includes the current content, its background, and the local file path. Read through the link; update shared content through the share API.

Write notes from an agent

After connecting an agent, say one of the following:

  • “Write this to Obsidian.”
  • “Save this to my agent notes.”
  • “Remember this in my notes.”

The agentNote skill asks the agent to create a title, body, background, and tags, then write the result to the vault. The agent receives a permanent local link that can be used for later updates.

Connect an agent

Open the agentNote connection panel. Claude Code, Codex, and WorkBuddy always appear; use 接入其他 Agent for another agent. Every entry copies the same task: the agent downloads the local SKILL.md, sets up its fixed identity, and reports its actual installation path. Once registered, you can preview and edit that local Skill or add instructions specific to the agent.

Local service and privacy

  • The service listens on 127.0.0.1 by default, usually at http://127.0.0.1:27182.
  • It is available only while Obsidian is running.
  • Vault contents are not uploaded to agentNote's servers.
  • There is no account, cloud sync, telemetry service, or public sharing layer.
  • The plugin uses local filesystem access and the system clipboard for its sharing and agent integration features.
  • This is a desktop-only plugin because it uses Node.js, Electron, and a local HTTP server.

Documentation

The reusable Xiaoji character, mark, logo, visual identity guide, and three usage illustrations are in the brand asset kit.

For device-specific activity logs, see Git activity sync. Each device appends to its own log; statistics merge all device logs. This does not resolve conflicts in note contents or other shared state.

Development

npm ci
npm test

The build produces the Obsidian plugin bundle in main.js and the Node-compatible core test bundle in test/core-bundle.cjs.

Development commands support macOS, Windows, and Linux. npm test runs type checking, builds, and core end-to-end tests without deploying to a vault. Use npm run dev to watch for changes and rebuild.

To deploy to a local test vault, specify an existing directory (quote paths containing spaces):

npm run deploy:test -- "/absolute/path/to/test-vault"

Use Node.js 22 or newer for development. Alternatively, save AGENTNOTE_TEST_VAULT="/absolute/path/to/test-vault" in .env.local at the project root, then run npm run deploy:test. Git ignores this local file. A command-line path takes precedence over environment variables, and existing environment variables take precedence over .env.local. Append --dry-run to check the destination without writing files.

The default configuration directory is .obsidian; append --config-dir .obsidian-test for a custom directory. Deployment overwrites the three agentNote plugin files there. Reload the plugin in Obsidian afterward.

License

agentNote is released under the MIT License.

Author

Evan · GitHub