From 330aed55c313c81d0c2234f9d80efdce27eb6f47 Mon Sep 17 00:00:00 2001 From: Steph Ango <10565871+kepano@users.noreply.github.com> Date: Fri, 6 Nov 2026 14:59:55 -0800 Subject: [PATCH] Skills: Check for Defuddle and Knap before using them Ports the setup checks written for the ChatGPT submission, so every listing ships the same skills: check the tool is installed, offer to install it instead of installing unasked, and don't report success when it failed. --- plugins/obsidian/skills/defuddle/SKILL.md | 4 ++-- plugins/obsidian/skills/knap/SKILL.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/obsidian/skills/defuddle/SKILL.md b/plugins/obsidian/skills/defuddle/SKILL.md index c1c9b1b..81f6ee0 100644 --- a/plugins/obsidian/skills/defuddle/SKILL.md +++ b/plugins/obsidian/skills/defuddle/SKILL.md @@ -5,9 +5,9 @@ description: Extract clean Markdown from HTML pages with Defuddle CLI. # Defuddle -Use Defuddle CLI to extract clean readable content from web pages. Prefer over WebFetch for standard web pages — it removes navigation, ads, and clutter, reducing token usage. +Use Defuddle CLI when the user wants clean Markdown extracted from a web page. It removes navigation, ads, and other page clutter. -If not installed: `npm install -g defuddle` +Check availability with `defuddle --help`. If it is missing, explain the dependency and offer installation with `npm install -g defuddle`. Do not claim extraction succeeded if the tool is unavailable or returns an error. ## Usage diff --git a/plugins/obsidian/skills/knap/SKILL.md b/plugins/obsidian/skills/knap/SKILL.md index c27139d..90b851d 100644 --- a/plugins/obsidian/skills/knap/SKILL.md +++ b/plugins/obsidian/skills/knap/SKILL.md @@ -7,7 +7,7 @@ description: Render Markdown from templates and structured data using Knap CLI. Use Knap CLI to render Markdown templates with variables, filters, and logic. -If not installed: `npm install -g knap` (requires Node.js 20 or later). Alternatively, use `npx knap`. +Check availability with `knap --help`. If it is missing, explain that Knap requires Node.js 20 or later and offer installation with `npm install -g knap` or execution with `npx knap`. Do not claim a template was rendered if the tool is unavailable or returns an error. Run `knap --help` for available commands and options. Discover the language through the CLI's offline reference: