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.
npx agentmods add instructions/darkzarich/smiler/agents-mdgit clone --depth 1 https://github.com/Darkzarich/SmilerWhat 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 | $0.02190 | $0.02190 |
| Opus 5 | $0.01095 | $0.01095 |
| Sonnet 5 | $0.00438 | $0.00438 |
| Haiku 4.5 | $0.00219 | $0.00219 |
Grade A, and why
Smiler 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Project overview
pnpm monorepo — a Reddit-style social platform (MEVN stack).
Two packages: packages/backend (Express 5 + TypeScript + MongoDB/Mongoose + sessions) and packages/frontend (Vue 3 + Vite + Pinia).
Common commands
pnpm install # install all workspace deps
pnpm dev # runs backend + frontend concurrently
pnpm build # builds backend, then frontend
# Linting (the pre-commit hook only lints staged files, this is the whole repo)
pnpm lint # all three passes below, in order
pnpm lint:spell # cspell spellcheck (root)
pnpm lint:code # eslint on backend + eslint+stylelint on frontend
pnpm lint:types # tsc --noEmit on both packages
# Testing
pnpm test # backend jest + frontend playwright e2e + frontend vitest
pnpm test:prepush # backend jest + frontend vitest unit (what pre-push runs)
Backend (packages/backend)
- Entry:
index.ts(cluster mode) →src/app.ts - Dev server:
pnpm --filter backend dev(ts-node) - Build:
tsc && tsc-alias— output goes todist/ - Tests: Jest integration tests using
mongodb-memory-server(no external DB needed). RequiresNODE_OPTIONS="--experimental-vm-modules".- Test files:
tests/**/*.spec.ts - Global setup spins up an in-memory MongoDB on port 27018; sets
DB_URLautomatically. - Run single test:
pnpm --filter backend test -- tests/integration/some-file.spec.ts
- Test files:
- Path aliases (tsconfig + ts-node):
@config/*,@routes/*,@controllers/*,@middlewares/*,@libs/*,@models/*,@utils/*,@validators/*,@constants/*,@type/*,@errors,@test-utils/*,@test-data-generators .envfile required at repo root (copy from.env.example). Backend reads it via dotenv.- Swagger docs at
/api-docs/when running.
Frontend (packages/frontend)
- Dev server:
pnpm --filter frontend dev(Vite, port 8080) - Build:
vite build - Unit tests: Vitest with jsdom — files matching
src/**/*.spec.tsorsrc/**/*.test.ts- Run single:
pnpm --filter frontend test:unit:ci -- src/path/to/test.spec.ts
- Run single:
- E2E tests: Playwright against the built app (
vite previewon port 4173). Files intests/integration/.- Run:
pnpm --filter frontend test:e2e:ci
- Run:
- Path aliases:
@/*,@components/*,@common/*,@icons/*,@utils/* - Linting: separate ESLint (
.js/.ts/.vue) and Stylelint (.css/.scss/.vue) passes - Vue component style: PascalCase component names in templates; blank lines between
<template>/<script>/<style>blocks. [email protected]is patched — seepatches/directory.
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.
- 2d ago First seen · 126 lines · 2,190 tokens per session scan A 7aa728d1e117
Smiler AGENTS.md is an instructions file published in the GitHub repository Darkzarich/Smiler (11 stars, last pushed 2d ago), licensed MIT. It adds 2,190 tokens to every session, about $0.0110 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
webf CLAUDE.md
Claude Code instructions for openwebf/webf, covering webf development guide, 📚 folder-specific guides, 🚀 quick start, repository structure and common commands.
webf AGENTS.md
AGENTS.md instructions for openwebf/webf, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
heroes-vue AGENTS.md
AGENTS.md instructions for johnpapa/heroes-vue, covering heroes vue — agent guide, repository structure, tech stack, build & run and vue app (frontend).
heroes-vue copilot-instructions.md
Copilot instructions for johnpapa/heroes-vue, covering copilot instructions — heroes-vue, project type, language conventions, typescript (vue-app) and javascript (api).
Vue CLAUDE.md
Claude Code instructions for pierreb-devkit/Vue, covering devkit vue stack - claude code setup, 🔓 public oss repo — no downstream references, quick start, architecture and casl abilities & organizations.
Vue copilot-instructions.md
Copilot instructions for pierreb-devkit/Vue, covering devkit vue - copilot instructions, preflight, canonical commands, available prompts and always-on guardrails.