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

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/hashgraph-online/awesome-codex-plugins/context-engineering
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.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.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 1,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00073 $0.01867
Opus 5 $0.00036 $0.00933
Sonnet 5 $0.00015 $0.00373
Haiku 4.5 $0.00007 $0.00187

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

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-managertech-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. today 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 (924 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 1,867 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-09-05.

Related

Other skills, from other repositories

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 · 57 tokens

vellum-memory-v3-migration

One-time migration of an existing memory-v2 concept corpus into the memory-v3 section-grain "wiki" — topical articles with a stand-alone lead and queryable sections — with loss-proof staging, assistant-reviewed authoring, and a retrieval-eval gate before cutover.

vellum-ai/vellum-assistant · 63 tokens

cross-session-handoff

Read, write, snapshot, and lock .arcgentic/state.yaml across planner, dev, audit, and optional test sessions.

Arch1eSUN/Arcgentic · 31 tokens

detecting-process-injection-techniques

Detects and analyzes process injection techniques used by malware including classic DLL injection, process hollowing, APC injection, thread hijacking, and reflective loading. Uses memory forensics, API monitoring, and behavioral analysis to identify injection artifacts. Activates for requests involving process…

adriannoes/awesome-agentic-ai · 78 tokens

auditing-aws-s3-bucket-permissions

Systematically audit AWS S3 bucket permissions to identify publicly accessible buckets, overly permissive ACLs, misconfigured bucket policies, and missing encryption settings using AWS CLI, S3audit, and Prowler to enforce least-privilege data access controls.

adriannoes/awesome-agentic-ai · 62 tokens

repo-health-check

Use when auditing a repo before changes to find the smallest safe PR, quality risks, stale docs, missing tests, ignored-file gaps, or agent setup issues. Best first skill for unfamiliar codebases.

DominikTobureto/awesome-grok-build · 44 tokens