TEngine is a Unity framework for building games, providing modules for asynchronous work, hot updates, asset management, configuration tables, and user interfaces. It is for Unity developers and teams making commercial projects across desktop, mobile, web, and WeChat Mini Game targets, with catalogue skills supporting its AI-assisted development workflow.
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.
git clone --depth 1 https://github.com/Alex-Rachel/TEngineWrote 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/commands/alex-rachel/tengine/capture)<a href="https://agentmods.dev/commands/alex-rachel/tengine/capture"><img src="https://agentmods.dev/badge/commands/alex-rachel/tengine/capture/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/commands/alex-rachel/tengine/capture"><img src="https://agentmods.dev/badge/commands/alex-rachel/tengine/capture.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.00000 | $0.02866 |
| Opus 5.5 | $0.00000 | $0.01146 |
| Sonnet 5.5 | $0.00000 | $0.00573 |
| Haiku 4.5 | $0.00000 | $0.00287 |
Grade A, and why
capture 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 23d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- capture — 100% identical, 19 lines differ
How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Capture commands
Commands that render a camera, the Scene View, or a UI Toolkit element to a PNG and return it base64-encoded so an agent can "see" the editor (or a running player) without a display.
capture game_view
Render the game view to a PNG. Returns it inline as base64, unless output-path is set — then the result is path-only (no base64) so agent tool results stay small; pass include-inline-image=true to get both.
source selects what is captured. screen (default) reads the game view's own render target, so the PNG matches what the Game window shows: at its true pixel resolution, independent of OS display scaling, and with the on-screen color tone preserved. In Play Mode that includes Screen Space - Overlay UI (HUDs, menus, damage numbers on overlay canvases); in Edit Mode the capture works the same way and simply contains no overlay UI, because none exists until runtime. screen reads the play mode view last in use: the Game view, or the Device Simulator when that is the one in use. When none is open, screen opens a Game view, leaves it open so later captures read it directly, and the result's message says so. A Game view in a background tab is drawn once and the tab that was in front is put back; keyboard focus never moves. The Game view is repainted before every read, so a capture shows the scene as it is now, in Edit Mode too. This works in batchmode too: a Game view opened there renders the game, overlay UI included, and keeps rendering every frame. In Play Mode a newly opened view may not have rendered a frame yet: an omitted source then captures a camera for this call, and an explicit source=screen fails; either way, capturing again reads the screen.
camera renders a single camera off-screen instead. It works without a Game view window and lets you target a specific camera by name, but overlay canvases composite straight to the screen and never render through a camera. With a Scriptable Render Pipeline (URP or HDRP), the capture draws them on top itself with ScriptableRenderContext.DrawUIOverlay. overlay controls this: auto (default) draws them only for a camera that renders to the screen, never over a camera that feeds a render texture (a minimap, say); true draws them for any camera; false never. The Built-in Render Pipeline cannot draw them into a camera capture: overlay=true then says so in the result's message. When the scene has overlay UI to draw, the camera renders at the Game view's size, where that UI is laid out, and the image is then scaled to width × height, so the UI matches the game; as with screen, a different aspect ratio stretches the image. Without overlay UI the camera renders at width × height directly. Passing camera=<name> without a source selects camera for you, so a named camera is never silently ignored by a screen capture.
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.
- 23d ago Changed · +44 lines 0de667322340
- 2mo ago First seen · 53 lines · 0 tokens per session scan A 77d480c9e2b0
capture is a command published in the GitHub repository Alex-Rachel/TEngine (2,418 stars, last pushed 12d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,866 tokens. 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-23.
capture compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| captureAlex-Rachel/TEngine | Command | 2.4k | 12d ago | MIT | A | 0 | Claude Code |
| godotHermeticOrmus/LibreGameDev-Claude-Code | Command | 5 | 2mo ago | MIT | A | 32 | Claude Code |
| multiplayerHermeticOrmus/LibreGameDev-Claude-Code | Command | 5 | 2mo ago | MIT | A | 21 | Claude Code |
| unityHermeticOrmus/LibreGameDev-Claude-Code | Command | 5 | 2mo ago | MIT | A | 24 | Claude Code |
| playtestHermeticOrmus/LibreGameDev-Claude-Code | Command | 5 | 2mo ago | MIT | A | 17 | Claude Code |
| game-uiHermeticOrmus/LibreGameDev-Claude-Code | Command | 5 | 2mo ago | MIT | A | 17 | Claude Code |
| level-designHermeticOrmus/LibreGameDev-Claude-Code | Command | 5 | 2mo ago | MIT | A | 18 | Claude Code |