dota2bot-OpenHyperAI: Instructions file for Claude Code

CLAUDE.md

dota2bot-OpenHyperAI CLAUDE.md is an instructions file for Claude Code from forest0xia/dota2bot-OpenHyperAI. It costs 742 tokens per session, scanned A, original, MIT.

Project instructions for Lua bot scripts that play Dota 2 in custom lobbies and support a specified game patch and hero set.

In plain words
What is it for?
Checking for new Dota 2 patches, updating bot behavior and data, and following the project's documented change process.
Why use it?
They point agents to the architecture and patch-update guides, reducing the risk of changes that do not match the current game version.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code.

This is forest0xia/dota2bot-OpenHyperAI's own configuration. It tells Claude Code how to work on dota2bot-OpenHyperAI 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 dota2bot-OpenHyperAI configures →

Reuse

Borrowing it

Nothing to install: this file belongs to forest0xia/dota2bot-OpenHyperAI. 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/forest0xia/dota2bot-OpenHyperAI/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/forest0xia/dota2bot-OpenHyperAI

Made for: Claude Code.

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 dota2bot-OpenHyperAI CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/forest0xia/dota2bot-openhyperai/claude-md/github.svg)](https://agentmods.dev/instructions/forest0xia/dota2bot-openhyperai/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/forest0xia/dota2bot-openhyperai/claude-md"><img src="https://agentmods.dev/badge/instructions/forest0xia/dota2bot-openhyperai/claude-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 dota2bot-OpenHyperAI CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/forest0xia/dota2bot-openhyperai/claude-md"><img src="https://agentmods.dev/badge/instructions/forest0xia/dota2bot-openhyperai/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 742 This file is loaded in full into every session.
When invoked 742 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.00742 $0.00742
Opus 5.5 $0.00297 $0.00297
Sonnet 5.5 $0.00148 $0.00148
Haiku 4.5 $0.00074 $0.00074

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

Security

Grade A, and why

dota2bot-OpenHyperAI CLAUDE.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 2mo 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.

CLAUDE.md · 61 lines

How it starts

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

Dota 2 Bot Scripts - Claude Code Guide

Project Overview

This is the dota2bot-OpenHyperAI project -- Lua bot scripts for Dota 2 that run in custom lobbies. Currently supports Patch 7.41/7.41a with 127 heroes.

Key Documentation

Read these docs FIRST before making any changes. They contain everything needed to make targeted updates without scanning the entire repo.

Common Tasks

Check for New Patches

To check if there are patches we haven't updated for:

  1. Fetch https://www.dota2.com/datafeed/patchnoteslist?language=english
  2. Compare latest version against "Last updated for" in docs/PATCH_UPDATE_GUIDE.md
  3. If newer patch exists, follow the update process below

Patch Update (most common)

When user says "update for patch X.XX" or provides patch notes:

  1. Read docs/PATCH_UPDATE_GUIDE.md for the step-by-step process
  2. Fetch patch data: https://www.dota2.com/datafeed/patchnotes?version=X.XX&language=english
  3. Fetch d2vpkr data (shops.txt, neutral_items.txt) for authoritative item/ability names
  4. Categorize changes: STRUCTURAL (need code) vs NUMBER-ONLY (game API handles) vs TALENT SWAPS
  5. Always verify ability names on Liquipedia -- patch note summaries can be wrong
  6. Follow the checklist in order: items -> hero builds -> abilities -> neutrals -> actives -> map changes
  7. Always update TS sources for any TS-generated Lua files changed (see ARCHITECTURE.md Section 13)

Add a New Hero

  1. Copy a similar existing hero from bots/BotLib/ as template
  2. Add to FretBots/HeroNames.lua, FunLib/aba_hero_roles_map.lua, FunLib/spell_list.lua
  3. See "New Heroes" section in docs/PATCH_UPDATE_GUIDE.md

Fix a Hero's Item Build

  1. Read bots/BotLib/hero_[name].lua
  2. Edit the sRoleItemsBuyList['pos_N'] arrays
  3. Items use item_[internal_name] format -- check FunLib/aba_item.lua for valid names

Read the full file on GitHub · 61 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. 2mo ago First seen · 61 lines · 742 tokens per session scan A 8cd4a5ae602b

Subscribe to this mod's changes

dota2bot-OpenHyperAI CLAUDE.md is an instructions file published in the GitHub repository forest0xia/dota2bot-OpenHyperAI (301 stars, last pushed 6mo ago), licensed MIT. It adds 742 tokens to every session, about $0.0030 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.

Related

dota2bot-OpenHyperAI CLAUDE.md compared with instructions from other repositories

dota2bot-OpenHyperAI CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dota2bot-OpenHyperAI CLAUDE.mdforest0xia/dota2bot-OpenHyperAIInstructions file3016mo agoMITA742Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode