start-1-5

GitHub

教授Agent并行处理技能。通过模拟分析10个旧营销活动文件,展示如何启动多个Agent独立工作并汇总结果,适用于大量相似且独立的并行任务场景。

claude-code-everyone-course/course-materials/.claude/skills/start-1-5/SKILL.md carlvellotti/free-ai-courses

Trigger Scenarios

用户输入 /start-1-5 需要讲解或演示多Agent并行处理机制时

Install

npx skills add carlvellotti/free-ai-courses --skill start-1-5 -g -y
More Options

Non-standard path

npx skills add https://github.com/carlvellotti/free-ai-courses/tree/main/claude-code-everyone-course/course-materials/.claude/skills/start-1-5 -g -y

Use without installing

npx skills use carlvellotti/free-ai-courses@start-1-5

指定 Agent (Claude Code)

npx skills add carlvellotti/free-ai-courses --skill start-1-5 -a claude-code -g -y

安装 repo 全部 skill

npx skills add carlvellotti/free-ai-courses --all -g -y

预览 repo 内 skill

npx skills add carlvellotti/free-ai-courses --list

SKILL.md

Frontmatter
{
    "name": "start-1-5",
    "description": "Lesson 1.5: Agents. Use when the student types \/start-1-5.\n",
    "allowed-tools": [
        "Read",
        "Write",
        "Bash",
        "AskUserQuestion",
        "Task"
    ],
    "disable-model-invocation": true
}

Setup

Read .claude/rules/teaching-rules.md and follow it for everything below.

ACTION: Silently run cp -rn .claude/skills/start-1-2/assets/scenario/* . 2>/dev/null || true to stage any missing scenario files. Do not mention this setup step.

Lesson 1.5: Agents

Remember those competitor files, old campaigns, and the CSV we saw but didn't touch? They're all in inherited-chaos/ - open the folder view if you need a refresher.

Now we handle them.

This is where things get crazy.

STOP: Ready to process EVERYTHING at once?

USER: Yes


The Big Reveal - Parallel Processing

The Big Reveal: We have 10 old campaign files to analyze.

Normally you'd read them one by one. That would take forever. It would even take me a while.

Instead, I can spin up an agent for each campaign and they'll work in parallel. Some may queue while the work runs in parallel batches.

Think of it like cloning myself. I give each clone its own task, and the group works through the batch.

Then I combine their findings.

STOP: This is one of the most powerful features in Claude Code. Work that would otherwise require many separate passes can be divided across agents. Ready to see it in action?

USER: Yes


Decision Quiz

ACTION: Use AskUserQuestion with header Agents, question When are agents the better fit?, and authored options Many similar independent tasks (Recommended) and One task whose steps depend on each other. Do not author Other.

USER: Many similar independent tasks

Exactly! Agents are for parallelizable work - many similar things that can be done independently.

STOP: Ready to see it in action?

USER: Yes


Campaign Salvage - 10 Agents

Let's start with the 10 old campaigns.

STOP: Ask me to use agents to analyze all the files in @inherited-chaos/old-campaigns/ (old-campaigns/) and figure out which campaign ideas are worth salvaging. I'll spin up an agent for each campaign and they'll work in parallel.

USER: Types command about analyzing campaigns

ACTION: Launch an agent for each of the 10 campaign files. Let them work in parallel batches; some may queue. Synthesize results into analysis/campaign-salvage-report.md with findings about each campaign, summarize the salient findings in prose, and provide campaign-salvage-report.md.

Discovery: Previous manager kept trying engagement tactics, but they were all transactional (double points, bonus rewards). Nothing about identity or belonging. Every single campaign was about getting MORE TRANSACTIONS, not about making people FEEL something.

STOP: Ten files were handled in parallel batches and synthesized into one report. Imagine doing this with 100 customer interviews, or a year's worth of meeting notes. This is where Claude Code starts feeling like a superpower. Ready for more?

USER: Yes


Advanced: Cross-Source Analysis

Now let's do something more advanced. We've analyzed campaigns and competitors separately. Let's connect the dots.

We'll use 4 specialist agents, each doing something DIFFERENT. They'll work in parallel batches, and some may queue:

  • Agent 1: Analyze the member data CSV - what do the numbers tell us?
  • Agent 2: Cross-reference competitor strengths vs our failed campaigns - what are they doing that we tried and failed at?
  • Agent 3: Connect customer feedback themes to competitor insights - are customers asking for things competitors already have?
  • Agent 4: Identify gaps - what works elsewhere that we haven't even tried?

Then synthesize into one comprehensive picture.

STOP: Ask me to use 4 agents to: analyze the member data CSV, cross-reference competitor strengths vs our campaigns, connect customer feedback to competitor features, and identify gaps. Then synthesize it all together.

USER: Types command for the 4-agent analysis

ACTION: Launch 4 specialized agents:

  1. Analyze member-data-summary.csv for trends
  2. Compare competitor research to our failed campaigns
  3. Connect feedback themes to competitor features
  4. Identify gaps in our approach

Synthesize everything into analysis/comprehensive-research-synthesis.md. Echo each agent's salient contribution in prose and provide comprehensive-research-synthesis.md.

Discoveries:

  • The CSV shows people sign up, visit 2-3 times, then disappear. They're not leaving angry - they're leaving indifferent.
  • Competitors with personality features have 3x better retention than points-only programs.
  • Customers keep asking for "something more" but can't articulate what.
  • The gap: nobody in our market has a personality-based approach.

STOP: See how connecting different sources reveals things you'd miss looking at them separately?

USER: Yes


The Core Discovery

Connecting this to the overall story:

THE CORE DISCOVERY: "The program has no personality. It's transactional. Members don't engage because there's nothing to engage WITH. Points aren't enough - people need identity, belonging, a reason to care."

This connects back to the seed from 1.3: "coffee personalities"... that half-baked idea is starting to make sense.

STOP: Are you seeing it? The program needs PERSONALITY.

USER: Yes


Agent Decision Framework

So when should you use agents?

Use agents when:

  • You have many similar files
  • Parallelizable tasks
  • Research across multiple sources

Don't use agents when:

  • You have one complex task
  • Sequential work
  • Things that depend on each other

STOP: The mental model: if you could hand the same instructions to 10 interns and have them each work independently, agents are perfect. If the work requires back-and-forth or builds on itself, stick with regular conversation. Clear?

USER: Yes


Wrap-up

Meta skill: Parallel processing - handling many similar tasks in parallel batches instead of one at a time.

When to use agents: You have multiple similar things that need the same type of analysis. The work is parallelizable - each piece can be done independently.

Where else this applies:

  • 10 job postings for roles you're considering - analyze all of them at once, compare requirements
  • 5 vendors you're evaluating - research each one in parallel, synthesize into a comparison
  • 20 articles you've saved to read - have agents summarize each, then synthesize the key insights
  • Apartment hunting - 8 listings to analyze for pros/cons/red flags in parallel
  • Competitive analysis - research 6 competitors at once instead of one by one
  • Planning a trip - agents researching flights, hotels, activities, restaurants all at once

Next up: In 1.6, you'll meet your advisory team. Custom sub-agents with different perspectives - an exec, a designer, a frontline employee - each giving you feedback from their point of view. This is where we figure out what to actually DO about the loyalty program problem.

STOP: Ready for 1.6?

USER: Yes / /start-1-6


Important Notes for Claude

  • Actually use agents: Spin up an agent for each campaign, then the four specialists. They work in parallel batches and some may queue.
  • Create real files: campaign-salvage-report.md and comprehensive-research-synthesis.md should be created in the analysis/ folder
  • Core discovery emphasis: Make sure the "no personality" insight lands clearly
  • Coffee personality callback: Explicitly connect back to the idea from previous-manager-notes.md

Success Criteria

  • Student saw an agent per campaign process the ten campaigns in parallel batches
  • Student saw 4 specialized agents do cross-source analysis in parallel batches
  • Student understands when to use agents (parallel, similar tasks)
  • Student understands when NOT to use agents (sequential, dependent tasks)
  • Student grasped the core discovery: "program has no personality"
  • Student saw the coffee personality idea resurface
  • analysis/campaign-salvage-report.md created
  • analysis/comprehensive-research-synthesis.md created
  • Student is ready for 1.6

ACTION: Silently run the following progress update. Do not mention it to the student.

mkdir -p .fspm
[ -f .fspm/progress.json ] || printf '{"name":null,"completed_lessons":[],"current_lesson":"","last_updated":""}' > .fspm/progress.json
L="cc-everyone-1-5"; C="cc-everyone-1-6"; T="$(date -u +%FT%TZ)"
if command -v jq >/dev/null 2>&1; then
  tmp=$(mktemp)
  jq --arg l "$L" --arg c "$C" --arg t "$T" '.completed_lessons = ((.completed_lessons + [$l]) | unique) | .current_lesson = $c | .last_updated = $t' .fspm/progress.json > "$tmp" && mv "$tmp" .fspm/progress.json
else
  python3 - "$L" "$C" "$T" <<'PY'
import json,sys
l,c,t = sys.argv[1:4]
p = ".fspm/progress.json"; d = json.load(open(p))
if l not in d.get("completed_lessons",[]): d.setdefault("completed_lessons",[]).append(l)
d["current_lesson"] = c; d["last_updated"] = t
json.dump(d, open(p,"w"))
PY
fi

Next lesson: Type /start-1-6.

Version History

  • 058c617 Current 2026-07-23 00:51

Same Skill Collection

claude-code-everyone-course/course-materials/.claude/skills/start-1-1/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-2/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-3/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-4/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-6/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-7/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-1-8/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-1/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-2/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-3/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-4/SKILL.md
claude-code-everyone-course/course-materials/.claude/skills/start-2-5/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/auq/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/convert-doc/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/draft-and-humanize/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/draft-followups/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/humanizer/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/marketing-psychology/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/news/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/process-meetings-plus/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/standup/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-1/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-2/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-3/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-4/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/start-skills-5/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/write-proposal/SKILL.md
codex-for-pms-skills-bonus/.agents/skills/writing-voice/SKILL.md
codex-pm-course/.agents/skills/start-1-1/SKILL.md
codex-pm-course/.agents/skills/start-1-2/SKILL.md
codex-pm-course/.agents/skills/start-1-3/SKILL.md
codex-pm-course/.agents/skills/start-1-4/SKILL.md
codex-pm-course/.agents/skills/start-1-5/SKILL.md
codex-pm-course/.agents/skills/start-1-6/SKILL.md
codex-pm-course/.agents/skills/start-2-1/SKILL.md
codex-pm-course/.agents/skills/start-2-2/SKILL.md
codex-pm-course/.agents/skills/start-2-3/SKILL.md
codex-pm-course/.agents/skills/start-3-1/SKILL.md
codex-pm-course/.agents/skills/start-3-2/SKILL.md
codex-pm-course/.agents/skills/start-3-3/SKILL.md
codex-pm-course/.agents/skills/start-3-4/SKILL.md
codex-pm-course/.agents/skills/start-3-5/SKILL.md
course-materials/.claude/skills/pptx/SKILL.md
course-materials/.claude/skills/start-1-1/SKILL.md
course-materials/.claude/skills/start-1-2/SKILL.md
course-materials/.claude/skills/start-1-3/SKILL.md
course-materials/.claude/skills/start-1-4/SKILL.md
course-materials/.claude/skills/start-1-5/SKILL.md
course-materials/.claude/skills/start-1-6/SKILL.md

Metadata

Files
0
Version
058c617
Hash
7669bdfc
Indexed
2026-07-23 00:51

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-29 13:12
浙ICP备14020137号-1 $お客様$