スキル一覧に戻る
you-n-g

obsidian-tag-grep

by you-n-g

My dot files and automatic environment deployment scripts

13🍴 5📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


Obsidian Tag Grep Skill

Description

This skill allows you to search your Obsidian knowledge base for notes containing a specific hierarchical tag (e.g., #p/ms/name). It finds relevant Markdown files and extracts contextual blocks (like headers or list items) surrounding the tag.

Usage

To use this skill, navigate to the root directory of the Obsidian vault you wish to search. Then, execute the run.sh script, providing the tag you want to find as an argument.

Command:

cd /path/to/your/obsidian/vault
~/deploy/configs/llm/skills/obsidian-tag-grep/run.sh <your_tag_query>

Example: To search for the tag #p/ms/name within your main Obsidian vault located at /mnt/c/data/obsidian/main/:

cd /mnt/c/data/obsidian/main/
~/deploy/configs/llm/skills/obsidian-tag-grep/run.sh p/ms/name

How it Works

The run.sh script acts as a wrapper for the search_tag_tree.py Python script. It automatically sets the Obsidian vault path to your current working directory and passes the provided tag query to the Python script for processing.

The Python script then recursively searches Markdown files within that directory for lines containing the specified tag. When a tag is found, it attempts to extract the surrounding logical block (e.g., content under the same header or within a list item) to provide context.

Notes

  • The script searches the current directory where run.sh is executed. Ensure you cd into the desired Obsidian vault's root directory before running.
  • Tags should be provided without the leading # when calling run.sh (e.g., p/ms/name instead of #p/ms/name), as the Python script handles adding it.

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です