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.
npx agentmods add instructions/creativedswork/dscode/agents-mdgit clone --depth 1 https://github.com/creativedswork/dscodeWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02232 | $0.02232 |
| Opus 5 | $0.01116 | $0.01116 |
| Sonnet 5 | $0.00446 | $0.00446 |
| Haiku 4.5 | $0.00223 | $0.00223 |
Grade C, and why
dscode AGENTS.md scanned grade C with 1 finding 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 yesterday.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf release/artifacts How it starts
The opening of the file, as written. The whole thing — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
本文件供 AI Agent 快速理解项目结构。
⛔ Pre-Flight Checklist(每次写文件前必答)
在调用 write_file / edit / overwrite_file 之前,回答以下问题:
| # | 问题 | 如果是 → 操作 |
|---|---|---|
| 1 | 本次变更是否涉及 .css / .html / .svg 的样式或布局? |
→ 走视觉设计流程 |
| 2 | 本次变更是否新增/重排/删除 HTML 元素或组件? | → 走视觉设计流程 |
| 3 | 用户是否使用了以下动词:设计、美化、重设计、改样式、调布局、重新排布、改颜色、改字体、改间距、改卡片? | → 走视觉设计流程 |
| 4 | 用户是否要求「参考某个 skill 的美学」或「按 xx 风格」? | → 走视觉设计流程 |
视觉设计流程(三步,不可跳过):
Step 1: Open Design 生成/获取视觉参考(mcp__open-design__create_project → start_run → poll get_run → get_artifact)
Step 2: taste-skill 把关实现质量(加载 design-taste-frontend 或对应 skill)
Step 3: 写代码实现
特例豁免(仅以下情况可跳过 Step 1–2):
- 纯逻辑修复(JS/TS bug fix,不涉及 UI)
- 纯内容替换(改文字不改样式)
- 已在当前 session 内完成过 Step 1–2 的同主题变更
编码规范
- TypeScript strict,2 spaces,semicolons,named exports,camelCase
- 文件 ≤300 行,一个文件一个职责
- 详见
docs/STYLE.md
文档绘图
架构图、流程图和时序图统一使用 Markdown 内嵌 Mermaid,不提交截图代替可维护的 图表源码。
- 架构和依赖关系使用
flowchart LR或flowchart TB - 调用链和跨组件交互使用
sequenceDiagram - 生命周期使用
stateDiagram-v2 - 节点 ID 使用稳定的 ASCII 标识,展示文本可以使用中文
- 复杂模块使用
subgraph分层,每张图只表达一个主要关系 - 避免 Mermaid 中的 HTML、Emoji、主题 CSS 和依赖特定渲染器的扩展语法
- 修改图表后检查方向、节点归属、箭头语义以及代码块闭合
示例:
flowchart LR
UI["UI adapter"] --> Coordinator["SessionSwitchCoordinator"]
Coordinator --> SessionManager
Coordinator --> AgentSupervisor
图像识别
支持 Vision 模型代理和 OCR 识别图片。不要以"我是文本模型"为由拒绝处理图片。
视觉设计
任何涉及可见布局、样式、组件呈现的变更(修改 CSS、新增/重排 HTML 元素、调整视觉层次、设计 card/prototype/page),禁止直接写代码——必须先通过 Open Design(mcp__open-design__*)获取或创建视觉参考。 设计分两层:视觉方向由 Open Design 提供,实现质量由 taste-skill(design-taste-frontend)保证。视觉决策经 explore→propose 流程沉淀为 change 的 design.md + prototype 后方可实施。docs/prototypes/ 仅是暂存区:apply 完成后按 prototype-workflow 逐文件决定 archive 或 delete,archive 阶段将长期资产移入按日期和 change 分组的归档目录。Session 00MRIZMZQJ 是 HTML 原型→视觉迭代→实现的标准案例。
Web 前端
修改 Web UI 前必读 openspec/specs/web-frontend/spec.md。禁止引入第三方组件库(Material UI、Ant Design 等),必须使用 web/src/index.css 的 --color-* token。视觉流程遵循上方「视觉设计」节。
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.
- yesterday First seen · 186 lines · 2,232 tokens per session scan C 25b79baa1bca
dscode AGENTS.md is an instructions file published in the GitHub repository creativedswork/dscode (10 stars, last pushed 18d ago), licensed MIT. It adds 2,232 tokens to every session, about $0.0112 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
dshcode AGENTS.md
Instructions for whitelonng/dshcode, covering agents.md, pre-release stance: foundation over blast radius, repository layout, commands and host sandbox failures.
dshcode CLAUDE.md
Instructions for whitelonng/dshcode, a project described as: Community desktop companion for DeepSeek Harness — one-click Electron app for macOS and Windows.
webflow-skills CLAUDE.md
Instructions for webflow/webflow-skills, covering project overview, repository structure, ci validation, what ci checks and 2. marketplace and plugin configs exist.
MathModelAgent CLAUDE.md
Claude Code instructions for jihe520/MathModelAgent, covering claude.md, 项目概述, commands, 后端 and 安装依赖.
rolecraft AGENTS.md
Instructions for rolecraft-sh/rolecraft, covering rolecraft — development guidelines, ⚠️ startup checklist (read before every task), workflow, interaction rules and code style.
superpowers-reasonix AGENTS.md
Instructions for christopherarter/superpowers-reasonix, covering project guidance, skills — stop. load a skill before you act, red flags — these thoughts mean stop. you are rationalizing and priority.