agentleFS
linkpranay-ailinkpranay-ai/context-engineering-protocol/.github/skills/demo-consume-context/SKILL.md

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.

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
  1. Distinctive:

    If no package was found, write the paragraph from the feature name alone and say so explicitly in the note's first line.

    line 41

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Follow CONSUMING-CONTEXT-PACKAGE.md steps 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 against contexts/).
  2. 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 one decisions_log/decisions entry or context_items entry by its summary, 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.
  3. 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).
  4. Write the reverse-index addendum — per step 9's "Reverse-index addendum" subsection, append a kind: reference entry to each consulted package's sibling contexts/<package-id>_<date>.addenda.yaml (added_by: demo-consume-context, artifact: the note's path).
  5. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.