# State And Observation

> Use before editing or transforming anything whose current state you have not yet inspected — files, schemas, tests, calendar/email/doc/drive state. Do NOT use w

- Skill: `iamkarp/state-and-observation` (Agent Skill)
- Install (CLI): `npx get-skill add iamkarp/state-and-observation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/iamkarp/state-and-observation/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: iamkarp (https://skillmd.com/u/iamkarp)
- Updated: 2026-12-03
- Page: https://skillmd.com/skills/iamkarp/state-and-observation

---

---
name: state-and-observation
description: Use before editing or transforming anything whose current state you have not yet inspected — files, schemas, tests, calendar/email/doc/drive state. Do NOT use when the environment is already known from earlier in the task, or run broad scans when the task does not require discovery.
---

# state-and-observation

Sensor layer. Most agent failures come from assuming the environment instead of inspecting it. Inspect the specific thing you are about to change — no more.

## Observe before acting

- List the relevant files before editing; open the exact file before changing it.
- Inspect schema (columns, types, row count, missing values) before transforming data.
- Check current calendar / email / doc / drive state before modifying it.
- Check existing tests and code paths before adding code.

## Budget rule

Do not perform broad environment scans unless the task requires discovery. Inspect the target and its immediate dependencies; stop there. Scanning everything wastes tokens and surfaces distractors.

