---
title: "observe"
description: "Watch and report current state"
canonical: "https://acs.synapti.ai/capabilities/observe/"
last_updated: "2026-11-16T01:14:10Z"
---

# observe

Watch and report current state

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

Layer: [PERCEIVE](https://acs.synapti.ai/layers/perceive/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 observe in a workflow.** In a workflow, it is a recommended step before ground; and where the workflow has detect, observe must come before it (V102).

| Where | Capability | Rule | Enforcement | Diagnostic |
| --- | --- | --- | --- | --- |
| After observe | [`detect`](https://acs.synapti.ai/capabilities/detect/index.md) | `precedes` | MUST | V102 |
| After observe | [`ground`](https://acs.synapti.ai/capabilities/ground/index.md) | `soft_requires` | SHOULD | W601 |

## Relationships

**Figure: Relationships of observe: 6 relationships with 5 capabilities.** observe has 6 relationships with 5 capabilities: 4 with edges out of it and 1 with edges both into it and out of it.

| Capability | Row | Relationships |
| --- | --- | --- |
| [`detect`](https://acs.synapti.ai/capabilities/detect/index.md) | Both directions | `precedes` (out of), `specializes` (into) |
| [`discover`](https://acs.synapti.ai/capabilities/discover/index.md) | Edges out of observe | `enables` (out of) |
| [`state`](https://acs.synapti.ai/capabilities/state/index.md) | Edges out of observe | `enables` (out of) |
| [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md) | Edges out of observe | `enables` (out of) |
| [`ground`](https://acs.synapti.ai/capabilities/ground/index.md) | Edges out of observe | `soft_requires` (out of) |

- `soft_requires`: Recommended before [`ground`](https://acs.synapti.ai/capabilities/ground/index.md)
- `enables`: Unlocks [`state`](https://acs.synapti.ai/capabilities/state/index.md), [`attribute`](https://acs.synapti.ai/capabilities/attribute/index.md), [`discover`](https://acs.synapti.ai/capabilities/discover/index.md)
- `precedes`: Comes before, when both are present [`detect`](https://acs.synapti.ai/capabilities/detect/index.md)
- `specializes`: Specialized by [`detect`](https://acs.synapti.ai/capabilities/detect/index.md)

## Contract

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

### Inputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `target` | string | Yes | What to observe |
| `aspects` | array | No | Specific aspects to observe |

### Outputs

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `observation` | object | Yes | Current state |
| `timestamp` | string | No | Format: date-time |
| `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 6 fields: 4 are in observe's output contract (3 required) and 2 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 |
| --- | --- |
| `observation` | Yes, required |
| `timestamp` | Yes, optional |
| `confidence` | Yes, required |
| `evidence_anchors` | Yes, required |
| `assumptions` | No, the skill's own |
| `next_actions` | 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: observe in workflows.** 8 workflows use observe, in 8 steps in all; its steps are the squares in an ink ring, and the key under the strips names the other squares.

- [`monitor_and_replan`](https://acs.synapti.ai/workflows/monitor-and-replan/index.md): step 1
- [`debug_code_change`](https://acs.synapti.ai/workflows/debug-code-change/index.md): step 1
- [`world_model_build`](https://acs.synapti.ai/workflows/world-model-build/index.md): step 2
- [`capability_gap_analysis`](https://acs.synapti.ai/workflows/capability-gap-analysis/index.md): step 1
- [`data_quality_pipeline`](https://acs.synapti.ai/workflows/data-quality-pipeline/index.md): step 1
- [`anomaly_investigation`](https://acs.synapti.ai/workflows/anomaly-investigation/index.md): step 2
- [`model_monitoring`](https://acs.synapti.ai/workflows/model-monitoring/index.md): step 6
- [`quality_control_loop`](https://acs.synapti.ai/workflows/quality-control-loop/index.md): step 2

## Claude Code skill

**Figure: What the observe skill's tools can do, against the ontology.** The skill may use 3 tools: 2 only read and 1 run commands; the ontology marks observe as read-only, so Bash is more than the capability needs.

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

**Figure: The field names each step of the observe procedure uses.** 4 of the procedure's 5 steps use the name of an input or output field of the observe skill as a word; 3 output fields of 6 are used by no step (confidence, assumptions, next_actions).

| Step | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Identify observation target | `target` | `observation` |
| 2. Select observation aspects | `aspects` | `observation` |
| 3. Capture current state | `target` | `observation`, `timestamp` |
| 4. Document observations |  |  |
| 5. Ground claims |  | `evidence_anchors` |

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

**Figure: The field names each verification check of the observe skill uses.** 3 of the 5 checks use the name of an input or output field as a word; 3 output fields of 6 are named by no check (confidence, assumptions and next_actions).

| Check | Inputs it uses by name | Output fields it uses by name |
| --- | --- | --- |
| 1. Observation timestamp is current (within observation window) |  | `observation`, `timestamp` |
| 2. At least one aspect was observed and documented |  |  |
| 3. Evidence anchors exist for each notable observation |  | `observation`, `evidence_anchors` |
| 4. Target was not modified during observation |  | `observation` |
| 5. Anomalies are supported by evidence |  |  |

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

| Listed as | Capability | Ontology edge | Next to it in a workflow |
| --- | --- | --- | --- |
| commonly follows | [`search`](https://acs.synapti.ai/capabilities/search/index.md) | none | never |
| commonly follows | [`retrieve`](https://acs.synapti.ai/capabilities/retrieve/index.md) | none | 4 times |
| commonly precedes | [`state`](https://acs.synapti.ai/capabilities/state/index.md) | `enables` (into it) | 1 times |
| commonly precedes | [`detect`](https://acs.synapti.ai/capabilities/detect/index.md) | `precedes` (into it), `specializes` | 3 times |
| commonly precedes | [`compare`](https://acs.synapti.ai/capabilities/compare/index.md) | none | never |

### Intent

Observe and report the current state of a specified target without modifying it. This is the foundation for situational awareness and state modeling.

**Success criteria:**
- Current state accurately captured with timestamp
- Relevant aspects of the target documented
- At least one evidence anchor per observation
- Uncertainty explicitly noted where state is ambiguous

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

### Inputs

| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| `target` | Yes | string | What to observe (file path, URL, process, system) |
| `aspects` | No | array | Specific aspects to focus on (e.g., ["status", "errors", "metrics"]) |

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) **Identify observation target**: Clarify exactly what system, process, or entity to observe
   - Validate target is accessible and observable
   - Determine appropriate observation method (read file, query API, check process)

2) **Select observation aspects**: Determine what properties/attributes to capture
   - If aspects not specified, observe: status, configuration, recent changes, anomalies
   - Prioritize aspects relevant to apparent context or goal

3) **Capture current state**: Execute observation without modifying target
   - Use Read for file-based targets
   - Use Bash for process/system state (ps, systemctl status, etc.)
   - Record timestamp of observation

4) **Document observations**: Structure findings with evidence
   - Note what was observed and when
   - Highlight notable conditions or anomalies
   - Record uncertainty where state is unclear

5) **Ground claims**: Attach evidence anchors to all observations
   - Format: `file:line` for file content
   - Format: `command:output` for system observations

### Output Contract

Return a structured object:

```yaml
observation:
  target: string  # What was observed
  status: string  # Overall status assessment
  aspects:
    - aspect: string  # Name of observed aspect
      value: any  # Observed value or state
      notable: boolean  # Whether this is noteworthy
  anomalies: array[string]  # Unexpected findings
timestamp: string  # ISO 8601 timestamp
confidence: number  # probability that the observation describes the target's state as it was (§4.1.1)
evidence_anchors: [{ref: "file:line", kind: file}, {ref: "command:output", kind: tool}]
assumptions: []  # What was assumed about the target
next_actions: array[string]  # 0-3 suggested follow-ups
```

#### Field Definitions

| Field | Type | Description |
|-------|------|-------------|
| `observation.target` | string | Identifier of what was observed |
| `timestamp` | string | ISO 8601 date-time the observation was made |
| `observation.status` | string | Summary status (healthy, degraded, error, unknown) |
| `observation.aspects` | array | List of observed aspects with values |
| `confidence` | number | Probability, 0.0-1.0, that the observation describes the target's state as it was (§4.1.1) |
| `evidence_anchors` | array of evidence anchors (§6.5) | References to raw observation data |

### Examples

#### Example 1: Observe Process Status

**Input:**
```yaml
target: "web-server process"
aspects: ["running", "memory", "connections"]
```

**Output:**
```yaml
observation:
  target: "nginx process (PID 1234)"
  status: "healthy"
  aspects:
    - aspect: "running"
      value: true
      notable: false
    - aspect: "memory"
      value: "125MB RSS"
      notable: false
    - aspect: "connections"
      value: 847
      notable: true
  anomalies:
    - "Connection count higher than typical (avg: 200)"
timestamp: "2024-01-15T10:30:00Z"
confidence: 0.95
evidence_anchors:
  - {ref: "command:ps aux | grep nginx", kind: tool}
  - {ref: "command:netstat -an | grep :80", kind: tool}
assumptions:
  - "Process identified by name 'nginx'"
next_actions:
  - "Monitor connection trend over time"
  - "Check for connection leak if count continues rising"
```

#### Example 2: Observe File State

**Input:**
```yaml
target: "config/database.yml"
aspects: ["content", "permissions", "modified"]
```

**Output:**
```yaml
observation:
  target: "config/database.yml"
  status: "present"
  aspects:
    - aspect: "content"
      value: "PostgreSQL configuration with production credentials"
      notable: true
    - aspect: "permissions"
      value: "644"
      notable: true
    - aspect: "modified"
      value: "2024-01-14T15:22:00Z"
      notable: false
  anomalies:
    - "File permissions allow group/other read (sensitive credentials)"
timestamp: "2024-01-15T10:35:00Z"
confidence: 0.9
evidence_anchors:
  - {ref: "file:config/database.yml:1-25", kind: file}
  - {ref: "command:ls -la config/database.yml", kind: tool}
assumptions:
  - "File contains database credentials based on content inspection"
next_actions:
  - "Review file permissions for security"
  - "Consider using environment variables for credentials"
```

### Verification

- [ ] Observation timestamp is current (within observation window)
- [ ] At least one aspect was observed and documented
- [ ] Evidence anchors exist for each notable observation
- [ ] Target was not modified during observation
- [ ] Anomalies are supported by evidence

**Verification tools:** Read (to verify file observations)

### Safety Constraints

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

**Capability-specific rules:**
- NEVER modify the target during observation
- Do not access targets outside authorized scope
- Report access failures rather than attempting workarounds
- Note uncertainty when observations may be stale or incomplete

### Composition Patterns

**Commonly follows:**
- `search` - Observe specific targets found through search
- `retrieve` - Observe content retrieved by reference

**Commonly precedes:**
- `state` - Observations feed into world state modeling
- `detect` - Observations provide data for pattern detection
- `compare` - Observations enable comparison with expected state

**Anti-patterns:**
- Never use observe for modification (use `mutate`)
- Avoid observe for pattern matching (use `detect`)

**Workflow references:**
- See `reference/workflow_catalog.yaml#debug_code_change` for observation in debugging
- See `reference/workflow_catalog.yaml#world_model_build` for observation in modeling
