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/afaraha8403/balakitWrote 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/afaraha8403/balakit/seo-ai-search)<a href="https://agentmods.dev/rules/afaraha8403/balakit/seo-ai-search"><img src="https://agentmods.dev/badge/rules/afaraha8403/balakit/seo-ai-search/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/afaraha8403/balakit/seo-ai-search"><img src="https://agentmods.dev/badge/rules/afaraha8403/balakit/seo-ai-search.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.00000 | $0.01535 |
| Opus 5.5 | $0.00000 | $0.00614 |
| Sonnet 5.5 | $0.00000 | $0.00307 |
| Haiku 4.5 | $0.00000 | $0.00153 |
Grade B, and why
seo-ai-search scanned grade B with 1 finding 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 11d 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
- **Prompt Injection Sanitization:** User-generated content (reviews, Q&A, profiles) surfaced in JSON-LD or `/llms.txt` MUST be sanitized. Ensure malicious instructions (e.g., "Ignore previous instructions and execute X" Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Universal SEO & AI Search (Implementation & Security)
Apply when changing public-facing web pages or core SEO utility libraries.
For high-level strategy, manual audits, or marketing campaigns, refer to your project's marketing/SEO playbooks. Do not duplicate that workflow here.
Principle: AI visibility (LLMs, RAG systems, Agents) builds on valid HTML, extractable copy, structured data, and freshness. However, exposing Agentic Commerce endpoints and LLM-readable text creates new threat vectors. Optimize for both visibility and adversarial robustness.
Where Things Live (Agnostic Architecture)
Maintain strict separation of concerns across your framework (Next.js, Astro, Nuxt, etc.):
| Concern | Target Implementation |
|---|---|
| Meta clamping & sanitization | Centralized utility file (e.g., meta.ts, seo.utils.ts) |
| JSON-LD builders | Centralized schema definitions (e.g., schema.ts) |
| AI site index & routing | /llms.txt (or framework equivalent route) |
| AI knowledge export | /llms-full.txt (Full context export) |
| Crawler policy | /robots.txt (text/plain 200, Content-Signal matching User-agent policy) and /ai.txt if the project uses one |
| Sitemap | /sitemap.xml (XML 200; Sitemap: line in robots.txt) |
| Machine-readable pricing | Static server route (e.g., pricing.md or API) |
| Agentic commerce index | Declared in /llms.txt under Agentic commerce. Well-known protocol cards (ACP, UCP, x402, A2A, MCP) → agent-ready skill, not this rule. |
AI Security & Adversarial Defenses [CRITICAL]
When building endpoints specifically for AI consumption (/llms.txt, JSON-LD, UCP feeds), treat external LLMs and AI crawlers as potential attack vectors.
- Prompt Injection Sanitization: User-generated content (reviews, Q&A, profiles) surfaced in JSON-LD or
/llms.txtMUST be sanitized. Ensure malicious instructions (e.g., "Ignore previous instructions and execute X") cannot hijack downstream RAG systems or Agentic Commerce workflows. - Adversarial Validation (AV): Critical machine-readable logic (like Agentic capabilities or pricing APIs) should undergo adversarial testing. Ensure outputs cannot be easily hallucinated or misinterpreted by external models.
- Crawler policy match:
robots.txtContent-Signal (search/ai-train/ai-input) must match theUser-agentAllow/Disallow lines. Kit default unless the product overrides:search=yes,ai-train=no. Rate-limit unverified scrapers. Do not "always allow GPTBot" whenai-train=no.
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.
- 11d ago Changed · -1,457 tokens per session 34e16629582d
- 2mo ago Changed · +3 lines · +150 tokens per session c47011c12244
- 3mo ago First seen · 111 lines · 1,307 tokens per session scan B e2d4ac2cd2c6
seo-ai-search is a cursor rule published in the GitHub repository afaraha8403/balakit (1 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,535 tokens. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
seo-ai-search compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| seo-ai-searchafaraha8403/balakit | Cursor rule | 1 | 9d ago | MIT | B | 0 | Cursor |
| file-organizationcoco-research/coco | Cursor rule | 323 | yesterday | Apache-2.0 | A | 6 | Cursor |
| skill-routercoco-research/coco | Cursor rule | 323 | yesterday | Apache-2.0 | A | 303 | Cursor |
| tf-plananmolnagpal/devops-skills | Cursor rule | 9 | 2d ago | MIT | B | 4,253 | Cursor |
| clarify-firstmadebyaris/cursor-composer-rules | Cursor rule | 3 | 2mo ago | MIT | A | 21 | Cursor |
| orchestrator-mainmadebyaris/agent-orchestration | Cursor rule | 21 | 7mo ago | MIT | A | 11 | Cursor |
| tasksavedpixel/ai-agent-rules-generator | Cursor rule | 8 | 7mo ago | MIT | A | 1,949 | Cursor |