40 files demonstrating every major OpenClaw capability using Claude Code: - 3 agents (researcher, writer, reviewer) - 3 skills (daily-briefing, slack-message, web-research) - 2 security hooks (pre-tool-use blocker, post-tool-use logger) - 10 self-contained examples with copy-paste prompts - Complete feature map (20 capabilities, 11 full match, 7 different, 2 gap) - Security docs including NemoClaw comparison - Automation, messaging, browser, memory documentation Zero dependencies. Clone and run. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1.7 KiB
Example 03: Web Search and Fetch
Capability: Claude Code can search the web and fetch full page content as part of any task. Both tools are built-in; no MCP server required.
OpenClaw equivalent: Brave Search API + web_fetch with Firecrawl fallback.
The Prompt
Search for the latest Claude Code release notes, summarize the 5 most impactful
features added in recent versions, and write the summary to changelog-summary.md
For each feature include:
- Feature name and the version it shipped in
- One sentence on what it does
- One sentence on why it matters for agent workflows
At the top of the file add a "Researched on" line with today's date and the
source URLs you used.
What Happens
Claude Code will:
- Use WebSearch to find Claude Code release notes and changelog pages
- Use WebFetch to retrieve the full changelog content from Anthropic's docs
- Parse and rank features by impact on agent workflows
- Use Write to create
changelog-summary.mdwith source attribution - Confirm the file was written
Why This Matters
Web search makes Claude Code's knowledge current. The training cutoff becomes less relevant when Claude can verify facts before writing them down.
The combination of WebSearch (for discovery) and WebFetch (for depth) mirrors
what a human researcher does: scan headlines, then read the full article.
This is the same pattern used in the PREP phase of the article production
pipeline that drives the fromaitochitta.com content workflow.
Note on Sources
Claude Code cites sources when writing research outputs. If you need full traceability, add "include the exact URL next to each claim" to the prompt.