MagicLib AGENTS.md

Project instructions for Hendrix-Shen/MagicLib, covering its agent guidance, Java compatibility, preprocessing system, and folder structure.

In plain words
What is it for?
Use it when working on that MagicLib project and needing its technical constraints or structure.
Why use it?
It gives coding agents the project-specific rules needed to make compatible changes.

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/hendrix-shen/magiclib/agents-md
Clone the repo
git clone --depth 1 https://github.com/Hendrix-Shen/MagicLib

Made for: Codex, OpenCode.

Per session 1,927 This file is loaded in full into every session.
When invoked 1,927 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.01927 $0.01927
Opus 5 $0.00963 $0.00963
Sonnet 5 $0.00385 $0.00385
Haiku 4.5 $0.00193 $0.00193

Measured 2d ago against content hash 820d01907041, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

MagicLib 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 2d 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 · 208 lines

The source is not reproduced here

Licensed LGPL-3.0

The repository is licensed LGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 2d ago First seen · 208 lines · 1,927 tokens per session scan A 820d01907041

Subscribe to this mod's changes

MagicLib AGENTS.md is an instructions file published in the GitHub repository Hendrix-Shen/MagicLib (103 stars, last pushed 2d ago), licensed LGPL-3.0. It adds 1,927 tokens to every session, about $0.0096 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

legacy-lands-library AGENTS.md

Instructions for LegacyLands/legacy-lands-library, covering ✅ 开发与协作规范(学习与编程行为指南), 1. 当你尝试编写一个新功能、添加新类或书写 javadoc 时, 2. 你必须制定清晰的 todo 任务清单,并在开发完成后遵循以下规则:, 3. 命名规范(类、字段、变量、方法) and 4. 数据处理优先使用 stream api(尤其是过滤、映射、聚合等操作).

LegacyLands/legacy-lands-library · 5,163 tokens

tiny-world-builder AGENTS.md

AGENTS.md instructions for jasonkneen/tiny-world-builder, covering agents.md, project shape, repo-local skills, house style and mental model.

jasonkneen/tiny-world-builder · 2,585 tokens

minecraft-agent-skills AGENTS.md

AGENTS.md instructions for Jahrome907/minecraft-agent-skills, covering minecraft-agent-skills, editing, skill standards and repository boundaries.

Jahrome907/minecraft-agent-skills · 246 tokens

minecraft-java-fabric-claude-plugin CLAUDE.md

Instructions for chapmanjw/minecraft-java-fabric-claude-plugin, covering claude.md, commands, architecture, the three-tier, no-trivial model (0.9.0) and terrain core (tools/terrain/).

chapmanjw/minecraft-java-fabric-claude-plugin · 2,351 tokens

opanel AGENTS.md

AGENTS.md instructions for opanel-mc/opanel, covering opanel, 技术栈, 项目结构, 项目规范 and 命名规范.

opanel-mc/opanel · 2,455 tokens

Trident.Net AGENTS.md

Instructions for TridentCore/Trident.Net, covering trident.net — agent guide, project overview, repository layout, core concepts and cli project.

TridentCore/Trident.Net · 592 tokens