demo-consume-context
Skill9 starsChanged 3 months agoApache-2.0View on GitHub
Worked example that discovers, loads, and tags a context package per CONSUMING-CONTEXT-PACKAGE.md, then writes a reverse-index addendum — proves the produce/consume/tag loop end-to-end. Do NOT use for real feature work.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/compiling-project-guidelines.mdcCursor rule
- .cursor/rules/demo-consume-context.mdcCursor rule
- .cursor/rules/demo-write-user-stories.mdcCursor rule
- .cursor/rules/ult-autoscaffold-content.mdcCursor rule
- .cursor/rules/ult-cep-retrofit.mdcCursor rule
- .cursor/rules/ult-cep-wizard.mdcCursor rule
- .cursor/rules/ult-codegraph.mdcCursor rule
- .cursor/rules/ult-context-generate.mdcCursor rule
- .cursor/rules/ult-institutional-memory-distill.mdcCursor rule
- .cursor/rules/ult-onboarding-index.mdcCursor rule
- .cursor/rules/ult-repo-layout.mdcCursor rule
- compiling-project-guidelinesSkill
- demo-write-user-storiesSkill
- autoscaffold-contentSkill
- cep-retrofitSkill
- cep-wizardSkill
- codegraphSkill
- context-generateSkill
- institutional-memory-distillSkill
- onboarding-indexSkill
- repo-layoutSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
If no package was found, write the paragraph from the feature name alone and say so explicitly in the note's first line.
≈ “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
Demo: Consuming a Context Package (worked example)
Overview
This is a minimal, from-scratch worked example — not a production skill. It
exists to prove ult-context-generate/CONSUMING-CONTEXT-PACKAGE.md's
consumption contract end-to-end without depending on any larger downstream
skill set. Given a feature name, it produces a one-paragraph "demo note" and
demonstrates every step of the tag loop: discover an existing package (or
proceed without one), cite it while writing, tag the output, and write back
a reverse-index addendum so the package records who consulted it.
Steps
- Follow
CONSUMING-CONTEXT-PACKAGE.mdsteps 0–3 exactly, using whatever input you were given (a bare feature name is enough — it skips step 0's tag-discovery scan and goes straight to step 1's glob check againstcontexts/). - Write the demo note to
outputs/demo-notes/<feature-slug>.md— a single paragraph in plain language describing the feature. If a package was loaded in step 1 above, the paragraph must name and paraphrase at least onedecisions_log/decisionsentry orcontext_itemsentry by itssummary, so the loaded content is visibly used, not just fetched. If no package was found, write the paragraph from the feature name alone and say so explicitly in the note's first line. - Tag the output — per step 9 of the contract, add a
**Context package(s):** <id>@<hash8>line at the top of the note for every package consulted (omit this line entirely if none was). - Write the reverse-index addendum — per step 9's "Reverse-index
addendum" subsection, append a
kind: referenceentry to each consulted package's siblingcontexts/<package-id>_<date>.addenda.yaml(added_by: demo-consume-context,artifact:the note's path). - State which mode was used, per step 8:
"Context package consulted: <id>@<hash8> (...)", or"No context package found — proceeding without it."
Do NOT use for
Real feature work of any kind — this skill's only output is a one-paragraph
demo note used to exercise the consumption contract. For actual context
package generation, use ult-context-generate. For a real downstream
consumer, follow CONSUMING-CONTEXT-PACKAGE.md directly from whatever skill
is doing the real work, rather than routing through this demo.
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.

