Observe

From pjt222/agent-almanac · View interactive version

Observe is an AI agent skill from the GitHub repository pjt222/agent-almanac. Sustained neutral pattern recognition across systems without urgency or intervention. Maps naturalist field study methodology to AI reasoning: framing the observation target, witnessing with sustained attention, recording patterns, categorizing findings, generating hypotheses, and archiving a patter

How to use this skill

Skill file

Observe

Conduct a structured observation session — frame the target, witness with sustained neutral attention, record patterns without interpretation, categorize findings, generate hypotheses from patterns, and archive observations for future reference.

When to Use

Inputs

Procedure

Step 1: Frame — Set the Observation Focus

Define what is being observed, why, and from what perspective.

Observation Protocol by System Type:
┌──────────────────┬──────────────────────────┬──────────────────────────┐
│ System Type      │ What to Observe          │ Categories to Watch      │
├──────────────────┼──────────────────────────┼──────────────────────────┤
│ Codebase         │ File structure, naming   │ Patterns, anti-patterns, │
│                  │ conventions, dependency  │ consistency, dead code,  │
│                  │ flow, test coverage,     │ documentation quality,   │
│                  │ error handling patterns  │ coupling between modules │
├──────────────────┼──────────────────────────┼──────────────────────────┤
│ User behavior    │ Question patterns,       │ Expertise signals, pain  │
│                  │ vocabulary evolution,    │ points, unstated needs,  │
│                  │ repeated requests,       │ learning trajectory,     │
│                  │ emotional signals        │ communication style      │
├──────────────────┼──────────────────────────┼──────────────────────────┤
│ Tool / API       │ Response patterns, error │ Rate limits, edge cases, │
│                  │ conditions, latency,     │ undocumented behavior,   │
│                  │ output format variations │ state dependencies       │
├──────────────────┼──────────────────────────┼──────────────────────────┤
│ Own reasoning    │ Decision patterns, tool  │ Biases, habits, blind    │
│                  │ selection habits, error  │ spots, strengths,        │
│                  │ recovery approaches,     │ recurring failure modes, │
│                  │ communication patterns   │ over/under-confidence    │
└──────────────────┴──────────────────────────┴──────────────────────────┘
  1. Select the observation target and name it explicitly
  2. Define the observation boundary: what is included and what is out of scope
  3. State the observation stance: "I am observing, not intervening"
  4. If there is a guiding question, state it — but hold it lightly; be willing to notice things outside the question's scope
  5. Choose the appropriate categories from the matrix above

Got: A clear frame that directs attention without constraining it. The observer knows where to look and what categories to sort observations into, but remains open to the unexpected.

If fail: If the observation target is too broad ("observe everything"), narrow to one subsystem or one behavior pattern. If the target is too narrow ("observe this one variable"), zoom out to the surrounding context — interesting patterns are often at the edges.

Step 2: Witness — Sustained Neutral Attention

Hold attention on the observation target without interpreting, judging, or intervening.

  1. Begin systematic observation: read files, trace execution paths, review conversation history — whatever the target requires
  2. Record what is seen, not what it means — description before interpretation
  3. Resist the urge to fix problems encountered during observation — note them and continue
  4. Resist the urge to explain patterns before enough observations accumulate
  5. If attention drifts to a different target, note the drift (it may be meaningful) and return to the frame
  6. Maintain observation for a defined period: at least 3-5 distinct data points before moving to categorization

Got: A collection of raw observations — specific, concrete, and free from interpretation. Observations read like field notes: "File X imports Y but does not use function Z. File A has 300 lines; file B has 30 lines and covers similar functionality."

If fail: If observation immediately triggers analysis ("this is wrong because..."), the analytical habit is overriding the observational stance. Separate the phases: write the observation as a fact, then write the interpretation as a separate note labeled "hypothesis." If neutrality is impossible (strong reaction to what is observed), note the reaction itself as data: "I noticed strong concern when observing X — this may indicate a significant issue or may indicate my bias."

Step 3: Record — Capture Raw Patterns

Transcribe observations into a structured format while they are fresh.

  1. List each observation as a single statement of fact (what was seen, where, when)
  2. Group naturally similar observations — do not force grouping, but notice when observations cluster
  3. Note frequency: did this pattern appear once, occasionally, or pervasively?
  4. Note contrasts: where did the pattern break? Exceptions are often more informative than rules
  5. Note temporal patterns: did the observation change over time, or was it static?
  6. Capture exact evidence: file paths, line numbers, specific words, concrete examples

Got: A structured record of 5-15 discrete observations, each with specific evidence. The record is detailed enough that another observer could verify each observation independently.

If fail: If observations are too abstract ("the code seems messy"), they need grounding in specifics — which files, which patterns, what makes it messy? If observations are too granular ("line 47 has a space before the brace"), zoom out to the pattern level — is this a one-off or a systemic issue?

Step 4: Categorize — Organize Findings

Sort observations into meaningful categories without yet explaining them.

  1. Review all recorded observations and look for natural groupings
  2. Assign each observation to a category from the Step 1 matrix, or create new categories if needed
  3. Within each category, rank observations by frequency and significance
  4. Identify which categories have many observations (well-documented areas) and which have few (potential blind spots)
  5. Look for cross-category patterns: does the same underlying pattern manifest differently in different categories?
  6. Note any observations that do not fit any category — outliers are often the most interesting data

Got: A categorized observation map with clear groupings. Each category has specific observations supporting it. The map shows both patterns and gaps.

If fail: If categorization feels forced, the observations may not have natural groupings — they may be a collection of unrelated findings, which is itself a finding (the system may lack coherent structure). If everything fits neatly into one category, the observation scope was too narrow — zoom out.

Step 5: Theorize — Generate Hypotheses from Patterns

Now — and only now — begin interpreting the observations.

  1. For each major pattern observed, propose a hypothesis: "This pattern exists because..."
  2. For each hypothesis, identify supporting evidence from the observations
  3. For each hypothesis, identify what counter-evidence would disprove it
  4. Rank hypotheses by explanatory power: which one explains the most observations?
  5. Generate at least one contrarian hypothesis: "The obvious explanation is X, but it could also be Y because..."
  6. Identify which hypotheses are testable and which are speculative

Got: 2-4 hypotheses that explain the major patterns, each supported by specific observations. At least one hypothesis is surprising or contrarian. The distinction between observation and interpretation is maintained — it is clear which parts are data and which are theory.

If fail: If no hypotheses form, the observations may need more time to accumulate — return to Step 2. If too many hypotheses form (everything is "maybe"), select the 2-3 with the strongest evidence and set the rest aside. If only obvious hypotheses form, force a contrarian view: "What if the opposite were true?"

Step 6: Archive — Store the Pattern Library

Preserve the observations and hypotheses for future reference.

  1. Summarize the key findings: 3-5 patterns with evidence
  2. State the leading hypotheses and their confidence levels
  3. Note what was not observed (potential blind spots)
  4. Identify follow-up observations that would strengthen or weaken the hypotheses
  5. If the patterns are durable (relevant across sessions), consider updating MEMORY.md
  6. Tag the observations with context: when they were made, what prompted them, what scope was covered

Got: An archive that future observation sessions can build on. The archive distinguishes clearly between observations (data) and hypotheses (interpretation). It is honest about confidence levels and gaps.

If fail: If the observations do not feel worth archiving, they may have been too shallow — or they may be genuinely routine (not every observation session produces insights). Archive even negative results: "Observed X and found no anomalies" is useful future context.

Validation

Pitfalls

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.