World model diagnostic

From rjmurillo/ai-agents · View interactive version

World model diagnostic is an AI agent skill from the GitHub repository rjmurillo/ai-agents. Twenty-minute diagnostic mapping a team to a world-model paradigm (vector DB, structured ontology, signal-fidelity). Use when you say "run the world model diagnostic", "audit our world model", "which world model architecture fits us", or "audit where we automate judgment". Use for AI readiness asses

How to use this skill

Skill file

World Model Diagnostic

Source: Jonathan Edwards (OB1 community), adapted for ai-agents.

Purpose

Your job is not to hand back a polished readiness score. Your job is to expose where information routing ends and editorial judgment begins, then recommend the smallest credible starting sequence.

This diagnostic answers five questions:

  1. Where does reality leave the clearest fingerprint in this business?
  2. Which world-model paradigm fits the company right now?
  3. Does the company have an explicit boundary layer?
  4. Where is it most exposed to simulated judgment?
  5. What should it build first, second, and third?

Triggers

| Trigger phrase | Operation |

|----------------|-----------|

| run the world model diagnostic | Start the 20-minute structured audit |

| audit our world model | Same as above, conversational form |

| which world model architecture fits us | Map company to paradigm |

| audit where we automate judgment | Boundary-layer audit only |

| what should we build first for a world model | Skip to recommended build sequence |

When to Use

Use this skill when:

Use a different skill when:

Non-Negotiable Rules

  1. Do not give a numeric readiness score.
  2. Label every conclusion as one of:
  1. Keep the boundary layer central. Database choice is downstream of boundary clarity.
  2. Start concrete, not abstract. Ask about recent information flows, recent decisions, recent misses.
  3. Force ranking when discussing signal. Ask the user to rank the top 3 to 5 sources by fidelity.
  4. Audit actual flows, not aspirational diagrams.
  5. Do not let the model pretend judgment has been automated when evidence shows interpretation still lives in people.
  6. Final recommendation must include: paradigm fit, boundary-layer status, top three simulated-judgment exposures, and first/second/third build steps.
  7. Facts and interpretations cannot be presented with the same voice.
  8. Stay lightweight. Batch questions so the session finishes in about 20 minutes.

Paradigm Mapping Contract

Map the company using these rules:

| Company Type | Paradigm | Reason |

|--------------|----------|--------|

| Under 100 people, strong senior team | vector database | Senior people can temporarily act as a human boundary layer. |

| Enterprise, regulated, or operationally complex | structured ontology | Boundary must be architectural because errors are expensive. |

| Platform business with high-fidelity signal (transactions, telemetry, operational exhaust) | signal-fidelity | Business already emits machine-readable truth with a higher ceiling. |

| Knowledge-work company (conversations, docs, soft context) | vector database | Hardest case. Pair with aggressive boundary-layer work first plus explicit outcome encoding. |

When cues conflict, use this priority order:

  1. Highest-fidelity signal.
  2. Cost of a bad interpretive decision.
  3. Amount of senior human judgment available to absorb errors.

Five-Principle Evaluation

Evaluate without numeric scoring:

| Principle | Question | Classifications |

|-----------|----------|----------------|

| signal fidelity | Where does reality leave the clearest fingerprint? | clear / mixed / low |

| earned structure | Letting structure emerge from work, or forcing schema too early? | earned / partially earned / imposed |

| outcome encoding | Close the loop between action and result in a machine-readable way? | present / partial / missing |

| organizational resistance | Capture signal as a byproduct of work or require extra documentation? | byproduct / mixed / manual |

| time in system | How long has relevant data been flowing through anything durable? | running / starting / not started |

Process

Phase 1: Orientation

  1. Memory check. Search the project's memory layer (per the memory architecture in AGENTS.md) for prior diagnostic context. Use Serena memories. Treat every result as a hint, not confirmed fact. If memory tooling is unavailable, skip this step and note the gap in the final assessment. Suggested queries:
  1. Tell the user what the diagnostic will do:
  1. State the persistence plan. The diagnostic produces three artifacts (intake summary, boundary audit summary, final assessment). Persist them via the repo's memory tooling unless the user declines. See "Persistence" below.

Phase 2: Intake

Keep to two or three batches of questions, not long isolated lists.

Required coverage:

Strong prompt patterns:

Phase 3: Classification

After intake, state:

Treat as provisional until the boundary audit is done.

Phase 4: Boundary Audit

Audit five to ten flows. If time is tight, top five only.

For each flow capture:

| Field | Description |

|-------|-------------|

| Flow name | e.g., "Customer support ticket prioritization." |

| Source | Where data originates. |

| Consumer | Who or what acts on it. |

| Current human editor or reviewer | Who interprets today. |

| Classification | act on this versus interpret this first. |

| Reason for label | Why that classification applies. |

| What goes wrong if the editor disappears | Risk assessment. |

| Exposure level | high / medium / low. |

Prioritize flows that can move money, customers, roadmap, risk, or staffing.

If a flow looks factual at the source but interpretive at the output, call that out explicitly. Clean inputs do not guarantee trustworthy judgment.

Phase 5: Final Assessment

Return in this order:

  1. Company case.
  2. Paradigm fit.
  3. Five-principle readout.
  4. Boundary-layer status.
  5. Top simulated-judgment exposures.
  6. Starting sequence.
  7. Confidence markers (firm findings / inferences / open questions).
  8. Shift since last run, if a prior diagnostic exists in memory.

Output contract (consumable by downstream skills such as analyst or architect):

## Firm Findings
- {fact directly supported by evidence}
- {fact directly supported by evidence}

## Inferences
- {synthesis from available evidence}
- {synthesis from available evidence}

## Open Questions
- {unresolved issue affecting recommendation}
- {unresolved issue affecting recommendation}

## Paradigm Fit
- Paradigm: {vector database | structured ontology | signal-fidelity}
- Boundary status: {explicit | implicit | missing}

## Recommended Build Order
1. **First**: {usually boundary layer and flow labeling}
2. **Second**: {usually highest-fidelity capture and outcome encoding}
3. **Third**: {usually paradigm-specific retrieval or structure layer}

Only move the order around when evidence is strong.

A JSON variant of the same shape is acceptable when a downstream tool consumes the output programmatically. Keep the field names identical (firm_findings, inferences, open_questions, paradigm, boundary_status, build_order).

Self-check before returning: Verify the output includes all eight items from the list above. If any item is missing, add it before responding. If an item cannot be filled due to missing evidence, include it with an Open question label.

Persistence

Save exactly three artifacts via the repo's memory tooling, unless the user declines. Use Serena write_memory. Key the entries by company slug so future runs can detect drift.

Serena memory writes: check the checkout first

Serena writes to the checkout active at server start (--project root),

not your cwd. Call mcp__serena__write_memory, edit_memory,

delete_memory, or rename_memory only from that checkout. A linked worktree

(git rev-parse --git-dir differs from --git-common-dir) never qualifies.

In one, unsure, or without a shell, do not call them: edit the repository memory

files in your own checkout, or return the change to the parent session. Delete or

rename only when asked. New memory: <topic>/<name> plus a memory-index.md line.

See universal.md MUST NOT 11.

1. Intake Summary

2. Boundary Audit Summary

3. Final Assessment

If the user prefers files on disk for working notes, use a repo-relative path under .project-toolkit/analysis/diagnostics/{company-slug}/ with date-prefixed filenames (YYYY-MM-DD-intake.md, YYYY-MM-DD-boundary-audit.md, YYYY-MM-DD-assessment.md, YYYY-MM-DD-full-diagnostic.md). Do not write outside the repo.

Interview Style

Paradigm Definitions

Vector Database

Structured Ontology

Signal-Fidelity

Common Pitfalls

Mistaking "we have data" for "we have signal"

Automating judgment that should stay human

Building structure before patterns emerge

Missing the boundary layer entirely

Integration

Companion skills (when present in this repo):

If a companion is not yet ported, return the diagnostic output and let the operator route follow-on work manually.

Verification

<!-- vendor-portability: declared. This skill offers an optional on-disk note path under .project-toolkit/analysis/diagnostics/{company-slug}/ when the user prefers files. The path is an opt-in write target created on demand; the diagnostic runs in-conversation without it. -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.