pets-driven AGENTS.md

Repository instructions for Pets-Driven, a Windows desktop application built with Tauri and React in which pets represent coding-agent executions. They document the project's language rules, architecture references, and development commands.

In plain words
What is it for?
Use them when working on the desktop app, landing site, shared packages, tests, type checks, formatting, development servers, or generated pet assets.
Why use it?
They give coding agents the project-specific rules and commands needed to make compatible changes and write repository content correctly.

Instructions file for CodexOpenCode

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 instructions/young1the/pets-driven/agents-md
Clone the repo
git clone --depth 1 https://github.com/young1the/pets-driven

Made for: Codex, OpenCode.

Per session 1,500 This file is loaded in full into every session.
When invoked 1,500 The same file — it is already loaded in full.
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.01500 $0.01500
Opus 5 $0.00750 $0.00750
Sonnet 5 $0.00300 $0.00300
Haiku 4.5 $0.00150 $0.00150

Measured yesterday against content hash e9cb1c7142f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pets-driven 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 yesterday.

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

How it starts

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

AGENTS.md

Pets-Driven is a Windows desktop app (Tauri + React) where a pet represents one bound coding-agent execution, plus the landing site and shared packages around it. Start with CONTEXT.md for the domain language and ARCHITECTURE.md for how the modules connect.

Language

  • All code comments, JSDoc, and in-repo documentation (Markdown, ADRs, READMEs) must be written in English.
  • Git commit messages and pull request descriptions must also be written in English.
  • This applies to source files, type definitions, test descriptions, and any docs committed to the repository.
  • Conversations and chat with the user may continue in Korean; only artifacts written to disk or git history are English-only.

Commands

pnpm dev              # desktop app (Tauri)
pnpm dev:playground   # simulation playground in the browser
pnpm dev:design       # design-system component gallery
pnpm test             # every package's suite + scripts/*.test.mjs
pnpm typecheck        # tsc across the workspace
pnpm check            # biome lint + format check
pnpm sync-pets        # copy repo-root pets/ into each app's public assets
pnpm encode-demos     # re-derive docs/assets/*.mp4 + poster from the GIFs (needs ffmpeg)
pnpm test:e2e         # Playwright, desktop only
pnpm test:path-hook    # the installer's PATH edit, against a scratch registry key
pnpm release:bump <major|minor|patch|X.Y.Z>  # one version across every manifest, committed and tagged

Modules

Path What it owns Docs
apps/desktop Tauri shell, pet windows, agent event ingress apps/desktop/AGENTS.md
crates/pets-driven-core Authoritative Pet + Registered Working Directory state behind a repository seam crates/AGENTS.md
crates/pets-driven-fs Shared on-disk state.v1.json repository with a cross-process file lock crates/AGENTS.md
crates/pets-driven-protocol Hook-forwarding wire contract (routes, synthesized event) crates/AGENTS.md
crates/pets-driven-cli The pdd CLI: direct state ops + live hook forwarding crates/AGENTS.md
apps/web Landing site + Remotion demo video apps/web/AGENTS.md
packages/pet-engine ECS simulation, personalities, sprite state packages/pet-engine/AGENTS.md
packages/design-system Tokens and shared React components packages/design-system/AGENTS.md
packages/i18n Locales, i18next setup, translation catalog packages/i18n/AGENTS.md
plugins/pets-driven Shared Claude Code + Codex plugin: hooks, commands, skills
pets/ Canonical built-in pet definitions and spritesheets pets/README.md
scripts/ Asset sync, version bump, install test

Read the full file on GitHub · 78 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. yesterday First seen · 78 lines · 1,500 tokens per session scan A e9cb1c7142f2

Subscribe to this mod's changes

pets-driven AGENTS.md is an instructions file published in the GitHub repository young1the/pets-driven (1 stars, last pushed 2d ago), licensed MIT. It adds 1,500 tokens to every session, about $0.0075 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.

Related

Other instructions, from other repositories