codex-before-dev

codex-before-dev is a skill for Claude Code, Codex from yinanli1917-cloud/searching-apple-notes. It costs 27 tokens per session (171 once invoked), scanned A, original, MIT.

A preparation checklist for coding tasks that loads the task description and relevant project specifications before code changes begin.

In plain words
What is it for?
Use it before implementation, refactoring, or changes to the task harness to identify the current task and read only the applicable specifications.
Why use it?
It reduces the risk of implementing the wrong requirement or missing rules that apply to the files being changed.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also installed under .codex/. Also seen: mentions Codex.

Part of the searching-apple-notes plugin — 9 skills shipped together

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/yinanli1917-cloud/searching-apple-notes/codex-before-dev
Any agent
npx skills add yinanli1917-cloud/searching-apple-notes --skill codex-before-dev
Clone the repo
git clone --depth 1 https://github.com/yinanli1917-cloud/searching-apple-notes

Made for: Claude Code, Codex.

Or install searching-apple-notes, the plugin that ships this one along with the rest of its 9 skills.

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 codex-before-dev

README.md
[![agentmods](https://agentmods.dev/badge/skills/yinanli1917-cloud/searching-apple-notes/codex-before-dev.svg)](https://agentmods.dev/skills/yinanli1917-cloud/searching-apple-notes/codex-before-dev)
Your own site
<a href="https://agentmods.dev/skills/yinanli1917-cloud/searching-apple-notes/codex-before-dev"><img src="https://agentmods.dev/badge/skills/yinanli1917-cloud/searching-apple-notes/codex-before-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 171 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.1 $0.00027 $0.00171
Opus 5 $0.00014 $0.00086
Sonnet 5 $0.00005 $0.00034
Haiku 4.5 $0.00003 $0.00017

Measured 5d ago against content hash 36e8d7edb1f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

codex-before-dev 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 5d 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.

.codex/skills/codex-before-dev/SKILL.md · 29 lines

What it actually says

Before Development

Load the minimum context needed for implementation.

  1. Confirm the task:

    python3 scripts/codex_harness.py task current
    
  2. Load implement context:

    python3 scripts/codex_harness.py task agent-context <task> implement
    
  3. Read relevant spec indexes only:

    python3 scripts/codex_harness.py spec list
    
  4. Read the specific spec files that apply to the files you will touch.

Do not load dashboard, handoff bodies, or broad source previews unless they are needed for the current implementation decision.

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. 5d ago First seen · 29 lines · 27 tokens per session scan A 36e8d7edb1f9

Subscribe to this mod's changes

codex-before-dev is a skill published in the GitHub repository yinanli1917-cloud/searching-apple-notes (2 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 171 once invoked, about $0.0001 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

apple-notes

Use this skill when the user wants to interact with Apple Notes on macOS - creating, searching, reading, updating, deleting, organizing, or formatting notes and folders. This skill provides access to Apple Notes through MCP tools and includes safe formatting guidance.

sweetrb/apple-notes-mcp · 54 tokens

notes-snapshot-control-room

This skill should be used when the user asks to "connect Apple Notes Snapshot to a host", "run notesctl mcp", "diagnose why Apple Notes Snapshot failed to attach", "separate AI Diagnose from MCP", or "verify the control-room proof path". It teaches local preflight, MCP wiring, capability boundaries, and proof-first…

xiaojiou176-open/notebackup · 85 tokens

aws-wechat-article-main

公众号运营|微信公众号|公众号一条龙|公众号全流程|自媒体运营|wechat automation|content pipeline|AIGC workflow — 公众号一条龙运营总控入口,选题→写稿→审稿→排版→配图→发布串联 8 个子 skill,单条指令完成整篇图文从 0 到上架。面向公众号小编、自媒体、品牌内容。触发词分层:一条龙流程「一条龙」「完整流程」「从头做」「从 0…

aiworkskills/wechat-article-skills · 359 tokens

aws-wechat-article-images

公众号封面|公众号配图|公众号插图|AI 生图 — 公众号 AI 封面与配图生成,按文章标题与内容自动匹配画风,一稿多方案,多风格预设可复用。面向公众号编辑、自媒体、品牌设计。触发词:「封面」「配图」「插图」「生成图片」「给文章加图」「做个封面」「文章插图」「配个图」。不写正文只发一组图请走 aws-wechat-sticker;需要多环节串联(写+审+排+配图+发)请走 aws-wechat-article-main。.

aiworkskills/wechat-article-skills · 144 tokens

aws-wechat-article-writing

公众号写稿|长文写作|文章润色|改写续写 — 公众号长文 AI 写作,从话题或提纲生成完整初稿,支持改写、续写、润色、开头结尾优化,可调 DeepSeek / GPT / Claude 或由 Agent 代写。面向自媒体作者、公众号运营、品牌文案。触发词(单独触发仅限对已有稿子的修改):「改写」「润色」「续写」「续一段」「往下写」「接着这段写」「重写开头」「改结尾」「调整语气」「这段润色下」「把这段改活泼点」「优化用词」「用 GPT 重写」「用 DeepSeek 重写」。新写一篇请走 aws-wechat-article-main(main 内部会调用本 skill 生成初稿);需要多环节串联(写+审+排+配图+发)也走…

aiworkskills/wechat-article-skills · 218 tokens

aws-wechat-article-assets

公众号素材|业务资料库|预设包|.aws 预设包|主题包|品牌包|aiworkskills.cn — 用户业务资料库与预设包管理:业务资料按产品名组织在 .aws-article/products/{产品名}/(介绍 .md 直挂产品根 + 配图归 images/ 子目录含同名说明 .md),AI 与用户对话产出业务介绍内容时引导用户保存;图片入库走 productimageingest.py --product --stem 。导入 .aws ZIP 预设包(本地文件或 https://aiworkskills.cn//.aws URL)合并主题/配色/字体配置到…

aiworkskills/wechat-article-skills · 258 tokens