New to Claude Skills? Learn how to install them →

davila7 on GitHub

SEO Agent

Free

Streamline your SEO workflow with persistent artifacts.

Get this skill

Free · Opens the source repo

What SEO Agent does

SEO Agent provides a structured, persistent workflow for managing SEO tasks within your coding environment. Unlike traditional one-off SEO prompts that lose context after each session, this skill saves all relevant artifacts to a dedicated .seoagent/ directory in your repository. This means that your technical audits, keyword strategies, content briefs, and article drafts accumulate over time, allowing for a more cohesive and informed approach to SEO management.

The skill is designed to assist users in running comprehensive technical SEO audits, which include checks for critical elements like meta tags, headings, internal links, and structured data. It also facilitates the creation of a hub-and-spoke keyword strategy, where topic clusters are organized to optimize internal linking and authority flow. Users can generate tailored content briefs for various page types, ensuring that each brief is aligned with specific SEO requirements. This structured approach helps in drafting SEO-optimized articles that adhere to best practices, including the use of JSON-LD for structured data.

Moreover, the skill allows users to resume previous SEO work seamlessly. By reading existing files in the .seoagent/ directory, you can quickly pick up where you left off, whether that's continuing an audit, refining a keyword strategy, or drafting content. This persistence is particularly useful for ongoing SEO projects that require regular updates and adjustments based on performance metrics and changing search algorithms.

Overall, SEO Agent is ideal for developers and designers who are involved in content creation and SEO optimization. It provides a comprehensive toolkit to enhance your SEO efforts while ensuring that all work is organized and easily accessible for future reference.

When to use it

Use this skill when you need to conduct technical SEO audits, develop keyword strategies, create content briefs, or draft SEO articles.

When not to use it

This skill may not be suitable for users looking for quick, one-time SEO solutions without the need for ongoing management or persistence.

What you can build with it

Conducting a Technical SEO Audit

Use SEO Agent to run a detailed audit of your website's key pages, checking for critical SEO elements and saving findings for future reference.

Building a Keyword Strategy

Leverage SEO Agent to develop a hub-and-spoke keyword strategy, organizing topic clusters to optimize your content's internal linking structure.

Drafting SEO-Optimized Articles

Utilize SEO Agent to create structured content briefs and draft articles with complete SEO frontmatter, ensuring your content is optimized for search engines.

How to install SEO Agent

View source

1. Install with the skills CLI

npx skills add davila7/claude-code-templates/seoagent --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by davila7

SEOAgent

A persistent, repo-local SEO workflow. Unlike one-off SEO prompts that lose their context the moment the conversation ends, every artifact here is written to a .seoagent/ directory in the repo — so audits, strategy, briefs, and drafts accumulate across sessions instead of resetting each time.

When to Use This Skill

Use this skill when the user wants to:

  • Run a technical SEO audit of a site (meta tags, headings, internal links, schema, Core Web Vitals readiness, AI-search optimization)
  • Build a keyword strategy with topic clusters and an internal-linking structure
  • Write a content brief for a specific page or article
  • Draft an SEO-optimized article with full metadata and JSON-LD
  • Resume SEO work — read back prior audit findings, strategy, or the roadmap

Workspace Model

All work persists to .seoagent/ so it survives across sessions:

.seoagent/
  project.md           # domain, site type
  context.md           # business context, tone, banned topics
  audit/latest.md      # findings as [ ] / [x] checkboxes, tagged by severity
  strategy/clusters/   # hub-and-spoke topic clusters
  briefs/{slug}.md     # page-type-aware briefs
  content/{slug}.md    # drafts with SEO frontmatter + JSON-LD
  roadmap.md           # prioritized next steps
  changelog.md         # history of SEO work

Always read existing .seoagent/ files before acting, and write results back so the next session can build on them.

Workflow (5 phases)

1. Technical audit

Fetch the site's key pages and check each against the list below. Save findings to .seoagent/audit/latest.md as [ ] checkboxes the user can flip to [x] when fixed, each tagged critical | high | medium | low.

Critical / high

  • Indexability: no accidental noindex, no blocked paths in robots.txt, canonical present and self-referential
  • Title tag: present, unique, 50–60 chars, primary keyword near the front
  • Meta description: present, unique, 140–160 chars, compelling
  • One <h1> per page, descriptive; logical h2/h3 hierarchy
  • Internal links: no orphan pages; descriptive anchor text
  • Structured data: appropriate JSON-LD (Organization/Article/Product/FAQ) present and valid

Medium / low

  • Image alt text on content images
  • OpenGraph + Twitter card tags for social sharing
  • Core Web Vitals readiness (LCP image preloaded, no layout shift, reasonable JS)
  • Clean, keyword-relevant URL slugs
  • XML sitemap present and submitted; HTTPS enforced

2. Keyword strategy (hub-and-spoke)

Research the niche, then build topic clusters where each cluster has roles:

  • PILLAR — broad, high-value hub page
  • SUB_PILLAR — focused subtopics linking up to the pillar
  • LONG_TAIL — specific questions/niche queries linking up to sub-pillars

Internal links funnel authority up toward pillars. Save clusters to .seoagent/strategy/clusters/{slug}.md with the article table + link graph.

3. Content briefs (page-type-aware)

Different page types need different structures. Pick the protocol by type:

  • landing — conversion-focused, Product/Service JSON-LD
  • pillar — comprehensive overview, links to all sub-pillars
  • sub_pillar — focused subtopic depth
  • long_tail — direct answer to a specific query, FAQPage JSON-LD
  • programmatic — templated pages from a data set

Each brief gets a URL pattern, section outline (H2/H3), internal-link plan, JSON-LD plan, and a word-count target. Save to .seoagent/briefs/{slug}.md.

4. Draft articles

Write from the brief with complete SEO frontmatter:

  • meta_title, meta_description, canonical
  • OpenGraph + Twitter fields
  • JSON-LD: Article, plus FAQPage / HowTo where the content warrants it
  • An image plan (hero + inline) with alt text

Save to .seoagent/content/{slug}.md.

5. Monitor

Re-audit periodically, update .seoagent/roadmap.md with the next highest-leverage actions, and append what changed to .seoagent/changelog.md.

Answer-engine optimization (AEO/GEO)

Beyond classic SEO, structure content so AI assistants (ChatGPT, Claude, Perplexity, Google AI Overviews) can cite it: lead with a direct answer, use clear headings as questions, include comparison tables and concrete stats, and add FAQ/HowTo structured data. This makes pages citable in AI-generated answers, not just rankable.

Running the full agent

This skill captures the SEOAgent methodology. The full agent ships as a CLI that scaffolds the .seoagent/ workspace, installs an expanded reference library (per-page-type protocols, a JSON-LD library, an audit-check catalog), and adds an optional cloud loop:

# npm
npm install -g @seoagent-official/seoagent && seoagent init

# or the plugin marketplace (Claude Code or Codex)
/plugin marketplace add Baxter-Inc/seoagent-npm

Free and local by default (uses your agent's own tools; data stays in your repo). Optional cloud adds real keyword data, Google Search Console, and CMS publishing. MIT licensed — https://github.com/Baxter-Inc/seoagent-npm

Frequently asked questions about SEO Agent

Similar skills