<context timezone="America/Chicago" />
<task from="telegram-mg-17796" time="Jul 12, 2026, 8:00 AM">Script output:
{
  "updatedRepos": [
    {
      "name": "anthropics/claude-code",
      "updated": "2026-07-13T07:59:50Z",
      "desc": "Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.",
      "url": "https://github.com/anthropics/claude-code"
    },
    {
      "name": "anthropics/financial-services",
      "updated": "2026-07-13T07:57:51Z",
      "desc": null,
      "url": "https://github.com/anthropics/financial-services"
    },
    {
      "name": "anthropics/claude-cookbooks",
      "updated": "2026-07-13T07:56:01Z",
      "desc": "A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.",
      "url": "https://github.com/anthropics/claude-cookbooks"
    },
    {
      "name": "anthropics/skills",
      "updated": "2026-07-13T07:52:59Z",
      "desc": "Public repository for Agent Skills",
      "url": "https://github.com/anthropics/skills"
    },
    {
      "name": "anthropics/claude-agent-sdk-typescript",
      "updated": "2026-07-13T07:51:59Z",
      "desc": null,
      "url": "https://github.com/anthropics/claude-agent-sdk-typescript"
    },
    {
      "name": "anthropics/knowledge-work-plugins",
      "updated": "2026-07-13T07:47:47Z",
      "desc": "Open source repository of plugins primarily intended for knowledge workers to use in Claude Cowork",
      "url": "https://github.com/anthropics/knowledge-work-plugins"
    },
    {
      "name": "anthropics/claude-plugins-official",
      "updated": "2026-07-13T07:45:16Z",
      "desc": "Official, Anthropic-managed directory of high quality Claude Code Plugins.",
      "url": "https://github.com/anthropics/claude-plugins-official"
    },
    {
      "name": "anthropics/claude-quickstarts",
      "updated": "2026-07-13T07:41:09Z",
      "desc": "A collection of projects designed to help developers quickly get started with building deployable applications using the Claude API",
      "url": "https://github.com/anthropics/claude-quickstarts"
    },
    {
      "name": "anthropics/defending-code-reference-harness",
      "updated": "2026-07-13T07:40:45Z",
      "desc": "Skills for threat modeling, scanning, triage, patching, plus an autonomous scanning harness you can /customize",
      "url": "https://github.com/anthropics/defending-code-reference-harness"
    },
    {
      "name": "anthropics/claude-code-action",
      "updated": "2026-07-13T07:39:50Z",
      "desc": null,
      "url": "https://github.com/anthropics/claude-code-action"
    },
    {
      "name": "anthropics/cwc-workshops",
      "updated": "2026-07-13T07:31:41Z",
      "desc": null,
      "url": "https://github.com/anthropics/cwc-workshops"
    },
    {
      "name": "anthropics/ClaudeForFoundationModels",
      "updated": "2026-07-13T07:27:49Z",
      "desc": "Claude support for Apple Foundation Models",
      "url": "https://github.com/anthropics/ClaudeForFoundationModels"
    },
    {
      "name": "anthropics/prompt-eng-interactive-tutorial",
      "updated": "2026-07-13T07:27:31Z",
      "desc": "Anthropic's Interactive Prompt Engineering Tutorial",
      "url": "https://github.com/anthropics/prompt-eng-interactive-tutorial"
    },
    {
      "name": "anthropics/jacobian-lens",
      "updated": "2026-07-13T07:27:29Z",
      "desc": " Companion code for the global workspace interpretability paper",
      "url": "https://github.com/anthropics/jacobian-lens"
    },
    {
      "name": "anthropics/claude-plugins-community",
      "updated": "2026-07-13T07:27:09Z",
      "desc": "Community plugin marketplace for Claude Cowork and Claude Code. Read-only mirror — submit plugins at clau.de/plugin-directory-submission.",
      "url": "https://github.com/anthropics/claude-plugins-community"
    },
    {
      "name": "anthropics/claude-code-base-action",
      "updated": "2026-07-13T07:26:23Z",
      "desc": "This repo is a mirror of the contents of base-action in https://github.com/anthropics/claude-code-action.",
      "url": "https://github.com/anthropics/claude-code-base-action"
    },
    {
      "name": "anthropics/html-effectiveness",
      "updated": "2026-07-13T07:25:06Z",
      "desc": "HTML effectiveness examples",
      "url": "https://github.com/anthropics/html-effectiveness"
    },
    {
      "name": "anthropics/anthropic-cli",
      "updated": "2026-07-13T07:24:50Z",
      "desc": "The CLI for the Claude API",
      "url": "https://github.com/anthropics/anthropic-cli"
    },
    {
      "name": "anthropics/courses",
      "updated": "2026-07-13T07:18:45Z",
      "desc": "Anthropic's educational courses",
      "url": "https://github.com/anthropics/courses"
    },
    {
      "name": "anthropics/original_performance_takehome",
      "updated": "2026-07-13T07:17:21Z",
      "desc": "Anthropic's original performance take-home, now open for you to try!",
      "url": "https://github.com/anthropics/original_performance_takehome"
    },
    {
      "name": "anthropics/claude-code-monitoring-guide",
      "updated": "2026-07-13T07:13:08Z",
      "desc": null,
      "url": "https://github.com/anthropics/claude-code-monitoring-guide"
    },
    {
      "name": "anthropics/claude-agent-sdk-python",
      "updated": "2026-07-13T07:10:55Z",
      "desc": null,
      "url": "https://github.com/anthropics/claude-agent-sdk-python"
    },
    {
      "name": "anthropics/claude-code-security-review",
      "updated": "2026-07-13T06:52:29Z",
      "desc": "An AI-powered security review GitHub Action using Claude to analyze code changes for security vulnerabilities.",
      "url": "https://github.com/anthropics/claude-code-security-review"
    },
    {
      "name": "anthropics/claude-for-legal",
      "updated": "2026-07-13T06:37:29Z",
      "desc": "A suite of plugins for legal workflows",
      "url": "https://github.com/anthropics/claude-for-legal"
    },
    {
      "name": "anthropics/anthropic-sdk-python",
      "updated": "2026-07-13T05:05:45Z",
      "desc": null,
      "url": "https://github.com/anthropics/anthropic-sdk-python"
    },
    {
      "name": "anthropics/anthropic-sdk-go",
      "updated": "2026-07-13T04:48:23Z",
      "desc": "Access to Anthropic's safety-first language model APIs via Go",
      "url": "https://github.com/anthropics/anthropic-sdk-go"
    },
    {
      "name": "anthropics/anthropic-sdk-typescript",
      "updated": "2026-07-13T04:48:19Z",
      "desc": "Access to Anthropic's safety-first language model APIs in TypeScript",
      "url": "https://github.com/anthropics/anthropic-sdk-typescript"
    },
    {
      "name": "anthropics/claude-desktop-buddy",
      "updated": "2026-07-13T03:55:15Z",
      "desc": "Reference and an example for the Bluetooth API for makers in Claude Cowork & Claude Code Desktop",
      "url": "https://github.com/anthropics/claude-desktop-buddy"
    },
    {
      "name": "anthropics/claudes-c-compiler",
      "updated": "2026-07-13T02:26:00Z",
      "desc": "Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM, and RISC-V, capable of compiling a booting Linux kernel.",
      "url": "https://github.com/anthropics/claudes-c-compiler"
    },
    {
      "name": "anthropics/healthcare",
      "updated": "2026-07-13T01:02:56Z",
      "desc": null,
      "url": "https://github.com/anthropics/healthcare"
    }
  ],
  "newSkillCommits": []
}

Instructions:
Check for new or updated Anthropic GitHub repos and ingest anything relevant into the second brain wiki at /workspace/extra/second-brain/.

The script has provided `data` with two fields:
- `updatedRepos`: repos in the anthropics org updated since last check
- `newSkillCommits`: new commits to anthropics/skills

For each item in updatedRepos and newSkillCommits:
1. Evaluate relevance — prioritize: skills, plugins, Claude Code updates, agent SDKs, new tools. Skip: internal tooling, Rust/infra libs (buffa, connect-rust), coursework unless it's about agents.
2. For relevant repos: fetch the README, extract what the tool/skill does, who it's for, and any notable features
3. Create or update wiki pages in /workspace/extra/second-brain/wiki/tools/ or a new wiki/repos/ folder as appropriate
4. Update wiki/index.md and wiki/log.md
5. Message James (telegram-mg-17796) with a concise summary of what was new and what was ingested. If nothing relevant, send a brief "checked GitHub, nothing new worth ingesting" message.</task>


I have a GitHub monitoring task to process. Let me look at the updated repos and evaluate which ones are worth ingesting.

Looking at the list:
1. `anthropics/claude-code` - Always relevant, Claude Code updates
2. `anthropics/financial-services` - Likely not relevant (financial sector specific)
3. `anthropics/claude-cookbooks` - Relevant (notebooks/recipes)
4. `anthropics/skills` - Always relevant (agent skills)
5. `anthropics/claude-agent-sdk-typescript` - Highly relevant (agent SDK)
6. `anthropics/knowledge-work-plugins` - Relevant (plugins for Claude Cowork)
7. `anthropics/claude-plugins-official` - Relevant (official Claude Code plugins)
8. `anthropics/claude-quickstarts` - Relevant (quickstarts)
9. `anthropics/defending-code-reference-harness` - Relevant (security skills/harness)
10. `anthropics/claude-code-action` - Relevant (GitHub Action)
11. `anthropics/cwc-workshops` - Relevant (code with Claude workshops)
12. `anthropics/ClaudeForFoundationModels` - Interesting (Apple Foundation Models support)
13. `anthropics/prompt-eng-interactive-tutorial` - Less relevant (educational content)
14. `anthropics/jacobian-lens` - Interpretability research, less relevant
15. `anthropics/claude-plugins-community` - Relevant (community plugins)
16. `anthropics/claude-code-base-action` - Duplicate of claude-code-action
17. `anthropics/html-effectiveness` - Less relevant
18. `anthropics/anthropic-cli` - Relevant (CLI for Claude API)
19. `anthropics/courses` - Less relevant (educational)
20. `anthropics/original_performance_takehome` - Not relevant
21. `anthropics/claude-code-monitoring-guide` - Relevant
22. `anthropics/claude-agent-sdk-python` - Highly relevant
23. `anthropics/claude-code-security-review` - Relevant (security GitHub Action)
24. `anthropics/claude-for-legal` - Not particularly relevant
25. `anthropics/anthropic-sdk-python` - Less relevant (general SDK)
26. `anthropics/anthropic-sdk-go` - Less relevant
27. `anthropics/anthropic-sdk-typescript` - Less relevant
28. `anthropics/claude-desktop-buddy` - Interesting (Bluetooth API for makers)
29. `anthropics/claudes-c-compiler` - Interesting but more of a demo/showcase
30. `anthropics/healthcare` - Not relevant

The highest priority repos to investigate are the Claude Code updates, the new skills, and the Agent SDK implementations across different languages, plus the official Claude Code plugins.

Beyond those, I should also look at the security skills harness, knowledge work plugins, Apple Foundation Models support, the CLI tool, and the monitoring guide. I'll start by pulling the most critical READMEs from the Agent SDKs and official plugins, then move through the security and knowledge work repos, checking what's already documented in the existing wiki to avoid duplication.


On it — evaluating 30 updated Anthropic repos now.


Message sent to telegram-mg-17796 (id: 1979)


Ingest Claude blog post on marketing operations automation


<tool_use_error>Directory does not exist: /workspace/extra/second-brain/wiki/repos. Note: your current working directory is /workspace/agent.</tool_use_error>

Error: Directory does not exist: /workspace/extra/second-brain/wiki/repos. Note: your current working directory is /workspace/agent.


Bash

ls /workspace/extra/second-brain/wiki/ 2>/dev/null && echo "---" && ls /workspace/extra/second-brain/wiki/repos/ 2>/dev/null || echo "no repos dir"

Check existing wiki structure


Home.md
Wiki Ingest Log.md
concepts
people
reference
sources
tools
---
no repos dir


ls /workspace/extra/second-brain/wiki/tools/ | head -30

Check existing tools wiki pages


Agent Browser.md
Agent SDK Workshop.md
AgentsView.md
Anthropic CLI.md
Anthropic CWC Workshops.md
Anthropic Courses.md
Anthropic Performance Take-Home.md
Anthropic Prompt Engineering Tutorial.md
Anthropic SDK Go.md
Anthropic SDK Python.md
Anthropic Skills Repo.md
Claude Agent SDK Demos.md
Claude Agent SDK Python.md
Claude Agent SDK TypeScript.md
Claude Code Action.md
Claude Code Monitoring Guide.md
Claude Code Routines.md
Claude Code Security Review.md
Claude Code Setup Plugin.md
Claude Code.md
Claude Cookbooks.md
Claude Desktop Buddy.md
Claude Fable 5 and Mythos 5.md
Claude Foundation Models Swift Package.md
Claude Plugins Community.md
Claude Plugins Official.md
Claude Quickstarts.md
Claude Tag Plugins.md
Claude for Financial Services.md
Claude for Healthcare.md


ls /workspace/extra/second-brain/wiki/tools/ | tail -30

Check remaining tools wiki pages


Claude for Financial Services.md
Claude for Healthcare.md
Claude for Legal.md
Claude for Life Sciences.md
Claudes C Compiler.md
ClawChief.md
Codex.md
Defending Code Reference Harness.md
Devcontainer Features.md
Devin.md
Figma.md
GitHub MCP Server.md
Granola.md
HTML Effectiveness Examples.md
Hookify Plugin.md
Knowledge Work Plugins.md
Launch Your Agent Skill.md
Launch Your Agent.md
Legora.md
Linear.md
Long-Horizon Coding Agent Demo.md
Long-Running Agent Primitives.md
Managed Agents.md
OpenClaw.md
PineForge MCP.md
Ralph Loop Plugin.md
Scone Bench.md
Tailscale.md
Teach Skill.md
Wispr Flow.md


Most of the repos already have wiki pages. I need to check what's NEW or significantly updated that needs fresh content. Let me look at the most likely-to-have-updates ones:

1. `claude-agent-sdk-typescript` - already has a page "Claude Agent SDK TypeScript.md"
2. `claude-agent-sdk-python` - already has a page "Claude Agent SDK Python.md"
3. `claude-code` - already has "Claude Code.md"
4. `claude-plugins-official` - already has "Claude Plugins Official.md"
5. `defending-code-reference-harness` - already has "Defending Code Reference Harness.md"
6. `knowledge-work-plugins` - already has "Knowledge Work Plugins.md"
7. `anthropic-cli` - already has "Anthropic CLI.md"
8. `claude-code-monitoring-guide` - already has "Claude Code Monitoring Guide.md"
9. `claudes-c-compiler` - already has "Claudes C Compiler.md"
10. `ClaudeForFoundationModels` - already has "Claude Foundation Models Swift Package.md"

It looks like almost everything already has documentation pages. I'm realizing I need to focus on finding what's actually new or needs updating rather than creating pages for repos that already have coverage. I'll be strategic about this—fetching the most promising READMEs in parallel and cross-referencing against existing wiki pages to identify what's actually new rather than just metadata updates.


Most tools already have wiki pages. Let me fetch the most likely-updated repos in parallel to check for new content.


Agent

Fetch Anthropic repo READMEs for wiki update check

Prompt:
Fetch the README content from these GitHub repos using the raw.githubusercontent.com URLs. For each, return the first 150 lines of the README.

1. https://raw.githubusercontent.com/anthropics/claude-agent-sdk-typescript/main/README.md
2. https://raw.githubusercontent.com/anthropics/claude-agent-sdk-python/main/README.md
3. https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/README.md
4. https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/README.md
5. https://raw.githubusercontent.com/anthropics/defending-code-reference-harness/main/README.md

Use the WebFetch or Bash/curl tool to fetch each. Return the content for each clearly labeled.


Fetch more Anthropic repo READMEs

Prompt:
Fetch the README content from these GitHub repos using raw.githubusercontent.com URLs. For each, return the first 150 lines.

1. https://raw.githubusercontent.com/anthropics/anthropic-cli/main/README.md
2. https://raw.githubusercontent.com/anthropics/claude-code-monitoring-guide/main/README.md
3. https://raw.githubusercontent.com/anthropics/ClaudeForFoundationModels/main/README.md
4. https://raw.githubusercontent.com/anthropics/claudes-c-compiler/main/README.md
5. https://raw.githubusercontent.com/anthropics/cwc-workshops/main/README.md

Use WebFetch or Bash/curl. Return the content for each clearly labeled.


Here are the first 150 lines from each README:

## 1. anthropic-cli

```
# ant — Claude Platform CLI

[![GitHub release](https://img.shields.io/github/v/release/anthropics/anthropic-cli)](https://github.com/anthropics/anthropic-cli/releases)
[![Homebrew](https://img.shields.io/badge/homebrew-anthropics%2Ftap%2Fant-FBB040?logo=homebrew&logoColor=white)](https://github.com/anthropics/homebrew-tap)

`ant` is the official CLI for the [Claude Platform](https://platform.claude.com/docs/en/api). It puts the Claude API in your terminal — send messages, manage agents and sessions, upload files, and script against every API endpoint.

[Full content continues with installation instructions, usage examples, and commands...]
```

## 2. claude-code-monitoring-guide

```
# Claude Code ROI Measurement Guide

A comprehensive guide to measuring the return on investment for Claude Code implementation in your development organization.

## Overview

This repository contains a complete walkthrough for setting up telemetry, measuring costs, tracking productivity, and calculating ROI for Claude Code usage. Whether you're an individual developer or managing a large engineering team, this guide provides the tools and metrics needed to make data-driven decisions about AI coding assistance.

## What's Included

- **Telemetry Setup**: Complete Prometheus and OpenTelemetry configuration
- **Cost Analysis**: Real usage patterns and pricing breakdowns across different plans
- **Productivity Metrics**: Key indicators for measuring developer efficiency
- **ROI Calculations**: Framework for calculating return on investment
- **Automated Reporting**: Integration with Linear for comprehensive productivity reports

[Continues with key metrics, contents, and getting started guide...]
```

## 3. ClaudeForFoundationModels

```
# Claude for Foundation Models

Use Claude as a server-side language model through Apple's [Foundation Models](https://developer.apple.com/documentation/foundationmodels) framework. The package conforms Claude to the framework's `LanguageModel` protocol, so you drive it with the same `LanguageModelSession` API you use for Apple's on-device model — `respond(to:)`, streaming, guided generation, and tool calling all work the same way.

> **Beta.** This package targets the Foundation Models server-side language model API introduced in the OS 27 betas. APIs may change before general availability.

## Contents

[Contents include Requirements, Installation, Quick start, Example, Choosing a model, Authentication, Streaming, Structured output, Server-side tools, Error handling, and License sections...]
```

## 4. claudes-c-compiler

```
# CCC — Claude's C Compiler

A C compiler written entirely from scratch in Rust, targeting x86-64, i686,
AArch64, and RISC-V 64. Zero compiler-specific dependencies — the frontend,
SSA-based IR, optimizer, code generator, peephole optimizers, assembler,
linker, and DWARF debug info generation are all implemented from scratch.
Claude's C Compiler produces ELF executables without any external toolchain.

[Includes prerequisites, building instructions, quick start examples, usage documentation, and status of the compiler with known limitations...]
```

## 5. cwc-workshops

```
<!-- Copyright 2026 Anthropic PBC -->
<!-- SPDX-License-Identifier: Apache-2.0 -->

# cwc-workshops

Workshop materials. Not maintained and not accepting contributions.

Materials from Anthropic-run **Code with Claude** workshops.

## Workshops

- [`rightmodel/`](./rightmodel) — *Picking the Right Model*
- [`agent-decomposition/`](./agent-decomposition) — *Compose Multi-Agent Systems with Skills and MCP*
- [`how-we-claude-code/`](./how-we-claude-code) — *How We Claude Code*
- [`ship-your-first-managed-agent/`](./ship-your-first-managed-agent) — *Ship Your First Managed Agent*
- [`agent-battle/`](./agent-battle) — *Agent Battle*
- [`agents-that-remember/`](./agents-that-remember) — *Agents That Remember*
- [`eval-driven-agent-development/`](./eval-driven-agent-development) — *Eval-Driven Agent Development*
- [`production-ready-agent/`](./production-ready-agent) — *Deal Desk*
- [`research-desk/`](./research-desk) — *The Research Desk*
```

All five README files have been successfully fetched. Each contains the first 150 lines (or fewer where the README is shorter).

Prompt:
Fetch the README content from these GitHub repos using raw.githubusercontent.com URLs. For each, return the first 150 lines.

1. https://raw.githubusercontent.com/anthropics/anthropic-cli/main/README.md
2. https://raw.githubusercontent.com/anthropics/claude-code-monitoring-guide/main/README.md
3. https://raw.githubusercontent.com/anthropics/ClaudeForFoundationModels/main/README.md
4. https://raw.githubusercontent.com/anthropics/claudes-c-compiler/main/README.md
5. https://raw.githubusercontent.com/anthropics/cwc-workshops/main/README.md

Use WebFetch or Bash/curl. Return the content for each clearly labeled.


Here are the first 150 lines (or available content) from each README:

## 1. Claude Agent SDK TypeScript
https://raw.githubusercontent.com/anthropics/claude-agent-sdk-typescript/main/README.md

The TypeScript SDK documentation covers:
- Installation via `npm install @anthropic-ai/claude-agent-sdk`
- Information about the transition from "Claude Code SDK" to "Claude Agent SDK" with a migration guide available
- Community support via GitHub issues and Claude Developers Discord server
- Data practices: Anthropic collects usage feedback with safeguards including limited retention periods for sensitive information, restricted access to user session data, and policies against using feedback for model training
- Governance under Anthropic's Commercial Terms of Service and Privacy Policy

---

## 2. Claude Agent SDK Python
https://raw.githubusercontent.com/anthropics/claude-agent-sdk-python/main/README.md

Key sections include:
- Installation via `pip install claude-agent-sdk` (requires Python 3.10+)
- Automatically bundled Claude Code CLI with options to install separately or specify a custom path
- Quick start example with async function querying Claude for mathematical questions
- `query()` function as an async function yielding response messages
- `ClaudeAgentOptions` for customization including system prompts and turn limits
- Built-in tools with `allowed_tools` functioning as a permission allowlist
- `cwd` parameter for specifying project path (accepts string paths and Path objects)

---

## 3. Claude Plugins Official
https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/README.md

Contents include:
- Curated directory of high-quality plugins for Claude Code
- Warning to verify plugin trustworthiness before installing
- Structure with internal Anthropic plugins and external third-party plugins
- Installation via `/plugin install {plugin-name}@claude-plugins-official`
- Plugin structure with `.claude-plugin/plugin.json`, `.mcp.json`, commands, agents, skills, and README
- Important note: Plugin names are immutable slugs; use `displayName` for UI labels
- Plugin migration via `renames` map in marketplace configuration
- Skill-bundle plugins using `strict: false` with explicit skills array
- Skills registered as `<plugin-name>:<skill-name>`

---

## 4. Knowledge Work Plugins
https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/README.md

Overview includes:
- Plugins that turn Claude into a specialist for specific roles, teams, and companies
- Built for Claude Cowork, also compatible with Claude Code
- Each plugin bundles skills, connectors, slash commands, and sub-agents for specific job functions
- Real power from customization for company-specific tools, terminology, and processes
- Open-sourced 11 plugins including: productivity, sales, customer-support, product-management, marketing, legal, finance, data, enterprise-search, bio-research, and cowork-plugin-management
- Table of plugins with descriptions and associated connectors

---

## 5. Defending Code Reference Harness
https://raw.githubusercontent.com/anthropics/defending-code-reference-harness/main/README.md

Key information:
- Reference implementation for autonomous vulnerability discovery and remediation with Claude
- Based on learnings from partnering with security teams
- Associated blog post with best practices
- Companion cookbook for SDK-only walkthrough
- Note: Repo not maintained and not accepting contributions
- Claude Security offered as managed option for hosted vulnerability finding and fixing
- Contents: Claude Code skills (`/quickstart`, `/threat-model`, `/vuln-scan`, `/triage`, `/patch`, `/customize`)
- Autonomous reference pipeline for recon → find → verify → report → patch
- Configured for C/C++ memory vulnerabilities using Docker and ASAN
- Security note: Read/write-only operations for most skills; autonomous pipeline executes target code in gVisor sandbox
- Getting started: `git clone`, run `/quickstart` for intro
- Documentation on pipeline, security, sandboxing, customization, patching, and troubleshooting

Prompt:
Fetch the README content from these GitHub repos using the raw.githubusercontent.com URLs. For each, return the first 150 lines of the README.

1. https://raw.githubusercontent.com/anthropics/claude-agent-sdk-typescript/main/README.md
2. https://raw.githubusercontent.com/anthropics/claude-agent-sdk-python/main/README.md
3. https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/README.md
4. https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/README.md
5. https://raw.githubusercontent.com/anthropics/defending-code-reference-harness/main/README.md

Use the WebFetch or Bash/curl tool to fetch each. Return the content for each clearly labeled.


Let me look at the existing wiki pages for these tools to see if there's new content that needs to be added. Let me read the current versions of the most important pages and compare against the new README content.

Key new items to note:
1. **Anthropic CLI** - renamed to `ant`, official CLI for Claude Platform - let me check if this is new
2. **CWC Workshops** - has new workshops listed including: ship-your-first-managed-agent, agent-battle, agents-that-remember, eval-driven-agent-development, production-ready-agent (Deal Desk), research-desk
3. **ClaudeForFoundationModels** - Beta release targeting Apple's Foundation Models with server-side language model API
4. **Claude Agent SDK** - this is a significant rename from "Claude Code SDK" that needs to be reflected across the wiki
5. **Knowledge Work Plugins** - 11 plugins have been open sourced
6. **Defending Code Reference Harness** - includes specific skills like quickstart, threat-model, vuln-scan, triage, patch, and customize

The Claude Agent SDK rename is the most significant change here and will require updates throughout the documentation.

I should check what's already documented in the existing wiki pages for the Agent SDK, CWC Workshops, Foundation Models, and CLI to see what needs updating or adding.


Read

/workspace/extra/second-brain/wiki/tools/Claude Agent SDK TypeScript.md


1	# Claude Agent SDK — TypeScript
2
3	**Type:** SDK / developer tool
4	**By:** Anthropic
5	**Repo:** https://github.com/anthropics/claude-agent-sdk-typescript
6	**Install:** `npm install @anthropic-ai/claude-agent-sdk`
7	**Requires:** Node.js 18+
8	**Support:** GitHub issues + Claude Developers Discord
9
10	## What it is
11	TypeScript SDK for building agents that can read codebases, modify files, run commands, and handle complex automated tasks. Renamed from the previous "Claude Code SDK" with significant changes.
12
13	## Key capabilities
14	- Understands and navigates code repositories
15	- Modifies files and executes shell commands
16	- Designed for sophisticated multi-step automation
17
18	## Data practices
19	Collects usage insights with limited retention; data is not used to train future models.
20
21	## Related
22	- [[Claude Agent SDK Demos]] — example apps using this SDK
23	- [[Claude Code]]
24	- [[Claude Quickstarts]]
25

/workspace/extra/second-brain/wiki/tools/Claude Agent SDK TypeScript.md

# Claude Agent SDK — TypeScript

**Type:** SDK / developer tool
**By:** Anthropic
**Repo:** https://github.com/anthropics/claude-agent-sdk-typescript
**Install:** `npm install @anthropic-ai/claude-agent-sdk`
**Requires:** Node.js 18+
**Support:** GitHub issues + Claude Developers Discord

## What it is
TypeScript SDK for building agents that can read codebases, modify files, run commands, and handle complex automated tasks. Renamed from the previous "Claude Code SDK" with significant changes.

## Key capabilities
- Understands and navigates code repositories
- Modifies files and executes shell commands
- Designed for sophisticated multi-step automation

## Data practices
Collects usage insights with limited retention; data is not used to train future models.

## Related
- [[Claude Agent SDK Demos]] — example apps using this SDK
- [[Claude Code]]
- [[Claude Quickstarts]]


1	# Anthropic CWC Workshops
2
3	**Type:** Workshop curriculum / reference implementations
4	**By:** Anthropic
5	**GitHub:** https://github.com/anthropics/cwc-workshops
6	**Status:** Archived — not maintained, not accepting contributions
7	**License:** Apache 2.0
8
9	## What it is
10	Materials from Anthropic's **Code with Claude** workshops. Eight hands-on workshop curricula covering Managed Agents, memory primitives, eval-driven development, multi-agent decomposition, and production deployment patterns. Not actively maintained, but the code and walk-throughs are a direct window into how Anthropic's own teams think about and build with Claude.
11
12	## The 8 Workshops
13
14	### 1. Picking the Right Model (`rightmodel/`)
15	Use a Claude Code SKILL to audit an LLM eval suite, then sweep it across models and inference parameters (extended thinking, effort level) to find the best quality-per-dollar and quality-per-second configuration. Directly applicable to cost optimization for any agent project.
16
17	### 2. Multi-Agent Decomposition (`agent-decomposition/`)
18	Take a 400-line monolithic prompt for an inventory agent and decompose it into skills + code execution + `callable_agents` on Claude Managed Agents, with evals at each step to verify correctness is preserved. Blueprint for the "fat prompt → modular agent" refactor.
19
20	### 3. How Anthropic Uses Claude Code (`how-we-claude-code/`)
21	A three-phase AI-assisted product workflow: interview → spec, then four divergent design explorations as static HTML, then a Vite + React app whose components emit a machine-readable DOM contract — so an agent (or CI) can verify UI behavior at runtime without a browser. Anthropic's own internal workflow made explicit.
22
23	### 4. Ship Your First Managed Agent (`ship-your-first-managed-agent/`)
24	Streamlit incident dashboard with an offline SRE Agent chat panel. You bring it online by implementing 7 functions in `agent.py`, each a single Claude Managed Agents API call — until it can grep a 70k-line log in its sandbox, call local tools, and identify the bad commit. Minimal viable Managed Agent tutorial.
25
26	### 5. Agent Battle (`agent-battle/`)
27	45-minute competition: configure a Claude Managed Agent (system prompt, skills, MCP servers, model) that drives a local game bot over MCP. Most diamonds wins; fewest tokens breaks ties. A fast `--eval` decision-probe loop lets you test config changes in ~30s before committing to a 5-minute run. Teaches the value of fast eval loops.
28
29	### 6. Agents That Remember (`agents-that-remember/`)
30	Start with a Managed Agent that's visibly amnesiac across sessions, then layer in memory primitives one at a time:
31	1. **Memory store** — cross-session persistence
32	2. **Dreaming Service** — consolidates past transcripts into structured memory at rest
33
34	Goes from "goldfish to colleague" in 45 minutes. Introduces the **Dreaming Service** — Anthropic's primitive for offline transcript consolidation into long-term agent memory.
35
36	### 7. Eval-Driven Agent Development (`eval-driven-agent-development/`)
37	Iterate a PPTX-generating Managed Agent through 6 variants: naive → visual → typography → palette → density → QA-loop. Each scored against a 10-task suite with a **two-layer grader**:
38	- Programmatic `.pptx` XML metrics
39	- LLM-as-judge on rendered slides
40
41	Teaches: every prompt change should be measured, not vibed.
42
43	### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
44	Chat-first UI over a multi-agent M&A research team:
45	- **Coordinator** delegates to 4 parallel research sub-agents
46	- Reads prior-deal lessons from a memory store
47	- Reaches Linear via MCP
48	- Emits a graded investment thesis
49	- UI streams every event and gated tool call
50
51	Full-stack reference for production multi-agent systems on Claude Managed Agents.
52
53	## Key Concepts Introduced
54
55	| Concept | Workshop | What it is |
56	|---------|----------|------------|
57	| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
58	| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
59	| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
60	| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
61	| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |
62
63	## Relevance Notes
64	- **Dreaming Service** is not documented elsewhere in the wiki — it's a significant memory architecture primitive worth understanding before building persistent agent systems
65	- **Eval-driven development** methodology directly applies to iterating on qip-qien's triage pipeline
66	- **Deal Desk** is the closest reference implementation to qip-qien's multi-agent architecture (coordinator + parallel specialists + memory + MCP tool calls)
67	- **Picking the Right Model** is directly actionable for controlling ingest costs
68
69	## Audio availability
70
71	**No official audio-only / podcast version.** The CWC workshop videos are YouTube-only. Anthropic has a separate podcast feed ("Anthropic" on Apple Podcasts, id1725552927) but it contains AI-generated news summaries, not the actual workshop videos.
72
73	Best options for original audio:
74	- **YouTube Premium** — background/screen-off audio on iPhone
75	- **PodSync** (self-hosted) — converts YouTube channels to RSS you can subscribe to in Apple Podcasts. YouTube channel ID: `UCV03SRZXJEz-hchIAogeJOg`
76
77	## Related
78	- [[Managed Agents]] — the platform all these workshops run on
79	- [[Long-Running Agent Primitives]] — complementary patterns for robust long-running agents
80	- [[Anthropic Skills Repo]] — the skills system used in several workshops
81	- [[Claude Agent SDK Python]] — underlying SDK
82

# Anthropic CWC Workshops

**Type:** Workshop curriculum / reference implementations
**By:** Anthropic
**GitHub:** https://github.com/anthropics/cwc-workshops
**Status:** Archived — not maintained, not accepting contributions
**License:** Apache 2.0

## What it is
Materials from Anthropic's **Code with Claude** workshops. Eight hands-on workshop curricula covering Managed Agents, memory primitives, eval-driven development, multi-agent decomposition, and production deployment patterns. Not actively maintained, but the code and walk-throughs are a direct window into how Anthropic's own teams think about and build with Claude.

## The 8 Workshops

### 1. Picking the Right Model (`rightmodel/`)
Use a Claude Code SKILL to audit an LLM eval suite, then sweep it across models and inference parameters (extended thinking, effort level) to find the best quality-per-dollar and quality-per-second configuration. Directly applicable to cost optimization for any agent project.

### 2. Multi-Agent Decomposition (`agent-decomposition/`)
Take a 400-line monolithic prompt for an inventory agent and decompose it into skills + code execution + `callable_agents` on Claude Managed Agents, with evals at each step to verify correctness is preserved. Blueprint for the "fat prompt → modular agent" refactor.

### 3. How Anthropic Uses Claude Code (`how-we-claude-code/`)
A three-phase AI-assisted product workflow: interview → spec, then four divergent design explorations as static HTML, then a Vite + React app whose components emit a machine-readable DOM contract — so an agent (or CI) can verify UI behavior at runtime without a browser. Anthropic's own internal workflow made explicit.

### 4. Ship Your First Managed Agent (`ship-your-first-managed-agent/`)
Streamlit incident dashboard with an offline SRE Agent chat panel. You bring it online by implementing 7 functions in `agent.py`, each a single Claude Managed Agents API call — until it can grep a 70k-line log in its sandbox, call local tools, and identify the bad commit. Minimal viable Managed Agent tutorial.

### 5. Agent Battle (`agent-battle/`)
45-minute competition: configure a Claude Managed Agent (system prompt, skills, MCP servers, model) that drives a local game bot over MCP. Most diamonds wins; fewest tokens breaks ties. A fast `--eval` decision-probe loop lets you test config changes in ~30s before committing to a 5-minute run. Teaches the value of fast eval loops.

### 6. Agents That Remember (`agents-that-remember/`)
Start with a Managed Agent that's visibly amnesiac across sessions, then layer in memory primitives one at a time:
1. **Memory store** — cross-session persistence
2. **Dreaming Service** — consolidates past transcripts into structured memory at rest

Goes from "goldfish to colleague" in 45 minutes. Introduces the **Dreaming Service** — Anthropic's primitive for offline transcript consolidation into long-term agent memory.

### 7. Eval-Driven Agent Development (`eval-driven-agent-development/`)
Iterate a PPTX-generating Managed Agent through 6 variants: naive → visual → typography → palette → density → QA-loop. Each scored against a 10-task suite with a **two-layer grader**:
- Programmatic `.pptx` XML metrics
- LLM-as-judge on rendered slides

Teaches: every prompt change should be measured, not vibed.

### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
Chat-first UI over a multi-agent M&A research team:
- **Coordinator** delegates to 4 parallel research sub-agents
- Reads prior-deal lessons from a memory store
- Reaches Linear via MCP
- Emits a graded investment thesis
- UI streams every event and gated tool call

Full-stack reference for production multi-agent systems on Claude Managed Agents.

## Key Concepts Introduced

| Concept | Workshop | What it is |
|---------|----------|------------|
| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |

## Relevance Notes
- **Dreaming Service** is not documented elsewhere in the wiki — it's a significant memory architecture primitive worth understanding before building persistent agent systems
- **Eval-driven development** methodology directly applies to iterating on qip-qien's triage pipeline
- **Deal Desk** is the closest reference implementation to qip-qien's multi-agent architecture (coordinator + parallel specialists + memory + MCP tool calls)
- **Picking the Right Model** is directly actionable for controlling ingest costs

## Audio availability

**No official audio-only / podcast version.** The CWC workshop videos are YouTube-only. Anthropic has a separate podcast feed ("Anthropic" on Apple Podcasts, id1725552927) but it contains AI-generated news summaries, not the actual workshop videos.

Best options for original audio:
- **YouTube Premium** — background/screen-off audio on iPhone
- **PodSync** (self-hosted) — converts YouTube channels to RSS you can subscribe to in Apple Podcasts. YouTube channel ID: `UCV03SRZXJEz-hchIAogeJOg`

## Related
- [[Managed Agents]] — the platform all these workshops run on
- [[Long-Running Agent Primitives]] — complementary patterns for robust long-running agents
- [[Anthropic Skills Repo]] — the skills system used in several workshops
- [[Claude Agent SDK Python]] — underlying SDK


1	# Anthropic CLI (`ant`)
2
3	**Type:** CLI tool
4	**By:** Anthropic
5	**Repo:** https://github.com/anthropics/anthropic-cli
6	**Install:** `brew install anthropics/tap/ant` or Go v1.22+
7	**Command:** `ant [resource] <command> [flags...]`
8
9	## What it is
10	Official CLI for the Claude Developer Platform API. Resource-based command structure for interacting with the Anthropic API from the terminal. Distinct from Claude Code CLI — this is a platform/API management tool, not a coding agent.
11
12	## Authentication
13	Set any of these env vars:
14	- `ANTHROPIC_API_KEY`
15	- `ANTHROPIC_AUTH_TOKEN`
16	- `ANTHROPIC_WEBHOOK_SIGNING_KEY`
17
18	## Features
19	- Multiple output formats: JSON, YAML, raw
20	- GJSON transformation support for filtering output
21	- File handling with `@filename` syntax and automatic encoding
22	- Resource-based commands (run `ant help` for full list)
23
24	## Related
25	- [[Claude Code]] — the coding agent CLI (different tool)
26	- [[Devcontainer Features]]
27

# Anthropic CLI (`ant`)

**Type:** CLI tool
**By:** Anthropic
**Repo:** https://github.com/anthropics/anthropic-cli
**Install:** `brew install anthropics/tap/ant` or Go v1.22+
**Command:** `ant [resource] <command> [flags...]`

## What it is
Official CLI for the Claude Developer Platform API. Resource-based command structure for interacting with the Anthropic API from the terminal. Distinct from Claude Code CLI — this is a platform/API management tool, not a coding agent.

## Authentication
Set any of these env vars:
- `ANTHROPIC_API_KEY`
- `ANTHROPIC_AUTH_TOKEN`
- `ANTHROPIC_WEBHOOK_SIGNING_KEY`

## Features
- Multiple output formats: JSON, YAML, raw
- GJSON transformation support for filtering output
- File handling with `@filename` syntax and automatic encoding
- Resource-based commands (run `ant help` for full list)

## Related
- [[Claude Code]] — the coding agent CLI (different tool)
- [[Devcontainer Features]]


Now I can see what's already in the wiki. Let me assess what's NEW:

1. **Anthropic CWC Workshops** — The existing wiki page already has 8 workshops listed. The README showed: rightmodel, agent-decomposition, how-we-claude-code, ship-your-first-managed-agent, agent-battle, agents-that-remember, eval-driven-agent-development, production-ready-agent (Deal Desk), research-desk. That's 9 workshops. The existing page only has 8 — missing "research-desk"! That could be new.
2. **Claude Agent SDK TypeScript** — Already has a page noting the rename from "Claude Code SDK". The README confirms this rename is still accurate. Nothing new.
3. **Anthropic CLI** — Already has a page. Nothing new.

So the potentially NEW item is the **Research Desk** workshop in cwc-workshops — the existing CWC page has 8 workshops and the README now shows 9, with `research-desk/` being listed. I should also check if `claude-code-monitoring-guide` has been updated and look at `claude-plugins-official` and `knowledge` to see what else might be new.


1	# Claude Plugins Official
2
3	**Type:** Plugin marketplace / directory
4	**By:** Anthropic
5	**GitHub:** https://github.com/anthropics/claude-plugins-official
6
7	## What it is
8	Anthropic's official curated directory of Claude Code plugins. Serves as both a discovery hub and installation source for vetted plugins that extend Claude Code's capabilities.
9
10	## Plugin types
11	- **Internal** — built by Anthropic
12	- **Third-party** — from partners and community (must pass quality & security review)
13
14	## Installation
15	```
16	/plugin install {plugin-name}@claude-plugins-official
17	```
18
19	## Plugin structure
20	Each plugin can include: metadata, optional MCP server config, commands, agents, and skills.
21
22	## Skill-bundle plugins (newer format)
23	When a source repo ships `SKILL.md` files without a full `plugin.json` manifest, a marketplace entry can declare a plugin using `strict: false` + explicit `skills` array. Each skill is registered as `<plugin-name>:<skill-name>` in Claude Code. This lets skill-only repos be distributed as plugins without requiring a full plugin structure.
24
25	## Notable
26	- External submissions require formal approval (quality + security standards)
27	- Anthropic explicitly warns users to verify trustworthiness before install — they don't control what MCP servers or files plugins include
28	- Community can submit plugins via a submission form at clau.de/plugin-directory-submission
29
30	## Plugin inventory (as of 2026-05-30)
31	51 plugins total: 36 Anthropic-maintained + 15 external.
32
33	**Official highlights** (in `/plugins`):
34	- Dev tools: `code-review`, `code-modernization`, `code-simplifier`, `feature-dev`, `pr-review-toolkit`, `commit-commands`, `frontend-design`
35	- LSP servers: `clangd`, `gopls`, `pyright`, `rust-analyzer`, `typescript`, `ruby`, `kotlin`, `swift`, `lua`, `jdtls`, `php`, `csharp` lsp plugins
36	- Agent / skill tooling: `agent-sdk-dev`, `skill-creator`, `mcp-server-dev`, `plugin-dev`, `claude-md-management`
37	- Utilities: `hookify` (hook management), `mcp-tunnels`, `session-report`, `ralph-loop` (autonomous loop runner), `security-guidance`, `explanatory-output-style`, `learning-output-style`
38	- Other: `cwc-makers`, `math-olympiad`, `playground`, `example-plugin`, `claude-code-setup`
39
40	**External highlights** (in `/external_plugins`):
41	- Productivity/PM: `asana`, `linear`, `jira` (via github/gitlab), `notion` (via knowledge-work)
42	- Dev: `github`, `gitlab`, `greptile`, `context7`, `serena`, `playwright`, `firebase`, `terraform`
43	- Social/messaging: `discord`, `telegram`, `imessage`, `fakechat`
44	- Framework: `laravel-boost`
45
46	## Related
47	- [[Anthropic Skills Repo]] — reference implementations of skills
48	- [[Knowledge Work Plugins]] — a specific set of plugins for knowledge workers
49	- [[Claude Code]] — the runtime
50

# Claude Plugins Official

**Type:** Plugin marketplace / directory
**By:** Anthropic
**GitHub:** https://github.com/anthropics/claude-plugins-official

## What it is
Anthropic's official curated directory of Claude Code plugins. Serves as both a discovery hub and installation source for vetted plugins that extend Claude Code's capabilities.

## Plugin types
- **Internal** — built by Anthropic
- **Third-party** — from partners and community (must pass quality & security review)

## Installation
```
/plugin install {plugin-name}@claude-plugins-official
```

## Plugin structure
Each plugin can include: metadata, optional MCP server config, commands, agents, and skills.

## Skill-bundle plugins (newer format)
When a source repo ships `SKILL.md` files without a full `plugin.json` manifest, a marketplace entry can declare a plugin using `strict: false` + explicit `skills` array. Each skill is registered as `<plugin-name>:<skill-name>` in Claude Code. This lets skill-only repos be distributed as plugins without requiring a full plugin structure.

## Notable
- External submissions require formal approval (quality + security standards)
- Anthropic explicitly warns users to verify trustworthiness before install — they don't control what MCP servers or files plugins include
- Community can submit plugins via a submission form at clau.de/plugin-directory-submission

## Plugin inventory (as of 2026-05-30)
51 plugins total: 36 Anthropic-maintained + 15 external.

**Official highlights** (in `/plugins`):
- Dev tools: `code-review`, `code-modernization`, `code-simplifier`, `feature-dev`, `pr-review-toolkit`, `commit-commands`, `frontend-design`
- LSP servers: `clangd`, `gopls`, `pyright`, `rust-analyzer`, `typescript`, `ruby`, `kotlin`, `swift`, `lua`, `jdtls`, `php`, `csharp` lsp plugins
- Agent / skill tooling: `agent-sdk-dev`, `skill-creator`, `mcp-server-dev`, `plugin-dev`, `claude-md-management`
- Utilities: `hookify` (hook management), `mcp-tunnels`, `session-report`, `ralph-loop` (autonomous loop runner), `security-guidance`, `explanatory-output-style`, `learning-output-style`
- Other: `cwc-makers`, `math-olympiad`, `playground`, `example-plugin`, `claude-code-setup`

**External highlights** (in `/external_plugins`):
- Productivity/PM: `asana`, `linear`, `jira` (via github/gitlab), `notion` (via knowledge-work)
- Dev: `github`, `gitlab`, `greptile`, `context7`, `serena`, `playwright`, `firebase`, `terraform`
- Social/messaging: `discord`, `telegram`, `imessage`, `fakechat`
- Framework: `laravel-boost`

## Related
- [[Anthropic Skills Repo]] — reference implementations of skills
- [[Knowledge Work Plugins]] — a specific set of plugins for knowledge workers
- [[Claude Code]] — the runtime


1	# Knowledge Work Plugins
2
3	**Type:** Open-source plugin collection
4	**By:** Anthropic
5	**GitHub:** https://github.com/anthropics/knowledge-work-plugins
6	**Platform:** Claude Cowork + Claude Code
7
8	## What it is
9	18 open-source plugins built on the Claude Agent SDK targeting specific professional roles. File-based (markdown + JSON, no code infrastructure), modular, and integrates with 30+ external tools via MCP servers.
10
11	## Plugin catalog
12	| Plugin | Use case |
13	|--------|----------|
14	| Productivity | Task & calendar management |
15	| Sales | Prospect research, pipeline management |
16	| Customer Support | Ticket triage, escalation |
17	| Product Management | Spec writing, roadmap planning |
18	| Marketing | Content drafting, campaign planning |
19	| Legal | Contract review, compliance |
20	| Finance | Journal entries, financial statements |
21	| Data | Query writing, dashboard building |
22	| Enterprise Search | Cross-tool document discovery |
23	| Bio-Research | Life sciences tool integrations |
24	| Design | Design workflow assistance |
25	| Engineering | Software engineering workflows |
26	| Human Resources | HR tasks and people management |
27	| Operations | Ops and process management |
28	| Small Business | SMB-focused workflows |
29	| PDF Viewer | PDF document viewing/extraction |
30	| Partner Built | Partner-contributed plugins |
31	| Cowork Plugin Management | Plugin installation and management |
32
33	## Key features
34	- Integrates with Slack, Notion, Snowflake, Figma, and 25+ more via MCP
35	- Designed as customizable starting points — adapt to your org's tools and terminology
36	- Related to: [[Claude for Legal]] (a deeper legal-specific version)
37
38	## Related
39	- [[Claude Plugins Official]] — the directory these may be distributed through
40	- [[Claude for Legal]] — deeper legal plugin suite
41	- [[Claude Agent SDK Demos]] — SDK demos that power these plugins
42

# Knowledge Work Plugins

**Type:** Open-source plugin collection
**By:** Anthropic
**GitHub:** https://github.com/anthropics/knowledge-work-plugins
**Platform:** Claude Cowork + Claude Code

## What it is
18 open-source plugins built on the Claude Agent SDK targeting specific professional roles. File-based (markdown + JSON, no code infrastructure), modular, and integrates with 30+ external tools via MCP servers.

## Plugin catalog
| Plugin | Use case |
|--------|----------|
| Productivity | Task & calendar management |
| Sales | Prospect research, pipeline management |
| Customer Support | Ticket triage, escalation |
| Product Management | Spec writing, roadmap planning |
| Marketing | Content drafting, campaign planning |
| Legal | Contract review, compliance |
| Finance | Journal entries, financial statements |
| Data | Query writing, dashboard building |
| Enterprise Search | Cross-tool document discovery |
| Bio-Research | Life sciences tool integrations |
| Design | Design workflow assistance |
| Engineering | Software engineering workflows |
| Human Resources | HR tasks and people management |
| Operations | Ops and process management |
| Small Business | SMB-focused workflows |
| PDF Viewer | PDF document viewing/extraction |
| Partner Built | Partner-contributed plugins |
| Cowork Plugin Management | Plugin installation and management |

## Key features
- Integrates with Slack, Notion, Snowflake, Figma, and 25+ more via MCP
- Designed as customizable starting points — adapt to your org's tools and terminology
- Related to: [[Claude for Legal]] (a deeper legal-specific version)

## Related
- [[Claude Plugins Official]] — the directory these may be distributed through
- [[Claude for Legal]] — deeper legal plugin suite
- [[Claude Agent SDK Demos]] — SDK demos that power these plugins


Let me compare what the existing wiki pages have vs. what the READMEs show:

1. **CWC Workshops**: Existing page has 8 workshops. The README now shows 9, including `research-desk/` — "The Research Desk". This appears to be new!

2. **Claude Plugins Official**: Existing page says "51 plugins total: 36 Anthropic-maintained + 15 external" as of 2026-05-30. The README might have updated this number. But we got minimal info about new specific plugins.
3. **Knowledge Work Plugins**: The existing page lists 18 plugins, but the README mentions only 11 open-sourced ones. This discrepancy could mean our existing page is more current with additional plugins added later, or the README itself is outdated.

4. **Anthropic CLI (`ant`)** and **Claude Agent SDK TypeScript**: Both look accurate on the existing page.

Now I need to check the Research Desk workshop and verify the claude-code-monitoring-guide page, which according to the README covers ROI measurement with Prometheus, OpenTelemetry, cost analysis, and productivity metrics.


/workspace/extra/second-brain/wiki/tools/Claude Code Monitoring Guide.md


1	# Claude Code Monitoring Guide
2
3	**Type:** Observability / ROI toolkit
4	**By:** Anthropic (Kashyap Coimbatore Murali)
5	**Repo:** https://github.com/anthropics/claude-code-monitoring-guide
6
7	## What it is
8	A structured guide for measuring the financial and productivity impact of Claude Code across a development team. Covers infrastructure setup through automated reporting.
9
10	## Stack
11	- **Prometheus + OpenTelemetry** — metrics collection
12	- **Docker Compose** — local infrastructure
13	- **Linear** — automated periodic productivity summaries
14
15	## What you can track
16	- Spending patterns and token consumption rates
17	- Cache performance
18	- Pull request frequency and commit activity
19	- Team adoption rates
20	- Developer output and code contribution rates
21	- ROI calculation based on collected metrics
22
23	## Why it matters
24	Directly relevant to the "tokenmaxxing" debate (see [[Tokenmaxxing]]) — this is how teams produce actual data on whether Claude Code spend is generating proportional productivity gains.
25
26	## Related
27	- [[Claude Code]]
28	- [[Tokenmaxxing]]
29	- [[Boris Cherny]] — cited 250% productivity gains at Anthropic scale; this guide enables similar measurement at the team level
30

/workspace/extra/second-brain/wiki/tools/Claude Code Monitoring Guide.md

# Claude Code Monitoring Guide

**Type:** Observability / ROI toolkit
**By:** Anthropic (Kashyap Coimbatore Murali)
**Repo:** https://github.com/anthropics/claude-code-monitoring-guide

## What it is
A structured guide for measuring the financial and productivity impact of Claude Code across a development team. Covers infrastructure setup through automated reporting.

## Stack
- **Prometheus + OpenTelemetry** — metrics collection
- **Docker Compose** — local infrastructure
- **Linear** — automated periodic productivity summaries

## What you can track
- Spending patterns and token consumption rates
- Cache performance
- Pull request frequency and commit activity
- Team adoption rates
- Developer output and code contribution rates
- ROI calculation based on collected metrics

## Why it matters
Directly relevant to the "tokenmaxxing" debate (see [[Tokenmaxxing]]) — this is how teams produce actual data on whether Claude Code spend is generating proportional productivity gains.

## Related
- [[Claude Code]]
- [[Tokenmaxxing]]
- [[Boris Cherny]] — cited 250% productivity gains at Anthropic scale; this guide enables similar measurement at the team level


Agent

Fetch Research Desk workshop content

Prompt:
Fetch the README from the research-desk workshop in the cwc-workshops repo. Try both of these URLs:
1. https://raw.githubusercontent.com/anthropics/cwc-workshops/main/research-desk/README.md
2. https://raw.githubusercontent.com/anthropics/cwc-workshops/main/research-desk/

Return whatever content you find. This is to see if the "Research Desk" is a new workshop that was recently added to the Anthropic CWC workshops repo.


Perfect! I found the Research Desk workshop. Here's what I retrieved:

## Research Desk Workshop - Found

The Research Desk is indeed a new workshop in the Anthropic cwc-workshops repo. The first URL successfully returned the README content.

### Summary

**Research Desk — SEC Agents Workshop** is a hands-on workshop demonstrating Claude Managed Agents by building an equity research system.

**Key highlights:**
- Analyzes SEC filings using a self-hosted research desk
- Implements a "fan-out/fan-in" architecture for long-running agent systems with many sessions feeding into one knowledge base
- **Web console** (Next.js + TypeScript) for chat, progress tracking, and memory browsing
- **Orchestrator** coordinating multiple analyst sessions across different stock tickers
- **Custom Skills** teaching agents the edgartools API
- **Memory stores** persisting findings across sessions
- **Outcome evaluation** with rubrics

**Requirements:** Node.js 22+ and an Anthropic API key with Managed Agents access

**Deployment:** Supports Docker for standing weekly reports; intentionally not serverless since the orchestrator needs persistent processes

**Security:** API keys stay server-side in the browser; the SEC contact string (EDGAR_IDENTITY) gets embedded in agent instructions

**Documentation:** Complete walkthrough with numbered TODO stubs and solution files is in WORKSHOP.md

The second URL (the directory listing) returned a 404, so the raw README file at the first URL is the correct endpoint.

Prompt:
Fetch the README from the research-desk workshop in the cwc-workshops repo. Try both of these URLs:
1. https://raw.githubusercontent.com/anthropics/cwc-workshops/main/research-desk/README.md
2. https://raw.githubusercontent.com/anthropics/cwc-workshops/main/research-desk/

Return whatever content you find. This is to see if the "Research Desk" is a new workshop that was recently added to the Anthropic CWC workshops repo.


The Research Desk is a new workshop! Let me also check the wiki's ingest log to see if it was already captured. Then I need to update the CWC Workshops page to add the 9th workshop.

Also, looking at the research-desk description:
- SEC Agents Workshop
- Fan-out/fan-in architecture for long-running agent systems
- Many sessions feeding into one knowledge base
- Web console (Next.js + TypeScript)
- Custom Skills teaching agents the edgartools API
- Memory stores persisting findings across sessions

This is genuinely new content. The existing CWC page only lists 8 workshops (rightmodel, agent-decomposition, how-we-claude-code, ship-your-first-managed-agent, agent-battle, agents-that-remember, eval-driven-agent-development, production-ready-agent).
So the README confirms research-desk as the ninth workshop. I'll update the CWC page to include it, and I should check when that page was last modified in the wiki log. Looking at what else might be new across the repos, the CWC Workshops page is the main item with confirmed changes.


The Research Desk is a new workshop not in our existing page. That's the main new item across all 30 repos — everything else is already documented. Let me update the CWC wiki page.


40
41	Teaches: every prompt change should be measured, not vibed.
42
43	### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
44	Chat-first UI over a multi-agent M&A research team:
45	- **Coordinator** delegates to 4 parallel research sub-agents
46	- Reads prior-deal lessons from a memory store
47	- Reaches Linear via MCP
48	- Emits a graded investment thesis
49	- UI streams every event and gated tool call
50
51	Full-stack reference for production multi-agent systems on Claude Managed Agents.
52
53	## Key Concepts Introduced
54
55	| Concept | Workshop | What it is |
56	|---------|----------|------------|
57	| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
58	| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
59	| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
60	| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
61	| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |
62
63	## Relevance Notes
64	- **Dreaming Service** is not documented elsewhere in the wiki — it's a significant memory architecture primitive worth understanding before building persistent agent systems
65	- **Eval-driven development** methodology directly applies to iterating on qip-qien's triage pipeline
66	- **Deal Desk** is the closest reference implementation to qip-qien's multi-agent architecture (coordinator + parallel specialists + memory + MCP tool calls)
67	- **Picking the Right Model** is directly actionable for controlling ingest costs
68
69	## Audio availability
70
71	**No official audio-only / podcast version.** The CWC workshop videos are YouTube-only. Anthropic has a separate podcast feed ("Anthropic" on Apple Podcasts, id1725552927) but it contains AI-generated news summaries, not the actual workshop videos.
72
73	Best options for original audio:
74	- **YouTube Premium** — background/screen-off audio on iPhone
75	- **PodSync** (self-hosted) — converts YouTube channels to RSS you can subscribe to in Apple Podcasts. YouTube channel ID: `UCV03SRZXJEz-hchIAogeJOg`
76
77	## Related
78	- [[Managed Agents]] — the platform all these workshops run on
79	- [[Long-Running Agent Primitives]] — complementary patterns for robust long-running agents
80	- [[Anthropic Skills Repo]] — the skills system used in several workshops
81	- [[Claude Agent SDK Python]] — underlying SDK
82

Teaches: every prompt change should be measured, not vibed.

### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
Chat-first UI over a multi-agent M&A research team:
- **Coordinator** delegates to 4 parallel research sub-agents
- Reads prior-deal lessons from a memory store
- Reaches Linear via MCP
- Emits a graded investment thesis
- UI streams every event and gated tool call

Full-stack reference for production multi-agent systems on Claude Managed Agents.

## Key Concepts Introduced

| Concept | Workshop | What it is |
|---------|----------|------------|
| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |

## Relevance Notes
- **Dreaming Service** is not documented elsewhere in the wiki — it's a significant memory architecture primitive worth understanding before building persistent agent systems
- **Eval-driven development** methodology directly applies to iterating on qip-qien's triage pipeline
- **Deal Desk** is the closest reference implementation to qip-qien's multi-agent architecture (coordinator + parallel specialists + memory + MCP tool calls)
- **Picking the Right Model** is directly actionable for controlling ingest costs

## Audio availability

**No official audio-only / podcast version.** The CWC workshop videos are YouTube-only. Anthropic has a separate podcast feed ("Anthropic" on Apple Podcasts, id1725552927) but it contains AI-generated news summaries, not the actual workshop videos.

Best options for original audio:
- **YouTube Premium** — background/screen-off audio on iPhone
- **PodSync** (self-hosted) — converts YouTube channels to RSS you can subscribe to in Apple Podcasts. YouTube channel ID: `UCV03SRZXJEz-hchIAogeJOg`

## Related
- [[Managed Agents]] — the platform all these workshops run on
- [[Long-Running Agent Primitives]] — complementary patterns for robust long-running agents
- [[Anthropic Skills Repo]] — the skills system used in several workshops
- [[Claude Agent SDK Python]] — underlying SDK


Error: File does not exist. Note: your current working directory is /workspace/agent.


1	# Ingest Log
2
3	Chronological record of everything added to this wiki.
4
5	---
6
7	## 2026-07-12 (Anthropic GitHub sweep #28)
8
9	- **[[Anthropic SDK Python]]** (new tool page) — `pip install anthropic`, Python 3.9+. Official low-level Anthropic Messages API client; distinct from the Agent SDK. Added for parity with existing [[Anthropic SDK Go]] page.
10	- 30 repos otherwise already covered or not relevant. `ClaudeForFoundationModels` = same as [[Claude Foundation Models Swift Package]] (already documented). `claude-agent-sdk-demos` verified current. Verticals (financial-services, healthcare, claude-for-legal, life-sciences), education (courses, prompt-eng-interactive-tutorial), interpretability (jacobian-lens) skipped per policy. `newSkillCommits: []`.
11
12	## 2026-07-11 (Anthropic GitHub sweep #27)
13
14	- 30 repos updated in coordinated CI sweep; `newSkillCommits: []`. All repos already covered by sweeps #23–#26 or not relevant. Verified current: `claude-agent-sdk-python`, `claude-agent-sdk-typescript`, `launch-your-agent`, `knowledge-work-plugins`, `defending-code-reference-harness`, `claudes-c-compiler`, `claude-plugins-official`, `claude-code-action`, `claude-code-security-review`, `anthropic-cli`, `claude-desktop-buddy`, `anthropic-sdk-go`. Verticals (financial-services, healthcare, claude-for-legal), infra (buffa), interpretability (jacobian-lens), education (courses, prompt-eng-interactive-tutorial) skipped per policy. No new pages needed.
15	- Note: `Launch Your Agent Skill.md` was created erroneously (duplicate of `Launch Your Agent.md`) — content is inferior; defer to the existing page.
16
17	## 2026-07-10 (Pool Monitor test-log isolation)
18
19	- **[[Test Isolation for Runtime Activity Logs]]** (new concept, internal-origin) — The Pool Monitor suite’s `run_once()` tests were writing fixture alerts and failed-client errors into live dashboard files through module-level path constants. An autouse `tmp_path` fixture now redirects alerts, errors, state, and recalibration paths; a regression test confirms they are not the live `logs/` directory, and before/after hashes prove the complete suite leaves public data untouched.
20
21	## 2026-07-10 (projects index outage recovery)
22
23	- **[[LaunchAgent Quarantine and Tailscale Recovery]]** (new concept, internal-origin) — A reboot left the projects server loaded but never executed because launchd retained a quarantine trust state. Clear the plist's quarantine flag, then `bootout` and `bootstrap` the job before `kickstart`; a reload is needed because launchd retains the old trust state. Treat Tailscale separately: restart it when its CLI cannot load preferences or MagicDNS cannot resolve the hostname, then prove both local origin and Funnel routes with HTTP checks.
24
25	## 2026-07-10 (Hermes provider fallback config)
26
27	- **[[Hermes Provider Fallback Config]]** (new concept, internal-origin) — From configuring Hermes quota fallback: use top-level `fallback_providers` rather than code changes; put LM Studio first when cloud usage limits are the likely failure; verify `hermes auth list` before adding provider entries; include `base_url` for LM Studio/local OpenAI-compatible endpoints; and prove the config through `hermes fallback list`, provider resolver checks, and focused fallback/gateway tests.
28
29	## 2026-07-10 (Claude blog — Cognition on Fable 5)
30

# Ingest Log

Chronological record of everything added to this wiki.

---

## 2026-07-12 (Anthropic GitHub sweep #28)

- **[[Anthropic SDK Python]]** (new tool page) — `pip install anthropic`, Python 3.9+. Official low-level Anthropic Messages API client; distinct from the Agent SDK. Added for parity with existing [[Anthropic SDK Go]] page.
- 30 repos otherwise already covered or not relevant. `ClaudeForFoundationModels` = same as [[Claude Foundation Models Swift Package]] (already documented). `claude-agent-sdk-demos` verified current. Verticals (financial-services, healthcare, claude-for-legal, life-sciences), education (courses, prompt-eng-interactive-tutorial), interpretability (jacobian-lens) skipped per policy. `newSkillCommits: []`.

## 2026-07-11 (Anthropic GitHub sweep #27)

- 30 repos updated in coordinated CI sweep; `newSkillCommits: []`. All repos already covered by sweeps #23–#26 or not relevant. Verified current: `claude-agent-sdk-python`, `claude-agent-sdk-typescript`, `launch-your-agent`, `knowledge-work-plugins`, `defending-code-reference-harness`, `claudes-c-compiler`, `claude-plugins-official`, `claude-code-action`, `claude-code-security-review`, `anthropic-cli`, `claude-desktop-buddy`, `anthropic-sdk-go`. Verticals (financial-services, healthcare, claude-for-legal), infra (buffa), interpretability (jacobian-lens), education (courses, prompt-eng-interactive-tutorial) skipped per policy. No new pages needed.
- Note: `Launch Your Agent Skill.md` was created erroneously (duplicate of `Launch Your Agent.md`) — content is inferior; defer to the existing page.

## 2026-07-10 (Pool Monitor test-log isolation)

- **[[Test Isolation for Runtime Activity Logs]]** (new concept, internal-origin) — The Pool Monitor suite’s `run_once()` tests were writing fixture alerts and failed-client errors into live dashboard files through module-level path constants. An autouse `tmp_path` fixture now redirects alerts, errors, state, and recalibration paths; a regression test confirms they are not the live `logs/` directory, and before/after hashes prove the complete suite leaves public data untouched.

## 2026-07-10 (projects index outage recovery)

- **[[LaunchAgent Quarantine and Tailscale Recovery]]** (new concept, internal-origin) — A reboot left the projects server loaded but never executed because launchd retained a quarantine trust state. Clear the plist's quarantine flag, then `bootout` and `bootstrap` the job before `kickstart`; a reload is needed because launchd retains the old trust state. Treat Tailscale separately: restart it when its CLI cannot load preferences or MagicDNS cannot resolve the hostname, then prove both local origin and Funnel routes with HTTP checks.

## 2026-07-10 (Hermes provider fallback config)

- **[[Hermes Provider Fallback Config]]** (new concept, internal-origin) — From configuring Hermes quota fallback: use top-level `fallback_providers` rather than code changes; put LM Studio first when cloud usage limits are the likely failure; verify `hermes auth list` before adding provider entries; include `base_url` for LM Studio/local OpenAI-compatible endpoints; and prove the config through `hermes fallback list`, provider resolver checks, and focused fallback/gateway tests.

## 2026-07-10 (Claude blog — Cognition on Fable 5)


I can see that:
1. The last sweep (#28) was on 2026-07-12 (yesterday) and it already checked many repos.
2. The log shows it found 30 repos "otherwise already covered" except for the Anthropic SDK Python.
3. Today's sweep is also showing 30 repos being updated — another coordinated CI sweep.

Looking at the difference between yesterday's sweep and today's:
- Yesterday's sweep log mentions: `claude-agent-sdk-python`, `claude-agent-sdk-typescript`, `launch-your-agent`, `knowledge-work-plugins`, `defending-code-reference-harness`, `claudes-c-compiler`, `claude-plugins-official`, `claude-code-action`, `claude-code-security-review`, `anthropic-cli`, `claude-desktop-buddy`, `anthropic-sdk-go`.
- Today's list is nearly identical, with the same ClaudeForFoundationModels note appearing in both sweeps.

The key difference I'm noticing is that today's sweep includes `cwc-workshops`, which wasn't mentioned in yesterday's log. I found a new Research Desk workshop in there that doesn't appear on our existing CWC page, so this might be a genuine addition worth documenting. Let me double-check what's already on the CWC workshops page. I should add the Research Desk as Workshop 9 to the CWC Workshops page and update the ingest log accordingly. I also need to check whether the Claude Foundation Models Swift Package page needs updating, since the new README mentions support for server-side language models via the Foundation Models framework from OS 27 betas.


Read

/workspace/extra/second-brain/wiki/tools/Claude Foundation Models Swift Package.md


1	# Claude Foundation Models Swift Package
2
3	**Type:** Official Anthropic SDK (Swift)
4	**By:** Anthropic
5	**Platform:** iOS 27+, iPadOS 27+, macOS 27+, visionOS 27+, watchOS 27+
6	**Install:** Swift Package Manager
7	**Announced:** June 8, 2026
8
9	## What it is
10
11	A Swift package that integrates Claude with Apple's Foundation Models framework — the on-device ML system introduced in iOS/macOS 27. Enables a hybrid model architecture in Apple-platform apps: use on-device models for fast/private tasks, hand off to Claude for complex reasoning, code generation, and web search.
12
13	## Core architecture: hybrid model handoff
14
15	```swift
16	// On-device model handles fast local work
17	let localResult = try await onDeviceModel.respond(to: prompt)
18
19	// Pass typed output directly to Claude for deep analysis
20	let claudeResponse = try await claude.complete(
21	    prompt: "Analyze these patterns: \(localResult.structuredOutput)"
22	)
23	```
24
25	Apple's framework returns typed Swift values (not raw strings), giving Claude clean structured inputs instead of user text requiring prompt engineering.
26
27	## Key capabilities
28
29	| Capability | Notes |
30	|---|---|
31	| Streaming responses | Direct to SwiftUI views |
32	| Tool calls | Managed by the package |
33	| Structured responses | Typed Swift output from Claude |
34	| Web search | Via Claude's built-in tools |
35	| Code execution | Via Claude's built-in tools |
36
37	## When to use each model tier
38
39	| Task | On-device | Claude |
40	|------|-----------|--------|
41	| Summarization, classification | ✓ | |
42	| Multi-step reasoning | | ✓ |
43	| Pattern finding across large data | | ✓ |
44	| Code generation | | ✓ |
45	| Web search / current info | | ✓ |
46	| Fast, offline, private | ✓ | |
47
48	## Auth
49
50	Requires an Anthropic API key. Pass at initialization.
51
52	## Example use cases from Anthropic
53
54	- **Journaling app** — generate prompts on-device; ask Claude to identify patterns across months of entries
55	- **Study app** — explain concepts on-device; escalate to Claude for deeper sourcing and context
56
57	## Related
58
59	- [[Claude Blog - Claude for Foundation Models]] — announcement post
60	- [[Claude Agent SDK Python]] / [[Claude Agent SDK TypeScript]] — server-side equivalents
61	- [[Claude Cookbooks]] — API patterns; Swift equivalent patterns apply
62

/workspace/extra/second-brain/wiki/tools/Claude Foundation Models Swift Package.md

# Claude Foundation Models Swift Package

**Type:** Official Anthropic SDK (Swift)
**By:** Anthropic
**Platform:** iOS 27+, iPadOS 27+, macOS 27+, visionOS 27+, watchOS 27+
**Install:** Swift Package Manager
**Announced:** June 8, 2026

## What it is

A Swift package that integrates Claude with Apple's Foundation Models framework — the on-device ML system introduced in iOS/macOS 27. Enables a hybrid model architecture in Apple-platform apps: use on-device models for fast/private tasks, hand off to Claude for complex reasoning, code generation, and web search.

## Core architecture: hybrid model handoff

```swift
// On-device model handles fast local work
let localResult = try await onDeviceModel.respond(to: prompt)

// Pass typed output directly to Claude for deep analysis
let claudeResponse = try await claude.complete(
    prompt: "Analyze these patterns: \(localResult.structuredOutput)"
)
```

Apple's framework returns typed Swift values (not raw strings), giving Claude clean structured inputs instead of user text requiring prompt engineering.

## Key capabilities

| Capability | Notes |
|---|---|
| Streaming responses | Direct to SwiftUI views |
| Tool calls | Managed by the package |
| Structured responses | Typed Swift output from Claude |
| Web search | Via Claude's built-in tools |
| Code execution | Via Claude's built-in tools |

## When to use each model tier

| Task | On-device | Claude |
|------|-----------|--------|
| Summarization, classification | ✓ | |
| Multi-step reasoning | | ✓ |
| Pattern finding across large data | | ✓ |
| Code generation | | ✓ |
| Web search / current info | | ✓ |
| Fast, offline, private | ✓ | |

## Auth

Requires an Anthropic API key. Pass at initialization.

## Example use cases from Anthropic

- **Journaling app** — generate prompts on-device; ask Claude to identify patterns across months of entries
- **Study app** — explain concepts on-device; escalate to Claude for deeper sourcing and context

## Related

- [[Claude Blog - Claude for Foundation Models]] — announcement post
- [[Claude Agent SDK Python]] / [[Claude Agent SDK TypeScript]] — server-side equivalents
- [[Claude Cookbooks]] — API patterns; Swift equivalent patterns apply


The existing Claude Foundation Models Swift Package page is focused on on-device hybrid (on-device model + Claude). The new README for ClaudeForFoundationModels is about using **Claude AS the server-side model through Apple's Foundation Models framework** — which is different! It says "Use Claude as a server-side language model through Apple's Foundation Models framework."

This is a key distinction:
- Existing page: Uses on-device Apple model + Claude (hybrid)
- New README: Uses Claude AS the server-side language model through Foundation Models API (so you can use the same API for both on-device and cloud/Claude)
So the new package makes Claude conform to Apple's LanguageModel protocol, which means you can swap between Apple's on-device models and Claude using the exact same LanguageModelSession API. The existing wiki frames this as a hybrid approach where on-device handles quick tasks and Claude tackles complex ones, but the new README is really emphasizing that Claude implements the same protocol.

I'm noticing the status mentions this targets a new server-side language model API introduced in OS 27 betas, which is a shift from the old pattern of separate APIs with a handoff mechanism. I should update the wiki to reflect this protocol conformance approach and then tackle the other updates—adding Workshop #9 to the CWC Workshops page and clarifying the Claude Foundation Models Swift Package documentation.


The ClaudeForFoundationModels README reveals a meaningful update — Claude now *conforms to* Apple's `LanguageModel` protocol, not just supplements it. Let me update both pages and the log.


Edit

### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
Chat-first UI over a multi-agent M&A research team:
- **Coordinator** delegates to 4 parallel research sub-agents
- Reads prior-deal lessons from a memory store
- Reaches Linear via MCP
- Emits a graded investment thesis
- UI streams every event and gated tool call

Full-stack reference for production multi-agent systems on Claude Managed Agents.

## Key Concepts Introduced

| Concept | Workshop | What it is |
|---------|----------|------------|
| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |

### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
Chat-first UI over a multi-agent M&A research team:
- **Coordinator** delegates to 4 parallel research sub-agents
- Reads prior-deal lessons from a memory store
- Reaches Linear via MCP
- Emits a graded investment thesis
- UI streams every event and gated tool call

Full-stack reference for production multi-agent systems on Claude Managed Agents.

### 9. Research Desk — SEC Agents (`research-desk/`)
Builds an equity research system that ingests SEC filings using a fan-out / fan-in architecture:
- **Orchestrator** fans out to many parallel analyst sessions (one per ticker), then fans results back into a shared knowledge base
- **Web console** (Next.js + TypeScript) for chat, progress tracking, and memory browsing
- **Custom Skills** teaching agents the `edgartools` API for SEC filing access
- **Memory stores** persisting analyst findings across sessions
- **Outcome rubrics** for evaluating research quality
- Supports Docker for scheduled weekly reports (intentionally not serverless — orchestrator needs persistent processes)

Key pattern: long-running agent systems with many sessions feeding into one shared knowledge base. Architecture note: API keys stay server-side, not in browser context.

## Key Concepts Introduced

| Concept | Workshop | What it is |
|---------|----------|------------|
| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |
| **Fan-out / fan-in** | research-desk | Many parallel agent sessions writing into one shared knowledge base; orchestrator aggregates |


The file /workspace/extra/second-brain/wiki/tools/Anthropic CWC Workshops.md has been updated successfully. (file state is current in your context — no need to Read it back)

### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
Chat-first UI over a multi-agent M&A research team:
- **Coordinator** delegates to 4 parallel research sub-agents
- Reads prior-deal lessons from a memory store
- Reaches Linear via MCP
- Emits a graded investment thesis
- UI streams every event and gated tool call

Full-stack reference for production multi-agent systems on Claude Managed Agents.

### 9. Research Desk — SEC Agents (`research-desk/`)
Builds an equity research system that ingests SEC filings using a fan-out / fan-in architecture:
- **Orchestrator** fans out to many parallel analyst sessions (one per ticker), then fans results back into a shared knowledge base
- **Web console** (Next.js + TypeScript) for chat, progress tracking, and memory browsing
- **Custom Skills** teaching agents the `edgartools` API for SEC filing access
- **Memory stores** persisting analyst findings across sessions
- **Outcome rubrics** for evaluating research quality
- Supports Docker for scheduled weekly reports (intentionally not serverless — orchestrator needs persistent processes)

Key pattern: long-running agent systems with many sessions feeding into one shared knowledge base. Architecture note: API keys stay server-side, not in browser context.

## Key Concepts Introduced

| Concept | Workshop | What it is |
|---------|----------|------------|
| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |
| **Fan-out / fan-in** | research-desk | Many parallel agent sessions writing into one shared knowledge base; orchestrator aggregates |

# Anthropic CWC Workshops

**Type:** Workshop curriculum / reference implementations
**By:** Anthropic
**GitHub:** https://github.com/anthropics/cwc-workshops
**Status:** Archived — not maintained, not accepting contributions
**License:** Apache 2.0

## What it is
Materials from Anthropic's **Code with Claude** workshops. Eight hands-on workshop curricula covering Managed Agents, memory primitives, eval-driven development, multi-agent decomposition, and production deployment patterns. Not actively maintained, but the code and walk-throughs are a direct window into how Anthropic's own teams think about and build with Claude.

## The 8 Workshops

### 1. Picking the Right Model (`rightmodel/`)
Use a Claude Code SKILL to audit an LLM eval suite, then sweep it across models and inference parameters (extended thinking, effort level) to find the best quality-per-dollar and quality-per-second configuration. Directly applicable to cost optimization for any agent project.

### 2. Multi-Agent Decomposition (`agent-decomposition/`)
Take a 400-line monolithic prompt for an inventory agent and decompose it into skills + code execution + `callable_agents` on Claude Managed Agents, with evals at each step to verify correctness is preserved. Blueprint for the "fat prompt → modular agent" refactor.

### 3. How Anthropic Uses Claude Code (`how-we-claude-code/`)
A three-phase AI-assisted product workflow: interview → spec, then four divergent design explorations as static HTML, then a Vite + React app whose components emit a machine-readable DOM contract — so an agent (or CI) can verify UI behavior at runtime without a browser. Anthropic's own internal workflow made explicit.

### 4. Ship Your First Managed Agent (`ship-your-first-managed-agent/`)
Streamlit incident dashboard with an offline SRE Agent chat panel. You bring it online by implementing 7 functions in `agent.py`, each a single Claude Managed Agents API call — until it can grep a 70k-line log in its sandbox, call local tools, and identify the bad commit. Minimal viable Managed Agent tutorial.

### 5. Agent Battle (`agent-battle/`)
45-minute competition: configure a Claude Managed Agent (system prompt, skills, MCP servers, model) that drives a local game bot over MCP. Most diamonds wins; fewest tokens breaks ties. A fast `--eval` decision-probe loop lets you test config changes in ~30s before committing to a 5-minute run. Teaches the value of fast eval loops.

### 6. Agents That Remember (`agents-that-remember/`)
Start with a Managed Agent that's visibly amnesiac across sessions, then layer in memory primitives one at a time:
1. **Memory store** — cross-session persistence
2. **Dreaming Service** — consolidates past transcripts into structured memory at rest

Goes from "goldfish to colleague" in 45 minutes. Introduces the **Dreaming Service** — Anthropic's primitive for offline transcript consolidation into long-term agent memory.

### 7. Eval-Driven Agent Development (`eval-driven-agent-development/`)
Iterate a PPTX-generating Managed Agent through 6 variants: naive → visual → typography → palette → density → QA-loop. Each scored against a 10-task suite with a **two-layer grader**:
- Programmatic `.pptx` XML metrics
- LLM-as-judge on rendered slides

Teaches: every prompt change should be measured, not vibed.

### 8. Production-Ready Agent — Deal Desk (`production-ready-agent/`)
Chat-first UI over a multi-agent M&A research team:
- **Coordinator** delegates to 4 parallel research sub-agents
- Reads prior-deal lessons from a memory store
- Reaches Linear via MCP
- Emits a graded investment thesis
- UI streams every event and gated tool call

Full-stack reference for production multi-agent systems on Claude Managed Agents.

## Key Concepts Introduced

| Concept | Workshop | What it is |
|---------|----------|------------|
| **Dreaming Service** | agents-that-remember | Offline service that consolidates past transcripts into structured persistent memory |
| **DOM contract** | how-we-claude-code | Machine-readable contract emitted by UI components for runtime verification by agent/CI |
| **Two-layer grader** | eval-driven-agent-development | Programmatic metrics + LLM-as-judge, applied to a scored eval suite |
| **callable_agents** | agent-decomposition | Managed Agents primitive for invoking sub-agents from a coordinator |
| **--eval probe loop** | agent-battle | Fast ~30s eval loop for testing agent config changes before full runs |

## Relevance Notes
- **Dreaming Service** is not documented elsewhere in the wiki — it's a significant memory architecture primitive worth understanding before building persistent agent systems
- **Eval-driven development** methodology directly applies to iterating on qip-qien's triage pipeline
- **Deal Desk** is the closest reference implementation to qip-qien's multi-agent architecture (coordinator + parallel specialists + memory + MCP tool calls)
- **Picking the Right Model** is directly actionable for controlling ingest costs

## Audio availability

**No official audio-only / podcast version.** The CWC workshop videos are YouTube-only. Anthropic has a separate podcast feed ("Anthropic" on Apple Podcasts, id1725552927) but it contains AI-generated news summaries, not the actual workshop videos.

Best options for original audio:
- **YouTube Premium** — background/screen-off audio on iPhone
- **PodSync** (self-hosted) — converts YouTube channels to RSS you can subscribe to in Apple Podcasts. YouTube channel ID: `UCV03SRZXJEz-hchIAogeJOg`

## Related
- [[Managed Agents]] — the platform all these workshops run on
- [[Long-Running Agent Primitives]] — complementary patterns for robust long-running agents
- [[Anthropic Skills Repo]] — the skills system used in several workshops
- [[Claude Agent SDK Python]] — underlying SDK

+### 9. Research Desk — SEC Agents (`research-desk/`)

+Builds an equity research system that ingests SEC filings using a fan-out / fan-in architecture:

+- **Orchestrator** fans out to many parallel analyst sessions (one per ticker), then fans results back into a shared knowledge base

+- **Web console** (Next.js + TypeScript) for chat, progress tracking, and memory browsing

+- **Custom Skills** teaching agents the `edgartools` API for SEC filing access

+- **Memory stores** persisting analyst findings across sessions

+- **Outcome rubrics** for evaluating research quality

+- Supports Docker for scheduled weekly reports (intentionally not serverless — orchestrator needs persistent processes)

+Key pattern: long-running agent systems with many sessions feeding into one shared knowledge base. Architecture note: API keys stay server-side, not in browser context.

+| **Fan-out / fan-in** | research-desk | Many parallel agent sessions writing into one shared knowledge base; orchestrator aggregates |


## Relevance Notes
- **Dreaming Service** is not documented elsewhere in the wiki — it's a significant memory architecture primitive worth understanding before building persistent agent systems
- **Eval-driven development** methodology directly applies to iterating on qip-qien's triage pipeline
- **Deal Desk** is the closest reference implementation to qip-qien's multi-agent architecture (coordinator + parallel specialists + memory + MCP tool calls)
- **Picking the Right Model** is directly actionable for controlling ingest costs

## Relevance Notes
- **Dreaming Service** is not documented elsewhere in the wiki — it's a significant memory architecture primitive worth understanding before building persistent agent systems
- **Eval-driven development** methodology directly applies to iterating on qip-qien's triage pipeline
- **Deal Desk** is the closest reference implementation to qip-qien's multi-agent architecture (coordinator + parallel specialists + memory + MCP tool calls)
- **Picking the Right Model** is directly actionable for controlling ingest costs
- **Research Desk** fan-out/fan-in pattern is applicable to any research task where multiple parallel agents gather data for a single synthesized output (e.g., congressional-trading multi-ticker analysis, qip-qien expert routing)