webobsidian

webobsidian is a skill for Claude Code, Codex from tuongzaza/obsidian. It costs 108 tokens per session (2,375 once invoked), scanned B, a copy of webobsidian, MIT.

A guide for managing a WebObsidian vault, a collection of Obsidian notes, through its web API. It covers reading, writing, searching, and organizing notes.

In plain words
What is it for?
Use it to find, read, create, update, append to, delete, and search notes, or to inspect tags and backlinks.
Why use it?
It lets an agent work with notes through consistent API requests instead of requiring manual vault edits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find, read, create, update, append to, delete, and search notes, or to inspect tags and backlinks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tuongzaza/obsidian/webobsidian
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tuongzaza/obsidian --skill webobsidian
Clone the repo
git clone --depth 1 https://github.com/tuongzaza/obsidian

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webobsidian

README.md
[![agentmods](https://agentmods.dev/badge/skills/tuongzaza/obsidian/webobsidian/github.svg)](https://agentmods.dev/skills/tuongzaza/obsidian/webobsidian)
Your own site
<a href="https://agentmods.dev/skills/tuongzaza/obsidian/webobsidian"><img src="https://agentmods.dev/badge/skills/tuongzaza/obsidian/webobsidian/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webobsidian

Your own site · 80×15
<a href="https://agentmods.dev/skills/tuongzaza/obsidian/webobsidian"><img src="https://agentmods.dev/badge/skills/tuongzaza/obsidian/webobsidian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,375 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.02375
Opus 5 $0.00054 $0.01188
Sonnet 5 $0.00022 $0.00475
Haiku 4.5 $0.00011 $0.00237

Measured 11d ago against content hash 70fb320adbdd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

webobsidian scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

mkdir -p ~/.webobsidian && chmod 700 ~/.webobsidian

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "$BASE/api/v1/health" # liveness, no auth
Origin

This is a copy

100% identical to webobsidian — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

docs/agent-skill/webobsidian/SKILL.md · 231 lines

How it starts

The opening of the file, as written. The whole thing — 231 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WebObsidian Agent skill

Operate a WebObsidian vault over its Agent REST API at /api/v1. Everything is a plain HTTP call authenticated with an API key.

Credentials (read these first, every session)

Credentials live in ~/.webobsidian/credentials.json:

{ "baseUrl": "https://your-webobsidian.example.com", "apiKey": "wok_xxxxxxxx" }

Before the first request in a session, load them into shell variables:

BASE=$(python3 -c 'import json,os;print(json.load(open(os.path.expanduser("~/.webobsidian/credentials.json")))["baseUrl"].rstrip("/"))')
KEY=$(python3 -c 'import json,os;print(json.load(open(os.path.expanduser("~/.webobsidian/credentials.json")))["apiKey"])')

If ~/.webobsidian/credentials.json does not exist or a call returns 401:

  1. Ask the user for their WebObsidian base URL (e.g. https://notes.example.com or http://host:8787) and their API key. They create the key in the app at Settings → API Keys (choose scopes read / write / search). Keys look like wok_….
  2. Save it (never echo the key back):
    mkdir -p ~/.webobsidian && chmod 700 ~/.webobsidian
    cat > ~/.webobsidian/credentials.json <<JSON
    { "baseUrl": "<BASE_URL>", "apiKey": "<API_KEY>" }
    JSON
    chmod 600 ~/.webobsidian/credentials.json
    
  3. Verify with the health + an authenticated call, then proceed.

Security rules: never print, log, or commit the API key. Never write it into vault notes. If a command would expose it, redact it.

Sanity check

curl -s "$BASE/api/v1/health"                          # liveness, no auth
curl -s -H "X-API-Key: $KEY" "$BASE/api/v1/tags" | head # confirms the key works

Authentication

Send the key as a header on every /api/v1 request (either form works):

X-API-Key: wok_xxx
Authorization: Bearer wok_xxx

Scopes per key: read, write, search. A call outside the key's scope returns 403. Rate-limited (default 120 req/min/key) → 429 when exceeded; back off and retry.

Read the full file on GitHub · 231 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 231 lines · 108 tokens per session scan B 70fb320adbdd

Subscribe to this mod's changes

webobsidian is a skill published in the GitHub repository tuongzaza/obsidian (83 stars, last pushed 28d ago), licensed MIT. It adds 108 tokens to every session and 2,375 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). It is 100% identical to webobsidian, differing in 0 lines, and is treated as a copy.