ObsidianBase
Resolve Obsidian Base files (.base) to see what the user sees in Obsidian.
Skill by N4M3Z
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/n4m3z-obsidianbase
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/obsidianbase
What's inside
- Skill name
ObsidianBase- Description
- Resolve Obsidian Base files (.base) to see what the user sees in Obsidian. USE WHEN the user asks about Base views, queries vault notes, wants to see what a .base file shows, or needs filtered/sorted vault data. Wraps the obsidian-base CLI.
- License
- EUPL-1.2
- Instructions
- 118 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
Files (2)
- SKILL.md
- SKILL.yaml
SKILL.md (first lines)
# ObsidianBase
> **Preferred:** Use `obsidian base:query` (see the ObsidianCLI skill) when Obsidian is running. This skill documents the standalone `obsidian-base` binary for offline/fallback use.
Resolve `.base` files against the vault — the same declarative queries [[Obsidian]] renders internally. Returns matching notes as [[JSONL]] or file paths, enabling [[Claude]] to see exactly what the user sees in their [[Obsidian Base]] views.
## When to Use
- User asks "what does this [[Base]] show?" or "what books are on my reading list?"
- You need to query vault notes by [[frontmatter]] properties, [[tags]], paths, or [[wikilinks]]
- A `.base` file is referenced in conversation and you want to resolve it
- You need filtered, sorted note lists for any vault operation
## Tool
**Binary:** `Modules/forge-obsidian/bin/obsidian-base`
The binary auto-discovers the vault root by walking up from the `.base` file looking for `.obsidian/`. It reads the [[YAML]] query, walks all `.md` files, evaluates filters against [[frontmatter]] + file metadata, applies sorts, and emits results.
## Dependencies
| Dependency | Required | Purpose |
| ---------- | -------- | ------- |
| [[Rust]] (`cargo`) | Yes | Builds the `obsidian-base` binary on first run (lazy compilation) |
| [[jq]] | No | Post-filter [[JSONL]] output (optional) |
The binary is self-contained after compilation — no runtime dependencies beyond the standard library.
## Usage
```bash
# Default: JSONL output (one JSON object per matched note, per view)
Modules/forge-obsidian/bin/obsidian-base "/path/to/File.base"
# Resolve only a specific view
Modules/forge-obsidian/bin/obsidian-base "/path/to/File.base" --view "Table"
# File paths only (one per line) — for piping to other tools
Modules/forge-obsidian/bin/obsidian-base "/path/to/File.base" --paths
# Count matches
Modules/forge-obsidian/bin/obsidian-base "/path/to/File.base" --paths | wc -l
# Filter JSONL with jq
Modules/forge-obsidian/bin/obsidian-base "/path/to/File.base" | jq 'select(.tags | contains(["type/item"]))'
```
## Intent-to-Flag Mapping
| User Says | Flag | Effect |
| ----------------------------------- | ------------------ | ----------------------------------------- |
| "show me what this Base has" | *(default)* | [[JSONL]] output with all view columns |
| "which view", "only the Table view" | `--view "Name"` | Resolve a single named view |
| "just the files", "list the paths" | `--paths` | One file path per line |
| "how many notes match" | `--paths \| wc -l` | Count of matching notes |
| "filter by tag/property" | pipe to `[[jq]]` | Post-filter [[JSONL]] with [[jq]] expressions |
## Output Format
### JSONL (default)
Each line is a self-contained [[JSON]] object:
```json
{"view":"Table","file":"Library/Books/The Pragmatic Programmer.md","name":"The Pragmatic Programmer","tags":["type/item/book"],"item.read":true}
```
Fields include:
- `view` — which view matched this note
- `file` — vault-relative path
- `name` — note name (stem, no extension)
- Plus any columns defined in the view's `order` list ([[frontmatter]] properties, file metadata)
### Paths mode (`--paths`)
```
Library/Books/The Pragmatic Programmer.md
Library/Books/Designing Data-Intensive Applications.md
```
## Finding .base Files
Base files live alongside the content they query. Common locations:
```bash
# Find all .base files in a vault
find /path/to/vault -name "*.base" -type f
```
## Expression Surface
The `.base` filter [[DSL]] supports:
| Category | Examples |
| --------------- | ------------------------------------------------------------------------------ |
| File properties | `file.name`, `file.path`, `file.ext`, `file.folder`, `file.tags`, `file.links` |
| Frontmatter | `property.key` or bare `key` |
| Context | `this.file.name`, `this.file.path`, `this.file.folder` |
| String methods | `.startsWith()`, `.endsWith()`, `.contains()`, `.toString()`, `.slice(n,m)` |
| Functions | `contains(collection, value)`, `file.hasTag("tag")`, `file.hasLink("link")` |
| Operators | `!=`, `!` (prefix negation) |
| Combinators | `and: […]`, `or: […]` ([[YAML]]-level boolean logic) |
## Limitations
- **`this` context** — `this.file.*` refers to the note embedding the [[Base]], not the `.base` file itself. When resolving template [[Bases]] (e.g., `Daily.base`) from CLI, `this` references the `.base` file's location. Pass a note context mentally when interpreting results from template Bases.
- **Performance** — walks the entire vault (~1s for large vaults). Results are not cached.
- **Formulas** — `.unique()`, `.filter()`, `.asFile()` are not yet supported.
- **Rendering** — no view layout (cards, list, board). Output is data only.
## Constraints
- Always use the full path to the `.base` file (absolute or project-relative)
- Check [[TLP]] before reading vault files referenced in output
- [[JSONL]] output can be large — pipe through [[jq]], `head`, or `wc -l` for summaries
- Do not modify `.base` files without the user's explicit request — they define the user's [[Obsidian]] viewsFrom N4M3Z/forge-obsidian, EUPL-1.2.
More from N4M3Z/forge-obsidian
- 0.503score
ObsidianTemplates
N4M3Z
Obsidian template management — dual-tree creation, editing, rendering, frontmatter schemas, dynamic query blocks, Templater config updates.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
ValidateVault
N4M3Z
Validate vault files against .mdschema files — structural checks on frontmatter, headings, and required sections.
SkillCFreshness: C★ 2Claude Code +9 - 0.503score
WikiLink
N4M3Z
Add [[wikilinks]] to a markdown document by matching terms against existing vault notes — body links and frontmatter keywords/related enrichment.
SkillCFreshness: C★ 2Claude Code +9 - 0.497score
ObsidianConventions
N4M3Z
Vault conventions for wikilinks, frontmatter and tags.
SkillCFreshness: C★ 2Claude Code +9 - 0.439score
Draft
N4M3Z
Pull a module skill into the vault for editing in Obsidian.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ProjectManagement
N4M3Z
Project lifecycle management — create, update, close, backlog rules, safe file operations.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
Promote
N4M3Z
Push a vault skill to its target module for sharing via GitHub.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ProjectConventions
N4M3Z
Obsidian project note conventions — base files, embeds, Dataview, frontmatter fields, folder notes.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ObsidianActions
N4M3Z
[DEPRECATED] Use /ObsidianCLI instead.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ObsidianCLI
N4M3Z
Official Obsidian CLI (1.12+) — list files, search content, manage properties, query bases, navigate links, create/read/rename/delete notes.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
ObsidianREST
N4M3Z
[DEPRECATED] Use /ObsidianCLI instead.
SkillDFreshness: D★ 2Claude Code +9 - 0.433score
VaultOperations
N4M3Z
Vault file operations — TLP access control, wikilinks, tags vs keywords, patterns, and preferences.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Jun 17, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- EUPL-1.2
- Repository
- github.com/N4M3Z/forge-obsidian
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from N4M3Z
- 0.520score
LocalModel
N4M3Z
Run prompts against a local LLM backend (LM Studio, Ollama, or MLX) with privacy-preserving output guardrails — drop reasoning_content, enforce structured…
SkillCFreshness: C★ 4Claude Code +9 - 0.520score
ForgeSkill
N4M3Z
Create, validate, evaluate, and iterate skills for forge modules.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
HtmlPlayground
N4M3Z
Generate single-file HTML demos comparing techniques side-by-side.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildAgent
N4M3Z
Create, validate, or audit agent definitions.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
BuildHook
N4M3Z
Create and validate module hooks.
SkillCFreshness: C★ 4Claude Code +9 - 0.515score
Brainstorming
N4M3Z
Collaborative ideation before implementation — explore context, clarify intent, propose approaches.
SkillCFreshness: C★ 4Claude Code +9
Cite this page
ObsidianBase skill. Agent Mart. https://agentmart.dev/skills/n4m3z-obsidianbase (last updated 2026-10-24)