context-engineering
Skill0 starsChanged 6 months agoMITView on GitHub
Use when Charlie or Elon is building an AI prompt, prototype, skill, product spec, content system, or agent workflow and needs structured context instead of vague prompting. Applies the 3-layer context stack: functional, visual, data.
131 other projects use a version of this.
Adopted by
Most recently taken up by
- thistleknot/skillstheir own version, first seen Nov 8, 2026
- gerivdb/SKILLStheir own version, first seen Nov 8, 2026
- ishandutta2007/Awesome-Agent-Skillstheir own version, first seen Nov 8, 2026
- MMACABRE/SKILLStheir own version, first seen Nov 8, 2026
- gopalparashar421/agent-skillstheir own version, first seen Nov 8, 2026
- komluk/scaffoldingtheir own version, first seen Nov 7, 2026
Used with
Projects with it also use using-agent-skills, idea-refine and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LLl0k0laDSkillusing-agent-skills
Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.
Also in 36 projects that use this
LLl0k0laDSkillidea-refine
Refine ideas through structured divergent and convergent thinking. Use "idea-refine" or "ideate" to trigger.
Also in 44 projects that use this
HK-hubSkilldeprecation-and-migration
Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.
Also in 40 projects that use this
MrCipherSmithSkillconstraint-driven-development
Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.
Also in 14 projects that use this
HK-hubSkillsource-driven-development
Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.
Also in 44 projects that use this
- +6 more from LLl0k0laD
- +1 more from HK-hub
Other versions131 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 131
- addyosmani/agent-skills★ 114ksame name
- bojieli/ai-agent-book-projects★ 53ksame name
- bojieli/ai-agent-book★ 53ksame name
- rohitg00/pro-workflow★ 2.9ksame name
- mrgoonie/claudekit-skills★ 2.2ksame name
- kdlbs/kandev★ 1.1ksame name
- liza-mas/liza★ 418same name
- typv/nest-turbo-starter★ 224same name
- VAMFI/claude-user-memory★ 206same name
- shashankswe2020-ux/whoop-mcp★ 174same name
121 more not listed
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 repository15 other files it gives its agents.
- approved-backlog-watchdogSkill
- elon-operatorSkill
- goal-modeSkill
- image-readingSkill
- local-article-toolSkill
- mac-ttsSkill
- personal-knowledge-wikiSkill
- repurpose-funnelSkill
- skill-builderSkill
- swipefile-compilerSkill
- thumbnail-creatorSkill
- video-to-skillSkill
- visual-first-explainerSkill
- x-link-best-effortSkill
- youtube-learnSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 18 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 117 edited versions we read keep these.
18
Distinctive
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 13
Use this skill when Charlie asks for any of the following:
- Distinctive: line 17
Create a reusable prompt or product brief where quality depends on requirements, taste, and real data.
- Distinctive: line 19
Do not use this for simple Q&A, one-off summaries, or tasks where no creative/product output is being generated.
- Distinctive: line 23
Before asking AI to build, create a three-layer context stack.
- Distinctive: line 35
If this layer is missing, ask one concise question or make reasonable assumptions and label them.
- Distinctive: line 39
Use any available references:
- Distinctive: line 41
If no visual reference exists, describe the desired style in concrete terms: layout, pacing, density, vibe, hierarchy, and what to avoid.
- Distinctive: line 43
Never rely on “make it beautiful” or “make it viral” as visual context.
- Distinctive: line 54
If data is missing, create clearly marked sample data only when safe.
- Distinctive: line 57
Do not jump straight to the final build prompt.
- Distinctive: line 67
When this skill runs, output:
- Distinctive: line 97
When improving an existing prompt or skill:
- Distinctive: line 133
Do not turn every request into a giant spec.
- Distinctive: line 134
Do not generate fake data without labeling it as sample data.
- Distinctive: line 135
Do not confuse visual context with decoration.
- Distinctive: line 136
Do not treat the video as saying PRDs are dead.
- Distinctive: line 137
Do not rewrite prompts longer hoping the model “gets it.” Better context beats longer prompts.
- Distinctive: line 138
Do not let the model invent requirements, design, and data simultaneously.
“Common” is measured: kept by at least 6 in 10 of the 117 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Context Engineering
Source
Derived from: Everything You Need to Know About Context Engineering in 40 Minutes | Ravi Mehta — Peter Yang Saved note: knowledge/youtube/2026-05-04-everything-you-need-to-know-about-context-engineering-ravi-mehta.md
When to Use
Use this skill when Charlie asks for any of the following:
- Build a prototype, app, landing page, dashboard, automation, content system, prompt, skill, or agent workflow.
- Improve weak AI output that feels generic, fake, placeholder-heavy, or “AI slop.”
- Turn a rough idea into a prompt/spec for Codex, OpenClaw, a design tool, or another AI builder.
- Create a reusable prompt or product brief where quality depends on requirements, taste, and real data.
Do not use this for simple Q&A, one-off summaries, or tasks where no creative/product output is being generated.
Core Framework
Before asking AI to build, create a three-layer context stack.
1. Functional Context
Define what the thing must do. Include:
- Goal of the output.
- User or audience.
- Required features, sections, steps, or behavior.
- Inputs and outputs.
- Constraints, edge cases, and success criteria.
- What “done” means.
If this layer is missing, ask one concise question or make reasonable assumptions and label them.
2. Visual Context
Define what good should look and feel like. Use any available references:
- Screenshots, Figma/wireframes, examples, brands, creators, UI patterns, tone references, or formatting examples.
- If no visual reference exists, describe the desired style in concrete terms: layout, pacing, density, vibe, hierarchy, and what to avoid.
Never rely on “make it beautiful” or “make it viral” as visual context. Translate taste into usable constraints.
For OpenClaw skills, include a real example of the expected output inside the SKILL.md. That example is the visual context layer.
3. Data Context
Define the real content or structured data the output should use. Include:
- Real names, examples, URLs, quotes, datasets, products, offers, audience pains, trading pairs, metrics, or source material.
- For prototypes, prefer JSON or structured lists.
- Separate the data layer from the design and function so it can be swapped later without rebuilding the whole system.
If data is missing, create clearly marked sample data only when safe. Avoid pretending placeholder data is real.
Execution Rule
Do not jump straight to the final build prompt. First produce the context stack, then generate the final prompt/spec from it.
Final prompt/spec should combine:
- Functional requirements.
- Visual/taste direction.
- Data/source layer.
- Constraints and acceptance criteria.
Output Format
When this skill runs, output:
## Context Stack
### Functional Context
- Goal:
- Audience/User:
- Required behavior/sections:
- Constraints:
- Success criteria:
### Visual Context
- References/style:
- Layout/format:
- Tone/vibe:
- Avoid:
### Data Context
- Source material:
- Structured data:
- Swap-ready elements:
## Final Build Prompt / Spec
[One clean prompt or Codex-ready spec that uses all three layers.]
## Verification
- [Smallest meaningful check: preview, test, lint, screenshot, sample output, or manual review criteria.]When improving an existing prompt or skill:
- Identify which layer is missing or weak.
- State the gap in one line.
- Rewrite only the weak layer unless Charlie asks for a full rebuild.
- Show before/after only if helpful.
Charlie-Specific Application
AI Tooling / OpenClaw
Turn rough agent ideas into Codex-ready specs with:
- Functional context: exact trigger, behavior, files, constraints, verification.
- Visual context: how Elon should sound and behave, with example output.
- Data context: existing workspace files, skill examples, memory rules, Telegram context.
Content Creation
Turn content ideas into stronger assets with:
- Functional context: platform, format, CTA, audience, outcome.
- Visual context: creator references like Chente, Rogan, Westcol, Escuela de Nada, raw/contrarian tone.
- Data context: the actual story, video notes, quotes, market/context facts, Charlie’s take.
Trading Research
Turn trading research requests into structured briefs with:
- Functional context: pair, timeframe, decision needed, risk lens.
- Visual context: preferred format, chart/screenshot references if provided.
- Data context: live market levels, news, journal notes, prior setup rules.
Basic Usage
Charlie can trigger this casually with:
- “Use context stack for this.”
- “Build the 3 layers first.”
- “Make this less AI slop.”
- “Turn this idea into a Codex-ready spec.”
- “Before building, give me functional, visual, and data context.”
What to Avoid
- Do not turn every request into a giant spec. Use the stack only when quality depends on context.
- Do not generate fake data without labeling it as sample data.
- Do not confuse visual context with decoration. It is taste, hierarchy, layout, and reference material.
- Do not treat the video as saying PRDs are dead. The better read: PRDs evolve into living context bundles.
- Do not rewrite prompts longer hoping the model “gets it.” Better context beats longer prompts.
- Do not let the model invent requirements, design, and data simultaneously.
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.

