agent-bank: Instructions file for Codex

AGENTS.md

agent-bank AGENTS.md is an instructions file for Codex, OpenCode from different-ai/agent-bank. It costs 3,487 tokens per session, scanned C, original, MIT.

A setup and troubleshooting guide for 0 Finance, a project intended to automate personal banking and financial tasks, using OpenCode agents.

In plain words
What is it for?
Use it to bootstrap a fresh clone, repair Node.js, dependency, or database problems, test MCP connections, or make another repository self-bootstrapping.
Why use it?
It reduces the manual work of installing dependencies, checking connections, and diagnosing missing development setup or credentials.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md; mentions OpenCode.

This is different-ai/agent-bank's own configuration. It tells Codex and OpenCode how to work on agent-bank 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 agent-bank configures →

Reuse

Borrowing it

Nothing to install: this file belongs to different-ai/agent-bank. 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/different-ai/agent-bank/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/different-ai/agent-bank

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 agent-bank AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/different-ai/agent-bank/agents-md"><img src="https://agentmods.dev/badge/instructions/different-ai/agent-bank/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,487 This file is loaded in full into every session.
When invoked 3,487 The same file — it is already loaded in full.
Security scan C 2 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.03487 $0.03487
Opus 5.5 $0.01395 $0.01395
Sonnet 5.5 $0.00697 $0.00697
Haiku 4.5 $0.00349 $0.00349

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

Security

Grade C, and why

agent-bank AGENTS.md scanned grade C with 2 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 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/different-ai/zero-finance/main/scripts/bootstrap.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/different-ai/zero-finance/main/scripts/bootstrap.sh | bash
AGENTS.md · 334 lines

How it starts

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

0 Finance - AI Agent Guidelines

Quick Start (Fresh Clone)

One-Line Install

curl -fsSL https://raw.githubusercontent.com/different-ai/zero-finance/main/scripts/bootstrap.sh | bash

This will:

  1. Install Node.js, pnpm, and OpenCode (if missing)
  2. Clone the repository
  3. Install dependencies
  4. Launch the @bootstrap agent

Manual Setup

git clone https://github.com/different-ai/zero-finance.git
cd zero-finance
./scripts/bootstrap.sh

Or if you already have OpenCode:

git clone https://github.com/different-ai/zero-finance.git
cd zero-finance
pnpm install
opencode
# Then type: @bootstrap

The @bootstrap agent will detect your environment, install dependencies, test MCP connections, and guide you through any missing credentials.

Available Agents

Agent Command Purpose
Bootstrap @bootstrap First-time setup from fresh clone
Debug @debug Fix dev setup issues (Node, deps, DB)
Debug Workspace @debug-workspace Test MCP connections, diagnose issues
Sherpa @sherpa Make any repo self-bootstrapping

What is 0 Finance?

0 Finance is a bank account that automates your finances:

  • Get Paid Easily - Create invoices in seconds and get paid directly to your personal IBAN
  • Spend Anywhere - Use a debit card worldwide with 0% conversion fees
  • Optimize Yield - AI automatically allocates idle funds to highest-yielding opportunities

This is a Next.js application with smart contract automation for savings management.

Self-Bootstrapping Principles

This repo is designed to be fully operational from a fresh git clone:

  1. Self-aware - AI can reference its own code in .opencode/
  2. Self-building - Constructs skills, tools, agents as needed
  3. Self-improving - Updates its own docs when things don't work
  4. Self-fixing - Detects broken states and attempts repair
  5. Reconstructable - Can rebuild from scratch with user input
  6. Graceful degradation - Works with partial config, guides to full setup

Read the full file on GitHub · 334 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 First seen · 334 lines · 3,487 tokens per session scan C 81ac04759ca7

Subscribe to this mod's changes

agent-bank AGENTS.md is an instructions file published in the GitHub repository different-ai/agent-bank (255 stars, last pushed 6mo ago), licensed MIT. It adds 3,487 tokens to every session, about $0.0139 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories