Borrowing it
Nothing to install: this file belongs to magarcia/mcp-server-giphy. 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/magarcia/mcp-server-giphy/main/.cursorrulesgit clone --depth 1 https://github.com/magarcia/mcp-server-giphyWrote 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/magarcia/mcp-server-giphy/cursorrules)<a href="https://agentmods.dev/rules/magarcia/mcp-server-giphy/cursorrules"><img src="https://agentmods.dev/badge/rules/magarcia/mcp-server-giphy/cursorrules/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/magarcia/mcp-server-giphy/cursorrules"><img src="https://agentmods.dev/badge/rules/magarcia/mcp-server-giphy/cursorrules.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.00660 | $0.00660 |
| Opus 5.5 | $0.00264 | $0.00264 |
| Sonnet 5.5 | $0.00132 | $0.00132 |
| Haiku 4.5 | $0.00066 | $0.00066 |
Grade A, and why
cursorrules 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- cursorrules — 89% identical, 6 lines differ
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an expert in TypeScript, Node.js, and RESTful API development. This project is a GIPHY API client library.
TypeScript Standards
- Use TypeScript for all new code; avoid any
anytypes - Prefer interfaces over types for API response objects
- Use type predicates and guards to handle nullable values rather than type assertions
- Export well-defined response types for all API endpoints
- Use descriptive variable names that reflect the GIPHY API terminology
Code Structure
- Keep files focused on a single responsibility
- Separate API endpoint functions by category (search, trending, random, etc.)
- Use async/await for all API requests, not Promises with .then()
- Handle rate limiting and error responses consistently
- Include JSDoc comments for all public methods and interfaces
API Client Design
- Ensure all API endpoints support the full range of parameters from GIPHY API
- Include proper pagination support for endpoints that return multiple results
- Use reasonable defaults for optional parameters
- Make the client configurable with options like rating, language, etc.
- Implement proper error handling with custom error types
Testing Standards
- Write unit tests for all API endpoint functions
- Use mocks for external API calls in tests
- Include integration tests that validate against real API responses
- Test error handling scenarios like rate limiting and invalid API keys
- Ensure all public interfaces have test coverage
Performance Considerations
- Implement request caching where appropriate
- Support both ESM and CommonJS module formats
- Keep dependencies minimal and up-to-date
- Ensure the package has a small bundle size
- Support tree-shaking for modular imports
Documentation
- Keep README examples up-to-date with the current API
- Include TypeDoc documentation for all public interfaces
- Document rate limiting considerations
- Provide usage examples for each API endpoint category
- Include sample response objects in documentation
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 · 90 lines · 660 tokens per session scan A 950787eeecf0
cursorrules is a cursor rule published in the GitHub repository magarcia/mcp-server-giphy (36 stars, last pushed 1y ago), licensed MIT. It adds 660 tokens to every session, about $0.0026 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-30.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesmagarcia/mcp-server-giphy | Cursor rule | 36 | 1y ago | MIT | A | 660 | Cursor |
| typescriptArenukvern/mcp_flutter | Cursor rule | 395 | 20d ago | MIT | A | 742 | Cursor |
| code-styleEvilFreelancer/zaezd | Cursor rule | 1 | 2mo ago | MIT | A | 860 | Cursor |
| python--typescript-guide-cursorrules-prompt-filePatrickJS/awesome-cursorrules | Cursor rule | 41k | 5mo ago | CC0-1.0 | A | 226 | Cursor |
| handle-rate-limiting-responsesPaulJPhilp/EffectPatterns | Cursor rule | 806 | 4mo ago | MIT | A | 1,598 | Cursor |
| control-repetition-with-schedulePaulJPhilp/EffectPatterns | Cursor rule | 806 | 4mo ago | MIT | A | 520 | Cursor |
| define-a-type-safe-configuration-schemaPaulJPhilp/EffectPatterns | Cursor rule | 806 | 4mo ago | MIT | A | 267 | Cursor |