تخطَّ إلى المحتوى
مهارةمستورد

obsidian-clipper-template-creator

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.

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

الملفات: 8 · الحجم: 15 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

بعد التنزيل، شغّل الأمر في الطرفية. يسأل unzip قبل أن يستبدل أي ملف موجود.

  • لهذا المشروع

    يوضع في: .claude/skills/obsidian-clipper-template-creator/

    mkdir -p .claude/skills && unzip ~/Downloads/obsidian-clipper-template-creator.zip -d .claude/skills

  • لحسابك على الجهاز كله

    يوضع في: ~/.claude/skills/obsidian-clipper-template-creator/

    mkdir -p ~/.claude/skills && unzip ~/Downloads/obsidian-clipper-template-creator.zip -d ~/.claude/skills

التعليمات

Obsidian Web Clipper Template Creator

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

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 Templates/Bases/.
    • Action: Read Templates/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: Use WebFetch to retrieve the page HTML.
    • Action: Analyze the HTML for Schema.org JSON, Meta tags, and CSS selectors.
    • See references/analysis-workflow.md for analysis techniques.
  4. Draft the JSON: Create a valid JSON object following the schema.
    • See references/json-schema.md.
  5. Verify Variables: Ensure the chosen variables (Preset, Schema, Selector) exist in your analysis.
    • See references/variables.md.

Output Format

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

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

Resources

  • references/variables.md - Available data variables.
  • references/filters.md - Formatting filters.
  • references/json-schema.md - JSON structure documentation.
  • references/bases-workflow.md - How to map Bases to Templates.
  • references/analysis-workflow.md - How to validate page data.

Official Documentation

Examples

See assets/ for JSON examples.

الملفات

  • مجلدassets1.9 ك.ب
    • clipping-template.json826 بايت
    • recipe-template.json1.1 ك.ب
  • مجلدreferences9.4 ك.ب
    • analysis-workflow.md2.1 ك.ب
    • bases-workflow.md1.8 ك.ب
    • filters.md1.5 ك.ب
    • json-schema.md2.2 ك.ب
    • variables.md1.7 ك.ب
  • LICENSE1 ك.ب
  • SKILL.md2.5 ك.ب

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ