DSH-Mobile: Instructions file for Codex

AGENTS.md

DSH-Mobile AGENTS.md is an instructions file for Codex, OpenCode from SimonMedy/DSH-Mobile. It costs 957 tokens per session, scanned A, original, MIT.

Project instructions for DSH Mobile, an unofficial mobile client for the DeepSeek Harness web interface. They define its product limits, security rules, dependencies, and architecture.

In plain words
What is it for?
Use them when modifying the mobile client, handling web navigation or certificates, or deciding whether a change stays within the app’s supported boundary.
Why use it?
They help coding agents avoid unsupported changes, unsafe WebView navigation, and dependencies on private parts of the original web interface.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/simonmedy/dsh-mobile/agents-md"><img src="https://agentmods.dev/badge/instructions/simonmedy/dsh-mobile/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 957 This file is loaded in full into every session.
When invoked 957 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.00957 $0.00957
Opus 5.5 $0.00383 $0.00383
Sonnet 5.5 $0.00191 $0.00191
Haiku 4.5 $0.00096 $0.00096

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

Security

Grade A, and why

DSH-Mobile 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 · 87 lines

How it starts

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

AGENTS.md — DSH Mobile engineering contract

This file defines non-negotiable rules for humans and coding agents working in this repository.

Product boundary

DSH Mobile is an unofficial community client for the official DeepSeek Harness Web UI.

  • Do not fork, patch, bundle, or silently modify DeepSeek Harness.
  • Do not reimplement working DSH UI in React Native without a documented product reason.
  • Do not depend on private DSH DOM structure, CSS selectors, or undocumented RPC endpoints.
  • Do not inject JavaScript into Harness pages unless an explicit design/security review approves it.
  • A vanilla upstream dsh web instance must remain usable without a DSH Mobile plugin.

Security invariants

  • Never disable TLS/certificate verification.
  • Never accept file:, data:, javascript:, or arbitrary custom schemes in the WebView. Keep the native WebView originWhitelist broad enough that every navigation reaches our explicit policy callback instead of falling through to the library's automatic Linking behavior.
  • Keep trusted in-app navigation scoped to the configured server origin. Same-origin blob: URLs may be allowed for browser-native content/download flows.
  • Open ordinary external HTTP(S) links in the system browser.
  • Do not expose a native onMessage bridge to arbitrary WebView content.
  • Do not store passwords, API keys, cookies, access tokens, or private keys in AsyncStorage.
  • Server profiles may contain only non-secret connection metadata.
  • Do not enable Android backups for app state by default.
  • Do not add broad native permissions without a concrete feature and security justification.
  • Treat cleartext HTTP as safe only in contexts where the user intentionally relies on a trusted local/private network.

Dependency policy

  • Production dependencies are pinned to exact versions.
  • Use stable releases only. No RC, beta, preview, nightly, canary, or next tag in mainline code without a documented RFC.
  • “Newest” means newest stable compatible set, not the largest version number in isolation.
  • Before upgrading React Native, validate NativeWind, Reanimated/Worklets, WebView, navigation, Android, and iOS compatibility together.
  • New dependencies require a clear reason, active maintenance, acceptable license, and a smaller-alternative check.

Read the full file on GitHub · 87 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 · 87 lines · 957 tokens per session scan A 7c7f9beb6aec

Subscribe to this mod's changes

DSH-Mobile AGENTS.md is an instructions file published in the GitHub repository SimonMedy/DSH-Mobile (19 stars, last pushed 3d ago), licensed MIT. It adds 957 tokens to every session, about $0.0038 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-31.

Related

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

DSH-Mobile AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
DSH-Mobile AGENTS.mdSimonMedy/DSH-MobileInstructions file193d agoMITA957Codex, 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 ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot