Borrowing it
Nothing to install: this file belongs to agigante80/actual-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/agigante80/actual-mcp-server/main/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/agigante80/actual-mcp-serverWrote 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.
[](https://agentmods.dev/instructions/agigante80/actual-mcp-server/copilot-instructions)<a href="https://agentmods.dev/instructions/agigante80/actual-mcp-server/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/agigante80/actual-mcp-server/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04977 | $0.04977 |
| Opus 5 | $0.02488 | $0.02488 |
| Sonnet 5 | $0.00995 | $0.00995 |
| Haiku 4.5 | $0.00498 | $0.00498 |
Grade A, and why
actual-mcp-server copilot-instructions.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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 469 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Copilot Instructions for Actual MCP Server
Project Overview
Actual MCP Server bridges AI assistants with Actual Budget via the Model Context Protocol (MCP), providing 81 tools for conversational financial management. Supports two transports: HTTP (LibreChat/LobeChat/multi-user) and stdio (Claude Desktop/Claude Code).
Tech Stack: TypeScript (NodeNext/ESM), Node.js 22+, @actual-app/api v26, @modelcontextprotocol/sdk, Express 5, Zod v4, Playwright
Current Status: Production-ready, 81 tools implemented
Architecture Essentials
Critical Pattern: withActualApi Wrapper
Every Actual API operation MUST use withActualApi() wrapper from src/lib/actual-adapter.ts:
// ✅ CORRECT - ensures data persistence
await withActualApi(async () => {
return await rawAddTransactions(data);
});
// ❌ WRONG - data won't persist (tombstone issue)
await rawAddTransactions(data);
Why: Actual Budget requires api.shutdown() after every operation to commit data. The withActualApi wrapper handles init/shutdown lifecycle automatically. Based on s-stefanov/actual-mcp pattern.
Tool Structure
New tools should use createTool() from src/lib/toolFactory.ts — it wires up error handling, logging, and observability automatically:
import { z } from 'zod';
import { createTool } from '../lib/toolFactory.js';
import { CommonSchemas } from '../lib/schemas/common.js';
import adapter from '../lib/actual-adapter.js';
export default createTool({
name: 'actual_domain_action', // naming: actual_{domain}_{action}
description: '...',
schema: z.object({
account: CommonSchemas.accountId,
amount: CommonSchemas.amountCents, // always in cents, integer
date: CommonSchemas.date, // YYYY-MM-DD
}),
handler: async (input) => {
return await adapter.someMethod(input);
},
});
Many existing tools use the legacy pattern (both work, but createTool() is preferred for new tools):
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.
- today Changed deb9be8b8225
- 2d ago Changed 4c1ee75e432a
- 3d ago Changed 1cb7d983d4d3
- 4d ago Changed 21101fbda3bc
- 8d ago First seen · 469 lines · 4,977 tokens per session scan A 1798b0287c4a
actual-mcp-server copilot-instructions.md is an instructions file published in the GitHub repository agigante80/actual-mcp-server (50 stars, last pushed yesterday), licensed MIT. It adds 4,977 tokens to every session, about $0.0249 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-30.
Other instructions, from other repositories
vibetags com-example-service-EvidenceBasedShowcase.instructions.md
Instructions for PIsberg/vibetags, covering copilot instructions for evidencebasedshowcase, generated — edit the source, rules for field settledorderids, rules for method totalwithtax and rules for method refreshcartbadge.
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.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
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).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
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.