SurvivalcraftTemplateModForAPI: Instructions file for Codex

AGENTS.md

SurvivalcraftTemplateModForAPI AGENTS.md is an instructions file for Codex, OpenCode from XiaofengdiZhu/SurvivalcraftTemplateModForAPI. It costs 619 tokens per session, scanned A, original, MIT.

Project instructions for building Survivalcraft mods with the Survivalcraft API, a programming interface for extending the game. They explain how to use a reference example, build the mod, and run it.

In plain words
What is it for?
Use them when creating or modifying Survivalcraft mods, setting up a .NET project, restoring dependencies, or testing a packaged mod.
Why use it?
They reduce guesswork about project setup, required files, build steps, and interface layouts.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

Nothing to install: this file belongs to XiaofengdiZhu/SurvivalcraftTemplateModForAPI. 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/XiaofengdiZhu/SurvivalcraftTemplateModForAPI/API1.9/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/XiaofengdiZhu/SurvivalcraftTemplateModForAPI

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xiaofengdizhu/survivalcrafttemplatemodforapi/agents-md"><img src="https://agentmods.dev/badge/instructions/xiaofengdizhu/survivalcrafttemplatemodforapi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 619 This file is loaded in full into every session.
When invoked 619 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.00619 $0.00619
Opus 5 $0.00309 $0.00309
Sonnet 5 $0.00124 $0.00124
Haiku 4.5 $0.00062 $0.00062

Measured 8d ago against content hash 4e7a020d5b01, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

SurvivalcraftTemplateModForAPI 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 8d 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 · 25 lines

What it actually says

SurvivalcraftTemplateModForAPI 生存战争插件版示例模组

这是生存战争插件版(Survivalcraft API)示例模组的源码仓库

如果你需要参考此项目,请直接阅读 README.md 即可

如果用户要求你制作/开发生存战争插件版(Survivalcraft API)的模组,请按以下步骤执行:

  1. 首先,请不要修改 SurvivalcraftTemplateModForAPI 中的文件,因为它是一个参考用的示例项目,你应该创建自己的项目,然后将该示例项目作为参考
  2. 检测你的工作目录是否有生存战争插件版源码,即 SC-SPM/SurvivalcraftApi,如果没有,请自行完成 git clone
  3. 创建模组项目,或者继续在用户的模组项目文件夹工作
  4. 阅读本项目的 README.md,然后阅读具体的文件作为参考,实现用户的需求
  5. 该示例项目不足以支撑你完成工作时,请参考生存战争插件版源码,推荐首先阅读其中的 AGENTS.md

模组运行方法(以 Windows 系统为例)

  1. 先构建(dotnet build)生存战争插件版的 Survivalcraft.Windows/Survivalcraft.Windows.csproj
  2. 构建你的模组,将打包好的 .scmod 文件放置到 SurvivalcraftApi/Survivalcraft.Windows/bin/Debug/Mods 目录中
  3. 运行 SurvivalcraftApi/Survivalcraft.Windows/bin/Debug/Survivalcraft.exe,告知用户游戏已启动,之后能从控制台看到所有日志输出

注意事项

  • 新建模组项目的 .csproj 文件时,请务必参考 SurvivalcraftTemplateModForAPI/SurvivalcraftTemplateModForAPI.csproj,作为最佳实践
  • 如果还原(dotnet restore)你的模组项目时出现找不到 SurvivalcraftAPI.Survivalcraft 的问题,请复制粘贴 nuget.config 文件到你的项目文件夹,然后重写还原
  • 编写界面布局文件时,不要瞎猜属性,而是要阅读部件定义,避免写出不存在的部件/属性、错误的属性值;另外,建议根据需求,主动参考功能相近的其他部件的布局文件和源码文件
  • 帮用户安装 .NET 10 SDK 时,可能会遇到网速/设备较慢而在过程中返回会话的情况,此时应根据日志检查是否安装出错,如果没有错误,则说明确实还在安装,请提醒用户等待安装完成后告知你;克隆 SC-SPM/SurvivalcraftApi 仓库时同理
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. 8d ago First seen · 25 lines · 619 tokens per session scan A 4e7a020d5b01

Subscribe to this mod's changes

SurvivalcraftTemplateModForAPI AGENTS.md is an instructions file published in the GitHub repository XiaofengdiZhu/SurvivalcraftTemplateModForAPI (11 stars, last pushed 1mo ago), licensed MIT. It adds 619 tokens to every session, about $0.0031 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

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens