claude-quickstarts / roadtrip-planner
CLAUDE.md18k starsChanged 2 months agoMITView on GitHub
A Next.js chat built directly on a Managed Agent session: no chat framework, the event log is the app state. Teaches session event streaming (event_deltas), vault credential injection_location, per-session agent_with_overrides, and multiagent coordinator rosters. The planner calls the National Park Service and Windy APIs with keys it never holds, then hands its draft to a second agent for a quick critique. That second agent is an Opus reviewer running as a session thread. 1. Invoke /claude-api first. It loads the…
Trending
More talk lately.about the whole repository
Who's talking about anthropics/claude-quickstarts
- @github-trending-js.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / claude-quickstarts ⭐ 18,532 (+453) 🗒 TypeScript A …”Bluesky · Oct 18, 2026 · 2 likes
- phananhtuan09/ai-agent-workflow“[Feature] runtime-e2e-test: setup mode that detects, proves, and fills project-runtime.md”GitHub · Nov 2, 2026
- MoradDev/skills-unified“Upstream updates to review”GitHub · Nov 1, 2026
- melodic-software/claude-code-plugins“docs(playbooks): re-anchor skill-authoring and fable-5 verification to the claude.dev blog posts”GitHub · Oct 31, 2026
- totalolage/deskohub-site“Run agent task evals against previews”GitHub · Oct 17, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub and Bluesky (23 times).
On GitHub · 22
- Nov 2, 2026[Feature] runtime-e2e-test: setup mode that detects, proves, and fills project-runtime.md — phananhtuan09/ai-agent-workflow0 reactions
- Nov 1, 2026Upstream updates to review — MoradDev/skills-unified0 reactions
- Oct 31, 2026docs(playbooks): re-anchor skill-authoring and fable-5 verification to the claude.dev blog posts — melodic-software/claude-code-plugins0 reactions · 4 comments
- Oct 17, 2026Run agent task evals against previews — totalolage/deskohub-site0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.anthropics.claude-quickstarts: init at 0-unstable-2026-08-21 — sudosubin/agents.nix0 reactions
17 more on GitHub
- Sep 23, 2026docs(managed_agents): move the self-hosted sandbox variants to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 21, 2026docs(managed_agents): move the Linear, road trip planner, and MCP server apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 16, 2026docs(managed_agents): move the Slack and Sentry apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions
- Sep 16, 2026docs(managed_agents): move the Slack and Sentry apps to claude-quickstarts — anthropics/claude-cookbooks0 reactions · 2 comments
- Sep 15, 2026Factory.ai 深度调研报告 — Pines-Cheng/blog0 reactions
- Sep 13, 2026/automations: real product widgets + trademark disclaimer — clancybooher/peak-view-windows0 reactions · 1 comment
- Aug 2, 2026goal-maker/bhag: adopt Anthropic's long-run harness (immutable feature_list.json + append-only progress file + fixed bootstrap drill) — jackneil/claude-jacked0 reactions
- Feb 17, 2026Closing the loop - Infrastructure for Agentic Engineering — schemalabz/opencouncil0 reactions
- Feb 3, 2026[Feature] Add Session Persistence, Security Model, and Progress Tracking (v2.2.0) — jnPiyush/AgentX0 reactions · 4 comments
- Jan 13, 2026feat: Add support for ANTHROPIC_API_KEY authentication — nirmalarya/claude-harness0 reactions
- Jan 2, 2026Meta-Library Architecture: Transform Any AI Workflow Knowledge into Executable FSMs — JulesGosnell/claij0 reactions
- Jan 2, 2026Learn from Anthropic's Long-Running Harness Pattern — JulesGosnell/claij0 reactions
- Jan 1, 2026Does this work with Anthropics new Harness for long running agent strategy? — rubycatco/claude-agent-sdk-ruby0 reactions · 2 comments
- Dec 23, 2025Add a think tool — byronxlg/polyagent0 reactions
- Dec 11, 2025feat: Add Autonomous Claude Code Builder system — krzemienski/shannon-framework0 reactions · 2 comments
- Dec 6, 2025Clone Anthropic computer-use-demo into repository — matheus-rech/comp-use0 reactions · 2 comments
- Nov 10, 2025File Editor Tool — strands-agents/sdk-typescript0 reactions · 7 comments
On Bluesky · 1
- Oct 18, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / claude-quickstarts ⭐ 18,532 (+453) 🗒 TypeScript A collection of projects designed to… — @github-trending-js.bsky.social2 likes and reposts · 1 reply
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- managed-agents/assistant-ui/CLAUDE.mdCLAUDE.md
- managed-agents/chat-sdk/CLAUDE.mdCLAUDE.md
- managed-agents/copilot-kit-ag-ui/CLAUDE.mdCLAUDE.md
- managed-agents/daily-brief/CLAUDE.mdCLAUDE.md
- managed-agents/knowledge-wiki/CLAUDE.mdCLAUDE.md
- managed-agents/linear/CLAUDE.mdCLAUDE.md
- managed-agents/mcp-server-typescript/CLAUDE.mdCLAUDE.md
- managed-agents/self-hosted-sandboxes/CLAUDE.mdCLAUDE.md
- managed-agents/sentry/CLAUDE.mdCLAUDE.md
- managed-agents/slack/CLAUDE.mdCLAUDE.md
- first-runSkill
- verifySkill
- assistant-uiSkill
- chat-sdkSkill
- verifySkill
- knowledge-wikiSkill
- linearSkill
- mcp-server-typescriptSkill
- roadtrip-plannerSkill
- sentrySkill
- slackSkill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use it as the source of truth for any SDK call you write or edit here.
- Distinctive: line 16
Don't guess field names.
- Very specific: line 53
Every route that takes the session cookie goes through ownedSession() before any other API call, and refuses when it returns null.
- Distinctive: line 81
No database. If a change needs one, it does not belong in this quickstart.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Road trip planner (Claude Managed Agents + Next.js)
A Next.js chat built directly on a Managed Agent session: no chat framework,
the event log is the app state. Teaches session event streaming
(event_deltas), vault credential injection_location, per-session
agent_with_overrides, and multiagent coordinator rosters. The planner
calls the National Park Service and Windy APIs with keys it never holds,
then hands its draft to a second agent for a quick critique. That second
agent is an Opus reviewer running as a session thread.
When the user asks to set this up, run it, or debug it
- Invoke
/claude-apifirst. It loads the Managed Agents API reference (agents, environments, sessions, events, vaults, credentials, webhooks). Use it as the source of truth for any SDK call you write or edit here. Don't guess field names. - Read
./skill.mdand walk the user through it in order. It has the key signups, the provisioning step, a pointer to the four README steps, and the debugging table. - The files worth reading before changing anything are
src/lib/use-managed-agent-session.ts(the client runtime: one EventSource, the SDK accumulator, the re-sync-on-connect habit),agents/setup.sh(where each credential'sinjection_locationis set), andagents/roadtrip-planner.md(the planner prompt and themultiagentroster, which namesagents/plan-reviewer.mdby path).src/lib/transcript.tsis the one fold both first paint and live streaming render through.src/lib/client.tsholdsownedSession(), the check every route runs on the session cookie.
Provisioning is ./agents/setup.sh (ant 1.34 or later, jq): it runs
ant apply --yes agents environments vaults, which creates the environment,
vault, reviewer, and planner from those directories and records their IDs in
claude-lock.json (read by src/lib/resources.ts), then adds the two vendor
keys to the vault as credentials, skipping any the vault already holds. On
re-runs apply publishes file edits onto the same resources. If it prints
refusing to apply, a resource was changed or archived in the Console: show
the user the reason before reaching for --force. A new resource is one more
file in agents/, environments/, vaults/, or memory_stores/ (add that
directory to the apply line), one more getter in src/lib/resources.ts, and
one more archive line in agents/teardown.sh.
Invariants to preserve when editing
- The stream is a tail, not a replay, and previews are never persisted: every
EventSource (re)connect re-fetches the event log (via
/api/session) before trusting the tail. Do not "optimize" that fetch away. It is the entire resume story. - Previews are speculative. The accumulator's snapshot retires when the
buffered
agent.messagewith the same id lands in the log, an orphanevent_delta(attached mid-generation) is dropped, and an erroredspan.model_request_enddiscards the open snapshot. - One fold (
transcript.ts) renders both history and live state. If a new event type should render, it goes in the fold, not in a second mapping. - Every route that takes the session cookie goes through
ownedSession()before any other API call, and refuses when it returns null. The cookie is browser input and the server's credentials can see every session in the workspace. A new route that touches a session uses it too. src/proxy.tsgates every/api/*route:Hostmust be loopback or inALLOWED_HOSTS, andOriginmust matchHost. The routes spend the server's credentials with no login, so a new route goes under/api/to stay behind it.- The
modeloverride is checked againstsrc/lib/models.tson the server. The picker and the check share that one list. web_searchandweb_fetchstay disabled on the agent. With them on, the model answers from the open web and the vault demo proves nothing.- The reviewer stays tool-free: its toolset is deny-by-default
(
default_config: {enabled: false}), and the prompt says the same. The review must come from the draft alone. A poisoned draft must have no tool to reach, and the rail must not fill with a second agent's curls. - The handoff is prompt-triggered. The planner's "Review step" prompt section decides when to message the reviewer. The user never asks and the app sends nothing. Weaken that section and step 4 silently disappears.
- The environment's
allowed_hostsand each credential'sallowed_hostsboth list the vendor host, as exact hosts with no wildcards. Drop either and the calls fail differently. - The header's model picker shows
session.agent.modelfrom the API response, never client state. An override must be visible as the resolved snapshot or the demo proves nothing. - Secrets reach the vault through the heredocs in
agents/setup.shand nowhere else. Never write a vendor key into a YAML or agent file (ant applysends those whole) or pass one as a CLI flag. - No database. If a change needs one, it does not belong in this quickstart.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

