DSH-Launcher: Instructions file for Codex

AGENTS.md

DSH-Launcher AGENTS.md is an instructions file for Codex, OpenCode from 121103qwq/DSH-Launcher. It costs 2,172 tokens per session, scanned A, original, MIT.

A project instruction file for coding agents working on DSH-Launcher. It sets priorities, describes sub-agents, and requires checking the project before making the smallest necessary change.

In plain words
What is it for?
Guiding changes to DSH-Launcher, including how to inspect the project, coordinate sub-agents, and keep edits minimal.
Why use it?
It gives agents clear project rules and reduces unnecessary edits or work that conflicts with the repository’s design.

Instructions file for CodexOpenCode

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

This is 121103qwq/DSH-Launcher's own configuration. It tells Codex and OpenCode how to work on DSH-Launcher 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 DSH-Launcher configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 121103qwq/DSH-Launcher. 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/121103qwq/DSH-Launcher/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/121103qwq/DSH-Launcher

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 DSH-Launcher AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/121103qwq/dsh-launcher/agents-md/github.svg)](https://agentmods.dev/instructions/121103qwq/dsh-launcher/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/121103qwq/dsh-launcher/agents-md"><img src="https://agentmods.dev/badge/instructions/121103qwq/dsh-launcher/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 DSH-Launcher AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/121103qwq/dsh-launcher/agents-md"><img src="https://agentmods.dev/badge/instructions/121103qwq/dsh-launcher/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,172 This file is loaded in full into every session.
When invoked 2,172 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.02172 $0.02172
Opus 5.5 $0.00869 $0.00869
Sonnet 5.5 $0.00434 $0.00434
Haiku 4.5 $0.00217 $0.00217

Measured 2mo ago against content hash 9bba37e35ea0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

DSH-Launcher 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 2mo 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 · 318 lines

How it starts

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

DSH Launcher Agent Rules

本文件约束 AI Agent 在 DSH Launcher 仓库中的开发行为。

目标:准确完成用户要求,以最小必要改动推进项目,不擅自扩大范围。

子 agent

  • 任务可以拆分且并行有明确收益时,在开始阶段调用子 agent;简单任务直接完成,不必调用子 agent。
  • 普通独立子任务只允许使用 gpt-5.6-luna,并将推理强度显式设置为 xhigh。
  • 只有当任务确实需要多个子 agent 彼此通信、分工协调或汇总协调时,才允许使用 gpt-5.6-terra,并将推理强度显式设置为 high;不得将 Terra 用于普通独立子任务。
  • 允许使用已配置为 Luna xhigh 的 luna_worker 预设处理普通独立子任务。不得使用其他模型或推理强度组合;如果当前运行环境无法指定上述允许的组合,不调用其他子 agent 作为替代,由主 agent 完成或明确报告限制。

1. 优先级

发生冲突时按以下顺序处理:

  1. 用户最新明确要求
  2. 当前仓库实际代码和实际行为
  3. CURRENT_DESIGN.md
  4. 旧任务、旧计划、旧聊天内容

用户的新要求可以覆盖旧要求。

代码代表“现在实际是什么”,用户最新要求代表“接下来应该是什么”。

不要为了保持旧文档正确而修改本来已经正确工作的代码;应更新过时的文档。


2. 修改前先检查

修改任何已有功能前:

  • 阅读相关代码。
  • 找到真实调用链和数据流。
  • 确认已有实现是否已经满足需求。
  • 确认修改影响范围。

不要根据文件名、旧提示词或猜测直接重写。

进行任何 UI 设计、布局、导航或交互修改前,必须先查看 PCL2 的对应界面,以及该界面对应的功能和操作关系,确认信息层级、操作顺序和状态反馈后再设计 DSH Launcher。PCL2 只作为交互和信息架构参考,不复制其代码、素材或视觉资源。

如果仓库实际情况和任务描述不同,以实际代码为基础实现用户目标。


3. 最小修改原则

始终选择能够完成目标的最小实现。

禁止因为一个局部需求:

  • 重写整个模块;
  • 更换已有技术方案;
  • 大规模调整目录;
  • 修改无关接口;
  • 重命名大量代码;
  • 顺手清理正常工作的代码;
  • 引入新的框架或大型依赖。

如果现有实现可以小改完成任务,就小改。


4. 不要擅自增加功能

只实现用户明确要求的功能,以及实现该功能不可缺少的部分。

未经用户明确要求,不要自行加入:

  • 与当前目标无关的安全机制;
  • 审计系统;
  • 企业级权限体系;
  • 复杂抽象层;
  • 插件框架;
  • 多后端兼容层;
  • 遥测系统;
  • 大型日志系统;
  • 云端功能;
  • 多用户功能;
  • 复杂迁移机制;
  • 为“未来可能需要”准备的架构。

不要以“以后可能有用”为理由增加复杂度。


5. 保留已有工作成果

已经正常工作的功能默认保留。

修改方向后:

  1. 找到真正冲突的部分;
  2. 修改冲突部分;
  3. 删除已经确定无用的旧实现;
  4. 保留其他正常代码。

不要因为设计变化重新实现整个功能。


6. CURRENT_DESIGN.md

CURRENT_DESIGN.md 是当前有效设计的简短记录。

它不是:

  • PRD;
  • 开发日志;
  • changelog;
  • 聊天摘要;
  • 完整技术文档。

它应该记录:

  • 当前真正采用的关键设计;
  • 已确认的数据关系;
  • 会影响后续开发的重要约束;
  • 已确定但尚未完成的重要方向。

更新规则:

  • 根据实际代码和用户最新要求更新;
  • 旧方案被替代后直接删除;
  • 不保留已经废弃的设计作为有效内容;
  • 不把猜测写成事实;
  • 不机械复制用户长提示词;
  • 保持简短。

局部需求变化只更新受影响章节。


7. DSH Launcher 当前基本原则

除非用户以后明确修改:

  • 产品名称为 DSH Launcher。
  • 首要平台为 Windows。
  • Manager 独立于现有 DeepSeek Desktop。
  • UI 可以参考 PCL2 的信息架构和交互方式,但代码、视觉和素材独立实现。
  • 支持管理 installed DSh 和 source DSh 项目。
  • 不同实例的数据应按现有设计保持必要隔离。
  • Manager 自身数据和 DSh 实例数据分开。
  • Plugin、Skill、MCP、Workflow、Preset 可以统一展示,但底层不必强行采用相同实现。
  • 一条 DSh 对话本质上是一个独立文件。
  • Manager 负责对话管理,实例负责打开和继续对话。
  • 对话可能存在启用或关闭上下文压缩的状态。
  • 不要假设关闭压缩可以恢复已经被压缩的历史。
  • 未明确要求前,不实现多个 DSh 进程同时写同一个对话文件。

Read the full file on GitHub · 318 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. 2mo ago First seen · 318 lines · 2,172 tokens per session scan A 9bba37e35ea0

Subscribe to this mod's changes

DSH-Launcher AGENTS.md is an instructions file published in the GitHub repository 121103qwq/DSH-Launcher (30 stars, last pushed 3d ago), licensed MIT. It adds 2,172 tokens to every session, about $0.0087 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-08-30.

Related

DSH-Launcher AGENTS.md compared with instructions from other repositories

DSH-Launcher AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
DSH-Launcher AGENTS.md121103qwq/DSH-LauncherInstructions file303d agoMITA2,172Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot