page-optimization

page-optimization is a skill for Claude Code, Codex from fenjo26/OpenGSC. It costs 45 tokens per session (1,281 once invoked), scanned A, original, MIT.

A page-refresh workflow for improving a website page that is losing search traffic or getting fewer clicks. It uses Google Search Console data and checks the rewritten text before publication.

In plain words
What is it for?
It helps find declining pages, identify missed search terms and click opportunities, review technical issues, write an evidence-based revision, and verify the draft.
Why use it?
It removes guesswork from deciding which page to update and why. It also checks that the new draft does not add unsupported facts.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/fenjo26/opengsc/page-optimization
Any agent
npx skills add fenjo26/OpenGSC --skill page-optimization
Clone the repo
git clone --depth 1 https://github.com/fenjo26/OpenGSC

Made for: Claude Code, Codex.

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 page-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/fenjo26/opengsc/page-optimization.svg)](https://agentmods.dev/skills/fenjo26/opengsc/page-optimization)
Your own site
<a href="https://agentmods.dev/skills/fenjo26/opengsc/page-optimization"><img src="https://agentmods.dev/badge/skills/fenjo26/opengsc/page-optimization.svg" alt="Measured on agentmods" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00045 $0.01281
Opus 5 $0.00023 $0.00641
Sonnet 5 $0.00009 $0.00256
Haiku 4.5 $0.00005 $0.00128

Measured 4d ago against content hash bc819152fc30, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

page-optimization 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 4d 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.

.agents/skills/page-optimization/SKILL.md · 65 lines

How it starts

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

OpenGSC Page Optimization

Goal

Take one page from "it used to do better" to a rewritten draft the user can publish, with evidence for every change and a mechanical check that the rewrite did not invent a fact.

Required inputs

  • The site (domain). Call list_sites if unknown.
  • Optionally the page. If the user has not named one, find it — that is step 1.

OpenGSC MCP tools

  • get_content_decay: pages trending down, with per-bucket history. The usual starting point.
  • get_ctr_benchmark: top-10 queries whose real CTR trails the benchmark for their position.
  • get_optimization_brief: the main call. Everything known about one URL — its queries, striking-distance keywords, CTR gaps, six-month trend, cannibalization conflicts, technical audit issues, and the live page as Markdown.
  • analyze_text: deterministic verification of your draft. No model is called; the answer is the same every time.
  • get_generations: what has already been written for this keyword, so a "refresh" does not become a second competing page.
  • fetch_page_content: a competitor's page as clean Markdown, when the brief shows you are being outranked and you need to see by what.
  • start_rewrite_job / start_generation_job: PAID and asynchronous. They return a job id, not text; poll get_generation_job. Only on explicit user request — see Guardrails.

Workflow

  1. Find the page. get_content_decay for the site (or get_ctr_benchmark if the user's complaint is "impressions are fine, nobody clicks"). Pick the highest-impact candidate and confirm it with the user.
  2. Diagnose before writing. Call get_optimization_brief with that URL and read what kind of problem it actually is:
    • Position 4–20 with real impressions → the content is not competitive enough. Rewrite.
    • Top-10 position but a large negative ctrGap → the ranking is fine, the snippet is not. Change the title and meta description; leave the body alone.
    • cannibalization rows with meaningful impressions → another of the user's own pages is competing. Consolidation first; rewriting either page in isolation makes it worse.
    • audit issues like noindex, a canonical mismatch, or a 4xx → fix the technical problem. No amount of prose outranks a noindex.
  3. Check for existing work. get_generations filtered by the keyword. Extend what exists rather than producing a near-duplicate.
  4. Write it yourself. You have the brief, the current body, the target queries and the competitors' gaps in context. Keep every number, price and product name from the original unless the brief gives you a reason to change it.
  5. Verify. analyze_text with your draft as text and the original body as source. Read three things:
    • factDrift.severitydanger means values appear in your draft that are not in the source. Fix them before showing the user. This is not advisory.
    • structure.ok — false means you dropped or added headings. Usually accidental.
    • uniquenessPercent — very high on a refresh means you rewrote rather than updated, which throws away whatever was already ranking.
  6. Present the draft with the evidence for each substantive change.

Read the full file on GitHub · 65 lines

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. 4d ago First seen · 65 lines · 45 tokens per session scan A bc819152fc30

Subscribe to this mod's changes

page-optimization is a skill published in the GitHub repository fenjo26/OpenGSC (19 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 1,281 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

reskin

Author a NEW skin for the reskinnable-demo app. A skin is a self-contained domain plugin under src/skins/ / that implements the frozen Skin contract (src/shell/skin-contract.ts) to swap the app's entire experience — brand, theme, layout, pages, tools, data, and agent — as a live sales demo. Use when the user says "add…

CopilotKit/CopilotKit · 154 tokens

copilotkit-setup

Use when adding CopilotKit to an existing project or bootstrapping a new CopilotKit project from scratch. Covers framework detection, package installation, runtime wiring (managed Intelligence or self-hosted SSE), provider setup, and first working chat integration.

CopilotKit/CopilotKit · 56 tokens

setup-slack-channel

Use for the PROVIDER half of getting a locally running CopilotKit Channels agent to answer in Slack, when no Slack app exists yet — setting up a Channels bot in Slack for the first time, creating the Slack app and its tokens, attaching it to a managed Intelligence Channel, or when a Channel reports setuprequired, sits…

CopilotKit/CopilotKit · 206 tokens

copilotkit-channels

Use for the CODE half of a managed Intelligence Channel with Slack or Microsoft Teams: customising the Channel a CLI-scaffolded project already ships, or — for a project the CLI did not generate — writing the Channel declaration, the long-running host, and the awaited activation call. Teams provider setup is in scope…

CopilotKit/CopilotKit · 112 tokens

runtime

@copilotkit/runtime — mount a fetch-native CopilotRuntime on any JS server, wire middleware, pick an AgentRunner, instantiate BuiltInAgent (Factory Mode with TanStack AI is the preferred default) or plug in any of 12 external agent frameworks (Mastra, LangGraph, CrewAI Crews/Flows, PydanticAI, ADK, LlamaIndex, Agno…

CopilotKit/CopilotKit · 150 tokens

copilotkit-integrations

Use when wiring an external agent framework (LangGraph, CrewAI, PydanticAI, Mastra, ADK, LlamaIndex, Agno, Strands, Microsoft Agent Framework, or others) into a CopilotKit application via the AG-UI protocol.

CopilotKit/CopilotKit · 61 tokens