yaffa: Instructions file for Claude Code

CLAUDE.md

yaffa CLAUDE.md is an instructions file for Claude Code from kantorge/yaffa. It costs 3,030 tokens per session, scanned A, original, MIT.

A Claude Code instruction file for Yaffa, a self-hosted personal finance web application. It records the current PHP, Laravel, Vue, MySQL, Redis, build, and testing setup, plus rules for running commands and protecting environment settings.

In plain words
What is it for?
Use it when Claude Code works on Yaffa's backend, web interface, database, queues, assets, or tests. It is also useful for following the project's local development and safety rules.
Why use it?
It gives the coding agent project-specific context and limits unsafe or incompatible changes. The command rules help ensure development and tests run through the project's Docker-based setup.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is kantorge/yaffa's own configuration. It tells Claude Code how to work on yaffa 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 yaffa configures →

Reuse

Borrowing it

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

Made for: Claude Code.

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 yaffa CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kantorge/yaffa/claude-md"><img src="https://agentmods.dev/badge/instructions/kantorge/yaffa/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,030 This file is loaded in full into every session.
When invoked 3,030 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.03030 $0.03030
Opus 5.5 $0.01212 $0.01212
Sonnet 5.5 $0.00606 $0.00606
Haiku 4.5 $0.00303 $0.00303

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

Security

Grade A, and why

yaffa CLAUDE.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 5d 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.

CLAUDE.md · 120 lines

How it starts

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

YAFFA - Claude Code Context

Project Overview

YAFFA (Yet Another Free Financial Application) is a self-hosted personal finance web application. It enables multi-account/currency tracking, transaction categorization, investment monitoring, and long-term financial planning. Conscious manual tracking is a core product value — it is not a bank-sync tool.

Tech Stack

  • PHP 8.4 / Laravel 13 — MVC + Services architecture
  • Vue 3 (Options API) + Bootstrap 5.3 + CoreUI — multi-page app, NOT a SPA
  • MySQL 8 — primary database
  • Redis — queue backend for background jobs
  • Vite — asset bundling
  • Laravel Sail — Docker-based local development

Key Commands

All PHP/Artisan/Composer/Node commands must be prefixed with vendor/bin/sail:

vendor/bin/sail up -d                     # start services
vendor/bin/sail artisan migrate           # run migrations
vendor/bin/sail npm run dev               # build assets (dev)
vendor/bin/sail npm run build             # build assets (production)
vendor/bin/sail artisan test --compact    # run tests
vendor/bin/sail bin pint --dirty          # fix PHP code style

Critical Rules

  • NEVER modify .env — ask the user instead; it is off-limits at all times
  • Never comment on a GitHub issue or PR (gh issue comment, gh pr comment, gh pr review, or the raw API) without asking first. Draft the comment and ask; post only after explicit approval. Creating PRs/issues, pushing commits, and other git operations already covered by an established collaborative workflow are unaffected — this is scoped to posting comments specifically.
  • Every change to routes/web.php must be reflected in routes/breadcrumbs.php — add, rename, or remove the matching Breadcrumbs::for() entry for each page route (the name must match the route name; routes without a rendered page, e.g. POST handlers, need none)
  • Always rebuild assets after JS/Vue/SCSS changes before testing UI
  • Always run Pint and PHPStan before finalizing PHP changes
  • Run only the minimum affected tests, then ask if the full suite should follow
  • Do not add dependencies or restructure directories without user approval

Read the full file on GitHub · 120 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. 5d ago Changed · +1 lines · +116 tokens per session 0fbf9f846def
  2. 11d ago First seen · 119 lines · 2,914 tokens per session scan A b0fbffa5db5e

Subscribe to this mod's changes

yaffa CLAUDE.md is an instructions file published in the GitHub repository kantorge/yaffa (113 stars, last pushed today), licensed MIT. It adds 3,030 tokens to every session, about $0.0121 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-10-26.

Related

yaffa CLAUDE.md compared with instructions from other repositories

yaffa CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yaffa CLAUDE.mdkantorge/yaffaInstructions file113todayMITA3,030Claude Code
vibetags com-example-service-EvidenceBasedShowcase.instructions.mdPIsberg/vibetagsInstructions file25todayMITA443GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot