Borrowing it
Nothing to install: this file belongs to thorsten/phpMyFAQ. 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/thorsten/phpMyFAQ/main/AGENTS.mdgit clone --depth 1 https://github.com/thorsten/phpMyFAQWrote 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/thorsten/phpmyfaq/agents-md)<a href="https://agentmods.dev/instructions/thorsten/phpmyfaq/agents-md"><img src="https://agentmods.dev/badge/instructions/thorsten/phpmyfaq/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.
<a href="https://agentmods.dev/instructions/thorsten/phpmyfaq/agents-md"><img src="https://agentmods.dev/badge/instructions/thorsten/phpmyfaq/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.04013 | $0.04013 |
| Opus 5.5 | $0.01605 | $0.01605 |
| Sonnet 5.5 | $0.00803 | $0.00803 |
| Haiku 4.5 | $0.00401 | $0.00401 |
Grade E, and why
phpMyFAQ AGENTS.md scanned grade E with 3 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 26d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://get.pnpm.io/install.sh | sh - Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
5. Clear route cache (`rm -rf phpmyfaq/cache/routes`) after adding or modifying routes. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://getcomposer.org/installer | php How it starts
The opening of the file, as written. The whole thing — 337 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project Overview
This project is a web application that allows users to manage FAQs. It is built using HTML5, CSS, TypeScript, and PHP and supports various databases for data storage.
Folder Structure
/docs: Contains documentation for the project, including API specifications and user guides./phpmyfaq/: Contains the source code for the frontend./phpmyfaq/admin: Contains the source code for the admin./phpmyfaq/admin/assets: Contains the TypeScript and SCSS source files for the admin frontend. The tests are located in the same directory as the source files to ensure they are always updated together./phpmyfaq/assets: Contains the TypeScript and SCSS source files for the frontend. The tests are located in the same directory as the source files to ensure they are always updated together./phpmyfaq/src/phpMyFAQ: Contains the source code for the PHP backend./tests: Contains PHPUnit v13 based unit and integration tests./tests/e2e: Contains the Playwright based end-to-end tests.
Development Setup
Download Composer and install PHP dependencies
curl -s https://getcomposer.org/installer | php
php composer.phar install
Install PNPM and install TypeScript dependencies
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm install
pnpm build
Tool locations
Composer installs dependencies to phpmyfaq/src/libs (not vendor/).
CLI tools therefore live in phpmyfaq/src/libs/bin/ (phpunit, mago, rector, etc.).
Tech stack, libraries, and frameworks
- HTML 5, SCSS, TypeScript, Bootstrap, and Bootstrap Icons for the frontend. TypeScript in strict mode.
- PHP 8.4 and later with Symfony components for the backend.
- MySQL, MariaDB, PostgreSQL, SQLite3, and MS SQL for data storage. This option is configurable.
- Elasticsearch and OpenSearch for search functionality. This option is configurable.
- Apache, Nginx, IIS, and FrankenPHP as supported web servers. This option is configurable.
- It uses PNPM as the package manager for JavaScript/TypeScript dependencies.
- It uses Composer as the package manager for PHP dependencies.
- Twig as the templating engine.
- PHPUnit v13 for PHP-based unit testing, vitest for TypeScript-based unit testing.
- Docker for containerization.
- GitHub Actions for CI/CD.
- Mago for code quality and static analysis.
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.
- 26d ago Changed · +7 lines · +201 tokens per session 5d64dc290daf
- 1mo ago Changed · +6 lines · +120 tokens per session 440192b7f92c
- 1mo ago Changed · +11 lines · +146 tokens per session 2307e4aabfbe
- 1mo ago Changed · +19 lines · +339 tokens per session 3aa190df0e5d
- 2mo ago First seen · 294 lines · 3,207 tokens per session scan E e7ac06c0a73d
phpMyFAQ AGENTS.md is an instructions file published in the GitHub repository thorsten/phpMyFAQ (623 stars, last pushed yesterday), licensed MPL-2.0. It adds 4,013 tokens to every session, about $0.0161 per session on Opus 5.5. A static security scan graded it E with 3 findings (downloads and executes remote code, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
phpMyFAQ AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| phpMyFAQ AGENTS.mdthorsten/phpMyFAQ | Instructions file | 623 | yesterday | MPL-2.0 | E | 4,013 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |