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

iamkarp Updated

File contents


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.

iamkarp/agent-os-skill-lift commit b66910e5bf

Frequently asked questions

npx get-skill add iamkarp/state-and-observation