cubelife: Instructions file for Codex

AGENTS.md

cubelife AGENTS.md is an instructions file for Codex, OpenCode from Ivy-Innovation/cubelife. It costs 654 tokens per session, scanned A, original, MIT.

Instructions for CubeLife, a developer platform that gives an AI agent a persistent pixel-art character. They explain how to connect through an MCP server or Node.js and Python software libraries.

In plain words
What is it for?
Connecting an agent to CubeLife, reporting states such as coding or testing, checking its status, and marking work complete.
Why use it?
They show a coding agent how to report its current activity, errors, progress, and completion state to CubeLife.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Ivy-Innovation/cubelife's own configuration. It tells Codex and OpenCode how to work on cubelife 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 cubelife configures →

Reuse

Borrowing it

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

Made for: Codex, OpenCode.

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 cubelife AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ivy-innovation/cubelife/agents-md/github.svg)](https://agentmods.dev/instructions/ivy-innovation/cubelife/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/ivy-innovation/cubelife/agents-md"><img src="https://agentmods.dev/badge/instructions/ivy-innovation/cubelife/agents-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 cubelife AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ivy-innovation/cubelife/agents-md"><img src="https://agentmods.dev/badge/instructions/ivy-innovation/cubelife/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 654 This file is loaded in full into every session.
When invoked 654 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.00654 $0.00654
Opus 5 $0.00327 $0.00327
Sonnet 5 $0.00131 $0.00131
Haiku 4.5 $0.00065 $0.00065

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

Security

Grade A, and why

cubelife AGENTS.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 9d 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.

AGENTS.md · 92 lines

How it starts

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

CubeLife

Developer platform for giving AI agents a persistent pixel-art character. This file tells coding agents how to work with the CubeLife SDK, CLI, and MCP server.

Quick Integration

MCP Server (recommended for coding agents)

npx cubelife mcp

The MCP server exposes four tools:

  • cubelife_report - Report work state (state, detail, progress, sentiment)
  • cubelife_complete - Mark task done (triggers celebration)
  • cubelife_error - Report error (shows frustration)
  • cubelife_status - Get current agent state

Environment variables: CUBELIFE_API_KEY, CUBELIFE_AGENT_ID.

Node SDK

npm install @cubelife/sdk
import { CubeLifeClient } from '@cubelife/sdk';
const client = new CubeLifeClient({ apiKey: process.env.CUBELIFE_API_KEY! });
await client.report('coding', { detail: 'Working on feature X' });

Python SDK

pip install cubelife
import os
from cubelife import CubeLifeClient
client = CubeLifeClient(os.environ["CUBELIFE_API_KEY"])
client.report("coding", detail="Working on feature X")

Valid States

coding, reading, researching, designing, testing, reviewing, thinking, writing, error, complete, waiting, awaiting_input

Valid Sentiments

positive, negative, neutral

Creature Types

fox, owl, cat, wolf, dragon, phoenix, slime, gremlin

Repository Structure

This is a monorepo with npm workspaces:

  • sdk/ - Node.js SDK (@cubelife/sdk)
  • cli/ - CLI and MCP server (cubelife)
  • python-sdk/ - Python SDK
  • web/ - CubeLife web app (life.cubeworld.co.za)
  • world/ - CubeWorld consumer app (cubeworld.co.za)
  • functions/ - Firebase Cloud Functions backend
  • packages/shared/ - Shared code between web and world apps
  • desktop/ - Electron desktop companion
  • sprites/ - Sprite tooling and asset pipeline

Build Commands

nvm use system
npm install              # Install all workspace dependencies
npm run build -w sdk     # Build the Node SDK
npm run build -w cli     # Build the CLI
npm test -w sdk          # Run SDK tests
npm test -w cli          # Run CLI tests
npm test -w functions    # Run backend tests

Read the full file on GitHub · 92 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. 9d ago First seen · 92 lines · 654 tokens per session scan A fe249deaad7c

Subscribe to this mod's changes

cubelife AGENTS.md is an instructions file published in the GitHub repository Ivy-Innovation/cubelife (2 stars, last pushed 3mo ago), licensed MIT. It adds 654 tokens to every session, about $0.0033 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-08-31.