Skip to content

Commit a63ff1e

Browse files
committed
feat(seo): enhance robots.txt and FAQ content for AI agent skills
1 parent eae0d96 commit a63ff1e

1 file changed

Lines changed: 26 additions & 11 deletions

File tree

website/worker.js

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ export default {
3838
if (url.pathname === '/robots.txt') {
3939
return new Response(`# OPC Skills - AI Agent Skills
4040
# We explicitly allow AI bots for GEO (Generative Engine Optimization)
41+
# Content-Signal: search=yes, ai-input=yes, ai-train=no
4142
4243
User-agent: *
4344
Allow: /
4445
45-
# AI Search Engines - Allowed
46+
# AI Search Engines - Explicitly Allowed for GEO
4647
User-agent: GPTBot
4748
Allow: /
4849
@@ -73,7 +74,20 @@ Allow: /
7374
User-agent: Googlebot
7475
Allow: /
7576
76-
Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain' } });
77+
# Bad Bots - Blocked
78+
User-agent: AhrefsBot
79+
Disallow: /
80+
81+
User-agent: SemrushBot
82+
Disallow: /
83+
84+
Sitemap: https://opc.dev/sitemap.xml`, {
85+
headers: {
86+
'Content-Type': 'text/plain',
87+
'X-Robots-Tag': 'all',
88+
'Cache-Control': 'public, max-age=86400'
89+
}
90+
});
7791
}
7892

7993
// Serve skill images from GitHub
@@ -159,7 +173,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
159173
"name": "What is OPC Skills?",
160174
"acceptedAnswer": {
161175
"@type": "Answer",
162-
"text": "OPC Skills is a curated collection of AI agent skills for solopreneurs, indie hackers, and one-person companies. These skills extend AI coding assistants like Claude Code, Factory Droid, Cursor, OpenCode, and Codex with capabilities like domain hunting, social media research, and product analytics. 100% open source with one-click install for all major platforms."
176+
"text": `OPC Skills is a curated collection of ${skills.length} AI agent skills for solopreneurs, indie hackers, and one-person companies. According to the Agent Skills standard (agentskills.io), these modular extensions work with 5 major AI coding platforms: Claude Code, Factory Droid, Cursor, OpenCode, and Codex. Each skill adds specialized capabilities like domain hunting, social media research, and product analytics. 100% free and open source under MIT license with installation taking less than 30 seconds.`
163177
}
164178
});
165179
faqItems.push({
@@ -175,7 +189,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
175189
"name": "What are AI agent skills?",
176190
"acceptedAnswer": {
177191
"@type": "Answer",
178-
"text": "AI agent skills are modular capabilities that extend AI coding assistants like Claude Code, Cursor, and Codex. They enable AI agents to perform specialized tasks such as searching domains, researching social media, hunting for promo codes, and analyzing product launches. Skills are installed via simple commands and work across multiple AI platforms."
192+
"text": "AI agent skills are modular capabilities that extend AI coding assistants like Claude Code, Cursor, and Codex. According to agentskills.io, skills are self-contained folders with instructions (SKILL.md) that enable AI agents to perform specialized tasks such as searching domains, researching social media, and analyzing product launches. Skills typically take less than 30 seconds to install via one-line commands and work across 5+ major AI coding platforms."
179193
}
180194
});
181195
faqItems.push({
@@ -191,7 +205,7 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
191205
"name": "What platforms are supported by OPC Skills?",
192206
"acceptedAnswer": {
193207
"@type": "Answer",
194-
"text": "OPC Skills supports 5 major AI coding platforms: Claude Code (Anthropic), Factory Droid, Cursor, OpenCode, and Codex (OpenAI). Each skill can be installed with a single command for any of these platforms."
208+
"text": `OPC Skills supports 5 major AI coding platforms: Claude Code (by Anthropic), Factory Droid, Cursor, OpenCode, and Codex (by OpenAI). All ${skills.length} skills can be installed with a single one-line command for any of these platforms, with installation completing in less than 30 seconds. Skills follow the Agent Skills standard (agentskills.io) for cross-platform compatibility.`
195209
}
196210
});
197211
faqItems.push({
@@ -579,12 +593,13 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
579593
<section class="hero" role="banner">
580594
<img src="https://raw.githubusercontent.com/ReScienceLab/opc-skills/main/website/opc-banner.png" alt="OPC Skills - AI Agent Skills for Solopreneurs and Indie Hackers" class="hero-banner" fetchpriority="high" decoding="async">
581595
<h1>Claude Code Skills for<br>Solopreneurs</h1>
582-
<p class="subtitle">AI extensions for <strong>one-person companies</strong> and <strong>indie hackers</strong>. Add Twitter search, Reddit analysis, domain finder, and SEO tools to Claude Code. <strong>10+</strong> skills, one-click install.</p>
596+
<p class="subtitle">AI extensions for <strong>one-person companies</strong> and <strong>indie hackers</strong>. Add Twitter search, Reddit analysis, domain finder, and SEO tools to Claude Code, Cursor, and 3 more platforms. <strong>${skills.length} curated skills</strong> used by developers worldwide.</p>
583597
<div class="stats-bar">
584-
<span><strong>${skills.length}+</strong> Skills</span>
598+
<span><strong>${skills.length}</strong> Skills</span>
585599
<span><strong>5</strong> Platforms</span>
586-
<span>One-Click Install</span>
587-
<span>100% Open Source</span>
600+
<span><strong>&lt;30 sec</strong> Setup</span>
601+
<span><strong>100%</strong> Free & Open Source</span>
602+
<span><strong>MIT</strong> License</span>
588603
</div>
589604
<div class="hero-install">
590605
<div class="hero-tabs hero-level-tabs">
@@ -616,13 +631,13 @@ Sitemap: https://opc.dev/sitemap.xml`, { headers: { 'Content-Type': 'text/plain'
616631
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
617632
<h3 itemprop="name">What is OPC Skills?</h3>
618633
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
619-
<p itemprop="text">OPC Skills is a curated collection of AI agent skills for <strong>solopreneurs</strong>, <strong>indie hackers</strong>, and <strong>one-person companies</strong>. These skills extend AI coding assistants like Claude Code, Cursor, and Codex with automation capabilities like domain hunting, social media research, and product analytics.</p>
634+
<p itemprop="text">OPC Skills is a curated collection of <strong>${skills.length} AI agent skills</strong> for <strong>solopreneurs</strong>, <strong>indie hackers</strong>, and <strong>one-person companies</strong>. These skills extend AI coding assistants like Claude Code, Cursor, and Codex with automation capabilities like domain hunting, social media research, and product analytics. According to the <a href="https://agentskills.io" target="_blank" rel="noopener">Agent Skills standard</a>, skills are modular instructions that help AI agents perform specialized tasks efficiently.</p>
620635
</div>
621636
</div>
622637
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">
623638
<h3 itemprop="name">What are AI agent skills?</h3>
624639
<div itemscope itemprop="acceptedAnswer" itemtype="https://schema.org/Answer">
625-
<p itemprop="text">AI agent skills are modular capabilities that extend AI coding assistants. They enable AI agents to perform specialized tasks such as searching domains, researching social media, hunting for promo codes, and analyzing product launches. Skills are installed via simple commands and work across multiple platforms.</p>
640+
<p itemprop="text">AI agent skills are modular capabilities that extend AI coding assistants like Claude Code, Cursor, and Codex. According to <a href="https://agentskills.io" target="_blank" rel="noopener">agentskills.io</a>, skills enable AI agents to perform specialized tasks such as searching domains, researching social media, hunting for promo codes, and analyzing product launches. Each skill typically includes instructions, scripts, and resources in a self-contained folder with a SKILL.md file. Skills are installed via simple one-line commands and work across <strong>5+ major AI coding platforms</strong>.</p>
626641
</div>
627642
</div>
628643
<div class="faq-item" itemscope itemprop="mainEntity" itemtype="https://schema.org/Question">

0 commit comments

Comments
 (0)