WorkBuddy-Dream-Skin: Instructions file for Codex

AGENTS.md

WorkBuddy-Dream-Skin AGENTS.md is an instructions file for Codex, OpenCode from zhouwei713/WorkBuddy-Dream-Skin. It costs 826 tokens per session, scanned A, original, MIT.

Repository instructions for AI coding assistants maintaining the WorkBuddy Dream Skin project. They define protected parts, the editing process, and required checks before handoff.

In plain words
What is it for?
Use them when editing the skin’s CSS or scripts, changing visible behavior, injecting or refreshing the skin, and running the required PowerShell, Node.js, payload, and audit checks.
Why use it?
They reduce the risk of breaking the desktop app, security boundaries, skin recovery, or audit behavior during automated changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Codex.

This is zhouwei713/WorkBuddy-Dream-Skin's own configuration. It tells Codex and OpenCode how to work on WorkBuddy-Dream-Skin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WorkBuddy-Dream-Skin configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zhouwei713/WorkBuddy-Dream-Skin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zhouwei713/WorkBuddy-Dream-Skin/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/zhouwei713/WorkBuddy-Dream-Skin

Made for: Codex, OpenCode.

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 WorkBuddy-Dream-Skin AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zhouwei713/workbuddy-dream-skin/agents-md/github.svg)](https://agentmods.dev/instructions/zhouwei713/workbuddy-dream-skin/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/zhouwei713/workbuddy-dream-skin/agents-md"><img src="https://agentmods.dev/badge/instructions/zhouwei713/workbuddy-dream-skin/agents-md/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 WorkBuddy-Dream-Skin AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zhouwei713/workbuddy-dream-skin/agents-md"><img src="https://agentmods.dev/badge/instructions/zhouwei713/workbuddy-dream-skin/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 826 This file is loaded in full into every session.
When invoked 826 The same file — it is already loaded in full.
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.00826 $0.00826
Opus 5 $0.00413 $0.00413
Sonnet 5 $0.00165 $0.00165
Haiku 4.5 $0.00083 $0.00083

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

Security

Grade A, and why

WorkBuddy-Dream-Skin AGENTS.md 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 10d 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.

AGENTS.md · 65 lines

What it actually says

WorkBuddy Dream Skin 维护说明(AI 协作者约束)

本文件面向 AI 协作者(Claude、Codex、Cursor 等):约束大模型在编辑本仓库时不能破坏什么必须先读什么收工前必须跑什么

人类贡献者应该看 CONTRIBUTING.md(PR 流程、preflight 门禁、如何加主题)而不是这里。

This file is written for AI collaborators. Human contributors: please read CONTRIBUTING.md instead.

本文件供后续大模型和维护者使用。开始修改前请先阅读 README.mddocs/ARCHITECTURE.mddocs/DEVELOPMENT.md.github/AI/HANDOFF.md

不可破坏的边界

  1. 保持外置 CDP 注入架构。
  2. 禁止修改 WorkBuddy 安装目录、WorkBuddy.exeapp.asar、签名文件或更新程序。
  3. CDP 必须只绑定本机回环地址。
  4. 使用端口前必须确认监听进程就是目标 WorkBuddy.exe
  5. 装饰节点必须保持 pointer-events: none
  6. 恢复流程必须可用,重复注入必须保持幂等。
  7. 不得让审计脚本发送消息、保存设置、创建内容、执行授权、升级账号或退出登录。

修改流程

  1. 先用 rg 查找相关 CSS、脚本和已有兼容规则。
  2. 使用 apply_patch 修改文本文件。
  3. 用户已有图片、主题和审计产物应当保留。
  4. 修改用户可见行为时更新 CHANGELOG.mdVERSION
  5. 运行 PowerShell 语法检查、Node.js 语法检查和载荷检查。
  6. 启动或刷新换肤后必须运行 verify-workbuddy-skin.ps1
  7. 涉及页面或悬停状态时,执行对应专项审计。
  8. 如果调测过程中启动了临时服务,任务结束前必须关闭。

验证最低要求

$errors = @()
Get-ChildItem .\scripts\*.ps1 | ForEach-Object {
  [void][Management.Automation.Language.Parser]::ParseFile($_.FullName, [ref]$null, [ref]$parseErrors)
  $errors += $parseErrors
}
if ($errors.Count) { $errors | Format-List; exit 1 }

node --check .\scripts\injector.mjs
node .\scripts\injector.mjs --check-payload
.\scripts\verify-workbuddy-skin.ps1

根据修改范围追加下列审计:

.\scripts\audit-workbuddy-hover.ps1
.\scripts\audit-workbuddy-composer.ps1
.\scripts\audit-workbuddy-scenes.ps1
.\scripts\audit-workbuddy-pages.ps1
.\scripts\audit-workbuddy-details.ps1
.\scripts\audit-workbuddy-settings.ps1

版本和交接

  1. VERSION 必须与注入器报告的版本一致。
  2. 新主题必须能够保存为命名预设,并通过一条命令切换。
  3. 新增主题字段时要保持 Schema 1 的兼容转换。
  4. 修改架构、运行目录、命令或已知限制时同步更新 .github/AI/HANDOFF.md
  5. 不要把原始参考仓库内容重新放回本项目。参考仓库位于相邻目录 ../Codex-Dream-Skin-main
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. 10d ago First seen · 65 lines · 826 tokens per session scan A bcffb76518ec

Subscribe to this mod's changes

WorkBuddy-Dream-Skin AGENTS.md is an instructions file published in the GitHub repository zhouwei713/WorkBuddy-Dream-Skin (24 stars, last pushed 1mo ago), licensed MIT. It adds 826 tokens to every session, about $0.0041 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-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens