goalbuddy: Instructions file for Codex

AGENTS.md

goalbuddy AGENTS.md is an instructions file for Codex, OpenCode from tolibear/goalbuddy. It costs 628 tokens per session, scanned A, original, MIT.

Repository instructions for GoalBuddy, an installable package that provides skills and agents for Codex and Claude Code. They define where shared skills, agent definitions, commands, scripts, and plugin files belong.

In plain words
What is it for?
Use them when changing GoalBuddy’s skills, agent definitions, commands, installer scripts, plugin manifests, or local goal-board surface.
Why use it?
They keep the two integrations aligned and prevent duplicate skill content or incorrect package boundaries.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions subagents; mentions Claude Code.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tolibear/goalbuddy/agents-md"><img src="https://agentmods.dev/badge/instructions/tolibear/goalbuddy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 628 This file is loaded in full into every session.
When invoked 628 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.00628 $0.00628
Opus 5.5 $0.00251 $0.00251
Sonnet 5.5 $0.00126 $0.00126
Haiku 4.5 $0.00063 $0.00063

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

Security

Grade A, and why

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

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 · 41 lines

How it starts

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

AGENTS.md

GoalBuddy is an npm package that installs into Codex (default) and Claude Code. Keep the repo layout and package boundary clear.

Repo Shape

  • goalbuddy/ is the canonical installable skill payload (used by both Codex and Claude Code).
  • goalbuddy/agents/ holds Codex TOML agent definitions (goal_*.toml).
  • plugins/goalbuddy/agents/ holds Claude Code markdown subagents (goal-*.md).
  • goalbuddy/scripts/ stays inside the skill because installed skill instructions call those scripts.
  • internal/ is package and development infrastructure, not skill content.
  • plugins/goalbuddy/ is the repo-local plugin scaffold. It contains:
    • .codex-plugin/plugin.json — Codex plugin manifest.
    • .claude-plugin/plugin.json — Claude Code plugin manifest.
    • skills/goalbuddy/ — shared skill payload.
    • agents/ — Claude Code agent definitions (markdown).
    • commands/ — Claude Code slash command definitions (markdown).
  • $goal-maker and the legacy CLI name are kept as compatibility aliases generated by the installer; do not add a second tracked skill payload.
  • goalbuddy/surfaces/local-goal-board/ is the built-in local board surface. There is no public extension catalog.

Improvement Surfaces

When improving this repo, consider README, goalbuddy/SKILL.md, generated $goal-maker compatibility behavior, templates, checker behavior, CLI UX, plugin UX (both Codex and Claude Code), package contents, local board behavior, and site/docs copy. Do not assume a request only touches code.

Package Rules

  • Keep the runtime dependency-free unless there is a strong reason.
  • Keep goalbuddy/ installable as the canonical skill directory.
  • Keep installation working for both Codex (default) and Claude Code (--target claude).
  • Keep $goal-maker working as a generated compatibility alias until the migration window ends.
  • Keep package-only CLI and tests under internal/.
  • Do not commit local docs/goals/ run artifacts unless explicitly requested.
  • Run npm run check before claiming implementation is complete.

Read the full file on GitHub · 41 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 · 41 lines · 628 tokens per session scan A efc883e20d4b

Subscribe to this mod's changes

goalbuddy AGENTS.md is an instructions file published in the GitHub repository tolibear/goalbuddy (821 stars, last pushed 25d ago), licensed MIT. It adds 628 tokens to every session, about $0.0025 per session on Opus 5.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-30.

Related

Other instructions, from other repositories