---
title: "predict"
description: "Forecast future states or outcomes"
canonical: "https://acs.synapti.ai/capabilities/predict/"
last_updated: "2026-11-16T01:14:10Z"
---

# predict

Forecast future states or outcomes

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

Layer: [UNDERSTAND](https://acs.synapti.ai/layers/understand/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 predict: 5 relationships with 3 capabilities.** predict has 5 relationships with 3 capabilities: 2 with edges out of it and 1 with edges both into it and out of it; its alternative_to edge with measure runs both ways.

| Capability | Row | Relationships |
| --- | --- | --- |
| [`measure`](https://acs.synapti.ai/capabilities/measure/index.md) | Both directions | `enables` (into), `alternative_to` (both ways), `specializes` (out of) |
| [`explain`](https://acs.synapti.ai/capabilities/explain/index.md) | Edges out of predict | `enables` (out of) |
| [`ground`](https://acs.synapti.ai/capabilities/ground/index.md) | Edges out of predict | `soft_requires` (out of) |

- `soft_requires`: Recommended before [`ground`](https://acs.synapti.ai/capabilities/ground/index.md)
- `enables`: Unlocks [`explain`](https://acs.synapti.ai/capabilities/explain/index.md)
- `enables`: Unlocked by [`measure`](https://acs.synapti.ai/capabilities/measure/index.md)
- `alternative_to`: Can substitute for [`measure`](https://acs.synapti.ai/capabilities/measure/index.md)
- `specializes`: Specializes [`measure`](https://acs.synapti.ai/capabilities/measure/index.md)

## Contract

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

### Inputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `target` | string | Yes | What to predict |
| `horizon` | string | No | Prediction timeframe |
| `conditions` | object | No | Assumed conditions |

### Outputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `prediction` | any | Yes | Predicted outcome |
| `probability` | number | Yes | From 0 to 1 |
| `alternatives` | array | No | Alternative outcomes |
| `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 9 fields: 5 are in predict's output contract (4 required) and 4 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 |
| --- | --- |
| `prediction` | Yes, required |
| `probability` | Yes, required |
| `alternatives` | Yes, optional |
| `trajectory` | No, the skill's own |
| `reasoning` | No, the skill's own |
| `confidence` | Yes, required |
| `evidence_anchors` | Yes, required |
| `assumptions` | No, the skill's own |
| `invalidation_conditions` | No, the skill's own |
| `inference_method` | Yes, but the skill leaves it out |
| `uncertainty` | Yes, but the skill leaves it out |

## Used in workflows

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

- [`digital_twin_sync_loop`](https://acs.synapti.ai/workflows/digital-twin-sync-loop/index.md): step 12
- [`report_generation`](https://acs.synapti.ai/workflows/report-generation/index.md): step 7
- [`model_monitoring`](https://acs.synapti.ai/workflows/model-monitoring/index.md): step 10
- [`patient_monitoring`](https://acs.synapti.ai/workflows/patient-monitoring/index.md): step 7
- [`production_line_monitoring`](https://acs.synapti.ai/workflows/production-line-monitoring/index.md): step 6
- [`predictive_maintenance`](https://acs.synapti.ai/workflows/predictive-maintenance/index.md): step 5
- [`supply_chain_sync`](https://acs.synapti.ai/workflows/supply-chain-sync/index.md): step 7

## Claude Code skill

**Figure: What the predict skill's tools can do, against the ontology.** The skill may use 2 tools: 2 only read; the ontology marks predict 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 predict procedure uses.** 5 of the procedure's 6 steps use the name of an input or output field of the predict skill as a word; 4 output fields of 9 are used by no step (trajectory, confidence, evidence_anchors, invalidation_conditions).

| Step | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Define prediction target | `target`, `horizon`, `conditions` | `prediction` |
| 2. Gather historical data |  |  |
| 3. Establish conditions | `conditions` | `assumptions` |
| 4. Generate prediction |  | `prediction`, `probability` |
| 5. Consider alternatives |  | `alternatives` |
| 6. Ground prediction |  | `prediction`, `reasoning`, `assumptions` |

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

**Figure: The field names each verification check of the predict skill uses.** 2 of the 5 checks use the name of an input or output field as a word; 6 output fields of 9 are named by no check (alternatives, trajectory, confidence, evidence_anchors, assumptions and invalidation_conditions).

| Check | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Prediction includes specific outcome and probability |  | `probability` |
| 2. Horizon is clearly specified |  |  |
| 3. At least one alternative outcome considered |  |  |
| 4. Assumptions are explicitly documented |  |  |
| 5. Evidence supports the prediction reasoning |  | `prediction`, `reasoning` |

**Figure: The neighbours the skill lists for predict, checked against the ontology and the catalogs.** The skill lists 6 capabilities as common neighbours of predict; 1 of them has an edge with it in the ontology, and 2 run next to it, in that order, in a catalog workflow (plan most often, 4 times). Under each tile, an edge reads from its source to its target, with predict's symbol in its place: "requires Pr" is a requires edge from the tile's capability to predict, so the tile's capability must run before predict; "Pr precedes" is a precedes edge from predict to the tile's capability.

| Listed as | Capability | Ontology edge | Next to it in a workflow |
| --- | --- | --- | --- |
| commonly follows | [`measure`](https://acs.synapti.ai/capabilities/measure/index.md) | `enables`, `alternative_to`, `alternative_to` (into it), `specializes` (into it) | 2 times |
| commonly follows | [`observe`](https://acs.synapti.ai/capabilities/observe/index.md) | none | never |
| commonly follows | [`discover`](https://acs.synapti.ai/capabilities/discover/index.md) | none | never |
| commonly precedes | [`plan`](https://acs.synapti.ai/capabilities/plan/index.md) | none | 4 times |
| commonly precedes | [`compare`](https://acs.synapti.ai/capabilities/compare/index.md) | none | never |
| commonly precedes | [`simulate`](https://acs.synapti.ai/capabilities/simulate/index.md) | none | never |

### Intent

Forecast future states or outcomes for a target based on current state, historical patterns, and assumed conditions. This capability consolidates all forecasting tasks (risk, impact, time, etc.) into a single parameterized operation.

**Success criteria:**
- Prediction for requested target and horizon provided
- Probability or confidence assigned to prediction
- Alternative outcomes considered
- Assumptions explicitly stated

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

### Inputs

| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| `target` | Yes | string | What to predict (metric, state, outcome, event) |
| `horizon` | No | string | Prediction timeframe (e.g., "1 week", "next release", "end of sprint") |
| `conditions` | No | object | Assumed conditions for prediction |

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) **Define prediction target**: Clarify what outcome is being predicted
   - Specify the metric, state, or event to forecast
   - Establish the prediction horizon
   - Note any boundary conditions

2) **Gather historical data**: Collect relevant past observations
   - Identify patterns and trends
   - Note data quality and coverage
   - Look for relevant precedents

3) **Establish conditions**: Document assumptions about the future
   - Note what must remain constant
   - Identify key variables that could change
   - Consider external factors

4) **Generate prediction**: Forecast the most likely outcome
   - Apply trend analysis or modeling
   - Calculate probability of primary prediction
   - Identify alternative outcomes

5) **Consider alternatives**: Evaluate other possible outcomes
   - List plausible alternative scenarios
   - Assign rough probabilities to alternatives
   - Note what would cause each alternative

6) **Ground prediction**: Document evidence and reasoning
   - Reference data supporting the prediction
   - Note the reasoning chain
   - Explicitly state all assumptions

### Output Contract

Return a structured object:

```yaml
prediction:
  outcome: any  # Predicted value, state, or event
  horizon: string  # When this prediction applies
probability: number  # 0.0-1.0 likelihood of the predicted outcome
alternatives:
  - outcome: any  # Alternative outcome
    probability: number  # Likelihood
    trigger: string  # What would cause this
trajectory:  # Optional: predicted path to outcome
  - timestamp: string
    state: any
reasoning: string  # Explanation of prediction logic
confidence: number  # probability that the prediction holds (§4.1.1)
evidence_anchors: [{ref: "file:line", kind: file}, {ref: "data:source", kind: record}]
assumptions: []  # Critical assumptions
invalidation_conditions: []  # What would invalidate this prediction
```

#### Field Definitions

| Field | Type | Description |
|-------|------|-------------|
| `prediction` | any | The prediction: `outcome` (predicted future state or value) and `horizon` (timeframe) |
| `probability` | number | 0.0-1.0 likelihood of the predicted outcome |
| `alternatives` | array | Other possible outcomes with triggers |
| `trajectory` | array | Path from current to predicted state |
| `reasoning` | string | Explanation of prediction logic |
| `invalidation_conditions` | array | What would make prediction invalid |
| `confidence` | number | Probability, 0.0-1.0, that the prediction holds (§4.1.1); distinct from `probability`, the predicted event's probability |
| `evidence_anchors` | array of evidence anchors (§6.5) | References to the data the prediction rests on |
| `assumptions` | array | Critical assumptions |

### Examples

#### Example 1: Predict Sprint Completion

**Input:**
```yaml
target: "sprint story completion"
horizon: "end of sprint (5 days)"
conditions:
  team_size: 4
  no_major_blockers: true
```

**Output:**
```yaml
prediction:
  outcome: "7 of 10 stories completed (70%)"
  horizon: "end of sprint (5 days)"
probability: 0.65
alternatives:
  - outcome: "10 of 10 stories completed (100%)"
    probability: 0.15
    trigger: "No unexpected blockers, all estimates accurate"
  - outcome: "5 of 10 stories completed (50%)"
    probability: 0.20
    trigger: "Major blocker or team member unavailable"
trajectory:
  - timestamp: "Day 2"
    state: "3 stories completed"
  - timestamp: "Day 4"
    state: "5-6 stories completed"
  - timestamp: "Day 5"
    state: "7 stories completed"
reasoning: "Based on team velocity of 1.5 stories/day and current progress, projecting linear completion. Historical sprints show 70% completion rate."
confidence: 0.7
evidence_anchors:
  - {ref: "tool:jira:sprint-history", kind: tool}
  - {ref: "tool:jira:current-burndown", kind: tool}
assumptions:
  - "Team velocity remains consistent"
  - "Story estimates are accurate"
  - "No unplanned work introduced"
invalidation_conditions:
  - "Team member becomes unavailable"
  - "Critical production incident"
  - "Scope change to sprint"
```

#### Example 2: Predict System Failure

**Input:**
```yaml
target: "disk space exhaustion"
horizon: "next 30 days"
conditions:
  growth_rate: "current trend"
```

**Output:**
```yaml
prediction:
  outcome: "Disk will reach 95% capacity"
  horizon: "18-22 days"
probability: 0.85
alternatives:
  - outcome: "Disk reaches 100% (service outage)"
    probability: 0.60
    trigger: "No cleanup or expansion action taken"
  - outcome: "Capacity remains stable"
    probability: 0.10
    trigger: "Log rotation reduces growth rate"
trajectory:
  - timestamp: "Day 7"
    state: "85% capacity"
  - timestamp: "Day 14"
    state: "90% capacity"
  - timestamp: "Day 20"
    state: "95% capacity"
reasoning: "Current growth rate of 0.5% per day on 80% utilized 500GB disk. Linear projection shows critical threshold in ~20 days."
confidence: 0.8
evidence_anchors:
  - {ref: "command:df -h /data", kind: tool}
  - {ref: "tool:monitoring:disk-trend-7d", kind: tool}
assumptions:
  - "Growth rate continues at current pace"
  - "No bulk data imports or exports"
  - "Log retention policy unchanged"
invalidation_conditions:
  - "Growth rate changes significantly"
  - "Disk expanded or data archived"
  - "Application behavior changes"
```

### Verification

- [ ] Prediction includes specific outcome and probability
- [ ] Horizon is clearly specified
- [ ] At least one alternative outcome considered
- [ ] Assumptions are explicitly documented
- [ ] Evidence supports the prediction reasoning

**Verification tools:** Read (to verify historical data references)

### Safety Constraints

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

**Capability-specific rules:**
- Always provide probability, never claim certainty about future
- Document assumptions that could invalidate prediction
- Consider alternative outcomes, especially failure modes
- Do not predict beyond available data horizon without noting extrapolation
- Flag when prediction confidence is too low to be actionable

### Composition Patterns

**Commonly follows:**
- `measure` - Measurements provide basis for predictions
- `observe` - Current state observations inform predictions
- `discover` - Discovered patterns enable predictions

**Commonly precedes:**
- `plan` - Predictions inform planning decisions
- `compare` - Predicted outcomes can be compared
- `simulate` - Predictions guide simulation scenarios

**Anti-patterns:**
- Never use predict for current state (use `measure` or `observe`)
- Avoid predict when historical data is insufficient

**Workflow references:**
- See `reference/workflow_catalog.yaml#digital_twin_sync_loop` for forecasting in digital twins
