World-Forge AGENTS.md

World-Forge AGENTS.md is an instructions file for Codex, OpenCode from AndreiNicu/World-Forge. It costs 1,734 tokens per session, scanned A, original, MIT.

An AGENTS.md instruction file for World Forge, a multi-agent pipeline that builds roleplay-world packages for SillyTavern. It routes coding agents to the correct workflow for running or maintaining the pipeline.

In plain words
What is it for?
Use it when running World Forge commands or editing its workflows, stages, presets, and pipeline behavior.
Why use it?
It prevents agents from loading unrelated instructions and helps them follow the right stage or maintenance process.

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/andreinicu/world-forge/agents-md
Clone the repo
git clone --depth 1 https://github.com/AndreiNicu/World-Forge

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 World-Forge AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/andreinicu/world-forge/agents-md.svg)](https://agentmods.dev/instructions/andreinicu/world-forge/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/andreinicu/world-forge/agents-md"><img src="https://agentmods.dev/badge/instructions/andreinicu/world-forge/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,734 This file is loaded in full into every session.
When invoked 1,734 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.01734 $0.01734
Opus 5 $0.00867 $0.00867
Sonnet 5 $0.00347 $0.00347
Haiku 4.5 $0.00173 $0.00173

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

Security

Grade A, and why

World-Forge 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 5d 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 · 107 lines

How it starts

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

AGENTS.md — standing instructions for agentic tools

Read this first. It applies to Kilo Code, Cline, and any other agentic IDE tool opening this workspace. It is deliberately short — it routes you to the right document for your session type instead of duplicating them.


First: which kind of session is this?

A. Running the pipeline (most sessions)

The user typed /worldforge brainstorm, /worldforge start, /worldforge revise, /worldforge resync-preset, /worldforge convert, or a resume/skip/status variant.

  • Open workflows/world-forge.md and follow it. It is the router and the source of truth for what runs when: it dispatches build runs to four stage files (world-forge-discovery.mdworld-forge-drafting.mdworld-forge-validation.mdworld-forge-construction.md). Load the router plus the active stage file only — never all of them. Revise runs live in workflows/world-forge-revise.md, convert runs in workflows/world-forge-convert.md, and preset resync / audition / post-launch routing in workflows/world-forge-postlaunch.md.
  • Kilo Code Subagent Delegation: If you are the top-level Kilo Code agent, do not run the pipeline commands inline. Instead, use your subagent delegation tool (e.g., the task tool) to route the command to the correct custom subagent:
    • /worldforge brainstorm or /world-forge brainstorm → Dispatch to WorldForge-Brainstormer (optional ideation upstream of Phase 0; writes informal Brainstorm_Notes.md, no World Seed)
    • /worldforge start or /world-forge start → Dispatch to WorldForge-Interviewer
    • /worldforge revise or /world-forge revise (with --freeform, --target, etc.) → Dispatch to WorldForge-Reviser
    • /worldforge convert or /world-forge convert → Dispatch to WorldForge-Converter
    • /worldforge resume phase[N] → Dispatch to the custom agent defined for Phase N (e.g., WorldForge-Editor for Phase 3)
  • If a dispatch or model call fails, never do the phase's work inline. Retry the dispatch; if it stays unavailable, set the Pipeline State Ledger status to BLOCKED, halt, and surface it to the user (router → DISPATCH PROTOCOL rule 1). An inline-produced phase has no agent spec, no Context Manifest, and no valid sign-off — treat its output as if the phase never ran.
  • Pipeline files are READ-ONLY at runtime: everything under agent_roles/, templates/, workflows/, plus Notes_On_functionality.md and Notes_Quick_Reference.md. You write only to the world project's Drafts/, Export/, World_Seed.md, and report files. If you find yourself about to edit a pipeline file mid-run, stop and surface it to the user — an agent went off-script.
  • Load only what each phase needs. Every agent spec begins with a 📂 CONTEXT MANIFEST listing exactly what to load. Honor it. In particular, never load Samples/, wiki/, CLAUDE.md, CHANGELOG.md, or tutorial.md during a run — they are human-facing or maintenance material and only burn context.
  • For SillyTavern runtime questions (position values, lorebook flags, token budget, prompt assembly order): consult Notes_Quick_Reference.md first. Open the full Notes_On_functionality.md only when the quick reference does not settle the question or the agent spec explicitly requires a section of it.

Read the full file on GitHub · 107 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. 5d ago First seen · 107 lines · 1,734 tokens per session scan A b0413e209d21

Subscribe to this mod's changes

World-Forge AGENTS.md is an instructions file published in the GitHub repository AndreiNicu/World-Forge (72 stars, last pushed 1mo ago), licensed MIT. It adds 1,734 tokens to every session, about $0.0087 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.