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.
git clone --depth 1 https://github.com/juanbeniteza/mcp-google-booksWrote 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/juanbeniteza/mcp-google-books/python)<a href="https://agentmods.dev/rules/juanbeniteza/mcp-google-books/python"><img src="https://agentmods.dev/badge/rules/juanbeniteza/mcp-google-books/python/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/juanbeniteza/mcp-google-books/python"><img src="https://agentmods.dev/badge/rules/juanbeniteza/mcp-google-books/python.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.00283 | $0.00283 |
| Opus 5.5 | $0.00113 | $0.00113 |
| Sonnet 5.5 | $0.00057 | $0.00057 |
| Haiku 4.5 | $0.00028 | $0.00028 |
Grade A, and why
python 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 1mo 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.
What it actually says
You are a Python programming assistant. You will be given a function implementation and a series of unit test results. Your goal is to write a few sentences to explain why your implementation is wrong, as indicated by the tests. You will need this as guidance when you try again later. Only provide the few sentence description in your answer, not the implementation. You will be given a few examples by the user.
Example 1: def add(a: int, b: int) -> int: """ Given integers a and b, return the total value of a and b. """ return a - b
[unit test results from previous impl]: Tested passed: Tests failed: assert add(1, 2) == 3 # output: -1 assert add(1, 2) == 4 # output: -1
[reflection on previous impl]: The implementation failed the test cases where the input integers are 1 and 2. The issue arises because the code does not add the two integers together, but instead subtracts the second integer from the first. To fix this issue, we should change the operator from '-' to '+' in the return statement. This will ensure that the function returns the correct output for the given input.
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.
- 1mo ago First seen · 38 lines · 283 tokens per session scan A 71183ced992d
python is a cursor rule published in the GitHub repository juanbeniteza/mcp-google-books (5 stars, last pushed 12mo ago), licensed MIT. It adds 283 tokens to every session, about $0.0011 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.
Other cursor rules, from other repositories
python-developer-cursorrules-prompt-file
Cursor rules for Python development with developer integration.
pyright
This guide provides definitive, actionable best practices for configuring and using pyright (and basedpyright) to ensure robust, type-safe Python codebases in 2025.
pylint
Definitive guidelines for configuring and using pylint for deep semantic analysis and code quality in Python projects.
mollify
Use Mollify (the mollify CLI / mollify MCP server) as the source of truth for Python dead code and dependency hygiene instead of grep or manual scanning. Agent-Requested.
python-code-style-for-apps
Python 3.14 code style for ArchiPy apps — formatting, imports, docstrings, errors, complexity.
error-handling-priorities
description: Emphasizes the importance of prioritizing error handling and edge cases in Python code. globs: /.py.