dsh-industry-research AGENTS.md

Repository instructions for a DeepSeek-based industry-research plugin. They define its plugin structure, configuration, research timeline, source registry, company scanning, and validation rules.

In plain words
What is it for?
Developing and maintaining the plugin, validating research data, tracking sources and URLs, scanning company information, and following its build and release process.
Why use it?
They give coding agents the project-specific rules needed to change or extend the plugin without breaking its data model or research records.

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/perrylink/dsh-industry-research/agents-md
Clone the repo
git clone --depth 1 https://github.com/PerryLink/dsh-industry-research

Made for: Codex, OpenCode.

Per session 1,388 This file is loaded in full into every session.
When invoked 1,388 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.01388 $0.01388
Opus 5 $0.00694 $0.00694
Sonnet 5 $0.00278 $0.00278
Haiku 4.5 $0.00139 $0.00139

Measured yesterday against content hash e1304b484d38, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dsh-industry-research 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 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.

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 · 50 lines

How it starts

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

AGENTS.md

Standalone DeepSeek Harness plugin repository (dsh-industry-research). Development follows the dsh-plugin-guide skill and the official plugin contract; this file records repo-local decisions.

Layout

  • src/index.ts — function-plugin contract (name/inject/Config/apply; NO default export). Injects skills and tools only. Publishes the packaged skills/ directory through the official FileSystemSkillProvider and registers the four tools.
  • src/config.ts — Schemastery schema + explicit resolveConfig (no hidden ?? default in run paths). Bounds fail loud at mount.
  • src/chain.ts — the ChainMap data model + validation (pure): unique node ids, legal tiers, no dangling edges, and every value requires a sourceRef (a value-less slot is an explicit gap).
  • src/timeline.ts — the timeline.jsonl store (pure fs): URL-normalized dedupe, host allow/block lists, corrupt-line tolerance with a surfaced count, and the retention cap.
  • src/sources.ts — the per-industry sources.json registry: stable S<n> refs, origins, and SHA-256 content hashes.
  • src/company.ts — company scan: text-format data files (no PDF), Markdown outlines, figure-candidate lines, card.json + card.md.
  • src/report.ts — report assembly: evidence/sections/claims building, draft validation, the mechanical auto-draft, and the builtin-fallback Markdown + manifest renderer.
  • src/engine-bridge.ts — the frozen ctx.researchReport contract (byte-identical with the sibling plugin) and the structural ctx.get('researchReport') lookup. Never injected, never imported.
  • src/web.ts — the structural ctx.web lookup, the offline/unmounted loud failures, and per-request timeout signals.
  • src/paths.ts / src/toolkit.ts — workspace containment and the <cwd>/<industryRoot>/ layout.
  • src/events.ts — typed Cordis events (industry-research/map|track|report, @mode emit).
  • src/tools/*.ts — the four defineTool definitions.
  • skills/ — the two methodology SKILL.md bundles (Chinese edition).
  • fixtures/baijiu/ — committed teaching fixtures for the keyless e2e suite (clearly fictional).
  • scripts/prepare.mjs (build), verify-self-contained.mjs, verify-artifacts.mjs, check-readme-sync.mjs (five-language gate), changelog-section.mjs, loader-runner.mjs (real Loader composition runner).
  • test/ — vitest; REAL Context/SessionStore/Session/ToolRuntime/SkillRegistry/WebRuntime from the 0.1.1-rc.2 peers. Only the pluggable edges (web providers, the optional report engine) are scripted, through the real registration mechanisms.

Read the full file on GitHub · 50 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. yesterday First seen · 50 lines · 1,388 tokens per session scan A e1304b484d38

Subscribe to this mod's changes

dsh-industry-research AGENTS.md is an instructions file published in the GitHub repository PerryLink/dsh-industry-research (24 stars, last pushed 2d ago), licensed Apache-2.0. It adds 1,388 tokens to every session, about $0.0069 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