Skip to content
Back to skills

Obsidian Query Agent

ASecurity

Progressive-disclosure query interface for the Obsidian LLM wiki. Returns RLM summary first, expands to bullets, then full wiki node on demand.

  • 7 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 2, 2026
ai-agentspythonbashnode

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill obsidian-query-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Obsidian Query Agent?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Obsidian Query Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-obsidian-query-agent/badge)](https://www.skillsdirectory.com/skills/richfrem-obsidian-query-agent)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: obsidian-query-agent
description: Progressive-disclosure query interface for the Obsidian LLM wiki. Returns RLM summary first, expands to bullets, then full wiki node on demand.
---

# Obsidian Query Agent (obsidian-query-agent)

Provides a progressive-disclosure query interface for the Obsidian LLM wiki, delivering cheapest useful answers first.

## Contents
- [Critical Constraints](#critical-constraints)
- [Dependencies](#dependencies)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- Always query with `--level summary` first before requesting larger context windows or raw files.
- Use `--save-as` when newly synthesized knowledge should be filed back into the wiki.
- Store RLM caches under configured profile paths or `{wiki_root}/rlm/`.

## Dependencies

Requires Python 3.8+ and pyyaml.

## Quick start
```bash
# Query summary (default ~50 tokens)
python3 plugins/obsidian-wiki-engine/scripts/query_wiki.py --wiki-root <path> "concept-name"

# Expand to key idea bullets (~150 tokens)
python3 plugins/obsidian-wiki-engine/scripts/query_wiki.py --wiki-root <path> "concept-name" --level bullets

# Full wiki node with backlinks (~800 tokens)
python3 plugins/obsidian-wiki-engine/scripts/query_wiki.py --wiki-root <path> "concept-name" --level full
```

## Workflow
1. **Initial Lookup**: Run progressive query at summary level (`--level summary`) to obtain low-token answers.
2. **Context Expansion**: If insufficient, escalate disclosure to `--level bullets` or full node (`--level full`).
3. **Graph Backlinks**: Ingest bidirectional wikilinks to identify related concept clusters.
4. **Knowledge Filing**: If query produces new insights, save back to vault via `--save-as`.

## Verification
```bash
# Test query execution across disclosure levels
python3 plugins/obsidian-wiki-engine/scripts/query_wiki.py --wiki-root <path> "concept-name" --level summary

# Audit skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/obsidian-wiki-engine/skills/obsidian-query-agent --mode source
```

## References
- [wiki-query-guide.md](references/wiki-query-guide.md) - Three-phase search strategy, filing loop, and vector DB options.

Files in this skill

  • SKILL.md4 KB
  • evals/evals.json767 B
  • requirements.txt12 B
  • scripts/audit.py25 B
  • scripts/query_wiki.py30 B
  • scripts/raw_manifest.py32 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…