xseek Logo
GuidesMarch 24, 2026β€’11 min read

How to Turn Claude Code Into a GEO Content Writer

Marc-Olivier Bouchard

Marc-Olivier Bouchard

LLM AI Ranking Strategy Consultant

How to Turn Claude Code Into a GEO Content Writer

Claude Code + xSeek CLI turns AI content writing from a manual process into an automated pipeline. Install the CLI, add the skills, and you've got a system that finds content gaps, studies competitors, writes GEO-optimized articles, and tracks whether AI models cite them β€” all from your terminal.

Most teams use ChatGPT or Claude to write blog posts one at a time. You paste a prompt, get a draft, edit it, publish it, and hope for the best. There's no data behind what to write, no competitor analysis, and no way to track results.

xSeek CLI changes that. It connects Claude Code directly to your AI visibility data β€” content gaps, LLM search queries, competitor citations, and GSC rankings. Claude Code reads this data through xSeek's skills (slash commands), then writes articles that target the exact queries AI models search for.

The result: a content operation that's data-driven from start to finish. Not β€œwrite about topic X because it seems popular” but β€œwrite about topic X because ChatGPT searched for it 37 times last week, Perplexity cites three competitors for it, and your site has zero coverage.”

What You Need (Prerequisites)

Two tools:

  1. Claude Code β€” Anthropic's CLI agent. Install with npm install -g @anthropic-ai/claude-code. Requires Node.js 18+. Authenticate with your Anthropic API key. Pro subscription at $17/month (annual) or $20/month, or Max at $100/month for 5x usage.
  2. xSeek CLI β€” Terminal interface for xSeek's AI visibility data. Install with curl -fsSL https://cli.xseek.io/install.sh | sh. Authenticate with xseek login YOUR_API_KEY. Get your API key at xseek.io/dashboard/api-keys. Requires an xSeek account (Visibility plan at $99.99/month or Growth at $249.99/month).
# Install Claude Code
npm install -g @anthropic-ai/claude-code

# Install xSeek CLI
curl -fsSL https://cli.xseek.io/install.sh | sh
xseek login YOUR_API_KEY

# Verify both work
claude --version
xseek version

How xSeek Skills Work in Claude Code

xSeek ships as a set of Claude Code skills β€” markdown files in .claude/commands/. Each skill is a slash command Claude can execute. When you type /generate-article, Claude reads the skill instructions, calls xSeek CLI commands to gather data, analyzes competitor content, and writes the article.

Skills are just markdown files with step-by-step instructions. Claude follows them like a playbook. The key difference from a regular prompt: skills include specific CLI commands that pull real data from xSeek's API β€” opportunities, LLM searches, GSC queries, competitor sources.

This isn't β€œwrite me a blog post about X.” It's β€œlook at what AI models are searching for, find the biggest content gap, study the top 3 competitor articles that are getting cited, and write something better.”

The 7 xSeek Content Skills

1. /find-opportunities β€” Discover Content Gaps

Scans your AI visibility data and finds queries where competitors get cited but you don't. Outputs a prioritized list with business value scores, competitor citations, and related keywords.

Usage: type /find-opportunities in Claude Code.

2. /generate-article β€” Write a Full Article from Data

The main content generation skill. Picks an opportunity (or you specify a topic), studies the top 3-5 competitor articles that AI models cite, and writes a complete article with FAQ, comparison tables, and schema markup. Every fact gets verified β€” pricing is fetched from official sites, product features confirmed.

Usage: /generate-article (auto-picks best opportunity) or /generate-article best CRM tools for startups.

3. /rewrite-page β€” Rewrite an Existing Page for AI Citations

Fetches an existing page, runs AEO Copilot analysis, checks GSC keyword rankings, and produces a full rewrite optimized for AI citation. Preserves all existing Google keywords while adding GEO optimization.

Usage: /rewrite-page https://yoursite.com/blog/old-article.

4. /optimize-page β€” Get Optimization Recommendations

Lighter than a full rewrite. Analyzes a page and gives specific recommendations: missing entities, structural issues, content gaps, schema suggestions.

Usage: /optimize-page https://yoursite.com/blog/article.

5. /aeo-audit β€” Full AI Visibility Assessment

Runs a complete audit of your site's AI visibility across ChatGPT, Perplexity, Claude, and Gemini. Shows where you're cited, where you're missing, and what to fix first.

Usage: /aeo-audit.

6. /weekly-report β€” Weekly Performance Summary

Generates a weekly report comparing AI visibility, GSC performance, and citation trends. Good for tracking whether your content changes are working.

Usage: /weekly-report.

7. /track-visibility β€” Quick AI Visibility Snapshot

Fast check of your current AI visibility. Shows brand mentions, citation counts, and competitor comparison.

Usage: /track-visibility.

Full Workflow: From Gap to Published Article

Here's how the pieces fit together in a real content operation. Five steps, start to finish.

Step 1: Find the gap. Run /find-opportunities. xSeek returns β€œbest AEO tools 2026” as a critical gap β€” frequency of 37 LLM searches, competitors Profound with 234 citations, Semrush with 220, and Ahrefs with 104. Your site has zero coverage.

Step 2: Generate the article. Run /generate-article best AEO tools 2026. Claude does the following automatically:

  • Fetches opportunity data via xseek opportunities
  • Pulls LLM web searches via xseek web-searches
  • Gets GSC queries via xseek search-queries
  • Fetches brand context via xseek brand-context
  • Studies the top 3-5 competitor articles (fetches and analyzes their content)
  • Verifies pricing for every tool mentioned
  • Writes the full article with FAQ, comparison table, and GEO methods applied
  • Pushes the article to Content Studio via the V1 API

Step 3: Review. Open the article in Content Studio or as code in your editor. Edit where your human judgment catches something Claude missed β€” a nuance about a competitor, a claim that needs softening, a section that reads too generic.

Step 4: Publish. Push the article to your CMS or blog. The article already includes schema markup, FAQ section, and internal links.

Step 5: Track. Run /track-visibility the following week to see if the article starts getting cited by AI models. Run /weekly-report to track the trend over time.

The GEO Methods Claude Applies Automatically

The skills include Princeton research-backed GEO methods from Aggarwal et al., β€œGEO: Generative Engine Optimization,” Princeton University, 2024. Each method has a measured impact on AI citation rates:

  • Cite Sources (+40%) β€” Claude adds 5-8 authoritative external references with links to official sources
  • Statistics (+37%) β€” 5+ specific data points with sources baked into every article
  • Quotations (+30%) β€” Expert quotes with attribution, pulled from competitor content and industry reports
  • Authoritative Tone (+25%) β€” Direct, confident language that states positions rather than hedging
  • Answer-First Format β€” Every section opens with a direct answer before expanding into detail
  • FAQ Section β€” Questions pulled from actual LLM search queries, not guesses
  • Comparison Tables β€” AI models love citing structured data; tables get referenced more than paragraphs

These aren't optional add-ons. They're built into the /generate-article skill instructions. Every article Claude writes includes all seven methods by default.

Tips for Better Results

  • Set your brand context in xSeek. Upload brand voice guidelines, tone preferences, and knowledge base entries. Claude reads these before writing and matches your brand's style.
  • Don't publish without editing. Claude writes strong first drafts, but your human perspective catches nuance it misses. A 15-minute review pass makes a real difference.
  • Run /weekly-report consistently. The data compounds. After 4-6 weeks, you'll see which topics earn citations and which don't β€” and you can feed that back into your next /find-opportunities run.
  • Stack skills. Run /find-opportunities first, then /generate-article on the best gap, then /optimize-page on the result. Each skill builds on the previous one's output.

Frequently Asked Questions

How much does this setup cost?

Claude Code Pro costs $17-20/month. xSeek Visibility plan costs $99.99/month. Total: roughly $120/month for a data-driven content pipeline. Compare that to hiring a content strategist or paying $500/article from a freelancer. The pipeline pays for itself after 2-3 articles.

Can I use this with any website?

Yes. Add your website to xSeek, install the CLI, and the skills work with any site. You'll need Google Search Console connected for GSC data β€” that takes about 5 minutes to set up.

Does Claude Code actually write good articles?

It writes strong first drafts that are data-informed and structurally sound. You should always review and edit before publishing. The value isn't perfect prose β€” it's the data pipeline that tells Claude what to write and why. The gap analysis, competitor research, and GEO optimization happen before a single word gets written.

What's the difference between skills and regular prompts?

Skills are persistent instruction files that include specific CLI commands for data gathering. A regular prompt is β€œwrite me an article about X.” A skill is β€œfetch opportunity data, study 5 competitor articles, verify all pricing, apply GEO methods, and write an article that beats all of them.” Skills are repeatable, consistent, and data-connected.

How do I customize the skills?

The skills are markdown files in .claude/commands/. Open them in any editor and modify the instructions. You can change the writing style, add extra steps, remove sections you don't need, or create entirely new skills. They're just text files β€” no special tooling required.

Can Claude Code publish articles directly?

Claude Code pushes articles to xSeek's Content Studio via the V1 API. From there, you review and publish to your CMS. It doesn't publish directly to WordPress or other platforms yet β€” the review step is intentional. You want human eyes on every article before it goes live.

Sources & References

  1. Aggarwal, S., Murahari, V., Rajpurohit, T., Kambadur, A., Narasimhan, K., & Mallen, A. (2024). GEO: Generative Engine Optimization. Princeton University, IIT Delhi, Georgia Tech, Allen Institute for AI. KDD 2024. arXiv:2311.09735.
  2. Claude Code β€” Anthropic's AI coding agent. claude.com.
  3. xSeek β€” AI-First Search Analytics Platform. xseek.io.

Key Takeaways

  • β€’ Claude Code + xSeek CLI creates a data-driven content pipeline: find gaps, study competitors, write articles, track citations β€” all from your terminal
  • β€’ The 7 xSeek skills (/find-opportunities, /generate-article, /rewrite-page, /optimize-page, /aeo-audit, /weekly-report, /track-visibility) cover the full content lifecycle
  • β€’ Every article automatically includes GEO methods backed by Princeton research: citations (+40%), statistics (+37%), quotations (+30%), and authoritative tone (+25%)
  • β€’ Total cost is roughly $120/month (Claude Code Pro + xSeek Visibility) β€” less than the price of a single freelance article
  • β€’ Skills are markdown files you can customize, extend, or replace β€” no lock-in, no proprietary format
Marc-Olivier Bouchard

About the Author

Marc-Olivier Bouchard is an LLM AI Ranking Strategy Consultant who builds AI visibility systems for brands and agencies. He created xSeek to solve the measurement problem he kept running into: how do you know if AI models are citing your content, and what do you change if they're not?

Start Building Your AI Content Pipeline

xSeek gives Claude Code the data it needs to write articles that AI models actually cite. Content gaps, competitor analysis, LLM search queries, and citation tracking β€” all accessible through terminal commands.

  • Find content gaps where competitors get cited and you don't
  • Generate articles with built-in GEO methods from Princeton research
  • Track whether AI models start citing your new content
  • Customize skills to match your brand voice and workflow
  • 7-day free trial, no credit card required

Related Articles

9 Best GEO Tools to Write Articles That Rank in ChatGPT

9 Best GEO Tools to Write Articles That Rank in ChatGPT

Compare the top GEO tools for writing articles that get cited by ChatGPT, Perplexity, Claude, and Gemini.

Read more
10 Best AEO Tools in 2026

10 Best AEO Tools in 2026

The best Answer Engine Optimization tools for tracking and improving your brand's visibility in AI-generated answers.

Read more
AI SEO Strategies

AI SEO Strategies

Practical strategies for optimizing your content to rank in AI-powered search engines and answer engines.

Read more