Diff
1diff --git a/dot_config/opencode/skills/websearch/SKILL.md b/dot_config/opencode/skills/websearch/SKILL.md
2index fa8e287d00a00d20e90665c9e035b086275a53a0..0a3b39ffc7af4b21caf9a0a60d9b27dfd9c0b09c 100644
3--- a/dot_config/opencode/skills/websearch/SKILL.md
4+++ b/dot_config/opencode/skills/websearch/SKILL.md
5@@ -26,12 +26,18 @@ implementation tasks where no external lookup is needed.
6 Run the bundled script from this skill's `scripts/` directory:
7
8 ```bash
9-python <skill_dir>/scripts/search.py "<query>" [max_results]
10+uv run -w ddgs python <skill_dir>/scripts/search.py "<query>" [max_results]
11 ```
12
13 `max_results` defaults to 5. Increase it (up to ~10) for broader topics.
14
15-The script prints results as: title, URL, and a snippet per result.
16+The script prints results in this format:
17+
18+```
19+{i}. {title}"
20+ {href}"
21+ {body}"
22+```
23
24 ## Crafting good queries
25
26diff --git a/dot_config/opencode/skills/websearch/scripts/search.py b/dot_config/opencode/skills/websearch/scripts/search.py
27index bbda2f158a6f5088524a7339a96a1505015755bb..4cc412ec1e600a87e6a20b275c97ebd22f974a0b 100644
28--- a/dot_config/opencode/skills/websearch/scripts/search.py
29+++ b/dot_config/opencode/skills/websearch/scripts/search.py
30@@ -1,8 +1,7 @@
31 #!/usr/bin/env python3
32-"""Web search using ddgs. Usage: python search.py <query> [max_results]"""
33+"""Web search using ddgs. Usage: uv run -w ddgs python search.py <query> [max_results]"""
34
35 import sys
36-import json
37 from ddgs import DDGS
38
39