Daily Digest Skill: Summarise a Document Directory with Claude
Intermediate · 35 minutes · 5 tasks, checked automatically · 100 points
Build an OpenClaw skill that watches a directory of plain-text documents and uses Claude (claude-sonnet-4-6 via the Anthropic Messages API) to produce a concise, readable daily digest. You will install OpenClaw, scaffold a skill plugin, wire it to the Anthropic SDK, and verify the digest is written to disk — all inside a single toolbox container using your own API key.
What you’ll learn
- Install OpenClaw globally and verify the CLI is available
- Create a structured lab workspace with sample documents and a skill scaffold
- Implement a digest skill that reads every .txt file in a directory and calls the Anthropic Messages API to summarise them
- Register the skill with OpenClaw and confirm it appears in the skill registry
- Run the skill end-to-end and verify a digest file is produced on disk
How this lab works
- Start the lab: One click starts a sandbox with a local model and the agent’s toolbox: no API key and no token bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work inspects the agent, its config and its output, and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: Locally, against a model on your computer: no API key, no tokens
- Model: claude-sonnet-4-6
- Open source: github.com/openclaw/openclaw
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- An Anthropic API key added to the LearnXops Agent Playground (stored in the OS keyring)
- A hosted sandbox created in the Agent Playground so ANTHROPIC_API_KEY is present in the toolbox environment
Topics: openclaw, anthropic, claude, skill, automation, summarisation, frontier-model, plugin-sdk, daily-digest, document-processing
Create a free account to start this lab.
Keep going
- Build and Invoke a Custom OpenClaw Shell-Out Skill
- OpenClaw Filesystem Access: Read, Summarise and Rewrite a Project File
- Teach Hermes to Remember: Generate, Review, and Re-Run a Custom Skill
- Build a Custom CrewAI Tool with @tool and Let an Agent Decide When to Use It
- Force Structured Output from a CrewAI Task with a Pydantic Model
- Build a Tool Node by Hand in LangGraph