context-engineering

context-engineering is a skill for Claude Code, Codex from karthikrshet/aiskills. It costs 73 tokens per session (2,155 once invoked), scanned A, original, no licence file.

A method for deciding which information an AI model should receive, how to shorten it, and what to prioritise within its context limit.

In plain words
What is it for?
Use it to plan and improve the information passed to an AI model, especially in applications that use document retrieval or agent steps.
Why use it?
It helps prevent important details from being pushed out by unnecessary information when building AI applications, retrieval systems, or agent workflows.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/karthikrshet/aiskills/context-engineering
Any agent
npx skills add karthikrshet/aiskills --skill context-engineering
Clone the repo
git clone --depth 1 https://github.com/karthikrshet/aiskills

Made for: Claude Code, Codex.

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/karthikrshet/aiskills/context-engineering.svg)](https://agentmods.dev/skills/karthikrshet/aiskills/context-engineering)
Your own site
<a href="https://agentmods.dev/skills/karthikrshet/aiskills/context-engineering"><img src="https://agentmods.dev/badge/skills/karthikrshet/aiskills/context-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,155 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00073 $0.02155
Opus 5 $0.00036 $0.01077
Sonnet 5 $0.00015 $0.00431
Haiku 4.5 $0.00007 $0.00215

Measured 4d ago against content hash 84ae6cff8021, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

skills/ai/context-engineering/context-engineering/SKILL.md · 231 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 4d ago First seen · 231 lines · 73 tokens per session scan A 84ae6cff8021

Subscribe to this mod's changes

context-engineering is a skill published in the GitHub repository karthikrshet/aiskills (3 stars, last pushed 15d ago), with no licence file. It adds 73 tokens to every session and 2,155 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

context-budget

Use when you need to check the current session's context usage and get recommendations for compaction or continuation.

mattmre/EVOKORE-MCP-PUBLIC · 24 tokens

cortivex-context-compression

Compress agent outputs for efficient context handoff between pipeline nodes while preserving actionable information.

AhmedRaoofuddin/Cortivex · 23 tokens

RecallMax

Enhances AI memory capabilities with long-context support.

christopherlhammer11-ai/recallmax · 13 tokens

project-wiki

组织和维护 Vibe Coding 项目的 wiki 文档体系。当用户要求初始化/重构 wiki 结构、进入新项目且 wiki/ 不存在、需要诊断和修复文档腐化、或需要管理 specs/refs/reviews 子目录的生命周期时触发。.

GeminiLight/MindOS · 63 tokens

simplemem-skill

Store and retrieve conversation memories across sessions. Use when asked to 'remember this', 'save conversation', 'add to memory', 'what did we discuss about...', 'query memories', or 'import chat history'. Also use proactively to preserve important dialogue context and decisions.

aiming-lab/SimpleMem · 58 tokens

mindos-zh

MindOS 是用户的本地知识助手,也是跨会话、跨 Agent 共享的知识库。它保存决策记录、会议纪要、SOP、 排错经验、架构选型、调研结论和偏好设置。 仅 mindRoot 知识库内任务。不用于:改代码仓库、项目源码、KB 外路径。 核心概念:空间、指令(INSTRUCTION.md)、技能(SKILL.md);笔记可承载指令与技能。 触发场景:保存或记录任何内容、搜索历史笔记或上下文、更新或编辑文件、整理或重组文件结构、 执行SOP或工作流、捕获对话中的决策、复盘或总结经验、追加表格或CSV数据、跨Agent交接上下文、 提炼经验教训、同步关联文档、查找之前是否讨论过某事、查询历史决策、查找模板或SOP、…

GeminiLight/MindOS · 490 tokens