Example web search
Skill Phoenixrr2113/agent-harness/defaults/skills/example-web-search
A file-first agent operating system. Build AI agents by editing markdown files, not writing code. Self-managing, self-improving, durable. Agent Skills compatible.
npx -y skills add Phoenixrr2113/agent-harness --skill example-web-searchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Example HTTP tool definition for a fictional web search API. Copy and adapt for real services.
SKILL.md
1.6 KB, as published. Nobody here has run it
Tool: Example Web Search (template)
This is a template tool definition. Its status is example, so validators and loaders
will recognize it as non-executable scaffolding. Copy this file to tools/<your-tool>.md,
change the status to active, and point it at a real service.
Authentication
Set the API key in your environment:
export WEB_SEARCH_API_KEY="your-key-here"
The tool reads WEB_SEARCH_API_KEY at call time. Never hardcode keys in this file.
Operations
search
Method: GET
URL: https://api.example.com/v1/search
Headers: Authorization: Bearer $WEB_SEARCH_API_KEY
Query parameters:
q(string, required) — search querylimit(integer, optional, default 10) — max results, 1-50lang(string, optional, default "en") — ISO 639-1 code
Response: JSON with results: [{title, url, snippet}]
Example call
curl -H "Authorization: Bearer $WEB_SEARCH_API_KEY" \
"https://api.example.com/v1/search?q=climate+change&limit=5"
Notes
- Rate limit: 100 requests / minute (fictional).
- This endpoint does not exist. Swap it for a real provider (Brave, Tavily, Serper, etc.)
before marking the tool
active.
Related: [research]
Available scripts
scripts/call.sh— Auto-generated from this tool's Operations section. Review before relying on it.