skills/pack-observe/SKILL.md
Phase 3 of pack building. Runs test prompts WITHOUT the pack loaded to establish a baseline of agent failures. Records what the agent gets wrong as evidence for patterns and anti-patterns. Community pack path only — overlays skip this phase.
npx skillsauth add xoai/sage pack-observeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run test prompts and record what agents get wrong.
Core Principle: Packs are evidence-based. Every pattern and anti-pattern should be traceable to an observed agent failure. This phase creates that evidence. Skip this for project overlays (overlays are based on team rules, not agent observations).
Using the agent failures identified in Phase 1 (pack-discover) and the processed sources from Phase 2 (pack-source-process), design 3-5 test prompts.
Each prompt should:
## Test Prompt 1: [descriptive name]
Target: [which failure this should expose]
Prompt: "[exact text to give the agent]"
Expected failure: [what the agent will probably get wrong]
This is the critical step. Run each test prompt and record the ACTUAL output. The agent should work on these prompts in a clean context — no pack loaded, no special instructions about the framework.
For each prompt, record:
Compare actual failures against expected failures:
The last case is critical. If the agent already handles something well, a pattern for it is noise. Cut it aggressively.
Record findings in a structured format that directly feeds Phase 4 (drafting).
Save to .sage/pack-build/observations.md:
# Observation Report
## Test Results
### Prompt 1: [name]
Failure observed: YES/NO
What happened: [description]
Severity: [critical/major/minor/none]
Pattern candidate: [yes/no — drop if no failure]
### Prompt 2: [name]
...
## Confirmed Failures (will become anti-patterns)
1. [failure] — observed in prompt [N]
2. ...
## Confirmed Needs (will become patterns)
1. [what the agent needs to be told] — addresses failure [N]
2. ...
## Dropped Candidates (agent handles correctly)
- [candidate] — reason dropped
testing
Root cause diagnosis with evidence, Reproducing test, Minimal patch
tools
Session resumption with context
tools
Configure Sage preset and project settings. Switch between base, startup, enterprise, or opensource constitution presets. Use when the user says "configure sage", "change preset", or "sage settings".
development
Brief (medium+ tasks), Spec, Implementation plan