by yzfly
A curated collection of resources, papers, tools, and best practices for Context Engineering in AI agents and Large Language Models (LLMs).
# Add to your Claude Code skills
git clone https://github.com/yzfly/awesome-context-engineeringGuides for using ai agents skills like awesome-context-engineering.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T17:01:08.740Z",
"npmAuditRan": true,
"pipAuditRan": true
}awesome-context-engineering is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by yzfly. A curated collection of resources, papers, tools, and best practices for Context Engineering in AI agents and Large Language Models (LLMs). It has 103 GitHub stars.
Yes. awesome-context-engineering passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/yzfly/awesome-context-engineering" and add it to your Claude Code skills directory (see the Installation section above).
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh awesome-context-engineering against similar tools.
No comments yet. Be the first to share your thoughts!
Based on votes and bookmarks from developers who liked this skill
A curated collection of resources, papers, tools, and best practices for Context Engineering in AI agents and Large Language Models (LLMs).
Context engineering is the art and science of filling the context window with just the right information at each step of an agent's trajectory.
Context Engineering is the systematic optimization of information payloads for Large Language Models (LLMs). It encompasses:
Context Engineering for AI Agents: Lessons from Building Manus
Key insights from building a production AI agent:
Claude Code Best Practices
Context Engineering for Agents
Comprehensive guide covering four key strategies:
How Long Contexts Fail and How to Fix Them
Deep dive into context failure modes and management strategies:
Guide for using AI to solve hard problems in complex codebases.
A Survey of Context Engineering for Large Language Models
The performance of Large Language Models (LLMs) is fundamentally determined by the contextual information provided during inference. This survey introduces Context Engineering, a formal discipline that transcends simple prompt design to encompass the systematic optimization of information payloads for LLMs.
Awesome Context Engineering Survey
Andrej Karpathy (OpenAI)
+1 for "context engineering" over "prompt engineering".
People associate prompts with short task descriptions you'd give an LLM in your day-to-day use. When in every industrial-strength LLM app, context engineering is the delicate art and science of filling the context window with just the right information for the next step. Science because doing this right involves task descriptions and explanations, few shot examples, RAG, related (possibly multimodal) data, tools, state and history, compacting... Too little or of the wrong form and the LLM doesn't have the right context for optimal performance. Too much or too irrelevant and the LLM costs might go up and performance might come down. Doing this well is highly non-trivial. And art because of the guiding intuition around LLM psychology of people spirits.
On top of context engineering itself, an LLM app has to:
- break up problems just right into control flows
- pack the context windows just right
- dispatch calls to LLMs of the right kind and capability
- handle generation-verification UIUX flows
- a lot more - guardrails, security, evals, parallelism, prefetching, ...
So context engineering is just one small piece of an emerging thick layer of non-trivial software that coordinates individual LLM calls (and a lot more) into full LLM apps. The term "ChatGPT wrapper" is tired and really, really wrong.
Up-to-date code documentation for LLMs and AI code editors
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License.
Special thanks to all contributors and the research community advancing the fi