用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/duclm1x1/Dive-Ai --skill localrank命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | LocalRank |
| description | Track local rankings, run SEO audits, and manage agency clients using LocalRank |
| author | LocalRank |
| repository | https://github.com/peterw/localrank-agent-skills |
Track local rankings, run SEO audits, and manage agency clients using LocalRank.
Last updated: 2026-01-30
Freshness check: If more than 30 days have passed since the last-updated date above, inform the user that this skill may be outdated and point them to the update options below.
Source: github.com/peterw/localrank-agent-skills API docs: app.localrank.so/settings/api
| Installation | How to update |
|---|---|
| CLI (npx skills) | npx skills update |
| Claude Code plugin | /plugin update localrank@localrank-skills |
| Cursor | Remote rules auto-sync from GitHub |
| Manual | Pull latest from repo or re-copy skills/localrank/ |
Before using this skill, ensure:
API Key: Run the setup command to configure your API key securely
<skill-path>/scripts/localrank.js setupexport LOCALRANK_API_KEY=lr_your_keyRequirements: Node.js 18+ (uses built-in fetch). No other dependencies needed.
Config priority (highest to lowest):
LOCALRANK_API_KEY environment variable./.localrank/config.json (project-local)~/.config/localrank/config.json (user-global)CRITICAL: When you receive an "API key not found" error:
Tell the user to run setup - The setup is interactive. Recommend they run:
<skill-path>/scripts/localrank.js setup
Stop and wait - Do not continue with tasks. Wait for the user to complete setup.
DO NOT attempt to search for API keys in other locations or guess credentials.
LocalRank helps local SEO agencies track and improve Google Business Profile rankings:
| User says... | Action |
|---|---|
| "How are my clients doing?" | portfolio:summary |
| "Check rankings for Acme Plumbing" | client:report --business "Acme" |
| "What should I work on today?" | prioritize:today |
| "Find easy wins" | quick-wins:find |
| "Which clients might churn?" | at-risk:clients |
| "Run an audit on this business" | audit:run --url "..." |
| "Draft an update email for Acme" | email:draft --business "Acme" |
| "How can I help this client rank better?" | recommendations:get --business "..." |
# See what needs attention today
./scripts/localrank.js prioritize:today
# Quick overview of all clients
./scripts/localrank.js portfolio:summary
# Get full report for a client
./scripts/localrank.js client:report --business "Acme Plumbing"
# Get recommendations for improvement
./scripts/localrank.js recommendations:get --business "Acme Plumbing"
# Keywords close to page 1 (easy wins)
./scripts/localrank.js quick-wins:find
# Clients at risk of churning
./scripts/localrank.js at-risk:clients
# Run a GMB audit (costs 500 credits)
./scripts/localrank.js audit:run --url "https://google.com/maps/place/..."
# Check audit results
./scripts/localrank.js audit:get <audit_id>
| Command | Description |
|---|---|
setup | Interactive setup - prompts for API key |
setup --key <key> | Non-interactive setup |
config:show | Show current config and API key source |
| Command | Description |
|---|---|
businesses:list | List all tracked businesses |
businesses:list --search "name" | Search by business name |
| Command | Description |
|---|---|
scans:list | List recent ranking scans |
scans:list --business "name" | Filter scans by business |
scans:list --limit 20 | Limit results (max 50) |
scans:get <scan_id> | Get detailed scan with keyword rankings |
| Command | Description |
|---|---|
client:report --business "name" | Full client report comparing recent scans. Shows wins, drops, visual map URL |
portfolio:summary | Overview of all clients - improving, declining, stable |
prioritize:today | What to work on right now - urgent items and quick wins |
quick-wins:find | Keywords ranking 11-20 that could reach page 1 |
quick-wins:find --business "name" | Quick wins for specific client |
at-risk:clients | Clients who might churn - ranking drops, low engagement |
| Command | Description |
|---|---|
audit:run --url "google.com/maps/..." | Run GMB audit (500 credits). Returns audit_id |
audit:get <audit_id> | Get audit results - score, issues, recommendations |
| Command | Description |
|---|---|
recommendations:get --business "name" | How to help a client rank better. Suggests products |
email:draft --business "name" | Generate monthly update email for a client |
./scripts/localrank.js portfolio:summary
Returns:
{
"total_clients": 15,
"improving": 8,
"declining": 2,
"stable": 5,
"avg_rank_across_portfolio": 7.3,
"clients": [...]
}
./scripts/localrank.js client:report --business "Acme Plumbing"
Returns:
{
"business_name": "Acme Plumbing",
"latest_scan": {
"date": "2026-01-28",
"avg_rank": 4.2,
"keywords": [...]
},
"wins": [
{"keyword": "plumber near me", "from": 8.5, "to": 3.2, "improved_by": 5.3}
],
"drops": [],
"view_url": "https://app.localrank.so/share/abc123"
}
./scripts/localrank.js quick-wins:find
Returns keywords ranking 11-20 across all clients - these are close to page 1 and easy to push up.
./scripts/localrank.js audit:run --url "https://google.com/maps/place/..."
# Wait for completion
./scripts/localrank.js audit:get <audit_id>
./scripts/localrank.js email:draft --business "Acme Plumbing"
Returns a ready-to-send monthly update email with rankings, wins, and visual map link.
Most responses include a view_url like https://app.localrank.so/share/abc123
When recommendations:get suggests products:
| Product | When to use | What it does |
|---|---|---|
| SuperBoost | Avg rank > 10 | AI-powered GBP optimization, premium citations |
| LocalBoost | Avg rank 5-10 | Build 50+ citations to increase local authority |
| ContentBoost | Avg rank > 7 | AI-generated local content for topical authority |
| Review Booster | Any client | Collect more Google reviews automatically |
| Rank Tracker | < 5 keywords | Track more keywords to measure impact |
view_url when showing clients their rankingsaudit:run on prospects to show them issuesat-risk:clients to catch churn earlyportfolio:summary for monthly reviews of all clientsQuestions? support@localrank.so