context-engineering

context-engineering is a skill for Claude Code from rtazima/claude-proj-blueprint. It costs 77 tokens per session (1,664 once invoked), scanned A, original, MIT.

A set of methods for managing the information an AI coding assistant reads during large or long-running tasks.

In plain words
What is it for?
Use it to split large tasks, load project rules and relevant specifications when needed, search instead of reading whole files, and summarize findings.
Why use it?
It prevents the assistant from becoming overloaded with irrelevant code and helps keep its attention on the files and decisions that matter.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python memory/query.py "your question" --agent-format.

Good fit Use it to split large tasks, load project rules and relevant specifications when needed, search instead of reading whole files, and summarize findings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/rtazima/claude-proj-blueprint
agentmods
npx agentmods add skills/rtazima/claude-proj-blueprint/context-engineering

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/context-engineering/github.svg)](https://agentmods.dev/skills/rtazima/claude-proj-blueprint/context-engineering)
Your own site
<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/context-engineering"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/context-engineering/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for context-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/context-engineering"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/context-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,664 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.01664
Opus 5.5 $0.00031 $0.00666
Sonnet 5.5 $0.00015 $0.00333
Haiku 4.5 $0.00008 $0.00166

Measured 3mo ago against content hash 6abf1be85bc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

context-engineering scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/context-engineering/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context Engineering

Proactively manage what goes into the context window. More context is NOT better — the right context at the right time is better. This skill teaches techniques to keep context lean, focused, and effective.

The reactive context-guard hook warns when context is bloated (50+ tool calls). This skill prevents it from getting there in the first place.

Rules

  1. Target <2,000 lines per task — if a task requires reading more, split it
  2. Load on demand — don't read files "just in case". Read when you need them
  3. Forget aggressively — once a file is understood, stop re-reading it
  4. Prefer Grep over Read — search for what you need instead of reading entire files
  5. One concern per session — avoid mixing unrelated tasks in the same conversation
  6. Summarize, don't accumulate — after analyzing multiple files, synthesize findings into a brief summary instead of carrying all raw content

Context hierarchy

What to load first, in priority order:

Priority Source Why
1 CLAUDE.md Project rules, conventions, commands — always relevant
2 Spec modules (docs/specs/) Only the ones active for this task
3 The specific files being changed Direct context for the work
4 Test files for changed code Verify behavior expectations
5 Error output / logs Only when debugging
6 Conversation history Degrades over time — prefer files as source of truth

Techniques

1. Task decomposition

Before starting a large task, split it into independent sub-tasks:

Task: "Implement user authentication"
→ Sub-task 1: Design auth API (read: PRD, API spec)
→ Sub-task 2: Implement auth middleware (read: framework docs, existing middleware)
→ Sub-task 3: Add auth tests (read: test patterns, middleware code)
→ Sub-task 4: Update docs (read: CLAUDE.md, existing docs)

Each sub-task has its own minimal context set.

2. Strategic file reading

BAD:  Read entire src/ to "understand the codebase"
GOOD: Grep for the function name, read only the relevant file + its test

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 156 lines · 77 tokens per session scan A 6abf1be85bc9

Subscribe to this mod's changes

context-engineering is a skill published in the GitHub repository rtazima/claude-proj-blueprint (24 stars, last pushed 6mo ago), licensed MIT. It adds 77 tokens to every session and 1,664 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

context-engineering compared with skills from other repositories

context-engineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
context-engineeringrtazima/claude-proj-blueprintSkill246mo agoMITA77Claude Code
init-workspace-documentationgriddynamics/rosettaSkill382todayApache-2.0A10Claude Code
projectAlpacaLabsLLC/skills-for-architectsSkill4505d agoMITA33Claude Code
ai-agent-architecturesj4flmao/agent-skillsSkill4613d agoMITA86Claude Code, Codex
decision-memorymbeacom/adrkitSkill262d agoApache-2.0A71Claude Code
memory-continuitysoulcodex/agenticSkill1010d agoMITA30Claude Code, Codex
plan-memory-indexsoulcodex/agenticSkill1010d agoMITA40Claude Code, Codex