context-engineering

context-engineering is a skill for Claude Code, Codex from hashgraph-online/awesome-codex-plugins. It costs 73 tokens per session (1,867 once invoked), scanned A, original, Apache-2.0.

A project documentation framework that records a project's goals, requirements, roadmap, and current state in separate files. It also keeps those documents within set size limits for an AI coding agent.

In plain words
What is it for?
Use it to start or refresh project context, record planning results, restore work after a break, and trim project documents when they exceed the available context space.
Why use it?
It prevents important decisions from being lost between sessions and keeps shared project information from becoming too large or unclear. This helps several agents work from the same background.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to start or refresh project context, record planning results, restore work after a break, and trim project documents when they exceed the available context space.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hashgraph-online/awesome-codex-plugins/context-engineering
About the project

Awesome Codex Plugins is a curated catalogue and marketplace of installable plugins, skills, and related resources for OpenAI Codex and ChatGPT. It helps people find, create, validate, and submit extensions for Codex workflows across its app, command-line interface, and IDE extensions. The catalogue add-ons are the plugins, skills, agents, and hooks listed or supported by this project.

hashgraph-online/awesome-codex-plugins · 1,352 stars · on GitHub · hol.org

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.

Any agent
npx skills add hashgraph-online/awesome-codex-plugins --skill context-engineering
Clone the repo
git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins

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/hashgraph-online/awesome-codex-plugins/context-engineering/github.svg)](https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/context-engineering)
Your own site
<a href="https://agentmods.dev/skills/hashgraph-online/awesome-codex-plugins/context-engineering"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/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/hashgraph-online/awesome-codex-plugins/context-engineering"><img src="https://agentmods.dev/badge/skills/hashgraph-online/awesome-codex-plugins/context-engineering.svg" alt="Reviewed on agentmods" width="80" 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 1,867 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.01867
Opus 5.5 $0.00029 $0.00747
Sonnet 5.5 $0.00015 $0.00373
Haiku 4.5 $0.00007 $0.00187

Measured 1mo ago against content hash 8d43deeca681, 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 1mo 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.

plugins/Colin4k1024/tsp/skills/context-engineering/SKILL.md · 199 lines

How it starts

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

Context Engineering

用途

  • 为复杂、多会话、多角色任务建立 结构化项目上下文,保证每轮 agent 启动时拿到完整且受控的项目背景。
  • 与 context-lifecycle(运行时记忆管理)互补:本 skill 管 项目级文档层(L3+),context-lifecycle 管 运行时窗口层(L0-L2)。
  • 控制文档 token 预算,避免"文档越来越多、上下文越来越模糊"的腐烂问题。

触发信号

  • 新任务 intake 阶段需要建立或刷新项目上下文。
  • /team-intake、/team-plan 输出后需要落盘为结构化文档。
  • 跨会话恢复时需要快速加载上下文而不丢失关键决策。
  • 多个 agent 并行工作需要共享一致的项目背景。
  • 上下文窗口利用率接近阈值,需裁剪文档到预算范围。

四层文档模型

docs/artifacts/{slug}/
├── PROJECT.md          # 项目愿景、边界、关键假设   (≤ 3000 tokens)
├── REQUIREMENTS.md     # 范围化需求与验收标准       (≤ 5000 tokens)
├── ROADMAP.md          # 阶段路线与里程碑           (≤ 3000 tokens)
└── STATE.md            # 运行时状态:决策、阻塞、进度 (≤ 4000 tokens)

PROJECT.md — 项目愿景(≤ 3000 tokens)

不变频率最低,只在项目方向调整时更新。

# {Project Name}

## 愿景
一句话说明项目存在的原因和最终目标。

## 边界
- In Scope: ...
- Out of Scope: ...

## 关键假设
- [ ] 假设 1(待验证 / 已验证 / 已推翻)
- [ ] 假设 2

## 技术栈
- 语言 / 框架 / 基础设施

## 利益相关方
- 角色: 关注点

REQUIREMENTS.md — 范围化需求(≤ 5000 tokens)

每个 /team-intake 结束后由 product-manager 或 tech-lead 刷新。

# Requirements — {slug}

## 用户故事
- US-001: 作为…我希望…以便…
  - AC: 验收标准 1, 2, 3

## 功能需求
| ID | 需求 | 优先级 | 状态 |
|----|------|--------|------|

## 非功能需求
| 维度 | 目标 | 验证方式 |

## 约束
- 技术约束
- 业务约束
- 时间约束

ROADMAP.md — 阶段路线(≤ 3000 tokens)

里程碑粒度的阶段划分,由 project-manager 维护。

# Roadmap — {slug}

## 当前阶段
Phase N: {name} — {status}

## 阶段划分
| Phase | 名称 | 关键产出 | 完成标准 | 状态 |
|-------|------|----------|----------|------|

## 依赖图
Phase 1 → Phase 2 → Phase 3
              ↘ Phase 2b ↗

STATE.md — 运行时状态(≤ 4000 tokens)

频率最高,每个 /team-execute、/team-review、/pause 后刷新。

# State — {slug}

## 最后更新
{ISO timestamp} by {role}

## 当前焦点
当前正在推进的工作项。

## 决策日志(最近 10 条)
| # | 日期 | 决策 | 原因 | 影响 |
|---|------|------|------|------|

## 阻塞项
| 阻塞 | Owner | 状态 |

## 进度快照
| 工作项 | 状态 | 负责角色 | 备注 |

## 下一步
1. ...
2. ...

Token 预算管理

预算分配

文档 上限 占上下文比例 更新频率
PROJECT.md 3000 tokens ~1.5% 极低
REQUIREMENTS.md 5000 tokens ~2.5% 低
ROADMAP.md 3000 tokens ~1.5% 低
STATE.md 4000 tokens ~2% 高
合计 15000 tokens ~7.5% —

Read the full file on GitHub · 199 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. 1mo ago First seen · 199 lines · 73 tokens per session scan A 8d43deeca681

Subscribe to this mod's changes

context-engineering is a skill published in the GitHub repository hashgraph-online/awesome-codex-plugins (1,352 stars, last pushed yesterday), licensed Apache-2.0. It adds 73 tokens to every session and 1,867 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-09-05.

Related

Other skills, from other repositories

awesome-chatgpt

Search this repository's awesome-ChatGPT-repositories list for open-source ChatGPT and LLM projects such as RAG frameworks, agents, chatbots, CLIs, prompts, and browser extensions. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, or AI development; not for editing or adding list…

taishi-i/awesome-ChatGPT-repositories · 79 tokens

awesome-chatgpt-search

Search 2500+ curated ChatGPT and LLM open-source repositories. Use when the user asks to find tools, libraries, or repos related to ChatGPT, LLMs, RAG, agents, langchain, NLP, AI development, or any open-source AI tooling.

taishi-i/awesome-ChatGPT-repositories · 63 tokens

ijfw-handoff

Session handoff generation and loading. Trigger: session end, context full, /handoff.

FerroxLabs/ijfw · 23 tokens

compress

Vault alignment engine. Detects and fixes 5 types of structural misalignments: broken backlinks, concept fragmentation, entity miscategorization, duplicated entities, and misnamed entities. Delegates all writes to /bedrock:preserve. Supports interactive mode (user confirmation) and cron mode (autonomous mechanical…

ccplugins/awesome-claude-code-plugins · 104 tokens

drawio-reconstruction

Reconstructs reference images into high-fidelity, editable Draw.io files with rendered previews: native Draw.io elements carry text and structure, SVG covers simple icons that match the reference, and cropped or transparent PNGs preserve complex visuals. Use when the user wants a diagram image, research figure…

HKUSTDial/Supervisor-Skills · 102 tokens

memorise

Capture key learnings, patterns, gotchas, or context as persistent memories.

jmylchreest/aide · 18 tokens