Work Operating Model
A conversation-first elicitation skill. Surface what is documented, what is tacit, and where the two disagree. Output is a structured operating model that downstream agents (architect, roadmap, orchestrator) can read.
Triggers
| Trigger Phrase | Operation |
|----------------|-----------|
| elicit operating model | Start the 5-layer interview |
| interview team operating model | Start the 5-layer interview |
| how does this team actually work | Start the 5-layer interview |
| resume operating model interview | Continue from the first layer not yet captured or skipped |
| validate operating model | Run scripts/validate_operating_model.py against an output JSON |
When to Use
Use this skill when:
- You need a baseline of team practice before an ADR, retrospective, or scope decision.
- A new agent or skill needs to be customized to a team's actual cadences and decision rights.
- A planning conversation keeps getting derailed by missing context about how the team operates.
Do not use this skill when:
- The question is about code, not people-process. Use the
analystagent. - You need a strategic narrative for an external audience. Use the
explaineragent. - A retrospective is what you actually need. Use the
retrospectiveagent.
Distinction From Adjacent Capabilities
| Capability | Investigates | Output |
|------------|--------------|--------|
| analyst agent | Code, repo state, bug paths | Findings document |
| explainer agent | Concepts, decisions for a reader | Explainer prose |
| retrospective agent | A bounded past period | Learning matrix |
| work-operating-model | Team operating reality (people-process) | Structured operating model JSON |
The 5 Layers
The interview proceeds in order. Each layer answers one question and produces one section of the output JSON. Skip a layer only when the team explicitly cannot answer it; record the gap in metadata.skipped_layers.
| # | Layer | Question | Output Section |
|---|-------|----------|----------------|
| 1 | Rhythms | When does work happen, and on what cadence? | rhythms |
| 2 | Decisions | Who decides what, and how is the decision recorded? | decisions |
| 3 | Dependencies | Who do you wait on, and who waits on you? | dependencies |
| 4 | Institutional Knowledge | What lives in someone's head and not in a doc? | institutional_knowledge |
| 5 | Friction | What is broken or slow that the team has accepted? | friction |
For the full prompt list per layer, read references/layer-questions.md. For the output JSON contract, read references/entry-contract.md.
Process
The interview runs in three phases.
Phase 1: Open
- Open: Confirm scope (team name, what they own, size). Write the
teamsection.
Phase 2: Layer Pass
- Layer pass: For each layer 1 through 5, ask the question, capture answers, record them in the relevant output section. After each layer, summarize back to the user and confirm before moving on.
- Distinguish: For every captured item, mark it as
documented(link the doc) ortacit(note the source person). Disagreement between sources is a finding, not an error.
Phase 3: Close and Validate
- Close: Write the JSON to
<workspace>/operating-model.json(caller chooses workspace). Optionally also emitUSER.md,SOUL.md,HEARTBEAT.mdas human-readable views derived from the JSON. The JSON is canonical; the markdown files are projections. - Validate: Run
( for d in "${CLAUDE_PLUGIN_ROOT}" "${COPILOT_PLUGIN_ROOT}" .claude; do if [ -n "$d" ] && [ -f "$d/lib/ptk_run.py" ]; then exec python3 "$d/lib/ptk_run.py" skills/work-operating-model/scripts/validate_operating_model.py <path-to-json>; fi; done; echo "ptk_run: no plugin root holds lib/ptk_run.py" >&2; exit 2 ). Exit 0 means the schema holds.
Scripts
| Script | Purpose | Exit Codes |
|--------|---------|------------|
| scripts/validate_operating_model.py <path> | Validate operating-model.json against schema v1.0.0 | 0 ok, 1 schema failure, 2 invalid usage |
For tests only, write --skip-path-validation inside the locator's argument list to bypass CWE-22 path containment when reading fixtures from outside the repo.
Resume Across Sessions
The interview is long. To resume:
- Read the existing
operating-model.json. - Build a resolved-layers set: include every string in
metadata.completed_layers, plus thelayerproperty of each object inmetadata.skipped_layers(sinceskipped_layersstores objects like{ "layer": "rhythms", "reason": "..." }, not plain strings). The next layer is the first layer (in the order of The 5 Layers table) whose key is not in this resolved-layers set. A recorded skip is a resolved disposition, not pending work, so never re-ask a layer that appears inmetadata.skipped_layers. - Continue from the start of that layer. If every layer key already appears in the resolved-layers set, there is no next layer: the interview is complete, so set
metadata.interview_statustocompleteinstead of resuming.
Do not silently rewrite an earlier layer. If a previous answer needs to change, open the discussion, then update the section and append to metadata.revisions.
Output Contract (Summary)
The full schema is in references/entry-contract.md. The minimum valid document has:
schema_version:"1.0.0"team: object withnamerhythms,decisions,dependencies,institutional_knowledge,friction: each present, each an object (may be empty if a layer was skipped)metadata: object withinterview_date(YYYY-MM-DD),interview_status(in_progressorcomplete),completed_layers(list)
The validator (scripts/validate_operating_model.py) enforces these and returns a non-zero exit on schema failure.
Anti-Patterns
| Anti-Pattern | Problem | Fix |
|--------------|---------|-----|
| Treat the interview as a survey to fill in alone | Misses tacit knowledge entirely | Hold the conversation; capture during the talk |
| Merge documented and tacit into one bucket | Erases the gap that is the whole point | Tag every item explicitly |
| Skip layer 4 because it is hard | Layer 4 is where most useful findings live | Ask anyway; if unanswered, record it in metadata.skipped_layers with a reason |
| Edit the JSON by hand without reopening the conversation | Drift between model and reality | Re-interview, then update |
| Run the interview once and call the model done | Operating models drift | Re-validate quarterly; bump metadata.interview_date |
Verification Checklist
Before declaring an operating model complete:
- [ ] All 5 layers either captured or explicitly skipped (recorded in
metadata.skipped_layers). - [ ] Every item in every layer marked
documentedortacit. - [ ]
metadata.interview_statusiscomplete. - [ ]
( for d in "${CLAUDE_PLUGIN_ROOT}" "${COPILOT_PLUGIN_ROOT}" .claude; do if [ -n "$d" ] && [ -f "$d/lib/ptk_run.py" ]; then exec python3 "$d/lib/ptk_run.py" skills/work-operating-model/scripts/validate_operating_model.py operating-model.json; fi; done; echo "ptk_run: no plugin root holds lib/ptk_run.py" >&2; exit 2 )exits 0. - [ ] The team representative has read the final JSON (or its
USER.mdprojection) and agreed.
References
references/layer-questions.md- prompt list per layerreferences/entry-contract.md- full output JSON schemascripts/validate_operating_model.py- schema validator