Course file
week19_20_auto_research/README.md
This is your first multi-week project. You're going to build a research agent — an OpenClaw skill that takes a question, searches the web, reads pages, and writes a report with sources.
This combines everything from the last 6 weeks:
A skill that works like this:
You (via Telegram): Research: What are the pros and cons of nuclear energy?
Agent: I'll research that for you. Let me search for information...
[Agent searches the web, reads several pages, takes notes]
Agent: Here's what I found:
## Nuclear Energy: Pros and Cons
### Pros
- Low carbon emissions compared to fossil fuels (source: ...)
- High energy density (source: ...)
- Reliable baseload power (source: ...)
### Cons
- Radioactive waste storage (source: ...)
- High upfront construction costs (source: ...)
- Risk of accidents (source: ...)
### Sources
1. [URL 1]
2. [URL 2]
3. [URL 3]
The research agent follows this loop:
web_search to find relevant pagesweb_fetch to read promising pagesSSH into your server:
ssh root@YOUR_IP_ADDRESS
Create the skill folder:
mkdir -p /opt/openclaw/workspace/skills/research_skill
Copy the template from this repo (research_skill/SKILL.md) or create it:
nano /opt/openclaw/workspace/skills/research_skill/SKILL.md
The skill file tells OpenClaw:
Try simple queries first:
openclaw chat "Research: What is the tallest building in the world?"
Watch the output. Does it search? Does it cite sources?
The first version won't be perfect. Common issues:
Try the questions in example_queries.md. These are designed to test different aspects:
Send research questions to your agent via Telegram. Share the bot with a friend and have them try it.
example_queries.mdreflection.mdresearch_skill/SKILL.md (copy it to this repo folder)example_queries.md)reflection.md filled in"I'm building a research skill for OpenClaw. The agent [searches but doesn't synthesize / doesn't cite sources / gives shallow answers]. Here's my SKILL.md: [paste]. How can I improve it?"
Remember: most problems with OpenClaw skills are solved by making the SKILL.md instructions clearer and more specific.