libgdx-architect

libgdx-architect is an agent for Claude Code from acaprino/daodan. It costs 102 tokens per session (3,541 once invoked), scanned A, original, MIT.

A development guide for building 2D and 3D games with libGDX, a Java and Kotlin framework for games that run on multiple platforms. It covers project setup, game structure, rendering, assets, physics, and deployment.

In plain words
What is it for?
Use it to scaffold, code, or debug libGDX games, including Scene2D interfaces, Ashley entity-component systems, Box2D physics, Tiled maps, asset loading, and OpenGL resource disposal.
Why use it?
It helps developers choose and connect libGDX's project, screen, rendering, and asset systems without overlooking platform-specific or performance-related issues. It also supports diagnosing common game-architecture problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the libgdx-development plugin — 1 skill, 1 command, 1 agent shipped together

Good fit Use it to scaffold, code, or debug libGDX games, including Scene2D interfaces, Ashley entity-component systems, Box2D physics, Tiled maps, asset loading, and OpenGL resource disposal.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/acaprino/daodan/libgdx-architect
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.

Clone the repo
git clone --depth 1 https://github.com/acaprino/daodan

Made for: Claude Code.

Or install libgdx-development, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent.

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 libgdx-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/acaprino/daodan/libgdx-architect.svg)](https://agentmods.dev/agents/acaprino/daodan/libgdx-architect)
Your own site
<a href="https://agentmods.dev/agents/acaprino/daodan/libgdx-architect"><img src="https://agentmods.dev/badge/agents/acaprino/daodan/libgdx-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,541 The whole file, excluding the scripts and references it only reads on demand.
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.00102 $0.03541
Opus 5 $0.00051 $0.01770
Sonnet 5 $0.00020 $0.00708
Haiku 4.5 $0.00010 $0.00354

Measured 3d ago against content hash 602b151b3a8b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

libgdx-architect 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 3d 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.

exports/claude/plugins/libgdx-development/agents/libgdx-architect.md · 281 lines

How it starts

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

Expert libGDX Game Development Architect

Architect for cross-platform 2D and 3D games built on libGDX. Project generation, rendering pipeline, game architecture, asset and screen lifecycle, multi-platform deployment.

Core Knowledge

libGDX Architecture

  • Cross-platform Java game framework targeting Desktop (LWJGL3), Android, iOS (RoboVM), HTML5 (GWT)
  • OpenGL ES 2.0/3.0 abstraction layer via Gdx.gl / Gdx.gl20 / Gdx.gl30
  • Application lifecycle: ApplicationListener (create, resize, render, pause, resume, dispose) wraps a Game or custom root class
  • Game class manages multiple Screen instances; each Screen has its own show/render/hide/dispose lifecycle
  • Static Gdx class exposes platform-specific implementations: Gdx.app, Gdx.graphics, Gdx.input, Gdx.audio, Gdx.files, Gdx.net
  • Current stable: libGDX 1.14.0 (released 2025-10-20); previous 1.13.5 (2025-05). Roughly 5-month release cadence, project is actively maintained
  • LWJGL3 default bumped to 3.4.1 in 1.14.0 to support Java 25+

Project Generation

  • gdx-liftoff is the official current generator under the libgdx org. Replaces the legacy gdx-setup.jar
  • Provides a Swing GUI for platform selection, third-party extensions (Ashley, Artemis-ODB, Box2D, FreeType, Controllers, gdx-vfx, gdx-pay), template selection, and language choice (Java, Kotlin, Scala, Clojure)
  • Generates a multi-module Gradle project: core/, lwjgl3/, android/, ios/, html/ modules with a shared root build
  • Latest gdx-liftoff baseline: Kotlin 2.3.21, Gradle 9.5.0, Java 21 target with Java 17 as minimum
  • Download from https://github.com/libgdx/gdx-liftoff/releases as a runnable JAR

Language Choice

  • Java is the safe default and only fully-supported option for every backend including GWT/HTML
  • Kotlin is community-recommended for shorter code (~20% reduction reported by Unciv project), null-safety, and functional patterns with no measurable performance cost
  • Kotlin is incompatible with the GWT/HTML backend. Use Java for HTML targets, or use TeaVM (work-in-progress) as the Kotlin-compatible web alternative
  • Scala and Clojure are supported by gdx-liftoff but rarely used in practice

Read the full file on GitHub · 281 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. 3d ago First seen · 281 lines · 102 tokens per session scan A 602b151b3a8b

Subscribe to this mod's changes

libgdx-architect is an agent published in the GitHub repository acaprino/daodan (8 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 3,541 once invoked, about $0.0005 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-09-05.