Borrowing it
Nothing to install: this file belongs to benjaminkomen/TibiaWikiApi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/benjaminkomen/TibiaWikiApi/master/AGENTS.mdgit clone --depth 1 https://github.com/benjaminkomen/TibiaWikiApiWrote 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.
[](https://agentmods.dev/instructions/benjaminkomen/tibiawikiapi/agents-md)<a href="https://agentmods.dev/instructions/benjaminkomen/tibiawikiapi/agents-md"><img src="https://agentmods.dev/badge/instructions/benjaminkomen/tibiawikiapi/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.
<a href="https://agentmods.dev/instructions/benjaminkomen/tibiawikiapi/agents-md"><img src="https://agentmods.dev/badge/instructions/benjaminkomen/tibiawikiapi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02541 | $0.02541 |
| Opus 5.5 | $0.01016 | $0.01016 |
| Sonnet 5.5 | $0.00508 | $0.00508 |
| Haiku 4.5 | $0.00254 | $0.00254 |
Grade A, and why
TibiaWikiApi 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TibiaWikiApi — agent notes
What this is
Spring Boot REST API over TibiaWiki (Fandom). Public Swagger: https://tibiawiki.dev. Deployed to GCP Cloud Run (cloudbuild.yaml). Resource list and ?expand=true: README.md.
Stack
- JDK 25 (
java.toolchainand KotlinjvmTarget25 inbuild.gradle.kts). Gradle wrapper 9.7.1 — always use./gradlew. - Kotlin 2.4.10, Spring Boot 4.1.1.
- Layout: production, unit, and integration code is Kotlin under
src/main/kotlin,src/test/kotlin, andsrc/integrationTest/kotlin.
Build / run
JDK 25 required.
./gradlew build
./gradlew bootRun # http://localhost:8080 — default profile is live jwiki → Fandom
GitHub Actions Gradle workflow is .github/workflows/buid.yml (filename typo; do not rename unless asked).
Tests (Gradle)
CI (buid.yml) runs:
./gradlew ktlintCheck jacocoTestReport
jacocoTestReport depends on check, which also runs the integrationTest source set. A slice of those ITs (FixturesProfileIT) uses @ActiveProfiles("fixtures") and the real FixtureArticleRepository — no mocks and no Fandom. ktlint is the style checker — do not add a style guide.
Cloud Run uses the default profile (live JwikiArticleRepository, LOGGING_JSON=true). When changing beans, constructors, logging, or Boot config: add or keep a default (or prod-like) profile IT that constructs real beans (DefaultProfileWikiBeansIT). Fixtures and @MockitoBean alone do not cover that path. Prod env flags that affect logging (e.g. LOGGING_JSON=true) must be exercised in CI (LoggingJsonActuatorIT).
The Bun harness in regression/ is not part of the Gradle test task.
Docker ENTRYPOINT / PORT (critical)
Cloud Run injects PORT. Bind it in Spring only: server.port=${PORT:8080} in application.properties. The production image ENTRYPOINT must be exec-form java with no $ / $$ / sh -c:
ENTRYPOINT ["java", "-Dserver.address=0.0.0.0", "-jar", "/project/TibiaWikiApi.jar"]
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.
- 1mo ago Changed · +3 lines · +66 tokens per session 0594e418f84e
- 1mo ago Changed · +5 lines · +98 tokens per session a6c723bd51bf
- 1mo ago Changed · -9 lines · -50 tokens per session 238a5e740172
- 1mo ago Changed · +18 lines · +178 tokens per session c004b44bd537
- 1mo ago Changed · +7 lines · +65 tokens per session d7eaa1448721
- 2mo ago First seen · 123 lines · 2,184 tokens per session scan A 5ed95042c8f5
TibiaWikiApi AGENTS.md is an instructions file published in the GitHub repository benjaminkomen/TibiaWikiApi (41 stars, last pushed 4d ago), licensed MIT. It adds 2,541 tokens to every session, about $0.0102 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.
TibiaWikiApi AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| TibiaWikiApi AGENTS.mdbenjaminkomen/TibiaWikiApi | Instructions file | 41 | 4d ago | MIT | A | 2,541 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |