---
title: "explain"
description: "Justify conclusions with reasoning"
canonical: "https://acs.synapti.ai/capabilities/explain/"
last_updated: "2026-11-16T01:14:10Z"
---

# explain

Justify conclusions with reasoning

Generated from [schemas/capability_ontology.yaml](https://github.com/synaptiai/agent-capability-standard/blob/main/schemas/capability_ontology.yaml), [skills/explain/SKILL.md](https://github.com/synaptiai/agent-capability-standard/blob/main/skills/explain/SKILL.md) at commit 18c38b74ac21. Ontology version 2.2.0.

Layer: [REASON](https://acs.synapti.ai/layers/reason/index.md)

## Safety

| Property | Value |
| --- | --- |
| Risk | Low |
| Changes state | No |
| Needs checkpoint | No |
| Needs approval | No |
| Overridable | No |
| Blocked from autonomy | No |

In a workflow, it is a recommended step before ground.

## Relationships

**Figure: Relationships of explain: 7 relationships with 7 capabilities.** explain has 7 relationships with 7 capabilities: 5 with edges into it and 2 with edges out of it.

| Capability | Row | Relationships |
| --- | --- | --- |
| [`classify`](https://acs.synapti.ai/capabilities/classify/index.md) | Edges into explain | `enables` (into) |
| [`predict`](https://acs.synapti.ai/capabilities/predict/index.md) | Edges into explain | `enables` (into) |
| [`compare`](https://acs.synapti.ai/capabilities/compare/index.md) | Edges into explain | `enables` (into) |
| [`critique`](https://acs.synapti.ai/capabilities/critique/index.md) | Edges into explain | `enables` (into) |
| [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md) | Edges into explain | `enables` (into) |
| [`ground`](https://acs.synapti.ai/capabilities/ground/index.md) | Edges out of explain | `soft_requires` (out of) |
| [`audit`](https://acs.synapti.ai/capabilities/audit/index.md) | Edges out of explain | `enables` (out of) |

- `soft_requires`: Recommended before [`ground`](https://acs.synapti.ai/capabilities/ground/index.md)
- `enables`: Unlocks [`audit`](https://acs.synapti.ai/capabilities/audit/index.md)
- `enables`: Unlocked by [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md), [`critique`](https://acs.synapti.ai/capabilities/critique/index.md), [`predict`](https://acs.synapti.ai/capabilities/predict/index.md), [`compare`](https://acs.synapti.ai/capabilities/compare/index.md), [`classify`](https://acs.synapti.ai/capabilities/classify/index.md)

## Contract

**Figure: Contract of explain: 4 inputs (1 required), 7 outputs.** explain takes 4 inputs, 1 required (filled pin) and 3 optional (hollow pin), and returns 7 outputs. The tables below list every field.

### Inputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `conclusion` | any | Yes | What to explain |
| `audience` | string | No | Target audience |
| `depth` | string | No | One of: brief, detailed, comprehensive |
| `constraints` | object | No | Requirements the explanation must meet (e.g. include a disclaimer) |

### Outputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `explanation` | string | Yes | Reasoning explanation |
| `premises` | array | No | Supporting premises |
| `chain` | array | No | Reasoning chain |
| `evidence_anchors` | array of Anchor (or deprecated string or object) | Yes | What the output is based on, as evidence anchors (Standard v1.2 §6.5). An empty list grounds nothing, and the output is then marked inferred (§3.1). |
| `confidence` | number | Yes | The producer's probability that the output's claim is correct, self-reported unless the host documents a calibration (Standard v1.2 §4.1.1) From 0 to 1 |
| `inference_method` | string | No | How the output was reached when it is not grounded in evidence; with confidence it marks the output inferred (Standard v1.2 §3.1, §4.1.1). A producer should use model_knowledge, deduction, induction, abduction, analogy, statistical, simulation, assumption or an x- vendor value; a grounding policy (§5.20) requires one of them. |
| `uncertainty` | Uncertainty | No | The uncertainty of the output's principal value; its confidence equals the output's confidence (Standard v1.2 §4.1.1) |

The skill returns 11 fields: 5 are in explain's output contract (3 required) and 6 are the skill's own, outside the contract; it leaves out 2 contract fields (inference_method, uncertainty).

| Field of the skill's output | In the output contract |
| --- | --- |
| `explanation` | Yes, required |
| `summary` | No, the skill's own |
| `level` | No, the skill's own |
| `analogies` | No, the skill's own |
| `key_concepts` | No, the skill's own |
| `premises` | Yes, optional |
| `chain` | Yes, optional |
| `assumptions` | No, the skill's own |
| `caveats` | No, the skill's own |
| `confidence` | Yes, required |
| `evidence_anchors` | Yes, required |
| `inference_method` | Yes, but the skill leaves it out |
| `uncertainty` | Yes, but the skill leaves it out |

## Used in workflows

**Figure: explain in workflows.** 8 workflows use explain, in 8 steps in all; its steps are the squares in an ink ring, and the key under the strips names the other squares.

- [`world_model_build`](https://acs.synapti.ai/workflows/world-model-build/index.md): step 13
- [`digital_twin_sync_loop`](https://acs.synapti.ai/workflows/digital-twin-sync-loop/index.md): step 21
- [`rag_pipeline`](https://acs.synapti.ai/workflows/rag-pipeline/index.md): step 6
- [`anomaly_investigation`](https://acs.synapti.ai/workflows/anomaly-investigation/index.md): step 10
- [`care_plan_review`](https://acs.synapti.ai/workflows/care-plan-review/index.md): step 11
- [`quality_control_loop`](https://acs.synapti.ai/workflows/quality-control-loop/index.md): step 7
- [`schedule_management`](https://acs.synapti.ai/workflows/schedule-management/index.md): step 9
- [`task_delegation`](https://acs.synapti.ai/workflows/task-delegation/index.md): step 8

## Claude Code skill

**Figure: What the explain skill's tools can do, against the ontology.** The skill may use 2 tools: 2 only read; the ontology marks explain as read-only, and every tool only reads.

| What they can do | Tools |
| --- | --- |
| Only read | `Read`, `Grep` |
| Run commands, which can change state | none |
| Change files | none |

**Figure: The field names each step of the explain procedure uses.** 6 of the procedure's 7 steps use the name of an input or output field of the explain skill as a word; 4 output fields of 11 are used by no step (summary, caveats, confidence, evidence_anchors).

| Step | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Analyze the topic |  | `level` |
| 2. Assess audience | `audience`, `depth` | `explanation`, `analogies` |
| 3. Extract key concepts |  | `key_concepts` |
| 4. Build causal chain | `conclusion` | `premises`, `chain` |
| 5. State assumptions |  | `explanation`, `assumptions` |
| 6. Add analogies | `audience` | `analogies` |
| 7. Ground with evidence |  |  |

Both examples of the skill write out every one of its 11 output fields.

**Figure: The field names each verification check of the explain skill uses.** 3 of the 5 checks use the name of an input or output field as a word; 8 output fields of 11 are named by no check (explanation, summary, analogies, premises, assumptions, caveats, confidence and evidence_anchors).

| Check | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Explanation matches audience level | `audience` | `level` |
| 2. All key concepts are defined |  | `key_concepts` |
| 3. Causal chain is logically valid |  | `chain` |
| 4. Assumptions are explicit |  |  |
| 5. Evidence supports claims |  |  |

**Figure: The neighbours the skill lists for explain, checked against the ontology and the catalogs.** The skill lists 4 capabilities as common neighbours of explain; 2 of them have an edge with it in the ontology, and 0 run next to it, in that order, in a catalog workflow. Under each tile, an edge reads from its source to its target, with explain's symbol in its place: "requires Ex" is a requires edge from the tile's capability to explain, so the tile's capability must run before explain; "Ex precedes" is a precedes edge from explain to the tile's capability.

| Listed as | Capability | Ontology edge | Next to it in a workflow |
| --- | --- | --- | --- |
| commonly follows | [`compare`](https://acs.synapti.ai/capabilities/compare/index.md) | `enables` | never |
| commonly follows | [`critique`](https://acs.synapti.ai/capabilities/critique/index.md) | `enables` | never |
| commonly precedes | [`generate`](https://acs.synapti.ai/capabilities/generate/index.md) | none | never |
| commonly precedes | [`verify`](https://acs.synapti.ai/capabilities/verify/index.md) | none | never |

### Intent

Generate a clear, structured explanation of a topic, decision, or concept tailored to the audience level. Include explicit assumptions, causal reasoning, and supporting evidence.

**Success criteria:**
- Explanation is clear and understandable by target audience
- Assumptions are explicitly stated
- Causal chain shows logical progression
- Evidence supports key claims
- No unnecessary jargon or fluff

**Compatible schemas:**
- `schemas/output_schema.yaml`

### Inputs

| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| `conclusion` | Yes | any | What to explain |
| `audience` | No | string | Target audience |
| `depth` | No | string | Level of detail for the explanation (e.g. brief, standard, detailed) |
| `constraints` | No | object | Requirements the explanation must meet (e.g. include a disclaimer) |

Inputs not listed here are outside the capability's contract: a workflow step that binds them gets W604 (STANDARD v1.1 §5.5).

### Procedure

1) **Analyze the topic**: Understand what needs explaining
   - Identify the core concept or decision
   - Note the complexity level
   - Determine what background is needed
   - Identify potential confusion points

2) **Assess audience**: Calibrate explanation depth
   - Beginner: Define all terms, use analogies
   - Intermediate: Assume basic knowledge, focus on key points
   - Expert: Technical depth, skip fundamentals

3) **Extract key concepts**: Identify essential elements
   - Core idea or decision
   - Supporting concepts
   - Technical terms that need definition
   - Related concepts for context

4) **Build causal chain**: Show logical progression
   - Starting conditions or premises
   - Each step in reasoning
   - How each step leads to the next
   - Final conclusion

5) **State assumptions**: Make implicit knowledge explicit
   - What must be true for explanation to hold
   - Background knowledge assumed
   - Simplifications made
   - Edge cases not covered

6) **Add analogies**: Create relatable comparisons
   - Match complexity to audience
   - Use familiar domains
   - Highlight key similarities
   - Note where analogy breaks down

7) **Ground with evidence**: Support claims
   - Reference code, documentation, data
   - Link to authoritative sources
   - Provide examples

### Output Contract

Return a structured object:

```yaml
explanation: string  # Full explanation at appropriate depth
summary: string  # 1-2 sentence overview
level: beginner | intermediate | expert
analogies: array[string]  # Helpful comparisons
key_concepts:
  - term: string  # Concept or term
    definition: string  # Clear definition
    relevance: string  # Why it matters here
premises:  # Supporting premises the reasoning starts from
  - premise: string
    evidence: string | null
chain:  # Reasoning chain
  - step: integer
    claim: string  # What is being claimed
    reasoning: string  # Why this follows
    evidence: string | null  # Supporting evidence
assumptions:
  - assumption: string  # What is assumed
    impact: string  # What happens if false
    testable: boolean  # Can this be verified
caveats:
  - caveat: string  # Limitation or exception
    severity: minor | moderate | significant
confidence: number  # probability that the explanation is correct (§4.1.1)
evidence_anchors: [{ref: "file:line", kind: file}, {ref: "https://...", kind: url}, {ref: "doc:section", kind: x-doc}]
```

#### Field Definitions

| Field | Type | Description |
|-------|------|-------------|
| `explanation` | string | The full explanation, at the audience's level |
| `summary` | string | 1-2 sentence overview |
| `level` | enum | Audience level the explanation targets |
| `analogies` | array | Helpful comparisons |
| `key_concepts` | array | Terms and definitions |
| `premises` | array | Supporting premises the reasoning starts from, with evidence |
| `chain` | array | Reasoning chain: logical progression from premises to conclusion |
| `assumptions` | array | Explicit assumptions with impact |
| `caveats` | array | Limitations and exceptions |
| `confidence` | number | Probability, 0.0-1.0, that the explanation is correct (§4.1.1) |
| `evidence_anchors` | array of evidence anchors (§6.5) | Supporting references |

### Examples

#### Example 1: Explaining a Technical Decision

**Input:**
```yaml
conclusion: "Why we chose PostgreSQL over MongoDB for the user service"
audience: intermediate
constraints:
  format: structured
```

**Output:**
```yaml
explanation: |
  The user service manages core user data including profiles, authentication,
  and relationships between users. After evaluating PostgreSQL and MongoDB,
  we chose PostgreSQL for three primary reasons:

  1. **ACID Compliance**: User data requires strong consistency. When a user
     updates their email, all subsequent reads must see the new value. PostgreSQL's
     ACID transactions guarantee this; MongoDB's eventual consistency model would
     require additional application logic.

  2. **Relational Data Model**: User data is inherently relational - users have
     roles, roles have permissions, users have relationships with other users.
     PostgreSQL's foreign keys and JOINs model this naturally. MongoDB would
     require denormalization or multiple queries.

  3. **Team Expertise**: Our team has 5+ years of PostgreSQL experience.
     Estimated ramp-up time for MongoDB was 3 months, adding risk to the timeline.
summary: "PostgreSQL was selected for the user service due to strong ACID compliance, relational data patterns, and team expertise."
level: intermediate
analogies:
  - "ACID transactions are like bank transfers - the money leaves one account and arrives in another atomically, never losing money in transit"
  - "Relational data is like a spreadsheet with linked tabs - change a value in one tab and lookups from other tabs reflect it automatically"
key_concepts:
  - term: "ACID"
    definition: "Atomicity, Consistency, Isolation, Durability - properties ensuring reliable database transactions"
    relevance: "Critical for user data where partial updates could corrupt state"
  - term: "Eventual Consistency"
    definition: "Data will become consistent across replicas eventually, but reads may see stale data temporarily"
    relevance: "Acceptable for analytics, problematic for auth data"
  - term: "Denormalization"
    definition: "Duplicating data across documents to avoid JOINs"
    relevance: "MongoDB pattern that increases storage and update complexity"
premises:
  - premise: "Authentication and authorization decisions cannot tolerate stale data"
    evidence: "Security requirements doc section 2.3"
  - premise: "The user data model has 12 foreign key relationships"
    evidence: "Data model diagram"
  - premise: "5 of 7 developers are proficient in PostgreSQL"
    evidence: "Team skills inventory"
chain:
  - step: 1
    claim: "User data requires strong consistency"
    reasoning: "Authentication and authorization decisions cannot tolerate stale data"
    evidence: "Security requirements doc section 2.3"
  - step: 2
    claim: "PostgreSQL provides stronger consistency than MongoDB"
    reasoning: "ACID transactions vs eventual consistency model"
    evidence: "PostgreSQL docs: transaction isolation; MongoDB docs: read concern"
  - step: 3
    claim: "User data is relational in nature"
    reasoning: "Users have roles, roles have permissions, users have social connections"
    evidence: "Data model diagram shows 12 foreign key relationships"
  - step: 4
    claim: "Team can deliver faster with PostgreSQL"
    reasoning: "Existing expertise reduces development and debugging time"
    evidence: "Team skills inventory shows 5/7 developers proficient in PostgreSQL"
  - step: 5
    claim: "PostgreSQL is the better choice for this use case"
    reasoning: "Meets consistency requirements, fits data model, leverages team skills"
    evidence: null
assumptions:
  - assumption: "User data consistency requirements will not relax"
    impact: "If relaxed, MongoDB's flexibility might become more attractive"
    testable: true
  - assumption: "Team composition remains stable"
    impact: "New hires might have MongoDB expertise, changing the calculus"
    testable: true
caveats:
  - caveat: "MongoDB would be better for highly variable schema data"
    severity: minor
  - caveat: "At massive scale, PostgreSQL horizontal scaling is harder than MongoDB"
    severity: moderate
confidence: 0.9
evidence_anchors:
  - {ref: "doc:security-requirements:section-2.3", kind: x-doc}
  - {ref: "doc:data-model-diagram", kind: x-doc}
  - {ref: "doc:team-skills-inventory", kind: x-doc}
```

**Evidence pattern:** Decision traced through causal chain with evidence at each step.

---

#### Example 2: Explaining a Concept to Beginners

**Input:**
```yaml
conclusion: "What is a database index and why does it matter?"
audience: beginner
constraints:
  format: structured
```

**Output:**
```yaml
explanation: |
  Imagine you have a phonebook with millions of entries. To find "John Smith", you
  could start at page 1 and read every entry until you find him. That would take
  forever! Instead, you use the alphabetical ordering - jump to "S", then find
  "Smith", then find "John Smith". Much faster!

  A database index works the same way. Without an index, the database reads every
  row to find what you want (called a "table scan"). With an index on the right
  column, it can jump directly to matching rows.

  **When to use indexes:**
  - Columns you search frequently (WHERE clauses)
  - Columns you sort by (ORDER BY)
  - Columns used to join tables

  **The trade-off:**
  Indexes speed up reading but slow down writing. Each time you add or update data,
  all relevant indexes must also be updated. Like maintaining multiple indexes for
  a book - more work for the author, but readers find things faster.
summary: "A database index is like a book's index - it helps find data quickly without reading everything."
level: beginner
analogies:
  - "A database index is like a book's index - it tells you exactly which page to turn to"
  - "Without an index, searching is like reading every page of a book to find one word"
  - "Creating too many indexes is like having a 100-page index for a 50-page book - the overhead outweighs the benefit"
key_concepts:
  - term: "Table Scan"
    definition: "Reading every row in a table to find matching data"
    relevance: "What happens without an index - slow for large tables"
  - term: "Index"
    definition: "A data structure that maps column values to row locations"
    relevance: "Enables fast lookups without reading all data"
  - term: "Trade-off"
    definition: "Gaining one thing by giving up another"
    relevance: "Faster reads but slower writes"
premises:
  - premise: "Real tables can hold millions of rows"
    evidence: null
  - premise: "Without an index the database must check each row"
    evidence: null
chain:
  - step: 1
    claim: "Tables can have millions of rows"
    reasoning: "Real applications accumulate data over time"
    evidence: null
  - step: 2
    claim: "Finding specific rows requires checking each row without an index"
    reasoning: "Database has no other way to know which rows match"
    evidence: null
  - step: 3
    claim: "Indexes provide a shortcut to relevant rows"
    reasoning: "Like alphabetical ordering in a phonebook"
    evidence: null
  - step: 4
    claim: "Queries using indexed columns are much faster"
    reasoning: "Jump directly to matching rows instead of scanning all"
    evidence: "Query on indexed column: 5ms vs non-indexed: 2000ms"
assumptions:
  - assumption: "Reader understands what a database is"
    impact: "May need to explain databases first"
    testable: true
  - assumption: "Book/phonebook analogy is familiar"
    impact: "Digital natives may not relate to phonebooks"
    testable: true
caveats:
  - caveat: "Indexes are not always the answer - small tables may not benefit"
    severity: minor
  - caveat: "Choosing wrong columns to index wastes resources"
    severity: moderate
confidence: 0.95
evidence_anchors:
  - {ref: "example:query-timing-comparison", kind: x-doc}
```

### Verification

- [ ] Explanation matches audience level
- [ ] All key concepts are defined
- [ ] Causal chain is logically valid
- [ ] Assumptions are explicit
- [ ] Evidence supports claims

**Verification tools:** Read (for reference materials)

### Safety Constraints

- `mutation`: false
- `requires_checkpoint`: false
- `requires_approval`: false
- `risk`: low

**Capability-specific rules:**
- Never invent facts - acknowledge uncertainty
- Clearly mark opinions vs facts
- Acknowledge when topic is outside expertise
- Do not oversimplify to the point of inaccuracy
- Flag where explanation is incomplete

### Composition Patterns

**Commonly follows:**
- `compare` - Justify the option a comparison selected
- `critique` - Explain findings
- Any capability that produces complex output, such as analysis results

**Commonly precedes:**
- `generate` - Condense the explanation or convert it to a different register
- `verify` - Check explanation accuracy

**Anti-patterns:**
- Never explain without understanding first
- Avoid jargon without definition for beginners
- Never skip assumptions for complex topics

**Workflow references:**
- See any workflow needing human-readable output
