Borrowing it
Nothing to install: this file belongs to hassansaadfr/log-reader-mcp. 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/hassansaadfr/log-reader-mcp/main/.cursor/rule.mdcgit clone --depth 1 https://github.com/hassansaadfr/log-reader-mcpWrote 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/rules/hassansaadfr/log-reader-mcp/rule)<a href="https://agentmods.dev/rules/hassansaadfr/log-reader-mcp/rule"><img src="https://agentmods.dev/badge/rules/hassansaadfr/log-reader-mcp/rule/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/rules/hassansaadfr/log-reader-mcp/rule"><img src="https://agentmods.dev/badge/rules/hassansaadfr/log-reader-mcp/rule.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.01022 | $0.01022 |
| Opus 5.5 | $0.00409 | $0.00409 |
| Sonnet 5.5 | $0.00204 | $0.00204 |
| Haiku 4.5 | $0.00102 | $0.00102 |
Grade A, and why
rule 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 2mo 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 — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.
English-Only Development Rule
This rule enforces that all code, comments, and documentation must be written in English throughout the project.
Scope
This rule applies to:
- All source code files (
.ts,.js,.tsx,.jsx, etc.) - All comments within code files
- All documentation files (
.md,.mdx, etc.) - All configuration files with text content
- All README files and project documentation
Requirements
Code Files
- Variable names: Must be in English
- Function names: Must be in English
- Class names: Must be in English
- Comments: Must be in English
- String literals: User-facing strings should be in English (use i18n for localization)
- Error messages: Must be in English
Documentation Files
- README files: Must be in English
- API documentation: Must be in English
- Code comments: Must be in English
- Inline documentation: Must be in English
Configuration Files
- Comments in config files: Must be in English
- Descriptive text: Must be in English
Examples
✅ Correct (English)
// Initialize the user authentication service
const authService = new AuthenticationService();
/**
* Validates user credentials and returns authentication token
* @param username - The user's username
* @param password - The user's password
* @returns Promise<AuthToken>
*/
async function validateCredentials(username: string, password: string): Promise<AuthToken> {
// Check if user exists in database
const user = await findUserByUsername(username);
if (!user) {
throw new Error('User not found');
}
// Verify password hash
const isValidPassword = await verifyPassword(password, user.passwordHash);
if (!isValidPassword) {
throw new Error('Invalid credentials');
}
return generateAuthToken(user);
}
❌ Incorrect (French)
// Initialiser le service d'authentification utilisateur
const serviceAuth = new ServiceAuthentification();
/**
* Valide les identifiants utilisateur et retourne le token d'authentification
* @param nomUtilisateur - Le nom d'utilisateur
* @param motDePasse - Le mot de passe
* @returns Promise<AuthToken>
*/
async function validerIdentifiants(nomUtilisateur: string, motDePasse: string): Promise<AuthToken> {
// Vérifier si l'utilisateur existe dans la base de données
const utilisateur = await trouverUtilisateurParNom(nomUtilisateur);
if (!utilisateur) {
throw new Error('Utilisateur non trouvé');
}
// Vérifier le hash du mot de passe
const motDePasseValide = await verifierMotDePasse(motDePasse, utilisateur.hashMotDePasse);
if (!motDePasseValide) {
throw new Error('Identifiants invalides');
}
return genererTokenAuth(utilisateur);
}
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.
- 2mo ago First seen · 150 lines · 1,022 tokens per session scan A 6a799eee9c4b
rule is a cursor rule published in the GitHub repository hassansaadfr/log-reader-mcp (6 stars, last pushed 1y ago), licensed MIT. It adds 1,022 tokens to every session, about $0.0041 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-08-31.
rule compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rulehassansaadfr/log-reader-mcp | Cursor rule | 6 | 1y ago | MIT | A | 1,022 | Cursor |
| internationalizationdtyq/magic | Cursor rule | 5.1k | 13d ago | none | A | 3,524 | Cursor |
| cmd-moodle-mustache-lintSaadRahman01/claude-moodle-dev | Cursor rule | 42 | 4mo ago | MIT | A | 32 | Cursor |
| chinese-languagedoccker/cc-use-exp | Cursor rule | 1.1k | 2mo ago | none | A | 385 | Cursor |
| rtl-right-to-left-i18n-cursorrules-prompt-fileXD3an/awesome-ai-coding-all-in-one | Cursor rule | 15 | 11d ago | none | A | 608 | Cursor |
| uninettuno-monografiariccardodicurti/template-latex-tesi-uninettuno | Cursor rule | 7 | 5mo ago | MIT | A | 645 | Cursor |
| reportMineru98/mysql-mcp-server | Cursor rule | 28 | 1y ago | MIT | A | 8 | Cursor |