Agent skill

Search

by ballred in ballred/obsidian-claude-pkm

Search vault content by keyword using Grep. An agent skill from ballred/obsidian-claude-pkm.

MITAuto-check passedKnowledge Management

Install Search

skills CLI
$ npx skills add ballred/obsidian-claude-pkm --skill search -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ballred/obsidian-claude-pkm search --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ballred/obsidian-claude-pkm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/vault-template/.claude/skills/search .claude/skills/search && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
search
GitHub stars
1.9k
Token cost
~617 tokens
SKILL.md length
213 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Search vault content by keyword using Grep. An agent skill from ballred/obsidian-claude-pkm.

  • Works in 4 steps: Search for the term → Group results by directory → Present results → …
  • Knowledge Management work in your project
  • SKILL.md covers Usage, How to Execute, No Results and Tips
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Search is an agent skill from ballred/obsidian-claude-pkm. Search vault content by keyword using Grep. Zero dependencies — works in any vault without indexes or plugins. Groups results by directory for easy scanning.

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Knowledge Management. It works with Obsidian. The repository describes itself as: A complete starter kit for an Obsidian + Claude Code personal knowledge management system. The licence is MIT.

When your agent uses it

  • Knowledge Management work in your project

Example prompts

  • “/search”

Requirements

  • Pre-approved tools (allowed-tools): Grep, Glob, Read

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Search for the term
  2. Group results by directory
  3. Present results
  4. Suggest related content

What it can do on your machine

Read from SKILL.md and the folder at commit ef1e4da. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Grep
    • Glob
    • Read

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Search loads about 617 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 213 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~617

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ballred/obsidian-claude-pkm at commit ef1e4da, republished under its MIT licence (© ballred). 213 words, ~617 tokens.

Download SKILL.mdSave it as .claude/skills/search/SKILL.md (or your agent's skills folder).
name
search
description
Search vault content by keyword using Grep. Zero dependencies — works in any vault without indexes or plugins. Groups results by directory for easy scanning.
allowed-tools
Grep, Glob, Read
user-invocable
true

Search Skill

Fast keyword search across all vault markdown files using the Grep tool. No indexes, no plugins, no setup — just structured search with directory grouping.

Usage

/search <term>

Examples:

  • /search project planning
  • /search weekly review
  • /search TODO

How to Execute

When the user invokes /search <term>:

Step 1: Search for the term

Use the Grep tool to search all .md files for the term:

Grep:
  pattern: <search term>
  glob: "*.md"
  output_mode: content
  -n: true
  -C: 1

Exclude hidden directories (.claude/, .obsidian/) and templates:

Grep:
  pattern: <search term>
  glob: "*.md"
  path: .
  output_mode: content
  -n: true
  -C: 1

Filter out results from .claude/, .obsidian/, and Templates/ directories.

Step 2: Group results by directory

Organise matches into sections by their parent directory:

  • Daily Notes/ — journal entries
  • Goals/ — goal and vision documents
  • Projects/ — project notes
  • Archives/ — archived content
  • Inbox/ — unprocessed items
  • (root) — top-level notes
Step 3: Present results

Format output as:

markdown
## Search: "<term>"

### Daily Notes/
- **2024-01-15.md** (line 23): ...matching context...
- **2024-01-14.md** (line 8): ...matching context...

### Projects/
- **Project Alpha.md** (line 45): ...matching context...

### Goals/
- **2024 Goals.md** (line 12): ...matching context...

**Found X matches across Y files**

After showing results, check if any matched files contain [[wiki-links]] to other notes. If so, briefly mention:

💡 Related notes mentioned in results: [[Note A]], [[Note B]]

No Results

If no matches are found:

  1. Suggest alternative search terms (synonyms, related words)
  2. Offer to search with case-insensitive matching if the original search was case-sensitive
  3. Suggest checking Archives/ if not already included

Tips

  • Search is case-sensitive by default. Add -i: true to the Grep call for case-insensitive search
  • Use regex patterns for advanced searches: task.*complete, #tag-name
  • Combine with /daily to quickly find when something was mentioned

© ballred, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in vault-template/.claude/skills/search of ballred/obsidian-claude-pkm.

Open the folder on GitHubat commit ef1e4da

Compare with similar skills

Search next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Search compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Search this skillballred/obsidian-claude-pkm1.9k—~617Automated safety check: PassMIT
Obsidian CLIAtmosphere/atmosphere3.8k13 repos~795Automated safety check: PassApache-2.0
Second BrainNicholasSpisak/second-brain7361 repos~1.5kAutomated safety check: NotesNone
Hermes History IngestAr9av/obsidian-wiki3.5k1 repos~2.2kAutomated safety check: NotesMIT
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone
Obsidian Canvas BoardsAgriciDaniel/claude-obsidian15k—~1.4kAutomated safety check: PassMIT

Similar skills

  • Obsidian CLI

    Atmosphere/atmosphere

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    3.8k GitHub starsUsed in 13 repos~795 tokens
    Knowledge ManagementAuto-check passed
  • Second Brain

    NicholasSpisak/second-brain

    Set up a new Obsidian knowledge base with the LLM Wiki pattern.

    736 GitHub starsUsed in 1 repo~1.5k tokens
    Knowledge ManagementAuto-check: notes
  • Hermes History Ingest

    Ar9av/obsidian-wiki

    Ingest Hermes agent history into Obsidian as distilled knowledge.

    3.5k GitHub starsUsed in 1 repo~2.2k tokens
    Knowledge ManagementAuto-check: notes
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 28 days ago
    Knowledge ManagementAuto-check passed
  • Youtube

    axoviq-ai/synthadoc

    Extract transcripts from YouTube videos via the YouTube caption system

    1.6k GitHub starsUsed in 1 repo~634 tokens
    Knowledge ManagementAuto-check passed

More from ballred/obsidian-claude-pkm

All 13 skills in this repo
  • Daily Notes Workflow

    ballred/obsidian-claude-pkm

    Creates today's daily note in an Obsidian vault and guides morning, midday and evening routines for planning, task review and reflection.

    1.9k GitHub stars~2k tokensUpdated 7 mo ago
    Auto-check passed
  • Cascading Goal Tracker

    ballred/obsidian-claude-pkm

    Tracks three-year, yearly, monthly, and weekly goals in linked Markdown files, calculating completion percentages and flagging stalled goals.

    1.9k GitHub stars~1.5k tokensUpdated 7 mo ago
    Auto-check passed
  • Obsidian Vault Operations

    ballred/obsidian-claude-pkm

    Reads, creates and edits notes in an Obsidian vault while preserving wiki-links, YAML frontmatter, tags and template variables.

    1.9k GitHub stars~652 tokensUpdated 7 mo ago
    Auto-check passed
  • Obsidian Project Tracker

    ballred/obsidian-claude-pkm

    Creates, tracks and archives projects linked to yearly goals in an Obsidian vault, with a status dashboard and a CLAUDE.md context file for each project.

    1.9k GitHub stars~1.1k tokensUpdated 7 mo ago
    Auto-check: notes
  • Push

    ballred/obsidian-claude-pkm

    Commit and push vault changes to Git with smart commit messages.

    1.9k GitHub starsUsed in 1 repo~745 tokens
    Auto-check: notes
  • Obsidian PKM Vault Upgrade

    ballred/obsidian-claude-pkm

    Updates an obsidian-claude-pkm vault's system files to the latest version, with a backup, per-file diff review and no changes to your own notes.

    1.9k GitHub stars~1.1k tokensUpdated 7 mo ago
    Auto-check: notes

Works with

Questions about Search

What does Search do?

Search vault content by keyword using Grep. An agent skill from ballred/obsidian-claude-pkm. Search is an agent skill from ballred/obsidian-claude-pkm. Search vault content by keyword using Grep.

When should I use Search?

Search fits situations like: knowledge Management work in your project.

How do I install Search in Claude Code?

Run `npx skills add ballred/obsidian-claude-pkm --skill search -a claude-code`. Or copy the skill folder (vault-template/.claude/skills/search in ballred/obsidian-claude-pkm) into .claude/skills/search in your project. Claude Code loads it when a task matches its description.

How do I install Search in Codex?

Run `npx skills add ballred/obsidian-claude-pkm --skill search -a codex`. Or copy the skill folder (vault-template/.claude/skills/search in ballred/obsidian-claude-pkm) into .agents/skills/search in your project. Codex loads it when a task matches its description.

Can I use Search in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ballred/obsidian-claude-pkm --skill search -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/search, .gemini/skills/search, .github/skills/search and .opencode/skills/search in your project.

What does Search need to run?

SKILL.md names no scripts, command-line tools or credentials: Search is instructions for the agent only. Its frontmatter pre-approves these tools: Grep, Glob, Read.

Does Search access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Search safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Search use?

Search is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Search use?

About 617 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Search?

Skills that share tags, products or a category with Search: Obsidian CLI (Atmosphere/atmosphere, 3.8k stars), Second Brain (NicholasSpisak/second-brain, 736 stars), Hermes History Ingest (Ar9av/obsidian-wiki, 3.5k stars) and LLM Wiki (lewislulu/llm-wiki-skill, 655 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Search?

ballred (a GitHub user) maintains it in ballred/obsidian-claude-pkm, which has 1,876 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on February 18, 2026.

Source: ballred/obsidian-claude-pkm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.