dsh-maze AGENTS.md

dsh-maze AGENTS.md is an instructions file for Codex, OpenCode from lamost423/dsh-maze. It costs 469 tokens per session, scanned A, original, MIT.

Project-specific instructions for maintaining and releasing a browser-based DeepSeek client plugin. They describe the code structure, testing command, build process, and how npm publishing relates to GitHub releases.

In plain words
What is it for?
Use them when working on this plugin's maze upload page, live data handling, tests, builds, or releases. The instructions are specific to the lamost423/dsh-maze project.
Why use it?
They give coding agents the project context needed to change the right files and avoid releasing mismatched versions. They also document how the plugin's browser page and live conversation data fit together.

Instructions file for CodexOpenCode

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 instructions/lamost423/dsh-maze/agents-md
Clone the repo
git clone --depth 1 https://github.com/lamost423/dsh-maze

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-maze AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lamost423/dsh-maze/agents-md.svg)](https://agentmods.dev/instructions/lamost423/dsh-maze/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/lamost423/dsh-maze/agents-md"><img src="https://agentmods.dev/badge/instructions/lamost423/dsh-maze/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 469 This file is loaded in full into every session.
When invoked 469 The same file — it is already loaded in full.
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.00469 $0.00469
Opus 5 $0.00234 $0.00234
Sonnet 5 $0.00094 $0.00094
Haiku 4.5 $0.00047 $0.00047

Measured 4d ago against content hash 3d6de3c147e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dsh-maze 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 4d 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 · 18 lines

What it actually says

AGENTS.md

Single-package DSH client plugin. Read README.md for what it does.

  • src/index.ts is the no-op Host half; the real plugin is the browser bundle from src/client/, wired through package.json's dsh.client and inserted by cordis.patch.yml.
  • src/client/maze-upload.html is a self-contained page (inline CSS/JS, no imports) rendered via <iframe srcDoc>. Parsing, idle-gap folding, layout, and playback all live in its inline script; tsdown.config.ts inlines it as a string and splices the fzstd UMD build into its /*__FZSTD_UMD__*/ placeholder at bundle time.
  • src/client/live-data.ts converts the live ConversationSnapshot into the same maze payload the page renders; verdicts settle only from arrived tool results (tests in tests/live-data.test.ts).
  • Verify with pnpm check (typecheck + vitest + build). Peers pin to the published @deepseek-ai/dsh-*@0.1.0-rc.x line, not to a harness checkout.

Releasing

npm is the primary distribution channel — a GitHub release without a matching npm publish means every npm install silently serves the old version. Both channels must move together.

  • pnpm release:status — compares package.json, the npm latest tag, and the newest GitHub release. Exits non-zero when they disagree. Run it after every release.
  • pnpm release:prep — guards (clean tree, version not already on npm, npm login still valid), then runs pnpm check, packs, verifies the tarball, and prints the two commands left to run.
  • The final npm publish and gh release create are manual: npm forces two-factor auth on publish and redacts the auth URL's credential from both stdout and its debug log, so an agent cannot complete it.
  • Pass the tarball as ./artifacts/<name>.tgz. Without the leading ./, npm reads it as a git shorthand and tries ssh://[email protected]/artifacts/..., which fails.
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. 4d ago First seen · 18 lines · 469 tokens per session scan A 3d6de3c147e9

Subscribe to this mod's changes

dsh-maze AGENTS.md is an instructions file published in the GitHub repository lamost423/dsh-maze (64 stars, last pushed yesterday), licensed MIT. It adds 469 tokens to every session, about $0.0023 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

DSH-better-sidebar AGENTS.md

AGENTS.md instructions for omdsh-dev/DSH-better-sidebar, covering dsh-better-sidebar 仓库规则(agents), 1. 仓库硬约束(必须遵守), 2. ci 挂载冒烟(plugin-mount job / pnpm test:mount), 3. dsh 0.1.2 适配要点(0.1.2-rc.1+ 基线) and 4. npm 发版(github release → npm publish).

omdsh-dev/DSH-better-sidebar · 3,543 tokens

awesome-dsh-plugin AGENTS.md

Instructions for beancookie/awesome-dsh-plugin, covering agents.md, 内容来源(source of truth), 目录结构(每个文件夹的作用), 添加插件 and 整理流程(分类与数量).

beancookie/awesome-dsh-plugin · 2,209 tokens

dsh-config-manager AGENTS.md

Instructions for xiajiajun516/dsh-config-manager, covering agents.md — dsh config manager 仓库协作指南, 🗣️ 语言与交流, 📦 项目概览, 🗂️ 仓库结构与职责 and ui 分层(改动前必读,避免放错层).

xiajiajun516/dsh-config-manager · 7,380 tokens

causal-memory CLAUDE.md

Claude Code instructions for JingxuanC/causal-memory, covering causal memory mcp integration, causal memory integration, after acting on a decision and observing the result, when something fails unexpectedly and when a recorded lesson turns out to be wrong.

JingxuanC/causal-memory · 680 tokens

dsh-industry-research AGENTS.md

AGENTS.md instructions for PerryLink/dsh-industry-research, covering agents.md, layout, hard rules applied here, checks and release.

PerryLink/dsh-industry-research · 1,386 tokens

star-dsh-desktop AGENTS.md

AGENTS.md instructions for dabaicai001/star-dsh-desktop, covering agents.md — starhub 协作指引, 项目是什么, 架构一句话, 目录结构 and 技术栈速查.

dabaicai001/star-dsh-desktop · 3,050 tokens