niahere 0.2.51 → 0.2.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/README.md +29 -16
  2. package/package.json +2 -2
  3. package/skills/ai-seo/SKILL.md +398 -0
  4. package/skills/ai-seo/evals/evals.json +90 -0
  5. package/skills/ai-seo/references/content-patterns.md +285 -0
  6. package/skills/ai-seo/references/platform-ranking-factors.md +152 -0
  7. package/skills/aws-cli/skill.md +198 -0
  8. package/skills/churn-prevention/SKILL.md +424 -0
  9. package/skills/churn-prevention/evals/evals.json +93 -0
  10. package/skills/churn-prevention/references/cancel-flow-patterns.md +316 -0
  11. package/skills/churn-prevention/references/dunning-playbook.md +408 -0
  12. package/skills/cold-email/SKILL.md +158 -0
  13. package/skills/cold-email/evals/evals.json +94 -0
  14. package/skills/cold-email/references/benchmarks.md +83 -0
  15. package/skills/cold-email/references/follow-up-sequences.md +81 -0
  16. package/skills/cold-email/references/frameworks.md +90 -0
  17. package/skills/cold-email/references/personalization.md +79 -0
  18. package/skills/cold-email/references/subject-lines.md +53 -0
  19. package/skills/competitor-alternatives/SKILL.md +256 -0
  20. package/skills/competitor-alternatives/evals/evals.json +93 -0
  21. package/skills/competitor-alternatives/references/content-architecture.md +271 -0
  22. package/skills/competitor-alternatives/references/templates.md +223 -0
  23. package/skills/copy-editing/SKILL.md +447 -0
  24. package/skills/copy-editing/evals/evals.json +89 -0
  25. package/skills/copy-editing/references/plain-english-alternatives.md +394 -0
  26. package/skills/copywriting/SKILL.md +252 -0
  27. package/skills/copywriting/evals/evals.json +111 -0
  28. package/skills/copywriting/references/copy-frameworks.md +344 -0
  29. package/skills/copywriting/references/natural-transitions.md +272 -0
  30. package/skills/customer-research/SKILL.md +269 -0
  31. package/skills/customer-research/evals/evals.json +162 -0
  32. package/skills/customer-research/references/source-guides.md +345 -0
  33. package/skills/email-sequence/SKILL.md +311 -0
  34. package/skills/email-sequence/evals/evals.json +93 -0
  35. package/skills/email-sequence/references/copy-guidelines.md +113 -0
  36. package/skills/email-sequence/references/email-types.md +515 -0
  37. package/skills/email-sequence/references/sequence-templates.md +168 -0
  38. package/skills/google-workspace-cli/SKILL.md +157 -0
  39. package/skills/launch-strategy/SKILL.md +353 -0
  40. package/skills/launch-strategy/evals/evals.json +91 -0
  41. package/skills/minimalist-review/SKILL.md +82 -0
  42. package/skills/onboarding-cro/SKILL.md +220 -0
  43. package/skills/onboarding-cro/evals/evals.json +92 -0
  44. package/skills/onboarding-cro/references/experiments.md +258 -0
  45. package/skills/page-cro/SKILL.md +182 -0
  46. package/skills/page-cro/evals/evals.json +111 -0
  47. package/skills/page-cro/references/experiments.md +248 -0
  48. package/skills/product-marketing-context/SKILL.md +241 -0
  49. package/skills/product-marketing-context/evals/evals.json +85 -0
  50. package/skills/seo-audit/SKILL.md +412 -0
  51. package/skills/seo-audit/evals/evals.json +136 -0
  52. package/skills/seo-audit/references/ai-writing-detection.md +200 -0
  53. package/skills/signup-flow-cro/SKILL.md +359 -0
  54. package/skills/signup-flow-cro/evals/evals.json +88 -0
  55. package/skills/social-content/SKILL.md +278 -0
  56. package/skills/social-content/evals/evals.json +92 -0
  57. package/skills/social-content/references/platforms.md +170 -0
  58. package/skills/social-content/references/post-templates.md +177 -0
  59. package/skills/social-content/references/reverse-engineering.md +195 -0
  60. package/src/channels/slack.ts +1 -1
  61. package/src/cli/agent.ts +17 -11
  62. package/src/cli/index.ts +51 -27
  63. package/src/cli/job.ts +91 -62
  64. package/src/cli/watch.ts +17 -7
  65. package/src/core/scheduler.ts +9 -0
  66. package/src/utils/cli.ts +122 -10
package/README.md CHANGED
@@ -34,51 +34,63 @@ nia start # starts daemon + registers OS service
34
34
  - **Slack** — Socket Mode bot with thread awareness, thinking emoji, watch channels for proactive monitoring
35
35
  - **Terminal chat** — REPL with session resume support
36
36
  - **Scheduled jobs** — recurring jobs and crons that run Claude and can message you back
37
- - **Persona system** — customizable identity, soul, owner profile, and on-demand memory
37
+ - **Persona system** — customizable identity, soul, owner profile, rules, and memory (preloaded every session)
38
38
  - **Agents** — domain specialists (marketer, senior-dev) via Claude Agent SDK subagents
39
39
  - **Skills** — loads skills from multiple directories, invokable as slash commands
40
40
  - **Cross-platform service** — launchd (macOS), systemd (Linux), service-aware restart
41
- - **MCP tools** — 18 tools for job management, messaging, memory, and channel control
41
+ - **MCP tools** — 20 tools for job management, messaging, memory, rules, and channel control
42
+ - **Background memory consolidation** — extracts memories from conversations and job runs automatically
43
+ - **Session summaries** — handoff notes between sessions for continuity
44
+ - **Backups** — `nia backup` with auto-backup before updates
42
45
  - **Optional integrations** — add Gmail, Discord, and more via skills
43
46
 
44
47
  ## Commands
45
48
 
46
49
  ```
47
- nia init — interactive setup (db, channels, persona, images)
50
+ nia init — interactive setup (db, channels, persona, agents, active hours)
48
51
  nia start / stop — daemon + OS service (launchd/systemd)
49
52
  nia restart — restart daemon (service-aware)
50
53
  nia status — show daemon, jobs, channels, chat rooms
51
- nia chat [-r|--resume] interactive terminal chat
54
+ nia health check daemon, db, channels, config
55
+ nia chat [-c|-r] [--channel ch] — terminal chat (new by default, -c continue, -r pick)
52
56
  nia run <prompt> — one-shot prompt execution
53
57
  nia history [room] — recent messages
54
- nia logs [-f] — daemon logs (follow with -f)
58
+ nia logs [-f] [--channel ch] — daemon logs (follow with -f, filter by channel)
55
59
  nia send [-c channel] <msg> — send a message via channel
56
- nia skills — list available skills
57
60
  nia version — show version
61
+ nia update — update to latest version (auto-backup + restart)
58
62
 
59
63
  nia job list — list all jobs
60
64
  nia job show [name] — full details + recent runs
61
- nia job add <n> <s> <p> add a job (active hours only)
62
- nia job add <n> <s> <p> --agent <name> — add a job using an agent
63
- nia job add <n> <s> <p> --always add a cron (runs 24/7)
65
+ nia job status [name] quick status check
66
+ nia job add <n> <s> <p> — add a job (--type, --always, --agent, --prompt-file)
67
+ nia job update <name> update a job (--schedule, --prompt, --prompt-file, --type, --always, --agent)
64
68
  nia job remove <name> — delete a job
65
69
  nia job enable / disable <n> — toggle a job
66
70
  nia job run <name> — run a job once
67
71
  nia job log [name] — show recent run history
68
72
 
73
+ nia rules [show|reset] — view or reset rules.md
74
+ nia memory [show|reset] — view or reset memory.md
69
75
  nia agent list — list available agents
70
76
  nia agent show <name> — show agent details and prompt
77
+ nia skills [source] — list available skills
71
78
 
72
- nia db setupinstall PostgreSQL + create database + migrate
73
- nia db migrate run database migrations
74
- nia db status check database connection
79
+ nia channelsshow channel status (on/off)
80
+ nia channels on / off enable/disable channels (applied via SIGHUP, no restart)
81
+ nia watch list list Slack watch channels
82
+ nia watch add/remove/enable/disable — manage watch channels
75
83
 
76
84
  nia config list — show all config
77
85
  nia config get <key> — get a config value (dot notation supported)
78
86
  nia config set <key> <value> — set a config value
87
+ nia validate — validate config.yaml
88
+ nia backup [list] — create or list backups
89
+ nia test [-v] — run tests
79
90
 
80
- nia channelsshow channel status (on/off)
81
- nia channels on / off — enable/disable channels
91
+ nia db setupinstall PostgreSQL + create database + migrate
92
+ nia db migrate — run database migrations
93
+ nia db status — check database connection
82
94
  ```
83
95
 
84
96
  ## Architecture
@@ -92,7 +104,8 @@ All config and data lives in `~/.niahere/`:
92
104
  identity.md — agent personality and voice
93
105
  owner.md — who runs this agent
94
106
  soul.md — how the agent works
95
- memory.md persistent learnings (read/written on demand)
107
+ rules.md behavioral instructions (loaded every session)
108
+ memory.md — persistent facts and context (loaded every session)
96
109
  images/
97
110
  reference.webp — visual identity reference image
98
111
  profile.webp — profile picture for Telegram/Slack
@@ -119,7 +132,7 @@ Users then run `/add-discord` on their fork and get clean code that does exactly
119
132
  ## Updating
120
133
 
121
134
  ```bash
122
- npm i -g niahere # pulls the latest version from npm
135
+ nia update # auto-backup, install latest, restart daemon
123
136
  ```
124
137
 
125
138
  ## Author
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "niahere",
3
- "version": "0.2.51",
4
- "description": "A personal AI assistant daemon — scheduled jobs, chat across Telegram and Slack, persona system, and visual identity.",
3
+ "version": "0.2.56",
4
+ "description": "A personal AI assistant daemon — chat, scheduled jobs, persona system, extensible via skills.",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "start": "bun run src/cli/index.ts start",
@@ -0,0 +1,398 @@
1
+ ---
2
+ name: ai-seo
3
+ description: "When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup."
4
+ metadata:
5
+ version: 1.1.0
6
+ ---
7
+
8
+ # AI SEO
9
+
10
+ You are an expert in AI search optimization — the practice of making content discoverable, extractable, and citable by AI systems including Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini, and Copilot. Your goal is to help users get their content cited as a source in AI-generated answers.
11
+
12
+ ## Before Starting
13
+
14
+ **Check for product marketing context first:**
15
+ If `.agents/product-marketing-context.md` exists (or `.claude/product-marketing-context.md` in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
16
+
17
+ Gather this context (ask if not provided):
18
+
19
+ ### 1. Current AI Visibility
20
+ - Do you know if your brand appears in AI-generated answers today?
21
+ - Have you checked ChatGPT, Perplexity, or Google AI Overviews for your key queries?
22
+ - What queries matter most to your business?
23
+
24
+ ### 2. Content & Domain
25
+ - What type of content do you produce? (Blog, docs, comparisons, product pages)
26
+ - What's your domain authority / traditional SEO strength?
27
+ - Do you have existing structured data (schema markup)?
28
+
29
+ ### 3. Goals
30
+ - Get cited as a source in AI answers?
31
+ - Appear in Google AI Overviews for specific queries?
32
+ - Compete with specific brands already getting cited?
33
+ - Optimize existing content or create new AI-optimized content?
34
+
35
+ ### 4. Competitive Landscape
36
+ - Who are your top competitors in AI search results?
37
+ - Are they being cited where you're not?
38
+
39
+ ---
40
+
41
+ ## How AI Search Works
42
+
43
+ ### The AI Search Landscape
44
+
45
+ | Platform | How It Works | Source Selection |
46
+ |----------|-------------|----------------|
47
+ | **Google AI Overviews** | Summarizes top-ranking pages | Strong correlation with traditional rankings |
48
+ | **ChatGPT (with search)** | Searches web, cites sources | Draws from wider range, not just top-ranked |
49
+ | **Perplexity** | Always cites sources with links | Favors authoritative, recent, well-structured content |
50
+ | **Gemini** | Google's AI assistant | Pulls from Google index + Knowledge Graph |
51
+ | **Copilot** | Bing-powered AI search | Bing index + authoritative sources |
52
+ | **Claude** | Brave Search (when enabled) | Training data + Brave search results |
53
+
54
+ For a deep dive on how each platform selects sources and what to optimize per platform, see [references/platform-ranking-factors.md](references/platform-ranking-factors.md).
55
+
56
+ ### Key Difference from Traditional SEO
57
+
58
+ Traditional SEO gets you ranked. AI SEO gets you **cited**.
59
+
60
+ In traditional search, you need to rank on page 1. In AI search, a well-structured page can get cited even if it ranks on page 2 or 3 — AI systems select sources based on content quality, structure, and relevance, not just rank position.
61
+
62
+ **Critical stats:**
63
+ - AI Overviews appear in ~45% of Google searches
64
+ - AI Overviews reduce clicks to websites by up to 58%
65
+ - Brands are 6.5x more likely to be cited via third-party sources than their own domains
66
+ - Optimized content gets cited 3x more often than non-optimized
67
+ - Statistics and citations boost visibility by 40%+ across queries
68
+
69
+ ---
70
+
71
+ ## AI Visibility Audit
72
+
73
+ Before optimizing, assess your current AI search presence.
74
+
75
+ ### Step 1: Check AI Answers for Your Key Queries
76
+
77
+ Test 10-20 of your most important queries across platforms:
78
+
79
+ | Query | Google AI Overview | ChatGPT | Perplexity | You Cited? | Competitors Cited? |
80
+ |-------|:-----------------:|:-------:|:----------:|:----------:|:-----------------:|
81
+ | [query 1] | Yes/No | Yes/No | Yes/No | Yes/No | [who] |
82
+ | [query 2] | Yes/No | Yes/No | Yes/No | Yes/No | [who] |
83
+
84
+ **Query types to test:**
85
+ - "What is [your product category]?"
86
+ - "Best [product category] for [use case]"
87
+ - "[Your brand] vs [competitor]"
88
+ - "How to [problem your product solves]"
89
+ - "[Your product category] pricing"
90
+
91
+ ### Step 2: Analyze Citation Patterns
92
+
93
+ When your competitors get cited and you don't, examine:
94
+ - **Content structure** — Is their content more extractable?
95
+ - **Authority signals** — Do they have more citations, stats, expert quotes?
96
+ - **Freshness** — Is their content more recently updated?
97
+ - **Schema markup** — Do they have structured data you're missing?
98
+ - **Third-party presence** — Are they cited via Wikipedia, Reddit, review sites?
99
+
100
+ ### Step 3: Content Extractability Check
101
+
102
+ For each priority page, verify:
103
+
104
+ | Check | Pass/Fail |
105
+ |-------|-----------|
106
+ | Clear definition in first paragraph? | |
107
+ | Self-contained answer blocks (work without surrounding context)? | |
108
+ | Statistics with sources cited? | |
109
+ | Comparison tables for "[X] vs [Y]" queries? | |
110
+ | FAQ section with natural-language questions? | |
111
+ | Schema markup (FAQ, HowTo, Article, Product)? | |
112
+ | Expert attribution (author name, credentials)? | |
113
+ | Recently updated (within 6 months)? | |
114
+ | Heading structure matches query patterns? | |
115
+ | AI bots allowed in robots.txt? | |
116
+
117
+ ### Step 4: AI Bot Access Check
118
+
119
+ Verify your robots.txt allows AI crawlers. Each AI platform has its own bot, and blocking it means that platform can't cite you:
120
+
121
+ - **GPTBot** and **ChatGPT-User** — OpenAI (ChatGPT)
122
+ - **PerplexityBot** — Perplexity
123
+ - **ClaudeBot** and **anthropic-ai** — Anthropic (Claude)
124
+ - **Google-Extended** — Google Gemini and AI Overviews
125
+ - **Bingbot** — Microsoft Copilot (via Bing)
126
+
127
+ Check your robots.txt for `Disallow` rules targeting any of these. If you find them blocked, you have a business decision to make: blocking prevents AI training on your content but also prevents citation. One middle ground is blocking training-only crawlers (like **CCBot** from Common Crawl) while allowing the search bots listed above.
128
+
129
+ See [references/platform-ranking-factors.md](references/platform-ranking-factors.md) for the full robots.txt configuration.
130
+
131
+ ---
132
+
133
+ ## Optimization Strategy
134
+
135
+ ### The Three Pillars
136
+
137
+ ```
138
+ 1. Structure (make it extractable)
139
+ 2. Authority (make it citable)
140
+ 3. Presence (be where AI looks)
141
+ ```
142
+
143
+ ### Pillar 1: Structure — Make Content Extractable
144
+
145
+ AI systems extract passages, not pages. Every key claim should work as a standalone statement.
146
+
147
+ **Content block patterns:**
148
+ - **Definition blocks** for "What is X?" queries
149
+ - **Step-by-step blocks** for "How to X" queries
150
+ - **Comparison tables** for "X vs Y" queries
151
+ - **Pros/cons blocks** for evaluation queries
152
+ - **FAQ blocks** for common questions
153
+ - **Statistic blocks** with cited sources
154
+
155
+ For detailed templates for each block type, see [references/content-patterns.md](references/content-patterns.md).
156
+
157
+ **Structural rules:**
158
+ - Lead every section with a direct answer (don't bury it)
159
+ - Keep key answer passages to 40-60 words (optimal for snippet extraction)
160
+ - Use H2/H3 headings that match how people phrase queries
161
+ - Tables beat prose for comparison content
162
+ - Numbered lists beat paragraphs for process content
163
+ - Each paragraph should convey one clear idea
164
+
165
+ ### Pillar 2: Authority — Make Content Citable
166
+
167
+ AI systems prefer sources they can trust. Build citation-worthiness.
168
+
169
+ **The Princeton GEO research** (KDD 2024, studied across Perplexity.ai) ranked 9 optimization methods:
170
+
171
+ | Method | Visibility Boost | How to Apply |
172
+ |--------|:---------------:|--------------|
173
+ | **Cite sources** | +40% | Add authoritative references with links |
174
+ | **Add statistics** | +37% | Include specific numbers with sources |
175
+ | **Add quotations** | +30% | Expert quotes with name and title |
176
+ | **Authoritative tone** | +25% | Write with demonstrated expertise |
177
+ | **Improve clarity** | +20% | Simplify complex concepts |
178
+ | **Technical terms** | +18% | Use domain-specific terminology |
179
+ | **Unique vocabulary** | +15% | Increase word diversity |
180
+ | **Fluency optimization** | +15-30% | Improve readability and flow |
181
+ | ~~Keyword stuffing~~ | **-10%** | **Actively hurts AI visibility** |
182
+
183
+ **Best combination:** Fluency + Statistics = maximum boost. Low-ranking sites benefit even more — up to 115% visibility increase with citations.
184
+
185
+ **Statistics and data** (+37-40% citation boost)
186
+ - Include specific numbers with sources
187
+ - Cite original research, not summaries of research
188
+ - Add dates to all statistics
189
+ - Original data beats aggregated data
190
+
191
+ **Expert attribution** (+25-30% citation boost)
192
+ - Named authors with credentials
193
+ - Expert quotes with titles and organizations
194
+ - "According to [Source]" framing for claims
195
+ - Author bios with relevant expertise
196
+
197
+ **Freshness signals**
198
+ - "Last updated: [date]" prominently displayed
199
+ - Regular content refreshes (quarterly minimum for competitive topics)
200
+ - Current year references and recent statistics
201
+ - Remove or update outdated information
202
+
203
+ **E-E-A-T alignment**
204
+ - First-hand experience demonstrated
205
+ - Specific, detailed information (not generic)
206
+ - Transparent sourcing and methodology
207
+ - Clear author expertise for the topic
208
+
209
+ ### Pillar 3: Presence — Be Where AI Looks
210
+
211
+ AI systems don't just cite your website — they cite where you appear.
212
+
213
+ **Third-party sources matter more than your own site:**
214
+ - Wikipedia mentions (7.8% of all ChatGPT citations)
215
+ - Reddit discussions (1.8% of ChatGPT citations)
216
+ - Industry publications and guest posts
217
+ - Review sites (G2, Capterra, TrustRadius for B2B SaaS)
218
+ - YouTube (frequently cited by Google AI Overviews)
219
+ - Quora answers
220
+
221
+ **Actions:**
222
+ - Ensure your Wikipedia page is accurate and current
223
+ - Participate authentically in Reddit communities
224
+ - Get featured in industry roundups and comparison articles
225
+ - Maintain updated profiles on relevant review platforms
226
+ - Create YouTube content for key how-to queries
227
+ - Answer relevant Quora questions with depth
228
+
229
+ ### Schema Markup for AI
230
+
231
+ Structured data helps AI systems understand your content. Key schemas:
232
+
233
+ | Content Type | Schema | Why It Helps |
234
+ |-------------|--------|-------------|
235
+ | Articles/Blog posts | `Article`, `BlogPosting` | Author, date, topic identification |
236
+ | How-to content | `HowTo` | Step extraction for process queries |
237
+ | FAQs | `FAQPage` | Direct Q&A extraction |
238
+ | Products | `Product` | Pricing, features, reviews |
239
+ | Comparisons | `ItemList` | Structured comparison data |
240
+ | Reviews | `Review`, `AggregateRating` | Trust signals |
241
+ | Organization | `Organization` | Entity recognition |
242
+
243
+ Content with proper schema shows 30-40% higher AI visibility. For implementation, use the **schema-markup** skill.
244
+
245
+ ---
246
+
247
+ ## Content Types That Get Cited Most
248
+
249
+ Not all content is equally citable. Prioritize these formats:
250
+
251
+ | Content Type | Citation Share | Why AI Cites It |
252
+ |-------------|:------------:|----------------|
253
+ | **Comparison articles** | ~33% | Structured, balanced, high-intent |
254
+ | **Definitive guides** | ~15% | Comprehensive, authoritative |
255
+ | **Original research/data** | ~12% | Unique, citable statistics |
256
+ | **Best-of/listicles** | ~10% | Clear structure, entity-rich |
257
+ | **Product pages** | ~10% | Specific details AI can extract |
258
+ | **How-to guides** | ~8% | Step-by-step structure |
259
+ | **Opinion/analysis** | ~10% | Expert perspective, quotable |
260
+
261
+ **Underperformers for AI citation:**
262
+ - Generic blog posts without structure
263
+ - Thin product pages with marketing fluff
264
+ - Gated content (AI can't access it)
265
+ - Content without dates or author attribution
266
+ - PDF-only content (harder for AI to parse)
267
+
268
+ ---
269
+
270
+ ## Monitoring AI Visibility
271
+
272
+ ### What to Track
273
+
274
+ | Metric | What It Measures | How to Check |
275
+ |--------|-----------------|-------------|
276
+ | AI Overview presence | Do AI Overviews appear for your queries? | Manual check or Semrush/Ahrefs |
277
+ | Brand citation rate | How often you're cited in AI answers | AI visibility tools (see below) |
278
+ | Share of AI voice | Your citations vs. competitors | Peec AI, Otterly, ZipTie |
279
+ | Citation sentiment | How AI describes your brand | Manual review + monitoring tools |
280
+ | Source attribution | Which of your pages get cited | Track referral traffic from AI sources |
281
+
282
+ ### AI Visibility Monitoring Tools
283
+
284
+ | Tool | Coverage | Best For |
285
+ |------|----------|----------|
286
+ | **Otterly AI** | ChatGPT, Perplexity, Google AI Overviews | Share of AI voice tracking |
287
+ | **Peec AI** | ChatGPT, Gemini, Perplexity, Claude, Copilot+ | Multi-platform monitoring at scale |
288
+ | **ZipTie** | Google AI Overviews, ChatGPT, Perplexity | Brand mention + sentiment tracking |
289
+ | **LLMrefs** | ChatGPT, Perplexity, AI Overviews, Gemini | SEO keyword → AI visibility mapping |
290
+
291
+ ### DIY Monitoring (No Tools)
292
+
293
+ Monthly manual check:
294
+ 1. Pick your top 20 queries
295
+ 2. Run each through ChatGPT, Perplexity, and Google
296
+ 3. Record: Are you cited? Who is? What page?
297
+ 4. Log in a spreadsheet, track month-over-month
298
+
299
+ ---
300
+
301
+ ## AI SEO for Different Content Types
302
+
303
+ ### SaaS Product Pages
304
+
305
+ **Goal:** Get cited in "What is [category]?" and "Best [category]" queries.
306
+
307
+ **Optimize:**
308
+ - Clear product description in first paragraph (what it does, who it's for)
309
+ - Feature comparison tables (you vs. category, not just competitors)
310
+ - Specific metrics ("processes 10,000 transactions/sec" not "blazing fast")
311
+ - Customer count or social proof with numbers
312
+ - Pricing transparency (AI cites pages with visible pricing)
313
+ - FAQ section addressing common buyer questions
314
+
315
+ ### Blog Content
316
+
317
+ **Goal:** Get cited as an authoritative source on topics in your space.
318
+
319
+ **Optimize:**
320
+ - One clear target query per post (match heading to query)
321
+ - Definition in first paragraph for "What is" queries
322
+ - Original data, research, or expert quotes
323
+ - "Last updated" date visible
324
+ - Author bio with relevant credentials
325
+ - Internal links to related product/feature pages
326
+
327
+ ### Comparison/Alternative Pages
328
+
329
+ **Goal:** Get cited in "[X] vs [Y]" and "Best [X] alternatives" queries.
330
+
331
+ **Optimize:**
332
+ - Structured comparison tables (not just prose)
333
+ - Fair and balanced (AI penalizes obviously biased comparisons)
334
+ - Specific criteria with ratings or scores
335
+ - Updated pricing and feature data
336
+ - Cite the competitor-alternatives skill for building these pages
337
+
338
+ ### Documentation / Help Content
339
+
340
+ **Goal:** Get cited in "How to [X] with [your product]" queries.
341
+
342
+ **Optimize:**
343
+ - Step-by-step format with numbered lists
344
+ - Code examples where relevant
345
+ - HowTo schema markup
346
+ - Screenshots with descriptive alt text
347
+ - Clear prerequisites and expected outcomes
348
+
349
+ ---
350
+
351
+ ## Common Mistakes
352
+
353
+ - **Ignoring AI search entirely** — ~45% of Google searches now show AI Overviews, and ChatGPT/Perplexity are growing fast
354
+ - **Treating AI SEO as separate from SEO** — Good traditional SEO is the foundation; AI SEO adds structure and authority on top
355
+ - **Writing for AI, not humans** — If content reads like it was written to game an algorithm, it won't get cited or convert
356
+ - **No freshness signals** — Undated content loses to dated content because AI systems weight recency heavily. Show when content was last updated
357
+ - **Gating all content** — AI can't access gated content. Keep your most authoritative content open
358
+ - **Ignoring third-party presence** — You may get more AI citations from a Wikipedia mention than from your own blog
359
+ - **No structured data** — Schema markup gives AI systems structured context about your content
360
+ - **Keyword stuffing** — Unlike traditional SEO where it's just ineffective, keyword stuffing actively reduces AI visibility by 10% (Princeton GEO study)
361
+ - **Blocking AI bots** — If GPTBot, PerplexityBot, or ClaudeBot are blocked in robots.txt, those platforms can't cite you
362
+ - **Generic content without data** — "We're the best" won't get cited. "Our customers see 3x improvement in [metric]" will
363
+ - **Forgetting to monitor** — You can't improve what you don't measure. Check AI visibility monthly at minimum
364
+
365
+ ---
366
+
367
+ ## Tool Integrations
368
+
369
+ For implementation, see the [tools registry](../../tools/REGISTRY.md).
370
+
371
+ | Tool | Use For |
372
+ |------|---------|
373
+ | `semrush` | AI Overview tracking, keyword research, content gap analysis |
374
+ | `ahrefs` | Backlink analysis, content explorer, AI Overview data |
375
+ | `gsc` | Search Console performance data, query tracking |
376
+ | `ga4` | Referral traffic from AI sources |
377
+
378
+ ---
379
+
380
+ ## Task-Specific Questions
381
+
382
+ 1. What are your top 10-20 most important queries?
383
+ 2. Have you checked if AI answers exist for those queries today?
384
+ 3. Do you have structured data (schema markup) on your site?
385
+ 4. What content types do you publish? (Blog, docs, comparisons, etc.)
386
+ 5. Are competitors being cited by AI where you're not?
387
+ 6. Do you have a Wikipedia page or presence on review sites?
388
+
389
+ ---
390
+
391
+ ## Related Skills
392
+
393
+ - **seo-audit**: For traditional technical and on-page SEO audits
394
+ - **schema-markup**: For implementing structured data that helps AI understand your content
395
+ - **content-strategy**: For planning what content to create
396
+ - **competitor-alternatives**: For building comparison pages that get cited
397
+ - **programmatic-seo**: For building SEO pages at scale
398
+ - **copywriting**: For writing content that's both human-readable and AI-extractable
@@ -0,0 +1,90 @@
1
+ {
2
+ "skill_name": "ai-seo",
3
+ "evals": [
4
+ {
5
+ "id": 1,
6
+ "prompt": "How do I make sure our SaaS product shows up in AI search results? We're a project management tool and we keep getting left out of ChatGPT and Perplexity recommendations when people ask about project management software.",
7
+ "expected_output": "Should check for product-marketing-context.md first. Should apply the three pillars framework: Structure (make content extractable), Authority (make content citable), Presence (be where AI looks). Should run through the AI Visibility Audit checklist across platforms (Google AI Overviews, ChatGPT, Perplexity, etc.). Should check content extractability (clear definitions, structured comparisons, statistics). Should reference Princeton GEO research findings (citations improve visibility +40%, statistics +37%). Should check AI bot access in robots.txt. Should provide a prioritized action plan.",
8
+ "assertions": [
9
+ "Checks for product-marketing-context.md",
10
+ "Applies three pillars framework (Structure, Authority, Presence)",
11
+ "Runs AI Visibility Audit across platforms",
12
+ "Checks content extractability",
13
+ "References Princeton GEO research findings",
14
+ "Checks AI bot access in robots.txt",
15
+ "Provides prioritized action plan"
16
+ ],
17
+ "files": []
18
+ },
19
+ {
20
+ "id": 2,
21
+ "prompt": "Should we block AI crawlers like GPTBot and PerplexityBot in our robots.txt? We're worried about content theft.",
22
+ "expected_output": "Should address the AI bot access question directly. Should explain the tradeoff: blocking AI bots prevents training on your content but also prevents AI platforms from citing and recommending you. Should reference the specific bots and their purposes (GPTBot, Google-Extended, PerplexityBot, ClaudeBot, etc.). Should provide the recommended robots.txt configuration. Should explain that blocking may hurt AI visibility more than it protects content. Should provide a nuanced recommendation based on business goals.",
23
+ "assertions": [
24
+ "Addresses the blocking tradeoff directly",
25
+ "Explains impact on AI visibility vs content protection",
26
+ "Lists specific AI bot user agents",
27
+ "Provides recommended robots.txt configuration",
28
+ "Gives nuanced recommendation based on business goals",
29
+ "Explains what each bot does"
30
+ ],
31
+ "files": []
32
+ },
33
+ {
34
+ "id": 3,
35
+ "prompt": "What kind of content gets cited most by AI systems? We want to create content specifically optimized for AI search.",
36
+ "expected_output": "Should reference the content types that get cited most, including comparisons (~33% of AI citations), definitive guides (~15%), and other high-citation content types. Should explain why these formats work (they provide the structured, extractable, authoritative information AI systems need). Should provide specific recommendations for creating AI-optimized content: clear definitions, structured data, original statistics, comparison tables, expert quotes. Should reference the Princeton GEO research on what increases citation probability.",
37
+ "assertions": [
38
+ "References specific content types with citation rates",
39
+ "Mentions comparisons as highest-cited format",
40
+ "Explains why these formats work for AI",
41
+ "Provides specific content creation recommendations",
42
+ "References Princeton GEO research",
43
+ "Mentions structured data, statistics, and clear definitions"
44
+ ],
45
+ "files": []
46
+ },
47
+ {
48
+ "id": 4,
49
+ "prompt": "we noticed our competitors are showing up in google AI overviews but we're not. what do we need to change?",
50
+ "expected_output": "Should trigger on casual phrasing. Should focus specifically on Google AI Overviews visibility. Should explain how AI Overviews selects sources (authoritative, well-structured, directly answers queries). Should run through the Structure pillar checklist: content extractability, heading hierarchy, answer-first format, structured data. Should check Authority signals: domain authority, citations, E-E-A-T. Should recommend specific content structure changes. Should suggest monitoring approach.",
51
+ "assertions": [
52
+ "Triggers on casual phrasing",
53
+ "Focuses on Google AI Overviews specifically",
54
+ "Explains how AI Overviews selects sources",
55
+ "Checks Structure pillar (extractability, headings, answer-first)",
56
+ "Checks Authority signals",
57
+ "Recommends specific content structure changes",
58
+ "Suggests monitoring approach"
59
+ ],
60
+ "files": []
61
+ },
62
+ {
63
+ "id": 5,
64
+ "prompt": "Can you audit our website for AI search readiness? We want to know how visible we are across ChatGPT, Perplexity, Google AI Overviews, and other AI platforms.",
65
+ "expected_output": "Should run the full AI Visibility Audit. Should check each platform in the landscape (Google AI Overviews, ChatGPT, Perplexity, Claude, Gemini, Copilot). Should evaluate all three pillars: Structure (content extractability, JSON-LD, clear definitions), Authority (citations, backlinks, E-E-A-T signals), Presence (AI bot access, platform-specific factors). Should provide findings organized by pillar. Should provide a prioritized action plan with specific fixes.",
66
+ "assertions": [
67
+ "Runs full AI Visibility Audit",
68
+ "Checks multiple AI platforms",
69
+ "Evaluates all three pillars (Structure, Authority, Presence)",
70
+ "Checks content extractability",
71
+ "Checks AI bot access",
72
+ "Provides findings organized by pillar",
73
+ "Provides prioritized action plan"
74
+ ],
75
+ "files": []
76
+ },
77
+ {
78
+ "id": 6,
79
+ "prompt": "Our organic search traffic has dropped 30% this quarter. Can you do a full SEO audit to figure out what's going on?",
80
+ "expected_output": "Should recognize this is a traditional SEO audit request, not specifically an AI SEO task. Should defer to or cross-reference the seo-audit skill, which handles comprehensive traditional SEO audits including crawlability, technical foundations, on-page optimization, and content quality. May mention AI search as one factor to investigate but should make clear that seo-audit is the primary skill for this task.",
81
+ "assertions": [
82
+ "Recognizes this as a traditional SEO audit request",
83
+ "References or defers to seo-audit skill",
84
+ "Does not attempt a full traditional SEO audit using AI SEO patterns",
85
+ "May mention AI search as one factor to consider"
86
+ ],
87
+ "files": []
88
+ }
89
+ ]
90
+ }