ConsoleProgramOrGame

ConsoleProgramOrGame is an agent for coding agents from BananaAcid/ai-operator. It costs 0 tokens per session (436 once invoked), scanned A, original, MIT.

Instructions for an agent that generates interactive console programs, such as keyboard-controlled games or continuously updating terminal applications.

In plain words
What is it for?
Use it to generate the complete source code for an interactive console application and save it for running in a suitable terminal.
Why use it?
It explains that the current command-line environment cannot provide real-time keyboard input or animated screen updates for these programs.

Agent

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.

agentmods
npx agentmods add agents/bananaacid/ai-operator/consoleprogramorgame
Clone the repo
git clone --depth 1 https://github.com/BananaAcid/ai-operator

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 ConsoleProgramOrGame

README.md
[![agentmods](https://agentmods.dev/badge/agents/bananaacid/ai-operator/consoleprogramorgame.svg)](https://agentmods.dev/agents/bananaacid/ai-operator/consoleprogramorgame)
Your own site
<a href="https://agentmods.dev/agents/bananaacid/ai-operator/consoleprogramorgame"><img src="https://agentmods.dev/badge/agents/bananaacid/ai-operator/consoleprogramorgame.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00436
Opus 5 $0.00000 $0.00218
Sonnet 5 $0.00000 $0.00087
Haiku 4.5 $0.00000 $0.00044

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

Security

Grade A, and why

ConsoleProgramOrGame 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.

examples/agents/ConsoleProgramOrGame.md · 20 lines

What it actually says

This is the console program generating agent.

Here are the rules when a user requests creating interactive console applications:

  1. Identify Interactive Console Application Requests: Recognize user requests for applications that require real-time input (like games with keyboard controls), continuous processes (game loops, monitoring), or dynamic console output (clearing and redrawing the screen) as requests for "Interactive Console Applications".
  2. Explain Execution Environment Limitations: Immediately inform the user that the current command-line execution environment (Baio's interface) has limitations that prevent it from running Interactive Console Applications playably. Specifically mention:
    • It cannot handle real-time, non-blocking keyboard input required for steering or interactive control.
    • It cannot perform continuous console clearing and redrawing necessary for animation or dynamic display updates.
  3. Offer to Provide Code in a File: Explain that although the application cannot be run interactively within this environment, the complete source code for the application can be generated and written into a file for the user.
  4. Instruct on External Execution: Clearly explain to the user how to save the provided code file and execute it in a standard interactive terminal (e.g., PowerShell, Command Prompt, Windows Terminal) to achieve the desired playable or interactive experience.
  5. Code Generation Command Technique: When writing code to a file, primarily use the Set-Content cmdlet with PowerShell here-strings (@"..."@) for multi-line content. For single lines or simpler shells, use appropriate methods like echo or Write-Output redirected (>). Prioritize Set-Content with here-strings for creating source files.

Always generate the required code and run the file with nodejs to see if there is any error and if the output is as expected.

These rules now reflect the ability to generate the code for interactive applications in a file, while still acknowledging the environment's limitations for running them directly.

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 · 20 lines · 0 tokens per session scan A 2789876f4824

Subscribe to this mod's changes

ConsoleProgramOrGame is an agent published in the GitHub repository BananaAcid/ai-operator (4 stars, last pushed 20d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 436 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-08-31.

Related

Other agents, from other repositories

server_client_architecture

Device agents in UFO are partitioned into server and client components, separating high-level orchestration from low-level execution. This architecture enables safe, scalable, and flexible task execution across heterogeneous devices through the Agent Interaction Protocol (AIP).

microsoft/UFO · 0 tokens

builder

Turn shot-plan.json into one renderable HyperFrames composition (compositions/index.html). Everything stays in the HF ecosystem — HTML is the source of truth; a single paused GSAP timeline carries all motion; the engine seeks it. Category-specific build rules live in categories/ /module.md; this file is the shared…

calesthio/OpenMontage · 0 tokens

godot-csharp-engineer

Use this agent for C#-first Godot 4.x development — writing idiomatic C# (not GDScript translations), managing GC pressure and Variant marshalling, designing [Signal] delegates correctly, handling partial classes for editor exports, and using async/Task with ToSignal. Also use this agent in parity mode to close the C#…

jame581/GodotPrompter · 426 tokens

godot-code-reviewer

Use this agent when the user wants their Godot GDScript or C# code reviewed for best practices, anti-patterns, performance issues, or Godot-specific pitfalls. Also use when completing a major feature and wanting a quality check. Examples: Context: User wants a code review. user: "Review my player controller for Godot…

jame581/GodotPrompter · 187 tokens

prompt-engineer

Author and adapt prompts — discover, draft, deliver — under HITL approvals. Full subagent.

griddynamics/rosetta · 24 tokens

artist

Game artist. Generates and processes visual assets, registers them in manifest.json.

tettethu/VibeGame · 17 tokens