---
title: "ground"
description: "Anchor claims to evidence"
canonical: "https://acs.synapti.ai/capabilities/ground/"
last_updated: "2026-11-16T01:14:10Z"
---

# ground

Anchor claims to evidence

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

Layer: [MODEL](https://acs.synapti.ai/layers/model/index.md)

## Safety

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

**Figure: Ordering rules for ground in a workflow.** In a workflow, one of retrieve, search, observe, detect, predict, explain and attribute should run before it (W601).

| Where | Capability | Rule | Enforcement | Diagnostic |
| --- | --- | --- | --- | --- |
| Before ground | [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md) | `soft_requires` | SHOULD | W601 |
| Before ground | [`search`](https://acs.synapti.ai/capabilities/search/index.md) | `soft_requires` | SHOULD | W601 |
| Before ground | [`observe`](https://acs.synapti.ai/capabilities/observe/index.md) | `soft_requires` | SHOULD | W601 |
| Before ground | [`detect`](https://acs.synapti.ai/capabilities/detect/index.md) | `soft_requires` | SHOULD | W601 |
| Before ground | [`predict`](https://acs.synapti.ai/capabilities/predict/index.md) | `soft_requires` | SHOULD | W601 |
| Before ground | [`explain`](https://acs.synapti.ai/capabilities/explain/index.md) | `soft_requires` | SHOULD | W601 |
| Before ground | [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md) | `soft_requires` | SHOULD | W601 |

## Relationships

**Figure: Relationships of ground: 8 relationships with 8 capabilities.** ground has 8 relationships with 8 capabilities: 7 with edges into it and 1 with edges out of it.

| Capability | Row | Relationships |
| --- | --- | --- |
| [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md) | Edges into ground | `soft_requires` (into) |
| [`search`](https://acs.synapti.ai/capabilities/search/index.md) | Edges into ground | `soft_requires` (into) |
| [`observe`](https://acs.synapti.ai/capabilities/observe/index.md) | Edges into ground | `soft_requires` (into) |
| [`detect`](https://acs.synapti.ai/capabilities/detect/index.md) | Edges into ground | `soft_requires` (into) |
| [`predict`](https://acs.synapti.ai/capabilities/predict/index.md) | Edges into ground | `soft_requires` (into) |
| [`explain`](https://acs.synapti.ai/capabilities/explain/index.md) | Edges into ground | `soft_requires` (into) |
| [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md) | Edges into ground | `soft_requires` (into) |
| [`verify`](https://acs.synapti.ai/capabilities/verify/index.md) | Edges out of ground | `enables` (out of) |

- `soft_requires`: Recommended after [`observe`](https://acs.synapti.ai/capabilities/observe/index.md), [`detect`](https://acs.synapti.ai/capabilities/detect/index.md), [`predict`](https://acs.synapti.ai/capabilities/predict/index.md), [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md), [`explain`](https://acs.synapti.ai/capabilities/explain/index.md), [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md), [`search`](https://acs.synapti.ai/capabilities/search/index.md)
- `enables`: Unlocks [`verify`](https://acs.synapti.ai/capabilities/verify/index.md)

## Contract

**Figure: Contract of ground: 3 inputs (1 required), 7 outputs.** ground 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 |
| --- | --- | --- | --- |
| `claim` | string | Yes | Claim to ground |
| `sources` | array | No | Evidence sources |
| `required_strength` | string | No | One of: weak, moderate, strong |

### Outputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `grounded` | boolean | Yes | Whether claim is grounded |
| `evidence` | array | No | Supporting evidence |
| `gaps` | array | No | Evidence gaps |
| `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 ground's output contract (3 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 |
| --- | --- |
| `grounded` | Yes, required |
| `claim` | No, the skill's own |
| `strength` | No, the skill's own |
| `evidence` | Yes, optional |
| `contradictions` | No, the skill's own |
| `gaps` | Yes, optional |
| `confidence` | Yes, required |
| `evidence_anchors` | Yes, required |
| `assumptions` | 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: ground in workflows.** 8 workflows use ground, 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 11
- [`rag_pipeline`](https://acs.synapti.ai/workflows/rag-pipeline/index.md): step 5
- [`data_pipeline_validation`](https://acs.synapti.ai/workflows/data-pipeline-validation/index.md): step 9
- [`report_generation`](https://acs.synapti.ai/workflows/report-generation/index.md): step 8
- [`patient_monitoring`](https://acs.synapti.ai/workflows/patient-monitoring/index.md): step 9
- [`care_plan_review`](https://acs.synapti.ai/workflows/care-plan-review/index.md): step 10
- [`quality_control_loop`](https://acs.synapti.ai/workflows/quality-control-loop/index.md): step 6
- [`information_research`](https://acs.synapti.ai/workflows/information-research/index.md): step 10

## Claude Code skill

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

| Step | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Parse the claim | `claim` | `claim`, `evidence` |
| 2. Identify evidence sources | `sources` | `evidence` |
| 3. Search for evidence |  | `evidence` |
| 4. Evaluate evidence quality |  | `evidence` |
| 5. Assess grounding strength | `claim`, `sources` | `claim`, `strength`, `evidence` |
| 6. Document gaps | `sources` | `evidence`, `gaps`, `assumptions` |

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

**Figure: The field names each verification check of the ground skill uses.** 3 of the 5 checks use the name of an input or output field as a word; 7 output fields of 9 are named by no check (grounded, claim, strength, contradictions, gaps, confidence and assumptions).

| Check | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Claim is clearly stated |  |  |
| 2. At least one evidence source was checked |  | `evidence` |
| 3. Strength assessment is consistent with evidence |  | `evidence` |
| 4. Contradictions are noted if found |  |  |
| 5. Evidence anchors reference specific locations |  | `evidence_anchors` |

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

| Listed as | Capability | Ontology edge | Next to it in a workflow |
| --- | --- | --- | --- |
| commonly follows | [`generate`](https://acs.synapti.ai/capabilities/generate/index.md) | none | 2 times |
| commonly follows | [`predict`](https://acs.synapti.ai/capabilities/predict/index.md) | `soft_requires` | 1 times |
| commonly follows | [`explain`](https://acs.synapti.ai/capabilities/explain/index.md) | `soft_requires` | never |
| commonly precedes | [`verify`](https://acs.synapti.ai/capabilities/verify/index.md) | `enables` (into it) | never |
| commonly precedes | [`audit`](https://acs.synapti.ai/capabilities/audit/index.md) | none | 1 times |
| commonly precedes | [`plan`](https://acs.synapti.ai/capabilities/plan/index.md) | none | never |

### Intent

Verify that claims are supported by evidence from reliable sources. This is the foundation of the Grounded Agency principle - no assertion should be made without evidence anchors.

**Success criteria:**
- Claim evaluated against available evidence
- Evidence sources identified and referenced
- Grounding strength assessed (strong, moderate, weak, ungrounded)
- Evidence gaps explicitly documented

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

### Inputs

| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| `claim` | Yes | string | The claim or assertion to ground |
| `sources` | No | array | Evidence sources to check (files, URLs, commands) |
| `required_strength` | No | string | Minimum grounding level: weak, moderate, strong |

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) **Parse the claim**: Understand what is being asserted
   - Identify the core assertion
   - Note any implicit sub-claims
   - Determine what evidence would support it

2) **Identify evidence sources**: Determine where to look
   - Use provided sources if available
   - Identify additional relevant sources
   - Prioritize authoritative sources

3) **Search for evidence**: Look for supporting or contradicting data
   - Read relevant files and documentation
   - Execute commands to gather data
   - Note both supporting and contradicting evidence

4) **Evaluate evidence quality**: Assess reliability of found evidence
   - Consider source authority
   - Check for recency and relevance
   - Note any bias or limitations

5) **Assess grounding strength**: Determine how well claim is supported
   - Strong: multiple authoritative sources agree
   - Moderate: one authoritative source or multiple secondary
   - Weak: indirect or partial evidence
   - Ungrounded: no supporting evidence found

6) **Document gaps**: Note missing evidence
   - What evidence would strengthen grounding?
   - What sources could not be checked?
   - What assumptions remain unverified?

### Output Contract

Return a structured object:

```yaml
grounded: boolean  # Whether claim meets required_strength
claim: string  # The claim being evaluated
strength: string  # strong, moderate, weak, ungrounded
evidence:
  - source: string  # Evidence source
    type: string  # file, url, command, observation
    content: string  # Relevant excerpt
    supports: boolean  # Supports or contradicts claim
    authority: string  # high, medium, low
contradictions:
  - source: string
    content: string
    severity: string  # How seriously it undermines claim
gaps:
  - description: string  # What evidence is missing
    would_provide: string  # What it would establish
confidence: number  # probability that the grounding judgement is right (§4.1.1)
evidence_anchors: [{ref: "file:line", kind: file}, {ref: "https://...", kind: url}, {ref: "command:output", kind: tool}]
assumptions: []
```

#### Field Definitions

| Field | Type | Description |
|-------|------|-------------|
| `grounded` | boolean | Whether claim meets required evidence threshold |
| `strength` | string | Grounding level: strong, moderate, weak, ungrounded |
| `evidence` | array | Supporting evidence with sources and excerpts |
| `contradictions` | array | Evidence that contradicts the claim |
| `gaps` | array | Missing evidence that would strengthen grounding |
| `confidence` | number | Probability, 0.0-1.0, that the grounding judgement is right (§4.1.1) |
| `evidence_anchors` | array of evidence anchors (§6.5) | References to every source consulted |
| `assumptions` | array | Explicit assumptions |

### Examples

#### Example 1: Ground a Technical Claim

**Input:**
```yaml
claim: "The payment processor uses Stripe API v2023-10-16"
sources:
  - "Gemfile"
  - "config/initializers/stripe.rb"
required_strength: "strong"
```

**Output:**
```yaml
grounded: true
claim: "The payment processor uses Stripe API v2023-10-16"
strength: "strong"
evidence:
  - source: "Gemfile"
    type: "file"
    content: "gem 'stripe', '~> 10.0'"
    supports: true
    authority: "high"
  - source: "config/initializers/stripe.rb"
    type: "file"
    content: "Stripe.api_version = '2023-10-16'"
    supports: true
    authority: "high"
  - source: "Gemfile.lock"
    type: "file"
    content: "stripe (10.1.0)"
    supports: true
    authority: "high"
contradictions: []
gaps:
  - description: "Runtime verification of API version"
    would_provide: "Confirmation that configured version is actually used"
confidence: 0.95
evidence_anchors:
  - {ref: "file:Gemfile:42", kind: file}
  - {ref: "file:config/initializers/stripe.rb:3", kind: file}
  - {ref: "file:Gemfile.lock:156", kind: file}
assumptions:
  - "Configuration is loaded at runtime"
  - "No environment-specific overrides"
```

#### Example 2: Partial Grounding

**Input:**
```yaml
claim: "User authentication requires 2FA for all accounts"
sources:
  - "app/models/user.rb"
  - "config/devise.yml"
required_strength: "strong"
```

**Output:**
```yaml
grounded: false
claim: "User authentication requires 2FA for all accounts"
strength: "weak"
evidence:
  - source: "app/models/user.rb"
    type: "file"
    content: "has_one :two_factor_auth"
    supports: true
    authority: "medium"
  - source: "config/devise.yml"
    type: "file"
    content: "two_factor_authentication: enabled: true"
    supports: true
    authority: "high"
contradictions:
  - source: "app/controllers/sessions_controller.rb"
    content: "skip_2fa_for_api_tokens: true"
    severity: "high"
  - source: "app/models/user.rb"
    content: "scope :without_2fa, -> { where(two_factor_enabled: false) }"
    severity: "medium"
gaps:
  - description: "Policy enforcement mechanism"
    would_provide: "Evidence that 2FA is mandatory, not optional"
  - description: "Admin user configuration"
    would_provide: "Whether admin accounts have different requirements"
confidence: 0.40
evidence_anchors:
  - {ref: "file:app/models/user.rb:15", kind: file}
  - {ref: "file:config/devise.yml:8", kind: file}
  - {ref: "file:app/controllers/sessions_controller.rb:23", kind: file}
assumptions:
  - "2FA support exists but enforcement unclear"
```

#### Example 3: Ungrounded Claim

**Input:**
```yaml
claim: "The system processes 10,000 requests per second"
sources:
  - "README.md"
  - "docs/architecture.md"
required_strength: "moderate"
```

**Output:**
```yaml
grounded: false
claim: "The system processes 10,000 requests per second"
strength: "ungrounded"
evidence:
  - source: "README.md"
    type: "file"
    content: "High-performance API server"
    supports: false
    authority: "low"
contradictions: []
gaps:
  - description: "Load test results"
    would_provide: "Measured throughput under load"
  - description: "Production metrics"
    would_provide: "Actual request rates and latencies"
  - description: "Benchmark documentation"
    would_provide: "Performance claims with methodology"
confidence: 0.1
evidence_anchors:
  - {ref: "file:README.md:5", kind: file}
  - {ref: "file:docs/architecture.md (no relevant content)", kind: file}
assumptions:
  - "No performance data available in provided sources"
```

### Verification

- [ ] Claim is clearly stated
- [ ] At least one evidence source was checked
- [ ] Strength assessment is consistent with evidence
- [ ] Contradictions are noted if found
- [ ] Evidence anchors reference specific locations

**Verification tools:** Read (to verify evidence excerpts)

### Safety Constraints

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

**Capability-specific rules:**
- Never claim something is grounded without evidence
- Note contradicting evidence even if claim seems grounded
- Flag when sources may be outdated
- Do not fabricate evidence

### Composition Patterns

**Commonly follows:**
- `generate` - Ground generated content
- `predict` - Ground prediction assumptions
- `explain` - Ground explanation premises

**Commonly precedes:**
- `verify` - Grounding enables verification
- `audit` - Grounding supports audit trails
- `plan` - Only proceed with grounded information

**Anti-patterns:**
- Never skip grounding for important assertions
- Avoid accepting claims without evidence in planning

**Workflow references:**
- See `reference/workflow_catalog.yaml#world_model_build` for grounding in world models
- Core principle of Grounded Agency - all skills should ground claims
