shadow-observe
Skill0 starsChanged 4 months agoMITView on GitHub
Runs bounded, read-only Shadow repository analysis to generate evidence-linked candidate architecture observations, map boundaries and dependencies, and separate verified claims, inference, and unknowns. Use when asked to run Shadow, scan architecture, generate observations, or map boundaries or dependencies for a repository-owned .shadow graph; unlike codebase-exploration, it does not orient an unfamiliar codebase or locate change sites, and it does not create decisions, propose future state, or repair drift.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-tool-interface-designSkill
- codebase-explorationSkill
- code-reviewSkill
- copilot-cloud-agentSkill
- documentation-maintenanceSkill
- external-skill-reviewSkill
- git-and-pr-workflowSkill
- parallel-worktree-deliverySkill
- planning-and-task-breakdownSkill
- refactoring-and-dead-code-removalSkill
- repository-agent-bootstrapSkill
- requirements-and-spec-writingSkill
- security-reviewSkill
- shadow-architectureSkill
- shadow-dreamSkill
- shadow-driftSkill
- skill-creatorSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- verification-disciplineSkill
- wayfinder-planningSkill
- web-research-and-verificationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Use codebase-exploration for broad orientation in an unfamiliar repository, build and test discovery, conventions, or locating a change …
- Very specific: line 22
Use shadow-architecture to create, repair, or maintain the .shadow graph, decision records, anchors, indexes, schemas, lifecycle state, or …
- Very specific: line 25
Use shadow-dream for future-state architecture proposals.
- Very specific: line 26
Use shadow-drift only to compare declared architecture with implementation and report drift without changing the graph.
- Distinctive: line 28
Do not invent rationale, historical intent, ownership, or decision status.
- Distinctive: line 29
Do not create accepted decisions, future-state proposals, or drift repairs.
- Distinctive: line 30
Default to a report only. Write candidate observation artifacts only when the user explicitly requests files and the repository declares …
- Distinctive: line 36
Read repository instructions that govern the requested scope.
- Very specific: line 37
Read .shadow/README.md, then the index and schema it names.
- Very specific: line 50
Read only the files needed to support the scoped architecture question.
- Very specific: line 51
Prefer manifests, module boundaries, public interfaces, dependency declarations, tests, and existing .shadow records over broad content …
- Distinctive: line 63
If files were explicitly requested, re-read the repository's declared observation layout and schema.
- Distinctive: line 68
Read the observation record guide before writing an artifact or when a structured report is requested.
- Distinctive: line 80
If the repository uses different states, follow its schema and preserve the same approval boundary.
- Very specific: line 92
If an artifact was written, run the repository-declared .shadow validator and verify the path is inside the declared observation layout.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shadow Observe
Perform an on-demand, bounded, read-only analysis of current repository
architecture. Produce candidate observations for a repository-owned .shadow
graph without promoting them to decisions.
Boundaries
- Use
codebase-explorationfor broad orientation in an unfamiliar repository, build and test discovery, conventions, or locating a change site. - Use
shadow-architectureto create, repair, or maintain the.shadowgraph, decision records, anchors, indexes, schemas, lifecycle state, or rendered views. - Use
shadow-dreamfor future-state architecture proposals. - Use
shadow-driftonly to compare declared architecture with implementation and report drift without changing the graph. - Do not invent rationale, historical intent, ownership, or decision status.
- Do not create accepted decisions, future-state proposals, or drift repairs.
- Default to a report only. Write candidate observation artifacts only when the user explicitly requests files and the repository declares their location and shape.
Workflow
- Read repository instructions that govern the requested scope.
- Read
.shadow/README.md, then the index and schema it names. Treat those declarations as authoritative. If they do not exist, continue with a report only and do not bootstrap.shadow/. - Define a bounded scope: the question, included paths, excluded paths, traversal depth or entry limit, and stopping condition. Avoid a repository-wide survey when a smaller slice answers the request.
- Capture run provenance. Record the source revision when available, whether the worktree has relevant uncommitted changes, the commands or tools used, the scope limits, and unavailable provenance as unknown.
- Inventory names and structure before reading content. Run the deterministic inventory helper when a bounded structural inventory is useful. It does not follow symlinks, read file contents, write files, or use the network.
- Read only the files needed to support the scoped architecture question.
Prefer manifests, module boundaries, public interfaces, dependency
declarations, tests, and existing
.shadowrecords over broad content scans. - Classify every material statement:
- Verified claim: directly supported by cited repository evidence.
- Inference: a bounded interpretation supported by cited evidence but not explicitly declared.
- Unknown: unresolved or unsupported; state what evidence would resolve it.
- Link observations to existing decision IDs only when the repository index supports the relation. Do not manufacture IDs or convert observations into decisions.
- Return the report in the format below. Include contradictions as observations, not as automatic drift diagnoses or repairs.
- If files were explicitly requested, re-read the repository's declared observation layout and schema. Write only candidate observation artifacts under that layout. Do not write when the layout has no candidate-observation location or lifecycle.
Read the observation record guide before writing an artifact or when a structured report is requested.
Lifecycle Guidance
- Candidate: machine-generated and unreviewed. This is the only lifecycle state this skill may assign.
- Confirmed: a reviewer or repository-declared process verifies the claim and promotes it. The skill may report the required review but must not self-confirm.
- Dismissed: a reviewer rejects, supersedes, or archives the candidate according to the repository schema, retaining the reason and evidence when the schema supports them.
- If the repository uses different states, follow its schema and preserve the same approval boundary. Never add unsupported lifecycle values.
Validation
- Confirm each verified claim has at least one resolvable workspace-relative anchor or evidence path.
- Confirm each inference is labeled and cites the evidence it interprets.
- Confirm unknowns do not contain invented explanations.
- Confirm related decision IDs exist in the declared index.
- Confirm the report includes scope, source revision or
unknown, and run provenance. - If an artifact was written, run the repository-declared
.shadowvalidator and verify the path is inside the declared observation layout. - Confirm no source, decision, index, or lifecycle record was changed unless the explicit request and repository schema required that exact candidate artifact update.
Output Format
Return:
- Scope: question, included and excluded paths, limits, and stopping reason.
- Run provenance: source revision, worktree state, commands or tools, and unavailable fields.
- Verified claims: claim, anchors, evidence paths, and related decision IDs.
- Inferences: inference, supporting evidence, and confidence boundary.
- Unknowns: missing fact and the evidence needed to resolve it.
- Candidate artifacts:
noneby default, or written paths and validation results when explicitly requested. - Lifecycle next step: review needed to confirm or dismiss each candidate.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

