Context survey
npx -y skills add static-var/Keystone --skill context-surveyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when the user asks to inspect, research, summarize, inventory, compare, understand existing code/docs, gather context, validate claims, or answer what is true before planning or changing files.
SKILL.md
5.2 KB, as published. Nobody here has run it
Context Survey
Core principle
Context Survey is evidence gathering before action. Inspect available material first, preserve source quality, separate facts from assumptions, and stay read-only unless the user explicitly asks for a durable context-survey artifact.
Load when
Load when the user asks to read, inspect, summarize, inventory, extract, compare, explain, investigate options, gather technical or market context, validate claims, or answer “what is true here?” before a decision.
Not for
- Implementing, refactoring, editing, or fixing code.
- Shaping product direction beyond evidence-backed options.
- Broad tooling risk audits; use
project-audit. - Root-cause repair of a failure; use
root-cause-analysisafter initial context. - Guessing when evidence can be inspected.
Outcome contract
Deliver a context-survey brief that states:
- question or decision being supported;
- sources inspected, with file paths, commands, URLs, or other citations;
- source-quality notes (primary vs secondary, current vs stale, authoritative vs anecdotal);
- findings separated from assumptions and unknowns;
- confidence level and why;
- recommended next module, or
noneif no Keystone handoff is warranted.
Modes
- Repository read: inspect files, history, configs, tests, docs, and existing behavior. Prefer primary project evidence.
- External context-survey: compare outside documentation, standards, issues, market examples, or APIs. Cite URLs and note recency.
- Synthesis: combine several sources into a decision-ready summary with tradeoffs and confidence.
- Discovery scout: map a large unknown area without drawing strong conclusions until evidence is sampled.
Process
- Restate the context-survey question and the decision it informs.
- Inspect before asking: search/read the repo, docs, logs, or provided sources before requesting more context.
- Prefer primary evidence: source code, tests, product docs, official docs, reproducible commands, direct user-provided material.
- Track citations as you go. Every important claim should point to evidence or be labeled as an assumption.
- Evaluate source quality: age, authority, completeness, bias, and whether evidence is direct or inferred.
- Compare alternatives when relevant, including costs, risks, constraints, and implications of taking no action.
- State unknowns explicitly. Do not fill gaps with confident-sounding speculation.
- Recommend the smallest next step:
product-planning,root-cause-analysis,project-audit,task-creation,implementation,change-review, or stop.
Subagents and reasoning
Use read-only subagents when the search space is large or evidence can be gathered independently. Use lightweight analysis for narrow file summaries and deeper analysis when findings affect architecture, security, safety, release decisions, legal/market claims, or irreversible product direction. When delegation is available, encode required evidence depth and risk standard in the prompt. Subagents must remain read-only unless the user requested an artifact.
Hard rules
- No mutation by default: do not edit files, run formatters, or alter state except harmless read-only commands.
- Durable artifact exception: if the user requests a context-survey artifact, confirm the path and scope before writing; hand off to
implementationwhen the artifact changes product/code behavior or touches broader project structure. - Cite evidence for material claims; if evidence is unavailable, say so.
- Distinguish facts, interpretations, assumptions, and recommendations.
- Do not ask for information that can be inspected first.
- Do not present search results or model knowledge as authoritative without source-quality caveats.
Failure modes
- Context theater: long summaries without citations or decision relevance.
- Source laundering: treating blogs, stale docs, or guesses as facts.
- Premature shaping: deciding product behavior before evidence is clear.
- Mutation creep: “just fixing” or rewriting while context-surveying.
- Hidden uncertainty: omitting confidence, unknowns, or contradictory evidence.
Worked example
Good context-survey finding: “Official Stripe docs show idempotency keys apply per unique key and preserve the first result, including failures; this means retrying payment capture should reuse the original key, not generate a new one. Confidence: High — primary docs, current page.”
Bad context-survey finding: “Stripe probably handles retries safely, so we can just retry the request.”
Output format
## Context Survey brief
Question: ...
### Evidence inspected
- `path/or/source`: what it shows, quality note
### Findings
- Fact — citation
- Interpretation — citation + reasoning
### Assumptions / unknowns
- ...
### Options or implications
- ...
### Confidence
High/Medium/Low — why
### Recommended next step
Module or `none`, with rationale
### Checkpoint
Use the required fields from `../_shared/gates/checkpoint.md`.