context-engineering SKILL.md skillA

context-engineering from n-n-code/n-n-code-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add n-n-code/n-n-code-skills/context-engineering@git:20261101.cb769e1

Pins git:20261101.cb769e1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
n-n-code/n-n-code-skills
Path
.agents/skills/context-engineering/SKILL.md
Versions recorded
3
Latest version
git:20261101.cb769e1, committed Nov 1, 2026
First version recorded
May 5, 2026
Size
12,578 bytes
Repository stars
4
License
MIT

Workflow for context packets, context audits, compaction, handoffs, session memory, and deciding what AI-agent context to load, retrieve, trim, summarize, refresh, or omit. Use for context rot, context flooding, stale or missing context, task switching, and long-running agent sessions. Do not use when prompt wording, repo file discovery for a story card, or AGENTS.md authoring is the main artifact.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Context Engineering

Treat context as a finite working set. Load the smallest high-signal set of
information that can produce the desired behavior, then refresh it as the task
evolves.

## When To Use

- prepare a focused context packet before an agent starts work
- audit why an agent is hallucinating APIs, ignoring conventions, repeating
  mistakes, or losing the thread
- decide what repo files, docs, examples, tool outputs, conversation history, or
  external references should be loaded now versus retrieved later
- compact or hand off a long-running task without losing decisions, constraints,
  failures, or next actions
- switch between major tasks and remove stale or irrelevant context

## Not For

- rewriting a system prompt, developer prompt, few-shot examples, or structured
  output contract as the main artifact; use `prompt-engineering`
- finding likely implementation files for a story card; use `story-repo-scout`
- creating or revising repo-wide agent instructions; use `agents-md-generator`
- broad approach comparison or product framing where context quality is not the
  main problem; use `thinking`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add n-n-code/n-n-code-skills/context-engineering@sha256:4a7052f13cc4fa8d

The line at the top of this page pins the label git:20261101.cb769e1, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_taopq5ics72yku73.svg)](https://markdownregistry.com/a/art_taopq5ics72yku73)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 5, 2026 and Nov 1, 2026, about one every 90 days.

versioncommittedcommitsizeaudit
git:20261101.cb769e1 latest2026-11-01 cb769e1 12,578 BA view · diff
git:20260904.6c1f6992026-09-04 6c1f699 12,359 BA view · diff
git:20260505.e0582e62026-05-05 e0582e6 11,813 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (12578 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

n-n-code/n-n-code-skills · 4 stars · license MIT · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_taopq5ics72yku73
GET https://markdownregistry.com/api/v1/resolve?ref=n-n-code/n-n-code-skills/context-engineering
GET https://markdownregistry.com/api/v1/blob/4a7052f13cc4fa8d7adb8af4a81bbf967510d183507bdf02a9099206eac43729

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from n-n-code/n-n-code-skills

agent-skill-generator SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/agent-skill-generator/SKILL.md · Design, create, revise, audit, validate, or optimize reusable agent skills and SKILL.md packages across platforms. Use…
git:20260904.6c1f699 · audit A · 4 stars
agentic-sdlc-improvement SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/agentic-sdlc-improvement/SKILL.md · Evaluate and improve repeated agentic software-development workflows using development traces, diffs, review feedback…
git:20261101.92f3a41 · audit A · 4 stars
agentic-sdlc SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/agentic-sdlc/SKILL.md · Coordinate end-to-end or resumed multi-stage software delivery from intent through implementation, verification…
git:20261101.7019333 · audit A · 4 stars
agents-md-generator SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/agents-md-generator/SKILL.md · Create, draft, audit, revise, or migrate root and nested repository AGENTS.md files from repo evidence. Use when the…
git:20260904.6c1f699 · audit A · 4 stars
backend-guidance SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/backend-guidance/SKILL.md · Baseline overlay for routine thin HTTP, gRPC, or message-consumer implementation and review; use…
git:20260904.6c1f699 · audit A · 4 stars
backend-systems-guidance SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/backend-systems-guidance/SKILL.md · Canonical overlay for non-trivial server-side networked implementation and review involving multi-layer architecture…
git:20260904.6c1f699 · audit A · 4 stars
bounded-delegation SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/bounded-delegation/SKILL.md · Delegate bounded factual file analysis or reference-based code and test generation through available workers, with…
git:20261101.b825530 · audit A · 4 stars
chrome-devtools-axi SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/chrome-devtools-axi/SKILL.md · Use the chrome-devtools-axi CLI to operate Chrome or investigate live page behavior. Default for ad hoc browsing…
git:20260905.4e6a0aa · audit A · 4 stars
coding-guidance-bash SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/coding-guidance-bash/SKILL.md · Bash implementation and review guidance for automation and repository scripts; not for one-off command execution, POSIX…
git:20260904.6c1f699 · audit A · 4 stars
coding-guidance-cpp SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/coding-guidance-cpp/SKILL.md · C++ implementation and review guidance for modern ownership, type safety, API design, and tests; use…
git:20260904.6c1f699 · audit A · 4 stars
coding-guidance-go-tui SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/coding-guidance-go-tui/SKILL.md · Go terminal UI implementation and review guidance for interactive Bubble Tea state machines. Includes Huh only when…
git:20260822.4a165ab · audit A · 4 stars
coding-guidance-go SKILL.md skill
n-n-code/n-n-code-skills · .agents/skills/coding-guidance-go/SKILL.md · Go implementation and review guidance for non-interactive CLIs, libraries, workers, and services; use…
git:20260904.6c1f699 · audit A · 4 stars

Every file in n-n-code/n-n-code-skills

Other files named context-engineering

context-engineering SKILL.md skill
addyosmani/agent-skills · skills/context-engineering/SKILL.md · Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching…
git:20261031.583df9a · audit A · 113,383 stars
context-engineering SKILL.md skill
mvschwarz/openrig · packages/daemon/specs/agents/shared/skills/process/context-engineering/SKILL.md · Use when designing, reviewing, or debugging how an agent's context window gets filled, pruned, or shared — choosing…
git:20260826.bdc404f · audit A · 8,636 stars
context-engineering SKILL.md skill
mvschwarz/openrig · skills/_canonical/process/context-engineering/SKILL.md · Use when designing, reviewing, or debugging how an agent's context window gets filled, pruned, or shared — choosing…
git:20260826.9a4df1e · audit A · 8,636 stars
context-engineering SKILL.md skill
rohitg00/pro-workflow · skills/context-engineering/SKILL.md · Master the four operations of context engineering — Write, Select, Compress, Isolate. Manage token budgets, compaction…
git:20260926.d6ee15f · audit A · 2,944 stars
context-engineering SKILL.md skill
a5c-ai/babysitter · library/methodologies/gsd/skills/context-engineering/SKILL.md · Context window monitoring and budget management. Keeps orchestrator at 15-30% context usage while subagents get full…
v1.0.0 · audit A · 1,896 stars
context-engineering SKILL.md skill
a5c-ai/babysitter · library/methodologies/everything-claude-code/skills/context-engineering/SKILL.md · Dynamic context injection, mode switching (dev/review/research), selective loading, and strategic compaction for token…
git:20260601.da7723a · audit A · 1,896 stars
context-engineering SKILL.md skill
hashgraph-online/awesome-codex-plugins · plugins/Colin4k1024/tsp/skills/context-engineering/SKILL.md · 项目级上下文工程框架:通过 PROJECT / REQUIREMENTS / ROADMAP / STATE 四层文档 为每个任务建立结构化上下文,控制 token 预算,防止上下文腐烂, 确保跨会话连续性。与…
git:20260512.6523792 · audit A · 1,537 stars
context-engineering SKILL.md skill
shashankswe2020-ux/whoop-mcp · .github/skills/context-engineering/SKILL.md · Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching…
git:20260410.1a22ea0 · audit A · 179 stars

Browse by kind, by grade A, or by owner.