maintain-context
Skill304 starsChanged 2 months agoMITView on GitHub
Create or revise a business guide, reviewed query, semantic model, relationship or metric in the configured context store. Use for context authoring and migration; use improve-context for diagnosing evaluation failures and comparing changes.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- YangFan-Code-Star/context-devtheir own version, first seen Aug 18, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- YangFan-Code-Star/context-dev★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository65 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- always-compareSkill
- analysis-designSkill
- analyst-coreSkill
- archaeologySkill
- archive-analysisSkill
- auth-preflightSkill
- businessSkill
- causalSkill
- chart-to-driveSkill
- close-the-loopSkill
- codex-reviewSkill
- compare-datasetsSkill
- connect-dataSkill
- connect-snowflakeSkill
- context-compareSkill
- context-traceSkill
- data-inspectSkill
- data-mapSkill
- data-profilingSkill
- data-quality-checkSkill
- datasetsSkill
- distribution-profilerSkill
- evalSkill
- evaluate-graderSkill
- experiment-briefSkill
- experimentSkill
- exploreSkill
- exportSkill
- forecastSkill
- google-doc-exportSkill
- google-slides-exportSkill
- guardrailsSkill
- historySkill
- improve-contextSkill
- knowledge-bootstrapSkill
- log-correctionSkill
- metric-specSkill
- metricsSkill
- monitor-evalsSkill
- notion-exportSkill
- paceSkill
- patternsSkill
- question-framingSkill
- question-routerSkill
- reliabilitySkill
- resume-pipelineSkill
- run-pipelineSkill
- runsSkill
- score-analysisSkill
- session-handoffSkill
- setup-dev-contextSkill
- setup-notionSkill
- setupSkill
- setup-slackSkill
- setup-snowflakeSkill
- srm-checkSkill
- stakeholder-communicationSkill
- stress-testSkill
- switch-datasetSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read docs/CONNECTED-CONTEXT.md for the implemented commands and storage contract.
- Distinctive: line 14
Keep guide prose in business terms: populations, qualifying behavior, units, time rules, exclusions and limitations.
- Very specific: line 20
Read templates/semantic/<kind>.yaml for a model, metric or relationship.
- Very specific: line 23
Do not create a duplicate source document by default.
- Very specific: line 28
If based on an existing company document, keep that document in its original system and record optional source_references with its title, …
- Very specific: line 37
Run the installed validate command.
- Distinctive: line 39
Before review, inspect the actual guide prose for field mappings, join instructions or code.
- Distinctive: line 40
Verify complete business meaning survived and implementation links are accurate.
- Very specific: line 43
Only after explicit approval, use review KIND ID --reviewer PERSON --approval-note NOTE --reviewed-on DATE --review-after DATE.
- Distinctive: line 46
Test the resource and a nearby question where its rule does not apply.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Maintain context
Read docs/CONNECTED-CONTEXT.md for the implemented commands and storage contract.
Resolve the actual context source, inspect its catalog and look for existing resources before adding another.
- Clarify audience, meaning, scope, source and owner. Ask about missing business rules rather than inventing policy. Guides explain meaning; queries give reviewed examples; models/metrics supply supported executable relationships and calculations. Keep guide prose in business terms: populations, qualifying behavior, units, time rules, exclusions and limitations. Plain-language formulas are appropriate. Physical table/column mappings belong in dataset documentation or semantic models; keys/joins in models and relationships; executable expressions in metrics or reviewed SQL. Do not expand a guide into a technical recipe just to make an evaluation pass. This is our architecture choice, not a universal restriction on all context products.
- Read
templates/semantic/<kind>.yamlfor a model, metric or relationship; usetemplates/guide.yamlortemplates/query.yamlfor guides or approved SQL entries. Scaffold a draft without overwriting:python -m helpers.connected_context --dataset DATASET scaffold KIND ID. Do not create a duplicate source document by default. Models, metrics and relationships are separate resources within one semantic layer, stored indatasets/DATASET/semantic/{models,metrics,relationships}/. Measures and dimensions belong inside models. Only add relationships when models need to join. Query entries reference reviewed SQL files, not saved metric requests; call metrics directly. - Fill the draft and typed references. A guide can be the owner-reviewed business definition itself.
If based on an existing company document, keep that document in its original system and record
optional
source_referenceswith its title, URL, owner, actual reviewed_on date and version if known. These citations are not automatically fetched or monitored; never invent a source or inspection. In guides, userefsfor required local dependencies (or an empty list) andimplementationsfor optional metric/query links; business approval does not approve the linked code. Calculations implementing a guide reference it throughrefs; review the guide before its models and metrics. The guide's optional reverse implementation link is not a dependency cycle. Reuse model/metric IDs. Keep evaluator expected outputs out of context. Review calculations independently and ask before executing queries if not already authorized. - Run the installed
validatecommand. Show meaning and implementation changes separately and stop for the user's review. Passing tests do not approve a business policy. Before review, inspect the actual guide prose for field mappings, join instructions or code. Verify complete business meaning survived and implementation links are accurate. Validation alone does not check this separation. Preserve displaced technical facts in their proper resources, and never report old evaluation passes as evidence for revised guide content. - Only after explicit approval, use
review KIND ID --reviewer PERSON --approval-note NOTE --reviewed-on DATE --review-after DATE. Record the real decision; do not fabricate a reviewer or note to make a draft executable. Review dependencies first. No publishing without authorization. - Test the resource and a nearby question where its rule does not apply. Preserve earlier results. Distinguish observed use, correctness and regression evidence; live/model tests need authority.
For migration, preview first and inspect legacy callers. Preserve the Session 7 definition and personal
context. Source/formula edits invalidate dependent reviews: do not silently refresh hashes. Unapproved
resources stay draft. Existing context improvements and before/after evals use /improve-context.
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.

