From c603bbbd1237d02449f562785e0702906ffa8d9a Mon Sep 17 00:00:00 2001 From: Seth Etter Date: Wed, 2 Sep 2026 16:24:21 -0500 Subject: [PATCH] pi: web-access skill: use xpath that wont trigger automode pi automode thought this was doing a root fs access, this gets around that --- agent/skills/web-access/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/skills/web-access/SKILL.md b/agent/skills/web-access/SKILL.md index 98ebfc9..d9abb22 100644 --- a/agent/skills/web-access/SKILL.md +++ b/agent/skills/web-access/SKILL.md @@ -12,7 +12,7 @@ Search and fetch directly via bash. No API keys or services. Prefer these over t ```bash Q=$(printf %s "search terms here" | jq -sRr @uri) curl -s -m 15 "https://www.bing.com/search?q=$Q&format=rss" \ - | xmllint --xpath '//item' - \ + | xmllint --xpath 'descendant::item' - \ | sed -E 's::\n:g; s:: \| :g; s:<[^>]+>::g' ``` -- 2.51.2