本文へスキップ
Skillpedia
ライティング48k · #5330

obsidian-clipper-template-creator

できること

ウェブ上の情報をObsidianに保存するためのテンプレートを作成するお手伝いをします。ウェブページから必要なデータを見つけ、どのように保存するかを整理します。

使う場面

  • ✓レシピサイトからレシピを保存するための新しいテンプレートを作るとき。
  • ✓ニュース記事の保存方法を調整したいとき。
  • ✓オンラインストアの商品情報を整理したいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/obsidian-clipper-template-creator/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/obsidian-clipper-template-creator/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“「recipes.com」のサイトからレシピを保存するテンプレートを作成してください。タイトル、材料、手順に焦点を当ててください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは指定されたウェブサイトを解析し、タイトル、本文、画像などの重要なデータを見つけます。そのうえで、データを取り出すための「セレクター」(データの場所を示すパス)が正しく動くかを確認します。最後に、JSON形式のテンプレートファイルを組み立てて提供します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Obsidian Web Clipper Template Creator

This skill helps you create importable JSON templates for the Obsidian Web Clipper.

When to Use

  • You need to create or refine an importable Obsidian Web Clipper template.
  • You want to map a site's real DOM, schema data, and selectors into a valid clipping template.
  • You need selector verification and template logic guidance before handing the JSON to the user.

Workflow

  1. Identify User Intent: specific site (YouTube), specific type (Recipe), or general clipping?
  2. Check Existing Bases: The user likely has a "Base" schema defined in Bases/.
    • Action: Read Bases/*.base to find a matching category (e.g., Recipes.base).
    • Action: Use the properties defined in the Base to structure the Clipper template properties.
    • See references/bases-workflow.md for details.
  3. Fetch & Analyze Reference URL: Validate variables against a real page.
    • Action: Ask the user for a sample URL of the content they want to clip (if not provided).
    • Action (REQUIRED): Use WebFetch to retrieve page content; if WebFetch is not available, use a browser DOM snapshot. See references/analysis-workflow.md.
    • Action: Analyze the HTML for Schema.org JSON, Meta tags, and CSS selectors.
    • Action (REQUIRED): Verify each selector against the fetched content. Do not guess selectors.
    • See references/analysis-workflow.md for analysis techniques.
  4. Draft the JSON: Create a valid JSON object following the schema.
  5. Consider template logic: Use conditionals for optional blocks (e.g. show nutrition only if present), loops for list data, variable assignment to avoid repeating expressions, and fallbacks for missing variables. Use logic only when it improves the template; keep simple templates simple. See references/logic.md.
  6. Verify Variables: Ensure the chosen variables (Preset, Schema, Selector) exist in your analysis.
    • Action (REQUIRED): If a selector cannot be verified from the fetched content, state that explicitly and ask for another URL.
    • See references/variables.md.

Selector Verification Rules

  • Always verify selectors against live page content before responding.
  • Never guess selectors. If the DOM cannot be accessed or the element is missing, ask for another URL or a screenshot.
  • Prefer stable selectors (data attributes, semantic roles, unique IDs) over fragile class chains.
  • Document the target element in your reasoning (e.g., "About sidebar paragraph") to reduce mismatch.

Output Format

ALWAYS output the final result as a JSON code block that the user can copy and import.

The Clipper template editor validates template syntax. If you use template logic (conditionals, loops, variable assignment), ensure it follows the syntax in references/logic.md and the official Logic docs so the template passes validation.

{
  "schemaVersion": "0.1.0",
  "name": "My Template",
  ...
}

Resources

Official Documentation

Examples

See assets/ for JSON examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

「セレクター」とは何ですか?

セレクターは、記事のタイトルや商品の価格など、ウェブページ内の特定の情報がどこにあるかをAIに伝える住所のようなものです。

なぜAIにページのリンクが必要なのですか?

AIはリンクを使って実際のページを確認し、データを取り出すセレクターが正しく動き、目的の情報を見つけられるかを確かめる必要があるからです。

JSONファイルとは何ですか?

Obsidianが理解できるファイル形式です。AIがこのファイルを作成するので、インポートして情報を整理された形で保存するために使えます。

詳細

作者による元の説明

Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5330
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル