config: Instructions file for Claude Code

AGENTS.md

config AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from SpineEventEngine/config. It costs 1,708 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for SpineEventEngine/config, including how agents should orient themselves, find shared guidance, and handle commits and file changes.

In plain words
What is it for?
They are for starting work, reading project documentation, using shared skills, initializing missing submodules, and following repository procedures.
Why use it?
They help an agent follow this repository’s local rules and avoid unsafe or inconsistent changes.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionStart hook event, but also the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

This is SpineEventEngine/config's own configuration. It tells Claude Code, Codex and OpenCode how to work on config 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 config configures β†’

Reuse

Borrowing it

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

Made for: Claude Code, 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 config AGENTS.md

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

Your own site Β· 80Γ—15
<a href="https://agentmods.dev/instructions/spineeventengine/config/agents-md"><img src="https://agentmods.dev/badge/instructions/spineeventengine/config/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,708 This file is loaded in full into every session.
When invoked 1,708 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.01708 $0.01708
Opus 5.5 $0.00683 $0.00683
Sonnet 5.5 $0.00342 $0.00342
Haiku 4.5 $0.00171 $0.00171

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

Security

Grade A, and why

config 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 Β· 148 lines

How it starts

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

πŸ‘‹ Welcome, Agents!

Orientation

If .agents/project.md exists in this repository, read it first β€” it describes the language, architecture, and role of this specific repo within the Spine SDK organisation. It is a symlink to docs/project.md; to create one, copy .agents/guidelines/project.template.md to docs/project.md and fill it in. If it links to a shared requirements file (e.g. jvm-project.md), read that too.

  • Start every session by reading .agents/guidelines/quick-reference-card.md (if present).
  • For specific tasks (code review, PR prep, dependency updates, docs, etc.), prefer the matching skill from .agents/skills/.
  • Full standards reference: .agents/guidelines/_TOC.md (if present) β€” consult when a skill doesn't cover the needed context.

Shared skills, scripts, and guidelines come from the .agents/shared submodule (the [agents][agents-repo] repository) exposed via symlinks. ./config/pull initializes and floats them automatically. But a fresh git worktree (and some shallow clones / cloud checkouts) start with NO submodules checked out, so those symlinks dangle and no skills are found. Bootstrap such a tree with ./init-submodules β€” a root script that materializes the missing config-managed submodules at the tip of their branch (master for config, the tracked branch for the rest): config itself, plus every submodule that declares a tracked branch in .gitmodules (.agents/shared, and any shared submodule added later) β€” the same rule ./config/pull uses to decide what it floats. It deliberately does not stop at the commit the superproject pins for such a submodule: nothing keeps that pin current β€” ignore = all hides the submodule from git status, and ./config/pull floats the on-disk copy without committing the moved gitlink β€” so materializing the pin as-is means months-old hook scripts, skills, and guidelines. If the float fails β€” a branch the remote does not have, say β€” a warning is printed and the submodule is left wherever the steps that did succeed put it, at worst the pin, so a session still starts with a usable tree; it is not retried on a later run, which is why that warning points at ./config/pull. With no network at all the clone itself fails and the submodule is left uninitialized, as it was before. Submodules the consumer owns (a Hugo theme, a vendored library, doc-example submodules, …) declare no tracked branch and are left untouched, so the automatic SessionStart run never tries to clone β€” or fail on credentials for β€” a submodule this project does not manage. A submodule that is already checked out is left exactly as it is, which keeps repeated runs cheap and offline-safe and never rewinds a tree someone parked on a particular commit; run ./config/pull to float those. It depends on no pre-existing config submodule, so it works before ./config/pull (which lives inside the config submodule) can. Claude Code runs it automatically via a SessionStart hook; other agents and humans run it by hand.

Read the full file on GitHub Β· 148 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. 8d ago Changed Β· +12 lines Β· +235 tokens per session 7bcc9e89e93a
  2. 1mo ago First seen Β· 136 lines Β· 1,473 tokens per session scan A 85b519ef65db

Subscribe to this mod's changes

config AGENTS.md is an instructions file published in the GitHub repository SpineEventEngine/config (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,708 tokens to every session, about $0.0068 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

Other instructions, from other repositories

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 Β· 9,715 tokens

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,786 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode Β· 5,262 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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode Β· 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno Β· 3,077 tokens