Loading...
Loading...
Compare original and translation side by side
Skill by ara.so — Marketing Skills collection.
由ara.so开发的技能——营销技能合集。
undefinedundefinedundefinedundefined/read ~/.claude/skills/voltagent-seo-skills/SKILL.mdimport os
from pathlib import Path/read ~/.claude/skills/voltagent-seo-skills/SKILL.mdimport os
from pathlib import Pathundefinedundefined/keyword-research/keyword-research/keyword-research "outdoor camping gear"
/keyword-research "project management software" \
--country US \
--language en \
--depth deep \
--output json╔════════════════════════════════════════════════╗
║ Keyword Research: outdoor camping gear ║
╠════════════════════════════════════════════════╣
║ Analyzing search data … [██████████] 100% ║
║ Clustering keywords … [██████████] 100% ║
║ Mapping intent … [██████████] 100% ║
╚════════════════════════════════════════════════╝
┌──────────────────────┬────────┬────┬──────────┬────────┐
│ Keyword │ Volume │ KD │ Intent │ Score │
├──────────────────────┼────────┼────┼──────────┼────────┤
│ camping gear │ 49 500 │ 67 │ Comm │ 8.2/10 │
│ best camping gear │ 18 100 │ 45 │ Comm/Inf │ 9.1/10 │
│ camping gear list │ 8 900 │ 32 │ Info │ 8.7/10 │
│ camping equipment │ 33 100 │ 71 │ Comm │ 7.5/10 │
└──────────────────────┴────────┴────┴──────────┴────────┘
🎯 Recommended targets: best camping gear, camping gear listimport os
from seo_skills import KeywordResearch/keyword-research "outdoor camping gear"
/keyword-research "project management software" \
--country US \
--language en \
--depth deep \
--output json╔════════════════════════════════════════════════╗
║ Keyword Research: outdoor camping gear ║
╠════════════════════════════════════════════════╣
║ Analyzing search data … [██████████] 100% ║
║ Clustering keywords … [██████████] 100% ║
║ Mapping intent … [██████████] 100% ║
╚════════════════════════════════════════════════╝
┌──────────────────────┬────────┬────┬──────────┬────────┐
│ Keyword │ Volume │ KD │ Intent │ Score │
├──────────────────────┼────────┼────┼──────────┼────────┤
│ camping gear │ 49 500 │ 67 │ Comm │ 8.2/10 │
│ best camping gear │ 18 100 │ 45 │ Comm/Inf │ 9.1/10 │
│ camping gear list │ 8 900 │ 32 │ Info │ 8.7/10 │
│ camping equipment │ 33 100 │ 71 │ Comm │ 7.5/10 │
└──────────────────────┴────────┴────┴──────────┴────────┘
🎯 推荐目标关键词:best camping gear, camping gear listimport os
from seo_skills import KeywordResearchundefinedundefined/content-audit/content-audit/content-audit --scope full --output md
/content-audit \
--url https://example.com \
--scope /blog \
--min-words 300 \
--check-duplicates╔════════════════════════════════════════════════╗
║ Content Audit: example.com ║
╠════════════════════════════════════════════════╣
║ Crawling pages … [████████░░] 82% 823/1002 ║
║ Analyzing content … [██████░░░░] 65% 651/1002 ║
╚════════════════════════════════════════════════╝
┌─────────────────────┬─────────┬─────────┬────────┐
│ Issue │ Pages │ Severity│ Impact │
├─────────────────────┼─────────┼─────────┼────────┤
│ 🔴 Thin content │ 127 │ High │ -45% │
│ 🔴 Duplicate title │ 89 │ High │ -38% │
│ 🟠 Missing H1 │ 64 │ Medium │ -22% │
│ 🟠 Keyword cannibal │ 43 │ Medium │ -19% │
│ 🟡 Long meta desc │ 31 │ Low │ -5% │
└─────────────────────┴─────────┴─────────┴────────┘
✅ Quick wins (1-2 days):
• Add H1 tags to 64 pages
• Shorten 31 meta descriptions
⚠️ Medium-term (1-2 weeks):
• Expand 127 thin content pages to 800+ words
• Resolve 43 keyword cannibalization conflicts/content-audit --scope full --output md
/content-audit \
--url https://example.com \
--scope /blog \
--min-words 300 \
--check-duplicates╔════════════════════════════════════════════════╗
║ Content Audit: example.com ║
╠════════════════════════════════════════════════╣
║ Crawling pages … [████████░░] 82% 823/1002 ║
║ Analyzing content … [██████░░░░] 65% 651/1002 ║
╚════════════════════════════════════════════════╝
┌─────────────────────┬─────────┬─────────┬────────┐
│ Issue │ Pages │ Severity│ Impact │
├─────────────────────┼─────────┼─────────┼────────┤
│ 🔴 内容单薄 │ 127 │ High │ -45% │
│ 🔴 标题重复 │ 89 │ High │ -38% │
│ 🟠 缺少H1标签 │ 64 │ Medium │ -22% │
│ 🟠 关键词内部竞争 │ 43 │ Medium │ -19% │
│ 🟡 元描述过长 │ 31 │ Low │ -5% │
└─────────────────────┴─────────┴─────────┴────────┘
✅ 快速优化方案(1-2天):
• 为64个页面添加H1标签
• 缩短31个过长的元描述
⚠️ 中期优化方案(1-2周):
• 将127篇单薄内容扩展至800字以上
• 解决43个关键词内部竞争冲突/technical-seo/technical-seo/technical-seo https://example.com
/technical-seo https://example.com \
--check-core-web-vitals \
--validate-schema \
--crawl-budget-analysisconst { TechnicalSEO } = require('voltagent-seo-skills');
const audit = new TechnicalSEO({
apiKey: process.env.SEO_API_KEY,
userAgent: 'SEO-Audit-Bot/1.0'
});
async function runAudit(url) {
const results = await audit.analyze(url, {
checkCoreWebVitals: true,
validateSchema: true,
crawlBudgetAnalysis: true,
checkMobileFriendly: true
});
// Access results
console.log('Core Web Vitals:', results.coreWebVitals);
console.log('Schema Issues:', results.schemaValidation.errors);
console.log('Crawl Budget:', results.crawlBudget.efficiency);
// Generate report
await audit.generateReport(results, 'audit-report.html');
}
runAudit('https://example.com');/technical-seo https://example.com
/technical-seo https://example.com \
--check-core-web-vitals \
--validate-schema \
--crawl-budget-analysisconst { TechnicalSEO } = require('voltagent-seo-skills');
const audit = new TechnicalSEO({
apiKey: process.env.SEO_API_KEY,
userAgent: 'SEO-Audit-Bot/1.0'
});
async function runAudit(url) {
const results = await audit.analyze(url, {
checkCoreWebVitals: true,
validateSchema: true,
crawlBudgetAnalysis: true,
checkMobileFriendly: true
});
// 访问结果
console.log('Core Web Vitals:', results.coreWebVitals);
console.log('Schema Issues:', results.schemaValidation.errors);
console.log('Crawl Budget:', results.crawlBudget.efficiency);
// 生成报告
await audit.generateReport(results, 'audit-report.html');
}
runAudit('https://example.com');/competitor-gap/competitor-gap/competitor-gap \
--my-site example.com \
--competitors competitor1.com,competitor2.com,competitor3.com
/competitor-gap \
--my-site example.com \
--competitors competitor1.com,competitor2.com \
--focus backlinks \
--min-dr 40/competitor-gap \
--my-site example.com \
--competitors competitor1.com,competitor2.com,competitor3.com
/competitor-gap \
--my-site example.com \
--competitors competitor1.com,competitor2.com \
--focus backlinks \
--min-dr 40/content-brief/content-brief/content-brief "best project management tools 2024"
/content-brief "how to start a podcast" \
--target-keywords "podcast hosting,podcast equipment" \
--word-count 2500 \
--include-nlp-terms \
--competitor-analysisfrom seo_skills import ContentBrief
brief_generator = ContentBrief(api_key=os.getenv("SEO_API_KEY"))
brief = brief_generator.create(
target_keyword="best project management tools 2024",
additional_keywords=["project management software", "team collaboration"],
word_count_target=2500,
include_nlp_terms=True,
analyze_competitors=True,
top_n_competitors=10
)/content-brief "best project management tools 2024"
/content-brief "how to start a podcast" \
--target-keywords "podcast hosting,podcast equipment" \
--word-count 2500 \
--include-nlp-terms \
--competitor-analysisfrom seo_skills import ContentBrief
brief_generator = ContentBrief(api_key=os.getenv("SEO_API_KEY"))
brief = brief_generator.create(
target_keyword="best project management tools 2024",
additional_keywords=["project management software", "team collaboration"],
word_count_target=2500,
include_nlp_terms=True,
analyze_competitors=True,
top_n_competitors=10
)undefinedundefined/serp-monitor/serp-monitor/serp-monitor \
--keywords "project management,team collaboration,remote work tools" \
--url example.com \
--frequency daily
/serp-monitor \
--keyword-file keywords.csv \
--alert-on-drop 3 \
--ctr-optimization/serp-monitor \
--keywords "project management,team collaboration,remote work tools" \
--url example.com \
--frequency daily
/serp-monitor \
--keyword-file keywords.csv \
--alert-on-drop 3 \
--ctr-optimization/link-prospecting/link-prospecting/link-prospecting \
--topic "sustainable fashion" \
--min-da 30 \
--max-results 100 \
--with-contact-info
/link-prospecting \
--topic "AI marketing tools" \
--competitor-backlinks competitor.com \
--generate-outreach-templates/link-prospecting \
--topic "sustainable fashion" \
--min-da 30 \
--max-results 100 \
--with-contact-info
/link-prospecting \
--topic "AI marketing tools" \
--competitor-backlinks competitor.com \
--generate-outreach-templates/page-speed-seo/page-speed-seo/page-speed-seo https://example.com/page
/page-speed-seo https://example.com \
--check-lcp \
--check-cls \
--check-fid \
--render-blocking-analysis/page-speed-seo https://example.com/page
/page-speed-seo https://example.com \
--check-lcp \
--check-cls \
--check-fid \
--render-blocking-analysis/local-seo/local-seo/local-seo \
--business-name "Acme Coffee Shop" \
--location "Seattle, WA" \
--check-nap \
--check-gbp \
--citation-audit
/local-seo \
--business-name "Tech Repair Store" \
--location "Austin, TX" \
--competitors competitor1.com,competitor2.com/local-seo \
--business-name "Acme Coffee Shop" \
--location "Seattle, WA" \
--check-nap \
--check-gbp \
--citation-audit
/local-seo \
--business-name "Tech Repair Store" \
--location "Austin, TX" \
--competitors competitor1.com,competitor2.com/content-calendar/content-calendar/content-calendar \
--topics "fitness,nutrition,wellness" \
--duration 90 \
--include-seasonality
/content-calendar \
--keyword-file topics.csv \
--duration 180 \
--publishing-frequency 3 \
--format json/content-calendar \
--topics "fitness,nutrition,wellness" \
--duration 90 \
--include-seasonality
/content-calendar \
--keyword-file topics.csv \
--duration 180 \
--publishing-frequency 3 \
--format jsonfull-seo-sprintfull-seo-sprint/workflows:full-seo-sprint example.com --scope full
/workflows:full-seo-sprint example.com \
--scope full \
--include-content-plan \
--include-technical-fixes \
--timeline 30① Technical audit
② Keyword research
③ Competitor analysis
④ Content audit
⑤ Backlink profile analysis
⑥ Keyword mapping
⑦ Content gap identification
⑧ Priority technical fixes
⑨ Content creation plan
⑩ Link building strategy
⑪ Implementation roadmap
⑫ Measurement framework/workflows:full-seo-sprint example.com --scope full
/workflows:full-seo-sprint example.com \
--scope full \
--include-content-plan \
--include-technical-fixes \
--timeline 30① 技术审核
② 关键词研究
③ 竞品分析
④ 内容审核
⑤ 反向链接分析
⑥ 关键词映射
⑦ 内容差距识别
⑧ 优先级技术修复
⑨ 内容创作计划
⑩ 外链建设策略
⑪ 实施路线图
⑫ 衡量框架launch-seolaunch-seo/workflows:launch-seo https://staging.example.com
/workflows:launch-seo https://staging.example.com \
--check-canonical \
--check-hreflang \
--validate-sitemap \
--check-robots-txt/workflows:launch-seo https://staging.example.com
/workflows:launch-seo https://staging.example.com \
--check-canonical \
--check-hreflang \
--validate-sitemap \
--check-robots-txtcontent-refreshcontent-refresh/workflows:content-refresh example.com \
--ranking-drop 5 \
--time-period 90
/workflows:content-refresh example.com \
--min-impressions 1000 \
--max-ctr 2 \
--priority high/workflows:content-refresh example.com \
--ranking-drop 5 \
--time-period 90
/workflows:content-refresh example.com \
--min-impressions 1000 \
--max-ctr 2 \
--priority highauthority-buildingauthority-building/workflows:authority-building \
--topic "sustainable technology" \
--target-dr-increase 15 \
--duration 180
/workflows:authority-building \
--niche "B2B SaaS" \
--competitor-analysis \
--outreach-automation/workflows:authority-building \
--topic "sustainable technology" \
--target-dr-increase 15 \
--duration 180
/workflows:authority-building \
--niche "B2B SaaS" \
--competitor-analysis \
--outreach-automationai-content-pipelineai-content-pipeline/workflows:ai-content-pipeline \
--keywords-file keywords.csv \
--publishing-schedule weekly \
--auto-optimize
/workflows:ai-content-pipeline \
--topic "digital marketing trends 2024" \
--content-type blog \
--word-count 2000 \
--include-images/workflows:ai-content-pipeline \
--keywords-file keywords.csv \
--publishing-schedule weekly \
--auto-optimize
/workflows:ai-content-pipeline \
--topic "digital marketing trends 2024" \
--content-type blog \
--word-count 2000 \
--include-images~/.claude/skills/voltagent-seo-skills/config.ymlundefined~/.claude/skills/voltagent-seo-skills/config.ymlundefined
Load configuration programmatically:
```python
import os
import yaml
from pathlib import Path
config_path = Path.home() / ".claude/skills/voltagent-seo-skills/config.yml"
with open(config_path) as f:
config = yaml.safe_load(f)
通过代码加载配置:
```python
import os
import yaml
from pathlib import Path
config_path = Path.home() / ".claude/skills/voltagent-seo-skills/config.yml"
with open(config_path) as f:
config = yaml.safe_load(f)undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedfrom seo_skills import KeywordResearch, ContentBrief, ContentCalendar
import pandas as pdfrom seo_skills import KeywordResearch, ContentBrief, ContentCalendar
import pandas as pd# Generate brief for top opportunity
top_kw = research.top_opportunities[0]
brief = cb.create(
target_keyword=top_kw.term,
word_count_target=2000,
include_nlp_terms=True
)
briefs.append(brief)# 为最优机会生成简报
top_kw = research.top_opportunities[0]
brief = cb.create(
target_keyword=top_kw.term,
word_count_target=2000,
include_nlp_terms=True
)
briefs.append(brief)undefinedundefinedRateLimitError: API quota exceededfrom seo_skills import KeywordResearch
import time
kr = KeywordResearch(
api_key=os.getenv("SEO_API_KEY"),
rate_limit_delay=2.0 # Add 2 second delay between requests
)RateLimitError: API quota exceededfrom seo_skills import KeywordResearch
import time
kr = KeywordResearch(
api_key=os.getenv("SEO_API_KEY"),
rate_limit_delay=2.0 # 请求间添加2秒延迟
)undefinedundefinedundefinedundefined
Or programmatically:
```python
from seo_skills import ContentAudit
audit = ContentAudit(
max_depth=10,
timeout=300,
follow_redirects=True,
respect_robots_txt=True,
include_noindex=True,
max_pages=50000
)
或通过代码实现:
```python
from seo_skills import ContentAudit
audit = ContentAudit(
max_depth=10,
timeout=300,
follow_redirects=True,
respect_robots_txt=True,
include_noindex=True,
max_pages=50000
)EnvironmentError: SEO_API_KEY not found.envundefinedEnvironmentError: SEO_API_KEY not found.envundefined
Load in your script:
```python
from dotenv import load_dotenv
import os
load_dotenv()
在脚本中加载:
```python
from dotenv import load_dotenv
import os
load_dotenv()undefinedundefinedundefinedundefinedundefinedundefinedfrom seo_skills import TechnicalSEO
audit = TechnicalSEO()
results = audit.validate_schema(
url='https://example.com',
schema_types=['Product', 'Article', 'Organization'],
strict_mode=False # Use lenient validation first
)from seo_skills import TechnicalSEO
audit = TechnicalSEO()
results = audit.validate_schema(
url='https://example.com',
schema_types=['Product', 'Article', 'Organization'],
strict_mode=False # 先使用宽松验证
)undefinedundefinedfrom seo_skills import KeywordResearch
class CustomKeywordScoring(KeywordResearch):
def calculate_opportunity_score(self, keyword):
"""Custom scoring based on your business priorities"""
volume_score = min(keyword.volume / 10000, 1.0) * 40
difficulty_score = (100 - keyword.difficulty) / 100 * 30
intent_score = self.intent_multiplier(keyword.intent) * 20
trend_score = keyword.trend_direction * 10
return volume_score + difficulty_score + intent_score + trend_score
def intent_multiplier(self, intent):
# Prioritize commercial intent
multipliers = {
'transactional': 1.0,
'commercial': 0.9,
'informational': 0.6,
'navigational': 0.3
}
return multipliers.get(intent, 0.5)from seo_skills import KeywordResearch
class CustomKeywordScoring(KeywordResearch):
def calculate_opportunity_score(self, keyword):
"""基于业务优先级的自定义评分"""
volume_score = min(keyword.volume / 10000, 1.0) * 40
difficulty_score = (100 - keyword.difficulty) / 100 * 30
intent_score = self.intent_multiplier(keyword.intent) * 20
trend_score = keyword.trend_direction * 10
return volume_score + difficulty_score + intent_score + trend_score
def intent_multiplier(self, intent):
# 优先考虑商业意图
multipliers = {
'transactional': 1.0,
'commercial': 0.9,
'informational': 0.6,
'navigational': 0.3
}
return multipliers.get(intent, 0.5)undefinedundefinedundefinedundefined - name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install voltagent-seo-skills pyyaml
- name: Run daily SEO checks
env:
SEO_API_KEY: ${{ secrets.SEO_API_KEY }}
run: |
python scripts/daily_seo_check.py
- name: Create issue if problems found
if: failure()
uses: actions/github-script@v6
with:
script: |
github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: 'SEO Issues Detected',
body: 'Daily SEO audit found issues. Check workflow logs.'
})undefined - name: 设置Python环境
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: 安装依赖
run: |
pip install voltagent-seo-skills pyyaml
- name: 执行每日SEO检查
env:
SEO_API_KEY: ${{ secrets.SEO_API_KEY }}
run: |
python scripts/daily_seo_check.py
- name: 发现问题时创建Issue
if: failure()
uses: actions/github-script@v6
with:
script: |
github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: '检测到SEO问题',
body: '每日SEO审核发现问题,请查看工作流日志。'
})undefined