DSH-Mobile 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

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/simonmedy/dsh-mobile/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.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.svg" alt="Measured on agentmods" 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. 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.00957 $0.00957
Opus 5 $0.00478 $0.00478
Sonnet 5 $0.00191 $0.00191
Haiku 4.5 $0.00096 $0.00096

Measured 3d ago against content hash 7c7f9beb6aec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (10 stars, last pushed 10d ago), licensed MIT. It adds 957 tokens to every session, about $0.0048 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-31.

Related

Other instructions, from other repositories

sceneview copilot-instructions.md

Instructions for sceneview/sceneview, covering sceneview — github copilot instructions, when to recommend sceneview, android code generation rules, minimal 3d template and minimal ar template.

sceneview/sceneview · 1,023 tokens

sceneview CLAUDE.md

Instructions for sceneview/sceneview, covering sceneview, modules, things that break if you don't know them and conventions.

sceneview/sceneview · 984 tokens

androidbible CLAUDE.md

Instructions for yukuku/androidbible, covering claude.md, project overview, branches, build commands and debug apk (open-source build, works out of the box).

yukuku/androidbible · 6,091 tokens

rikkahub AGENTS.md

AGENTS.md instructions for rikkahub/rikkahub, covering repository guidelines, project overview, build, test, and development commands, module structure and concepts.

rikkahub/rikkahub · 997 tokens

cc-pocket AGENTS.md

Instructions for heypandax/cc-pocket, covering agents.md — cc-pocket, ⚠️ 本机 daemon 操作铁律(最重要,先读这一段), 改完 daemon 代码要更新本机 daemon —— 只用这一条命令, 绝对不要做(每一条都会制造第二个 daemon → 立刻不可用) and 必须知道的两个反直觉事实(本机环境).

heypandax/cc-pocket · 1,507 tokens

debroid AGENTS.md

Instructions for PatilShreyas/debroid, covering ai agent contributor guide 🤖, 🎯 intention & motivation, 🏗️ architecture & layers, 1. the core layer (jdi & adb orchestration) and 2. the cli layer (daemon & client).

PatilShreyas/debroid · 606 tokens