Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Context Engineering Fundamentals

A principles skill for managing attention and evidence so long agent sessions stop dropping instructions.

Dev & CodingIntermediate★ 416⑂ 67AI score 9/10Last updated: Oct 4, 2026

What it does

Helps you diagnose and counter context quality decay in long conversations and multi-agent setups.

  • Five degradation patterns: lost-in-middle, context poisoning, distraction, confusion, and clash — each with a concrete mitigation.
  • Symptom-to-cause table: maps behaviors like "ignores earlier instructions" or "gets progressively worse" back to a likely root cause.
  • Measure before compressing: rejects fixed token thresholds and asks you to test retrieval quality at several evidence positions on your own model and task.
  • Four strategies: write state externally (path agreed with the user, ideally a gitignored scratch file), select context carefully, compress strategically, and isolate contexts via subagents.

Who it's for

  • Developers running long refactor or investigation sessions where early rules get forgotten
  • Anyone designing subagents or multi-step agent pipelines
  • Researchers and PMs who want measurable agent-quality improvements

Examples

  1. Diagnosing dropped rules: after two hours the code style constraints are ignored; you identify lost-in-middle and restate critical constraints at both the start and end.
  2. Navigating a big codebase: instead of "here are all 50 files, find the bug," narrow it to the 3 files involved in the error.
  3. Resuming long work: log each major step to an agreed, gitignored PROGRESS.md and read it back at the start of the next session to restore state.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/jamditis/claude-skills-journalism/HEAD/dev-toolkit/skills/context-engineering-fundamentals/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the dev-toolkit/skills/context-engineering-fundamentals folder from the GitHub repo jamditis/claude-skills-journalism into my ~/.claude/skills/context-engineering-fundamentals/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/jamditis/claude-skills-journalism.git && mkdir -p ~/.claude/skills && cp -r claude-skills-journalism/dev-toolkit/skills/context-engineering-fundamentals ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repository: git clone https://github.com/jamditis/claude-skills-journalism.git
  3. Create the skills directory if needed: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-skills-journalism/dev-toolkit/skills/context-engineering-fundamentals ~/.claude/skills/
  5. Restart Claude Code and confirm the skill appears in your skills list.
  6. Trigger it by saying something like "this session is long and Claude keeps ignoring my earlier instructions."