1
0
Fork 0

feat: initial companion repo for OpenClaw vs Claude Code article

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>
This commit is contained in:
Kjell Tore Guttormsen 2026-03-26 09:47:29 +01:00
commit 2491f5c732
40 changed files with 2037 additions and 0 deletions

View file

@ -0,0 +1,54 @@
# 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:
1. Use WebSearch to find Claude Code release notes and changelog pages
2. Use WebFetch to retrieve the full changelog content from Anthropic's docs
3. Parse and rank features by impact on agent workflows
4. Use Write to create `changelog-summary.md` with source attribution
5. 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.