searching-comfyui-solutions
Searches bundled capability-Skill templates and (optionally) trusted web sources for ComfyUI workflow recipes matching a query, then ranks the results conservatively with source provenance. Use whenev
SKILL.md.claude/skills/searching-comfyui-solutions/SKILL.md
GitHubsearching-comfyui-solutions
Research-first Skill. Network access is declared and must be present in
policies/skill_provenance.yaml's network_allowlist.
When this Skill applies
- The planner found no matching capability-Skill keyword for a clause.
- The caller explicitly asked for search grounding.
Pipeline
scripts/search_local.py— greps.claude/skills/*/templates/for keyword matches; results carrytrust_tier="bundled".scripts/search_web.py— readspolicies/search_allowlist.yaml, fetches a DuckDuckGo HTML results page (stdliburllib.request), extracts top N links; results carrytrust_tier="web_unverified"plusretrieved_at.scripts/rank_results.py— merges both sets, prefers local, applies a conservative ranking (favors no result over a low-confidence wrong one).
Conservative ranking rule
If the top hit's score is below a threshold (default 0.3), emit an empty list — never return a low-confidence result that the planner might anchor on. Callers should fall back to asking the user.
Scripts
scripts/search_local.pyscripts/search_web.py(network; allowlist enforced)scripts/rank_results.py
Error handling
Network failures return {"results": [], "error": "..."} — never raise.