Skip to content

Instantly share code, notes, and snippets.

@Coldaine
Created January 1, 2026 06:13
Show Gist options
  • Select an option

  • Save Coldaine/e2caed4cc19a3c533d0a0af2f2b0c2ad to your computer and use it in GitHub Desktop.

Select an option

Save Coldaine/e2caed4cc19a3c533d0a0af2f2b0c2ad to your computer and use it in GitHub Desktop.
Universal Smart Clipper - A comprehensive Obsidian Web Clipper template that uses LLM/Interpreter to intelligently analyze and summarize any web page
{
"schemaVersion": "0.1.0",
"name": "Universal Smart Clipper",
"behavior": "create",
"noteNameFormat": "{{title|safe_name}}",
"path": "Clippings/Smart",
"context": "{{selectorHtml:article,main,[role=main],.post,.entry-content,.article-content,#content,.content|remove_html:(\"img,aside,script,style,nav,header,footer,form,button,svg,iframe,noscript,advertisement,.ad,.ads,.sidebar,.comments,.related\")|markdown|replace:\"/```[\\\\s\\\\S]*?```/g\":\"\"|replace:\"/\\n{3,}/g\":\"\\n\\n\"|slice:0,15000|trim}}",
"noteContentFormat": "# {{title}}\n\n> [!info]- Page Metadata\n> - **Source:** {{url}}\n> - **Author:** {{author}}\n> - **Published:** {{published|date:\"YYYY-MM-DD\"}}\n> - **Clipped:** {{date|date:\"YYYY-MM-DD HH:mm\"}}\n> - **Word Count:** {{words}}\n\n---\n\n## Executive Summary\n\n{{\"Based solely on the provided context, write a comprehensive executive summary in 2-3 paragraphs (150-250 words total). Cover the main thesis, key arguments, and conclusions. Write in clear, professional prose. Plain text only, no markdown formatting, no bullet points. Do not include surrounding quotes.\"|strip_md|replace:\"/\\s+/g\":\" \"|trim}}\n\n## Content Classification\n\n{{\"Based solely on the provided context, classify this content by answering each question on its own line in this exact format:\\n- Type: [article/tutorial/documentation/product/recipe/video/academic/news/blog/forum/reference/other]\\n- Domain: [technology/science/business/health/education/entertainment/lifestyle/politics/sports/other]\\n- Depth: [surface/moderate/deep]\\n- Tone: [formal/casual/technical/persuasive/informative/entertaining]\\n- Audience: [general/beginner/intermediate/expert/professional]\\nRespond with exactly 5 lines, one for each classification. Plain text, ASCII only.\"|trim}}\n\n## Key Insights\n\n{{\"Based solely on the provided context, extract 5-8 key insights or main points. Each insight should be a complete, standalone statement of 10-20 words. Start each line with '- '. Focus on novel information, important claims, or actionable knowledge. No trailing punctuation. ASCII only. Do not include surrounding quotes.\"|replace:\"/^'|'$/g\":\"\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|trim}}\n\n## Detailed Analysis\n\n### Main Arguments or Claims\n\n{{\"Based solely on the provided context, identify and explain the 3-5 main arguments, claims, or points the author makes. For each one, write 1-2 sentences explaining what the claim is and how the author supports it. Start each with '### ' followed by a brief title, then the explanation on the next line. Plain text, ASCII only.\"|trim}}\n\n### Evidence and Support\n\n{{\"Based solely on the provided context, list the types of evidence, data, examples, or sources the author uses to support their points. Start each line with '- '. Include specific statistics, studies, quotes, or examples mentioned. 4-8 items. No trailing punctuation. ASCII only.\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|trim}}\n\n### Methodology or Approach\n\n{{\"Based solely on the provided context, describe the methodology, framework, or approach used. If this is a how-to or tutorial, list the steps. If it's an analysis, describe the analytical framework. If it's a news article, describe how the story is structured. 2-4 sentences or 3-6 bullet points starting with '- '. ASCII only.\"|trim}}\n\n## Practical Applications\n\n### Action Items\n\n{{\"Based solely on the provided context, extract 3-6 concrete action items, recommendations, or next steps that a reader could take. Start each with '- [ ] ' to create a task list. Each item should be specific and actionable, 8-15 words. No trailing punctuation. ASCII only. If no clear actions, respond with '- [ ] Review and identify personal applications'.\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- [ ] \"|trim}}\n\n### Tools, Resources, or References\n\n{{\"Based solely on the provided context, list any tools, software, books, people, organizations, frameworks, or resources mentioned. Start each with '- '. Include brief context for why each is relevant (5-10 words after the name). 3-10 items. If none mentioned, respond with '- No specific tools or resources mentioned'. ASCII only.\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|trim}}\n\n### Who Should Read This\n\n{{\"Based solely on the provided context, describe in 2-3 sentences who would benefit most from this content and why. Be specific about roles, situations, or goals. Plain text, ASCII only.\"|trim}}\n\n## Critical Evaluation\n\n### Strengths\n\n{{\"Based solely on the provided context, identify 2-4 strengths of this content. What does it do well? What is valuable or unique about it? Start each with '- '. 8-15 words each. No trailing punctuation. ASCII only.\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|trim}}\n\n### Limitations or Gaps\n\n{{\"Based solely on the provided context, identify 2-4 limitations, gaps, or potential weaknesses. What questions remain unanswered? What perspectives might be missing? What assumptions are made? Start each with '- '. 8-15 words each. No trailing punctuation. ASCII only.\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|trim}}\n\n### Questions Raised\n\n{{\"Based solely on the provided context, list 2-4 questions this content raises or leaves unanswered. These could be follow-up research questions, clarifications needed, or deeper inquiries prompted by the content. Start each with '- '. Phrase as actual questions ending with '?'. ASCII only.\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|trim}}\n\n## Connections and Context\n\n### Related Topics\n\n{{\"Based solely on the provided context, identify 5-10 related topics, concepts, or fields that connect to this content. These should be terms suitable for use as tags or for finding related notes. Format as a comma-separated list of lowercase terms with hyphens instead of spaces. Example: machine-learning, data-science, python. ASCII only.\"|lower|replace:\" \":\"_\"|trim}}\n\n### Potential Connections\n\n{{\"Based solely on the provided context, suggest 2-4 other topics, ideas, or fields this content might connect to that aren't explicitly mentioned. Think about interdisciplinary connections, applications in other domains, or related concepts. Start each with '- '. 5-12 words each. ASCII only.\"|replace:\"/^(?:\\*||||\\d+\\.|\\d+\\))\\s*/gm\":\"- \"|trim}}\n\n## Quick Reference\n\n### One-Sentence Summary\n\n{{\"Based solely on the provided context, write a single sentence of 15-25 words that captures the essence of this content. This should be suitable for quick scanning. Plain text, ASCII only, no quotes.\"|trim}}\n\n### Key Takeaway\n\n{{\"Based solely on the provided context, what is the single most important thing to remember from this content? Write 1-2 sentences. Plain text, ASCII only.\"|trim}}\n\n---\n\n## Original Content\n\n{{content}}\n\n---\n\n*Clipped with Universal Smart Clipper on {{date|date:\"YYYY-MM-DD\"}} at {{time|date:\"HH:mm\"}}*",
"properties": [
{
"name": "title",
"value": "{{title}}",
"type": "text"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "author",
"value": "{{author|wikilink}}",
"type": "multitext"
},
{
"name": "published",
"value": "{{published|date:\"YYYY-MM-DD\"}}",
"type": "date"
},
{
"name": "created",
"value": "{{date|date:\"YYYY-MM-DD\"}}",
"type": "date"
},
{
"name": "content_type",
"value": "{{\"Based solely on the provided context, classify this content as exactly one of: article, tutorial, documentation, product, recipe, video, academic, news, blog, forum, reference, other. Respond with only that single word, lowercase, no punctuation.\"}}",
"type": "text"
},
{
"name": "domain",
"value": "{{\"Based solely on the provided context, classify the domain as exactly one of: technology, science, business, health, education, entertainment, lifestyle, politics, sports, other. Respond with only that single word, lowercase, no punctuation.\"}}",
"type": "text"
},
{
"name": "difficulty",
"value": "{{\"Based solely on the provided context, rate the difficulty or depth as exactly one of: beginner, intermediate, advanced. Respond with only that single word, lowercase, no punctuation.\"}}",
"type": "text"
},
{
"name": "quality",
"value": "{{\"Based solely on the provided context, rate the overall quality and usefulness of this content from 1-5 where 1 is low quality and 5 is exceptional. Respond with only a single digit number.\"}}",
"type": "number"
},
{
"name": "summary",
"value": "{{\"Based solely on the provided context, write a one-sentence summary of 15-25 words. Plain text, no quotes.\"}}",
"type": "text"
},
{
"name": "tags",
"value": "{{\"Based solely on the provided context, generate 5-10 relevant tags as a comma-separated list. Use lowercase with hyphens for multi-word tags. Example: machine-learning, python, data-analysis. No spaces around commas.\"}}",
"type": "multitext"
},
{
"name": "word_count",
"value": "{{words}}",
"type": "number"
},
{
"name": "reading_time",
"value": "{{words|calc:\"/200\"|round}}",
"type": "number"
},
{
"name": "site",
"value": "{{site}}",
"type": "text"
},
{
"name": "image",
"value": "{{image}}",
"type": "text"
}
],
"triggers": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment