Qz-Miner: Instructions file for Codex

AGENTS.md

Qz-Miner AGENTS.md is an instructions file for Codex, OpenCode from QuanhuZeYu/Qz-Miner. It costs 495 tokens per session, scanned A, original, MIT.

A project instruction file for Qz-Miner, defining its collaboration rules, code boundaries, safety limits, and required checks. Qz-Miner is a Minecraft-related mining project that works with Qz-UILib.

In plain words
What is it for?
Use it as guidance when changing or reviewing Qz-Miner code, especially around server threads, parallel work, saved drops, optional modules, builds, tests, commits, and release boundaries.
Why use it?
It prevents unsafe changes to game-world state, player items, networking, threads, and shared project architecture.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to QuanhuZeYu/Qz-Miner. 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/QuanhuZeYu/Qz-Miner/5.0重构/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/QuanhuZeYu/Qz-Miner

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 Qz-Miner AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/quanhuzeyu/qz-miner/agents-md"><img src="https://agentmods.dev/badge/instructions/quanhuzeyu/qz-miner/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 495 This file is loaded in full into every session.
When invoked 495 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.00495 $0.00495
Opus 5.5 $0.00198 $0.00198
Sonnet 5.5 $0.00099 $0.00099
Haiku 4.5 $0.00049 $0.00049

Measured 4d ago against content hash 014a3382d70b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Qz-Miner 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 · 17 lines

What it actually says

Qz-Miner 协作入口

中文沟通、文档、注释与提交;技术标识符保留原文。

先读核心合同,再按规格索引阅读所属模块。正式行为只由 specs 定义,同一要求只在所属规格维护;源码、注释与测试说明实现或证据,不另立要求。实现不符时记录偏差并按规格修正;未覆盖能力保持现状,必要核心缺口先确认再补规格。

Miner 负责挖矿业务、网络、掉落、世界线程与接入;通用 UI 归 Qz-UILib,依赖方向固定为 Miner → UILib。

  • 守服务端主线程世界写、worker 只读及 ParallelTickExecutor.endStage(...) 协作屏障;预算或取消不得强杀 worker。
  • 已收集掉落失败保留或回填,不随运行态清理丢失;网络、玩家与 GPU 资源经所属主线程及统一生命周期收口,可选 Mod 安全降级且 dedicated server 可加载。
  • 先查实时 Git 与相关实现,保护既有改动;复用现有抽象,框架正确 > 动态化 > 运行效率 > 内存占用,缓存有界、可失效、可释放。
  • 当前用户授权持续有效,不重复确认;超出授权的核心边界、协议、持久数据或兼容承诺变更先说明后果并取得确认。
  • 代码改动完整 build 成功后才创建本地 commit,只提交任务文件;文档改动检查差异与引用即可,未验证行为如实说明。当前会话的禁止提交或验证限制优先。
  • runClient*、runServer*、push、tag、release 另需明确授权;破坏既有内容或历史的 Git 操作同样先确认。

只维护 specs 正式规格;源码注释只解释实现,测试只保留能防真实回归或替代实机的证据。临时计划、笔记与验证记录放忽略的 .superpowers/,不定义合同;历史发布记录保留原状。

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 Changed · -25 lines · -861 tokens per session 014a3382d70b
  2. 1mo ago Changed · +12 lines · +719 tokens per session cf68f71259e6
  3. 2mo ago First seen · 30 lines · 637 tokens per session scan A f8750b00001a

Subscribe to this mod's changes

Qz-Miner AGENTS.md is an instructions file published in the GitHub repository QuanhuZeYu/Qz-Miner (208 stars, last pushed 4d ago), licensed MIT. It adds 495 tokens to every session, about $0.0020 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-30.

Related

Qz-Miner AGENTS.md compared with instructions from other repositories

Qz-Miner AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Qz-Miner AGENTS.mdQuanhuZeYu/Qz-MinerInstructions file2084d agoMITA495Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode