agentleFS
AnthropicKnown publisheranthropics/cwc-workshops/eval-driven-agent-development/CLAUDE.md

cwc-workshops / eval-driven-agent-development

CLAUDE.md2.2k starsChanged 6 months agoApache-2.0View on GitHub

When asked to setup the folder/repository, make sure the prerequisites listed in the README.md are met (Node >=22 installed, ant CLI installed, Docker installed, ANTHROPIC_API_KEY set in environment). Do not deploy the resources yet. Offer to install them for the user if missing (if Docker is missing, point them to the installation website) Kick off docker build -t cwc-pptx-render . asap in a subagent to make sure the docker image is pre-built. Write the ANTHROPIC_API_KEY from your environment into a…

  • Reads credentials

Trending

Quiet since September.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 2 mentionsJun 2026: 0 mentionsJul 2026: 4 mentionsAug 2026: 0 mentionsSep 2026: 11 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the anthropics/cwc-workshops repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about anthropics/cwc-workshops

The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 17

Talked about on GitHub and Bluesky (17 times).

On GitHub · 12

7 more on GitHub

On Bluesky · 5

The file

We split this CLAUDE.md into the rules it gives an agent

8 rules. About 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When asked to setup the folder/repository, make sure the prerequisites listed in the README.md are met (Node >=22 installed, ant CLI …

    line 3
  2. Very specific:

    Write the ANTHROPIC_API_KEY from your environment into a .env file for reference (in case your terminal gets reopened and loses it).

    line 7
  3. Very specific:

    When asked to set up the agent resources, create the resources by piping them to the ant CLI:

    line 21
  4. Very specific:

    When you are asked to update any resource, pipe the YAML file into the update command.

    line 39
  5. Very specific:

    If a resource suddenly gives a 404, you were probably ran in a different terminal.

    line 56
  6. Distinctive:

    DO NOT COMMIT ANYTHING UNLESS EXPLICITLY ASKED BY THE USER.

    line 62
  7. Very specific:

    Never add an explicit type guard signature to predicates like .filter((x): x is Foo => x !== null).

    line 66
  8. Very specific:

    Don't use export default, always name exports

    line 67

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Prerequisites

When asked to setup the folder/repository, make sure the prerequisites listed in the README.md are met (Node >=22 installed, ant CLI installed, Docker installed, ANTHROPIC_API_KEY set in environment). Do not deploy the resources yet. Offer to install them for the user if missing (if Docker is missing, point them to the installation website) Kick off docker build -t cwc-pptx-render . asap in a subagent to make sure the docker image is pre-built.

Write the ANTHROPIC_API_KEY from your environment into a .env file for reference (in case your terminal gets reopened and loses it). Do not override it though if the .env file already consists with a key inside.

Repository structure

Assume you're at the workshop unless told otherwise.

  • resources/ contains the agent and environment definition. All changes to the agent will be made here.
  • solutions/ contains solutions for evolved agent definitions. Do not reference these unless explicitly asked. If asked, do no deploy these agents directly, copy the system prompt changes over to resources/agent.yaml and iterate on that agent.
  • src/eval-runner.ts is the eval runner. It should not be modified during the workshop.
  • src/graders.ts is where the eval graders leave. Add more graders here when asked.
  • src/graders/... contains the solutions to graders. Don't import these unless asked to, default to adding new graders to graders.ts. You may get asked at some point to import the predefined graders so we're all on the same base.

YAML resources

When asked to set up the agent resources, create the resources by piping them to the ant CLI:

ant beta:agents create < ./resources/agent.yaml

Then from the output, take the id (and version for agent) and insert it as an extra key at the top of the YAML file:

+ id: agent_abc123...
+ version: 1
  name: workshop-pptx-01-polish

Additionally, update AGENT_ID and ENVIRONMENT_ID in src/create-slides.ts.

Same for workshop-pptx.environment.yaml, but only with the id (environments are not versioned).

When you are asked to update any resource, pipe the YAML file into the update command.

ant beta:agents update < ./resources/agent.yaml

then afterwards, you just need to bump the version again to the new version from the response:

  id: agent_abc123...
- version: 1
+ version: 2
  name: workshop-pptx-01-polish

Troubleshooting

If a resource suddenly gives a 404, you were probably ran in a different terminal. Load the ANTHROPIC_API_KEY from the .env file.

Git operations

DO NOT COMMIT ANYTHING UNLESS EXPLICITLY ASKED BY THE USER.

TypeScript Code Style

  • Never add an explicit type guard signature to predicates like .filter((x): x is Foo => x !== null). TypeScript infers type guards in latest versions, it's enough to write .filter((x) => x !== null) which is more type safe.
  • Don't use export default, always name exports

License headers

All .ts files need to have this license header at the top:

// Copyright 2026 Anthropic PBC
// SPDX-License-Identifier: Apache-2.0

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.