Dotfiles web-search
Web search using DuckDuckGo (free, unlimited). Falls back to pi-web-access extension for content extraction.
install
source · Clone the upstream repo
git clone https://github.com/megalithic/dotfiles
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/megalithic/dotfiles "$T" && mkdir -p ~/.claude/skills && cp -r "$T/home/common/programs/ai/pi-coding-agent/skills/web-search" ~/.claude/skills/megalithic-dotfiles-web-search && rm -rf "$T"
manifest:
home/common/programs/ai/pi-coding-agent/skills/web-search/SKILL.mdsource content
Web Search
Primary: DuckDuckGo via
ddgr (free, unlimited, no API key)
Content extraction: Use pi-web-access extension tools (gemini-search, etc.)
Search (ddgr)
{baseDir}/search.sh "query" # Basic search (5 results) {baseDir}/search.sh "query" -n 10 # More results (max 25) {baseDir}/search.sh "query" -t w # Past week {baseDir}/search.sh "query" -t m # Past month {baseDir}/search.sh "query" -w example.com # Site-specific search
Options
- Number of results (default: 5, max: 25)-n <num>
- Time filter:-t <span>
(day),d
(week),w
(month),m
(year)y
- Limit to specific site-w <site>
Content extraction
For full page content (not just snippets), use the
pi-web-access extension
which provides web search and extraction tools directly in the agent.
Output format
--- Result 1 --- Title: Page Title URL: https://example.com/page Snippet: Description from search results --- Result 2 --- ...
Rate limits
- ddgr: None (scrapes DuckDuckGo directly)