🧭 "How We Claude Code" — Anthropic Engineers Share Internal Practices at Tokyo Day 2
Day 2 of Code with Claude Tokyo (the "Extended" builder-focused day, capped at 200 independent developers and early-stage founders) closed with the most concretely actionable session of the entire conference: a 45-minute live workshop by Anthropic Member of Technical Staff Jason Schwartz titled "How We Claude Code". Schwartz walked through the exact project-context setup, custom-command library, hook configuration, and sub-agent patterns that Anthropic's own engineers use daily. Before-and-after demos showed identical tasks run against a stock Claude Code install versus a tuned configuration — the latter consistently completed tasks with fewer clarification turns and lower token consumption.
The five-layer internal setup
- CLAUDE.md hierarchy: Anthropic teams maintain three levels — repo-root (architecture, conventions, never-do rules), package-level (component-specific context), and session-level injected via
--append-system. The outer two are checked in; the session level is ephemeral.
- Custom commands library: A shared
.claude/commands/ repo (internal, not open-sourced yet) with ~60 slash commands for common tasks: /migrate-schema, /review-pr-readiness, /generate-tests, /update-changelog. Each command embeds its own quality criteria so Claude doesn't need to be re-instructed each run.
- Pre-tool-use hooks: A lightweight shell hook validates that any
Bash command touching migrations/ or infra/ directories requires an explicit APPROVED=1 env var — a zero-friction safety rail that doesn't interrupt normal development flow.
- Sub-agent patterns for long tasks: For multi-hour coding tasks, Anthropic engineers spawn a "planning agent" first (lightweight, fast model) to decompose the task and write a
.plan.md file, then invoke the main Claude Code session with that plan pre-loaded. This consistently reduces wasted effort from misunderstood scope.
- Failure retrospective logging: A post-session hook appends a brief structured log (
{task, duration, tokens, success: bool, failure_mode}) to a local SQLite file. Engineers review these weekly to identify which task types need better CLAUDE.md guidance.
The most transferable insight from the session
Schwartz's clearest piece of advice: treat your CLAUDE.md like a senior engineer's onboarding doc, not a list of rules. It should explain why conventions exist (e.g. "we use explicit transaction labels in migrations because a silent rollback cost us 3 hours in January") — not just what they are. Claude uses the "why" to generalise the constraint correctly to novel situations; a bare rule list often gets applied too literally or too loosely.
Day 2's Boris Cherny opening keynote also formally announced that the cc-tokyo-2026 GitHub repo (all workshop materials from both days) will be released publicly within 72 hours of the conference close, under an Apache 2.0 licence.
Code with Claude Tokyo
CLAUDE.md
custom commands
hooks
sub-agents
internal practices
developer conference
🧭 Dario Amodei Publishes "Policy on the AI Exponential" — Two Governance Frameworks for the Decade Ahead
Published on Anthropic's website today, "Policy on the AI Exponential" is Dario Amodei's most detailed public policy statement to date. The paper argues that AI progress is now moving faster than existing regulatory frameworks were designed to handle, and proposes two concrete governance structures: an Advanced AI Framework targeting safety and deployment oversight, and an Economic Policy Framework addressing labour-market disruption. The paper is careful to present both as inputs to a policy conversation rather than finished proposals.
Advanced AI Framework — key provisions
- Scope: Applies to models trained with more than 10²⁵ FLOPs, from organisations earning more than $500M in AI revenue or spending more than $1B on AI R&D annually.
- Mandatory transparency: Covered developers must file pre-deployment evaluation reports with a designated oversight body, covering four risk categories — biological weapons uplift, cyber vulnerability exploitation, loss-of-control risk, and other emerging severe risks.
- Government deployment authority: The framework proposes that a government body should have legal standing to delay or block a deployment if independent evaluations surface a category-one risk above a defined threshold.
- Civil penalties: Non-compliance with transparency obligations carries graduated civil penalties; criminal penalties are proposed only for deliberate concealment of evaluation findings.
Economic Policy Framework — graduated response tiers
- 5% displacement tier: Expanded worker retraining grants, portable benefits pilots, and an AI economic monitoring index required of large employers.
- 10% displacement tier: Extended unemployment insurance duration (to 24 months), mandatory transition counselling, and sector-specific adjustment funds modelled on trade adjustment assistance.
- "Unprecedented" tier: The paper describes, without fully endorsing, a basic-income or sovereign-wealth-fund approach funded by productivity gains; Amodei calls this a "contingency framework that should be designed now, before it is needed."
What this means for Anthropic's developer community
The paper has no immediate product impact — it is a policy document, not an API announcement. But the scope thresholds (10²⁵ FLOPs, $500M revenue) are calibrated to apply to Anthropic itself, not just future hypothetical developers. Amodei is, in effect, publicly inviting regulatory scrutiny of Anthropic's own models. Developers building on Claude should watch for downstream compliance obligations if their jurisdiction adopts similar frameworks — particularly mandatory pre-deployment evaluation disclosures for enterprise deployments.
AI policy
governance
Dario Amodei
Advanced AI Framework
economic policy
deployment oversight
safety
🧭 Managed Agents Gains Cron Scheduling and Credential Vaults in Public Beta
Anthropic's Claude Platform release notes (updated today) confirm two long-requested features for Claude Managed Agents have reached public beta: scheduled deployments (attach a cron expression directly to an agent; it fires on schedule with no external trigger infrastructure) and environment-variable credential vaults (securely inject secrets into the agent sandbox so CLIs and SDKs that authenticate via env vars work without hard-coding keys). Both features are available on all Claude Platform paid plans at no additional charge beyond standard usage costs.
Cron scheduling — how it works
In the platform dashboard or via API, attach a cron schedule to any deployed agent:
POST /v1/managed-agents/{agent_id}/schedule
{
"cron": "0 7 * * *", // 07:00 UTC daily
"timezone": "Asia/Tokyo",
"enabled": true,
"max_session_duration_seconds": 3600
}
At each trigger, the platform starts a fresh agent session, runs it to completion (or timeout), and emits a session.completed or session.failed webhook event. The webhook payload now includes a session_thread_id field for cross-referencing logs.
Credential vaults — key details
- Secrets are encrypted at rest with AES-256 and injected as environment variables at session start — they are never written to disk or logged.
- Vault entries are scoped per-agent; an agent cannot read secrets from another agent's vault even within the same organisation.
- Supports up to 50 key-value pairs per agent; values up to 8 KB each (covers most API keys, tokens, and connection strings).
- Vault contents are not visible after write — read-access is write-only from the dashboard (you can overwrite or delete, not retrieve plaintext).
The two blockers this clears
Enterprise pilots of autonomous agents have historically stalled on two questions: "who triggers the agent when no human is at a keyboard?" and "how does it authenticate without leaking credentials into prompts or logs?" Cron scheduling and credential vaults address both. For teams already using Managed Agents for daily reporting, data-pipeline monitoring, or overnight research tasks, migrating from an external cron + secrets-manager stack to native platform features reduces operational surface area significantly.
Also noted in today's release notes: Claude Code v2.1.172 (shipping alongside these platform changes) adds support for nested sub-agents up to 5 levels deep and introduces marketplace plugin search — a new /plugins search {query} command that scans the Claude plugin registry without leaving the terminal.
Managed Agents
cron scheduling
credential vaults
public beta
Claude Code v2.1.172
sub-agents
plugin marketplace
automation