gr-seo-patrol

gr-seo-patrol is a skill for Claude Code, Codex from Gingiris/gingiris-skills. It costs 109 tokens per session (2,389 once invoked), scanned A, original, MIT.

A daily SEO and GEO monitoring workflow for website content. SEO means improving visibility in search engines, while GEO here means improving how generative AI systems find and cite content.

In plain words
What is it for?
Use it to compare keyword rankings, check Google indexing and GA4 tags, verify llms.txt, repair duplicate-page canonical links, and update an underperforming article’s title and internal links.
Why use it?
It brings ranking, indexing, analytics-tag, llms.txt, canonical-link, and article-link checks into one workflow, helping locate common visibility problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare keyword rankings, check Google indexing and GA4 tags, verify llms.txt, repair duplicate-page canonical links, and update an underperforming article’s title and internal links.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gingiris/gingiris-skills/gr-seo-patrol
Install

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.

Any agent
npx skills add Gingiris/gingiris-skills --skill gr-seo-patrol
Clone the repo
git clone --depth 1 https://github.com/Gingiris/gingiris-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin gr-seo-patrol/plugin install gr-seo-patrol after adding the marketplace above.

Wrote 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.

agentmods badge for gr-seo-patrol

README.md
[![agentmods](https://agentmods.dev/badge/skills/gingiris/gingiris-skills/gr-seo-patrol/github.svg)](https://agentmods.dev/skills/gingiris/gingiris-skills/gr-seo-patrol)
Your own site
<a href="https://agentmods.dev/skills/gingiris/gingiris-skills/gr-seo-patrol"><img src="https://agentmods.dev/badge/skills/gingiris/gingiris-skills/gr-seo-patrol/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.

agentmods 80×15 button for gr-seo-patrol

Your own site · 80×15
<a href="https://agentmods.dev/skills/gingiris/gingiris-skills/gr-seo-patrol"><img src="https://agentmods.dev/badge/skills/gingiris/gingiris-skills/gr-seo-patrol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,389 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.02389
Opus 5 $0.00055 $0.01195
Sonnet 5 $0.00022 $0.00478
Haiku 4.5 $0.00011 $0.00239

Measured 9d ago against content hash 7f7a0993a2f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gr-seo-patrol scanned grade A 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 9d ago.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/canonical-fix.py, scripts/check-page.py, scripts/check-schema.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

import urllib.request, json
skills/gr-seo-patrol/SKILL.md · 235 lines

How it starts

The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gr-seo-patrol — SEO/GEO 日常巡逻

什么时候用

场景 动作
"跑今日 SEO 日报" 执行完整巡逻(scripts/daily-report.py)
"某关键词排名掉了" 单词诊断(scripts/diag-keyword.py)
"修 canonical" 批量合并(scripts/canonical-fix.py)
"救一下这篇文章" 社媒救援(scripts/rescue-post.py)—— title 前置 + 3 个高权重内链
"检查 GA4 部署" 扫 HTML 里的 G-XXXXX tag
"查 llms.txt" HTTP 200 + 字节数

核心流程

1. 日报模式

输入:无(全自动) 或 指定关键词清单 输出:

  • 关键词排名 diff 表(今日 vs 昨日基线)
  • Google 索引数
  • llms.txt 状态
  • GA4 覆盖状态
  • 🚨 异常提示(跌出 top 100、整体刷新)

2. 单词诊断

输入:1 个关键词 过程:

  1. 跑 4-5 个 long-tail 变体 SERP
  2. 检查目标 URL 是否 HTTP 200
  3. site: 查询确认是否索引
  4. 对比 3 天前的数据(如果有历史) 输出:雪崩 / 个别 / SERP 刷新 / 死链 四选一

3. Canonical 批量修复

输入:同主题的 N 篇文章 + 1 个 master URL 过程:替换每篇 frontmatter 里的 canonical_url: → master,GitHub API PUT 安全护栏:

  • 只改 _posts/ 下的 .md
  • 每篇 commit 独立(方便回滚)
  • 跳过 ja/ko(hreflang 替代,保持 self-canonical)

4. 社媒救援

输入:1 个雪崩 URL 动作:

  • a. 重写 title:主关键词前置,长度 ≤ 60 字
  • b. 从 top-3 高权重文章注入内链(带 anchor text = 目标关键词)
  • c. 记录修改前后到日志

API 依赖

Service Env var 用途
DataForSEO DATAFORSEO_B64 SERP 查询
GitHub PAT GITHUB_TOKEN 读写 _posts/

完整 key 模板见 docs/api-keys-template.md


SERP 查询模板

import urllib.request, json
def serp(kw, loc=2840, lang="en", depth=100):
    key = os.environ["DATAFORSEO_B64"]
    payload = json.dumps([{"keyword": kw, "location_code": loc,
                           "language_code": lang, "device": "desktop",
                           "depth": depth}]).encode()
    req = urllib.request.Request(
        "https://api.dataforseo.com/v3/serp/google/organic/live/advanced",
        data=payload,
        headers={"Authorization": f"Basic {key}",
                 "Content-Type": "application/json"})
    with urllib.request.urlopen(req, timeout=40) as r:
        return json.loads(r.read())

常用 location_code:

  • 2840 US / 2826 UK / 2392 JP / 2410 KR / 2156 CN(无效,中国不返回)

执行脚本

实际可执行的脚本在 scripts/ 下:

  • daily-report.py — 完整日报
  • canonical-fix.py — canonical 批量合并
  • rescue-post.py — 社媒文章救援
  • diag-keyword.py — 单关键词诊断

Read the full file on GitHub · 235 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 9d ago First seen · 235 lines · 109 tokens per session scan A 7f7a0993a2f3

Subscribe to this mod's changes

gr-seo-patrol is a skill published in the GitHub repository Gingiris/gingiris-skills (23 stars, last pushed 3mo ago), licensed MIT. It adds 109 tokens to every session and 2,389 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens