subagentskills

.com agent skill

← all skills

agent-schema-drift

open cwc-agent-resources skl_agent_schema_drift
description (verbatim frontmatter)
The automated cross-language AgentModel drift check CLAUDE.md said didn't exist yet: regex- extracts the enum from all four real mirrors — crates/schema/src/agent.rs (serde, source of truth), scripts/agents/schema.ts (Zod), scripts/agents/schema.py (Pydantic), scripts/agents/schema.java — asserts set-equality, and checks every .claude/agents/*.yaml model: field is a member. Exit nonzero on drift, naming which mirror diverges. Use when editing any of the four mirrors, adding an AgentModel variant, regenerating agent yamls, or on "check schema drift", "are the mirrors in sync", "did schema.ts drift again". Do NOT use for the coworker IDENTITY/BRAND schema (scripts/coworkers/schema.py + plugins/_schema/ validate.py own that), or to fix drift — edit all four mirrors together, then RUSTC_WRAPPER='' cargo run -p agent-gen.
summary

The automated cross-language AgentModel drift check CLAUDE.md said didn't exist yet: regex- extracts the enum from all four real mirrors — crates/schema/src/agent.rs (serde, source of truth), scripts/agents/schema.ts (Zod), scripts/agents/schema.py (Pydantic), scripts/agents/schema.java — asserts...

source

plugins/cwc-agent-resources/skills/agent-schema-drift/SKILL.md

provenance

created 2026-07-10 18:13:13 · JSON