clippy-pet: Instructions file for Codex

AGENTS.md

clippy-pet AGENTS.md is an instructions file for Codex, OpenCode from adammatthewsteinberger/clippy-pet. It costs 2,329 tokens per session, scanned A, original, MIT.

The main instructions for AI coding agents working on Clippy Pet, an unofficial animated paperclip pet for ChatGPT and Codex.

In plain words
What is it for?
Understanding the repository layout, setup commands, required manifest and sprite-sheet format, everyday checks, and project boundaries.
Why use it?
They explain the project and its strict file, image, validation, and release requirements so agents can make compatible changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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 clippy-pet AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/adammatthewsteinberger/clippy-pet/agents-md"><img src="https://agentmods.dev/badge/instructions/adammatthewsteinberger/clippy-pet/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,329 This file is loaded in full into every session.
When invoked 2,329 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.02329 $0.02329
Opus 5.5 $0.00932 $0.00932
Sonnet 5.5 $0.00466 $0.00466
Haiku 4.5 $0.00233 $0.00233

Measured 21d ago against content hash 6439cf6ffc3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clippy-pet 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 21d 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 · 89 lines

How it starts

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

AGENTS.md

Instructions for AI coding agents (Claude Code, Codex CLI, Cursor, Gemini CLI, and others) working in this repository. Tool-specific files (CLAUDE.md, GEMINI.md, .cursor/rules/) point back here — this is the canonical source. Human contributors should read CONTRIBUTING.md instead; the two documents describe the same rules but this one is written for an agent executing commands, not a person reading prose.

What this project is

Clippy Pet is an unofficial, animated paperclip "pet" for the ChatGPT desktop app and Codex CLI, implementing OpenAI's documented pet file format as a third party. The deliverable is small and exact: a JSON manifest (pet.json) plus a single sprite atlas (spritesheet.webp), distributed through a one-line installer, native OS packages, and a signed GitHub release. A v1 (nine-row, web-upload) spritesheet is built from the same source for ChatGPT on the web, which does not support look-direction tracking.

It is not affiliated with or endorsed by Microsoft or OpenAI — see NOTICE.md. Never write or generate copy that implies otherwise.

Repository map

Path Contents
pet.json, spritesheet.webp The actual product: manifest + v2 atlas. Treat as a strict contract (see below).
source/frames/, source/row-strips/ Editable per-state source art the atlas is composed from.
scripts/validate.py Validates manifest + atlas geometry/alpha/cell-occupancy. Run before every commit that touches the pet.
scripts/build-v1-spritesheet.py Derives the legacy v1 (web-upload) sheet from v2 source.
scripts/preview-at-size.py Renders cells at small on-screen sizes over light and dark backgrounds. Use it to judge any visual change at ~32-64 px. Pillow only.
scripts/retouch-look-pupils.py, scripts/prototype-tiny-frame.py Art tools (need numpy/scipy). The retouch is SHA-256-guarded per cell and never changes alpha; the tiny-frame script is a design probe and must not write into spritesheet.webp.
scripts/install.sh, packaging/bin/clippy-pet The one-line installer and the installed CLI (install/uninstall/status/sync/path/autostart). Shell, must pass shellcheck.
flake.nix, flake.lock Nix package, nix run, and Home Manager module (programs.clippy-pet); CI runs nix flake check.
packaging/linux/, packaging/appimage/, packaging/macos/, packaging/dist/ nfpm-based .deb/.rpm/.apk/Arch builds, macOS .app/.pkg/.dmg builds, reproducible tarballs.
tests/ install-sh.sh (installer checksum and abuse cases; Linux, run in CI under dash/bash/sh) and home-manager-doc-example.sh (builds the Home Manager snippet straight out of docs/packages/linux.md). Run make test after touching scripts/install.sh.
qa/ Validator output, blind direction QA, semantic review, continuity/chroma reports, preview GIFs — the evidence backing README claims. Don't hand-edit; regenerate via the relevant script.
docs/, properdocs.yml, overrides/ ProperDocs (Material theme) documentation site, deployed to gh-pages by .github/workflows/docs.yml.
.github/workflows/ validate.yml (PR checks), packaging-ci.yml (build smoke tests, AppImages, installer tests, Nix), provenance.yml (vibey commit-trailer and generated-file checks), release.yml (tag-triggered release), docs.yml.
VERSION, CHANGELOG.md, CITATION.cff Must always agree on the current version string — see Release process.

Read the full file on GitHub · 89 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. 21d ago Changed · +1 lines · +112 tokens per session 6439cf6ffc3e
  2. 28d ago Changed · +3 lines · +177 tokens per session 3bb6deacc746
  3. 1mo ago First seen · 85 lines · 2,040 tokens per session scan A 464080628b0b

Subscribe to this mod's changes

clippy-pet AGENTS.md is an instructions file published in the GitHub repository adammatthewsteinberger/clippy-pet (4 stars, last pushed 21d ago), licensed MIT. It adds 2,329 tokens to every session, about $0.0093 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens