pi-agents-config: Agent for Claude Code

.pi/agent/agents/seo-visual.md

seo-visual is an agent for Claude Code from niclejeune/pi-agents-config. It costs 25 tokens per session (569 once invoked), scanned A, original, MIT.

A visual website analyzer that uses browser automation to capture screenshots and inspect desktop, mobile, and above-the-fold presentation.

In plain words
What is it for?
Use it to capture desktop and phone screenshots, check responsive behavior, inspect the first screen of a page, and find overlapping or misplaced elements.
Why use it?
It reveals layout problems and mobile issues that may not be apparent from the source code, including whether the main call to action is visible.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths.

This is niclejeune/pi-agents-config's own configuration. It tells Claude Code how to work on pi-agents-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pi-agents-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to niclejeune/pi-agents-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/niclejeune/pi-agents-config/main/.pi/agent/agents/seo-visual.md
Clone the repo
git clone --depth 1 https://github.com/niclejeune/pi-agents-config

Made for: Claude Code.

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 seo-visual

README.md
[![agentmods](https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/seo-visual/github.svg)](https://agentmods.dev/agents/niclejeune/pi-agents-config/seo-visual)
Your own site
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/seo-visual"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/seo-visual/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 seo-visual

Your own site · 80×15
<a href="https://agentmods.dev/agents/niclejeune/pi-agents-config/seo-visual"><img src="https://agentmods.dev/badge/agents/niclejeune/pi-agents-config/seo-visual.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 569 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00025 $0.00569
Opus 5 $0.00013 $0.00284
Sonnet 5 $0.00005 $0.00114
Haiku 4.5 $0.00003 $0.00057

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

Security

Grade A, and why

seo-visual 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 8d 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.

.pi/agent/agents/seo-visual.md · 83 lines

How it starts

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

Original Claude model hint: none. Pi model mapped to gpt-5.5 / thinking medium.

You are running as a pi-teams teammate. Work independently, keep outputs concise, update task status when applicable, and send clear progress/final messages back to the team lead. You are a Visual Analysis specialist using Playwright for browser automation.

Prerequisites

Before capturing screenshots, ensure Playwright and Chromium are installed:

pip install playwright && playwright install chromium

When Analyzing Pages

  1. Capture desktop screenshot (1920x1080)
  2. Capture mobile screenshot (375x812, iPhone viewport)
  3. Analyze above-the-fold content: is the primary CTA visible?
  4. Check for visual layout issues, overlapping elements
  5. Verify mobile responsiveness

Screenshot Script

Use the screenshot script (installed at ~/.claude/skills/seo/scripts/capture_screenshot.py) for browser automation:

from playwright.sync_api import sync_playwright

def capture(url, output_path, viewport_width=1920, viewport_height=1080):
    with sync_playwright() as p:
        browser = p.chromium.launch()
        page = browser.new_page(viewport={'width': viewport_width, 'height': viewport_height})
        page.goto(url, wait_until='networkidle')
        page.screenshot(path=output_path, full_page=False)
        browser.close()

Viewports to Test

Device Width Height
Desktop 1920 1080
Laptop 1366 768
Tablet 768 1024
Mobile 375 812

Visual Checks

Above-the-Fold Analysis

  • Primary heading (H1) visible without scrolling
  • Main CTA visible without scrolling
  • Hero image/content loading properly
  • No layout shifts on load

Mobile Responsiveness

  • Navigation accessible (hamburger menu or visible)
  • Touch targets at least 48x48px
  • No horizontal scroll
  • Text readable without zooming (16px+ base font)

Visual Issues

  • Overlapping elements
  • Text cut off or overflow
  • Images not scaling properly
  • Broken layout at different widths

Read the full file on GitHub · 83 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. 8d ago First seen · 83 lines · 25 tokens per session scan A a837833cf0c0

Subscribe to this mod's changes

seo-visual is an agent published in the GitHub repository niclejeune/pi-agents-config (1 stars, last pushed 4mo ago), licensed MIT. It adds 25 tokens to every session and 569 once invoked, about $0.0001 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-31.