1
0
Fork 0

feat: make examples cumulative with carry-forward chain and capstone

Add three new sections to all 14 examples:
- "Carry Forward": what output feeds into later examples (01-10)
- "The Cumulative Path": alternative prompt building on previous output (02-10)
- "Now Try It Yourself": personalized template with transferable pattern (all)
- "Building On" callout connecting back to previous examples (02-10)

Add Example 14: Build Your Personal Agent - capstone that guides reader
through writing their own CLAUDE.md, creating a personal skill, connecting
a messaging channel, setting up automation, and testing end-to-end.

Update README with cumulative path diagram, two usage modes, and example 14.
Update GETTING-STARTED.md with cross-references to relevant examples.

17 files changed, 703+ lines added. The examples now form a coherent
learning path from "see what it can do" to "build your own agent."

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-03-26 21:14:35 +01:00
commit 0d0b83f98c
17 changed files with 979 additions and 11 deletions

View file

@ -5,6 +5,8 @@ file I/O, memory, hooks, and logging in a single Claude Code run.
**OpenClaw equivalent:** End-to-end agent pipeline with messaging, skills, and hooks.
> **Building on Examples 01-09.** This is the culmination. Every capability you explored individually now runs as a single, automated pipeline. If you followed the Cumulative Path, you already built the pieces. This example connects them.
---
## What This Demonstrates
@ -109,3 +111,64 @@ runs the article production pipeline at `fromaitochitta.com`.
The companion repo you are reading is the minimal version of that setup.
Clone it, open Claude Code, and run this prompt to see the full stack work.
---
## Carry Forward
You now have a working end-to-end pipeline. From here:
- **Examples 11-13** add advanced capabilities (desktop control, remote access, autonomous mode) that can extend this pipeline
- **Example 14** takes everything you learned and builds your own personalized agent
The pipeline pattern, research + draft + review + save + notify, works for any domain. Change the topic, swap the agents, adjust the output format. The architecture stays the same.
---
## The Cumulative Path
> If you followed the Cumulative Path through Examples 01-09, you already
> have most of the pipeline output. This prompt runs the complete flow from
> scratch on a new topic, proving the pipeline works end-to-end.
```
Run a full research-to-output pipeline on the topic: "What can Claude Code
do that I did not know about before running these examples?"
Pipeline steps:
1. Read memory/research-state.md to understand what has been explored
2. Use the researcher agent to search for capabilities not yet covered
3. Use the writer agent to draft a 400-word personal discovery summary
4. Use the reviewer agent to verify all claims
5. Save to pipeline-output/personal-discoveries.md
6. Append execution log to memory/pipeline-log.md
7. Show me the first 10 lines of the output file
```
This is a genuinely useful output: a personalized summary of what you learned, produced by the pipeline you just built.
---
## Now Try It Yourself
Replace the topic with something your pipeline should produce regularly:
```
Run a full research-to-output pipeline on: "[your recurring research topic]"
Pipeline steps:
1. [your research source: web, files, APIs]
2. Use the researcher agent to [gather what you need]
3. Use the writer agent to draft a [format] for [audience]
4. Use the reviewer agent to check [what matters most]
5. Save to pipeline-output/[your-output].md
6. Log to memory/pipeline-log.md
7. Show me the first 10 lines
```
**The pattern you just learned:** the full pipeline is a recipe with interchangeable ingredients. Swap the research topic, change the output format, adjust the audience. The agent orchestration, file I/O, memory, and logging stay the same.
Ideas worth trying:
- Weekly industry briefing for your team
- Automated due diligence report for vendors or partners
- Content pipeline that drafts, reviews, and delivers blog posts