dsh-zotero: Instructions file for Codex

AGENTS.md

dsh-zotero AGENTS.md is an instructions file for Codex, OpenCode from Vncntvx/dsh-zotero. It costs 2,022 tokens per session, scanned A, original, MIT.

Repository instructions for dsh-zotero, a plugin connected to the deepseek-harness project and its local development workspace.

In plain words
What is it for?
Finding related documentation, checking harness contracts, installing dependencies, and creating commits that follow the project's format.
Why use it?
They identify the authoritative source code and set commit and development rules, reducing the risk of changing the plugin without understanding its underlying system.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vncntvx/dsh-zotero/agents-md"><img src="https://agentmods.dev/badge/instructions/vncntvx/dsh-zotero/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,022 This file is loaded in full into every session.
When invoked 2,022 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.02022 $0.02022
Opus 5.5 $0.00809 $0.00809
Sonnet 5.5 $0.00404 $0.00404
Haiku 4.5 $0.00202 $0.00202

Measured today against content hash 826ae9cadd49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dsh-zotero 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 today.

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

How it starts

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

AGENTS.md

dsh-zotero is a DeepSeek Harness plugin: agents search, read, cite, and (when enabled and approved) write a local Zotero library through the loopback Local API (127.0.0.1:23119/api). It ships three Cordis bundle components: core, dsh-zotero/library (enabled), dsh-zotero/scholarly (disabled). Read docs/product-model.md before naming a component, surface, or scope.

Repository map

Path Ownership
src/ Host runtime: ZoteroService (ctx.zotero), HTTP transport, provider
src/local/ Local API domain pipelines behind the provider: search, browse, retrieve, export, changes, write
src/library/ dsh-zotero/library component: ctx.zoteroLibrary panel endpoints and config
src/scholarly/ dsh-zotero/scholarly component: external search, fusion, fulltext, citations (7 tools)
src/tools/ The 21 host tools: 6 read + 15 write (write tools disabled by default)
src/client/ Browser half bundled into lib/client.js: settings, 文献轨迹, 文献面板, tool cards
tests/ Seven declared lanes by ownership and verification level; rules in tests/README.md
docs/ Product and technical docs, maintained as zh/en pairs
scripts/ Build, pack verification, harness pinning, test lint, smoke probes
lib/ Generated output from tsc and esbuild; never edited

Sources of truth

  • Product model, vocabulary, component boundaries: docs/product-model.md.
  • Architecture, data flow, service layers: docs/architecture.md: read before changing services, jobs, the provider, or client surfaces.
  • Tool contracts, schemas, errors: docs/tools.md: read before changing any tool.
  • Configuration schemas and defaults: docs/configuration.md.
  • Build, launch, debug, release: docs/development.md.
  • Test lanes, fixtures, verification levels, guards: tests/README.md: required before adding, moving, or refactoring tests or helpers.
  • Upstream harness contracts: this repo is normally developed as a sibling checkout of ../deepseek-harness; its docs and types outrank this file.

Read the full file on GitHub · 82 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. today Changed · -1 lines · -38 tokens per session 826ae9cadd49
  2. 3d ago Changed · +1 lines · +28 tokens per session 4532ff524e0a
  3. 5d ago Changed · +3 lines · +224 tokens per session 11c3401479c1
  4. 6d ago Changed · +1 lines · +57 tokens per session 41028413f939
  5. 7d ago Changed · -5 lines · -167 tokens per session 0cb68b7d9bd5
  6. 8d ago Changed · +1 lines · +89 tokens per session 20a32a626e0d
  7. 9d ago Changed · +1 lines · +33 tokens per session 67e77934f428
  8. 12d ago Changed 023bc22f29cd
  9. 13d ago Changed · +4 tokens per session d32dd20a023b
  10. 14d ago First seen · 81 lines · 1,792 tokens per session scan A 429ef6161c53

Subscribe to this mod's changes

dsh-zotero AGENTS.md is an instructions file published in the GitHub repository Vncntvx/dsh-zotero (67 stars, last pushed today), licensed MIT. It adds 2,022 tokens to every session, about $0.0081 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-zotero AGENTS.md compared with instructions from other repositories

dsh-zotero AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dsh-zotero AGENTS.mdVncntvx/dsh-zoteroInstructions file67todayMITA2,022Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode