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.
npx agentmods add skills/fenjo26/opengsc/page-optimizationnpx skills add fenjo26/OpenGSC --skill page-optimizationgit clone --depth 1 https://github.com/fenjo26/OpenGSCWrote 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/skills/fenjo26/opengsc/page-optimization)<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>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 | $0.00045 | $0.01281 |
| Opus 5 | $0.00023 | $0.00641 |
| Sonnet 5 | $0.00009 | $0.00256 |
| Haiku 4.5 | $0.00005 | $0.00128 |
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.
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_sitesif 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; pollget_generation_job. Only on explicit user request — see Guardrails.
Workflow
- Find the page.
get_content_decayfor the site (orget_ctr_benchmarkif the user's complaint is "impressions are fine, nobody clicks"). Pick the highest-impact candidate and confirm it with the user. - Diagnose before writing. Call
get_optimization_briefwith 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. cannibalizationrows with meaningful impressions → another of the user's own pages is competing. Consolidation first; rewriting either page in isolation makes it worse.auditissues likenoindex, a canonical mismatch, or a 4xx → fix the technical problem. No amount of prose outranks anoindex.
- Check for existing work.
get_generationsfiltered by the keyword. Extend what exists rather than producing a near-duplicate. - 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.
- Verify.
analyze_textwith your draft astextand the original body assource. Read three things:factDrift.severity—dangermeans 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.
- Present the draft with the evidence for each substantive change.
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.
- 4d ago First seen · 65 lines · 45 tokens per session scan A bc819152fc30
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.
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-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.
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-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…
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-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.