traktor: Instructions file for Claude Code

CLAUDE.md

traktor CLAUDE.md is an instructions file for Claude Code from apistol78/traktor. It costs 3,251 tokens per session, scanned B, original, MPL-2.0.

Project instructions for Traktor, a C++20 game engine and editor that uses Vulkan for graphics and Lua for scripting. They explain how its generated build projects, platforms, configurations, and third-party code are organised.

In plain words
What is it for?
Use them to build the engine, work on a single module, add sources, handle external packages, and run or test the editor on supported platforms.
Why use it?
They provide the repository-specific build and architecture details an agent needs before changing or compiling the engine. This avoids relying on standard CMake workflows that the project does not use.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 traktor CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/apistol78/traktor/claude-md"><img src="https://agentmods.dev/badge/instructions/apistol78/traktor/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,251 This file is loaded in full into every session.
When invoked 3,251 The same file — it is already loaded in full.
Security scan B 1 finding. 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.03251 $0.03251
Opus 5.5 $0.01300 $0.01300
Sonnet 5.5 $0.00650 $0.00650
Haiku 4.5 $0.00325 $0.00325

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

Security

Grade B, and why

traktor CLAUDE.md scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ./scripts/misc/install-linux-deps.sh
CLAUDE.md · 163 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

Traktor is a C++20 game engine and editor (MPL-2.0). Windows and Linux are the supported platforms. Android, iOS, macOS and Raspberry Pi projects exist but are not tested. Vulkan is the render backend: a Dx11 backend exists but is disabled in the Win64 solution. Lua is the scripting language.

Building

There is no CMake. Traktor's own SolutionBuilder generates the projects from resources/build/{Extern,Traktor}<Platform>.xms. The bootstrap tools (Traktor.SolutionBuilder.App, Traktor.Run.App) are checked in prebuilt under bin/<platform>/releasestatic/. Generated projects go to build/<platform>/ and binaries to bin/latest/<platform>/<config>/; both are gitignored. Third-party code lives in 3rdp/, which is also gitignored. It is fetched from the package list in scripts/misc/packages.run.

Configurations: DebugShared, ReleaseShared, DebugStatic, ReleaseStatic. In the Shared configurations each module is its own DLL/.so, loaded at runtime. CI builds ReleaseShared, and the run-editor scripts launch it.

Windows (CI uses the VS2026 generator; build-projects-vs2022-win64.bat also exists):

scripts\update-3rdp.bat                                      :: fetch/update 3rdp; installs a local Vulkan SDK when VULKAN_SDK is unset
scripts\build-projects-vs2026-win64.bat                      :: generate build\win64\Traktor Win64.sln
scripts\autobuild\autobuild-latest-win64.bat ReleaseShared   :: VS env via vswhere + msbuild of the whole solution
scripts\run-editor.bat                                       :: start bin\latest\win64\releaseshared\Traktor.Editor.App.exe

In Visual Studio, set Traktor.Editor.App as the startup project.

Linux:

sudo ./scripts/misc/install-linux-deps.sh
./bin/linux/releasestatic/Traktor.Run.App ./scripts/misc/update-3rdp.run
./scripts/build-projects-make-linux.sh
./scripts/autobuild/autobuild-latest-linux.sh ReleaseShared   # make -f "Extern Linux.mak", then "Traktor Linux.mak"
./scripts/run-editor.sh

Read the full file on GitHub · 163 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. 1mo ago Changed · +1 lines · +17 tokens per session bf00dc49a672
  2. 1mo ago First seen · 162 lines · 3,234 tokens per session scan B bb6a7183ab99

Subscribe to this mod's changes

traktor CLAUDE.md is an instructions file published in the GitHub repository apistol78/traktor (583 stars, last pushed yesterday), licensed MPL-2.0. It adds 3,251 tokens to every session, about $0.0130 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

traktor CLAUDE.md compared with instructions from other repositories

traktor CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
traktor CLAUDE.mdapistol78/traktorInstructions file583yesterdayMPL-2.0B3,251Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode