obsidian-clipper-template-creator
Skill này làm gì
Giúp bạn tạo mẫu để lưu thông tin từ web vào Obsidian. Nó tìm đúng dữ liệu trên trang web và tổ chức cách lưu trữ.
Khi nào nên dùng
- ✓Khi tạo mẫu mới để lưu công thức nấu ăn từ các website.
- ✓Khi điều chỉnh cách Obsidian lưu các bài báo tin tức.
- ✓Khi sắp xếp thông tin sản phẩm từ các cửa hàng trực tuyến.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/obsidian-clipper-template-creator/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo mẫu để lưu công thức nấu ăn từ website 'recipes.com', tập trung vào tiêu đề, nguyên liệu và hướng dẫn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI phân tích website bạn cung cấp, tìm các dữ liệu quan trọng (như tiêu đề, văn bản, hình ảnh) và kiểm tra xem các 'selector' (đường dẫn để tìm dữ liệu) có hoạt động không. Sau đó, nó tạo một tệp mẫu dạng JSON để bạn sử dụng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Identify User Intent: specific site (YouTube), specific type (Recipe), or general clipping?
- Check Existing Bases: The user likely has a "Base" schema defined in
Bases/.- Action: Read
Bases/*.baseto 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.
- Action: Read
- 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.
- Draft the JSON: Create a valid JSON object following the schema.
- 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.
- 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
- references/variables.md - Available data variables.
- references/filters.md - Formatting filters.
- references/json-schema.md - JSON structure documentation.
- references/logic.md - Template logic.
- 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.
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.
Câu hỏi thường gặp
“Selector” là gì?
Selector giống như địa chỉ cho AI biết tìm thông tin cụ thể ở đâu trong trang web, như tiêu đề bài viết hoặc giá sản phẩm.
Vì sao AI cần liên kết trang?
AI cần liên kết để 'xem' trang thực tế và đảm bảo các selector nó dùng để lấy dữ liệu thực sự hoạt động và tìm đúng thông tin.
File JSON là gì?
Đó là định dạng tệp mà Obsidian hiểu được. AI tạo tệp này để bạn nhập vào và dùng để lưu thông tin một cách có tổ chức.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5330
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.