seoscore
v0.1.1
Published
Command-line client for the free seoscore.tools SEO, AEO and GEO scanner, with a skill for AI coding agents
Maintainers
Readme
seoscore-agent
Use the free seoscore.tools scanner from the command line and from AI coding agents (Claude Code, Codex, Cursor and others).
seoscoreCLI: one Node.js file, no dependencies, Node 18 or newer. It sends a URL to the seoscore.tools API and prints the answer. The scanner itself runs on seoscore.tools.- Skill (
skills/seoscore/SKILL.md): tells an agent when to scan, how to read the answer, and which honesty rules to follow. - Claude Code plugin marketplace (
.claude-plugin/): installs the skill and the CLI together.
No account and no API key. One scan checks one page.
Claude Code
/plugin marketplace add Xley9/seoscore-agent
/plugin install seoscore@seoscoreThen ask, for example: "Check https://example.com/ and tell me the three most important issues."
CLI
Run it without installing:
npx -y seoscore scan https://example.com/Or install it globally with npm install -g seoscore, or clone the repository and run node bin/seoscore.js scan https://example.com/.
seoscore scan <url> [--keyphrase "text"] [--json] [--fail-under <0-100>]
seoscore --help
seoscore --version--jsonprints the raw API answer. Schema: https://seoscore.tools/schema/scan-v1.json--fail-under 80exits with code 1 when the overall score is below 80. Use it, for example, in CI before a deploy.
| Exit code | Meaning |
|---|---|
| 0 | scan ok (and at or above --fail-under) |
| 1 | overall score below --fail-under |
| 2 | input error (bad arguments, invalid or private URL) |
| 3 | target page not reachable, error status, not HTML, too large or too slow |
| 4 | rate limit reached (after one polite retry) |
| 5 | seoscore.tools not reachable, no answer within 90 s (per request), or internal error |
With --json, errors are printed as {"schema_version":"1","error":{"code":"...","message":"..."}}. Besides the API codes listed below, the CLI itself can report usage_error (exit 2), client_timeout, service_unreachable and bad_response (exit 5).
Limits and politeness
seoscore.tools allows about 5 scans per minute per client and 30 scans per target domain per hour. The counters are approximate. The CLI never scans in parallel. On HTTP 429 it waits once, as long as Retry-After says (at most 60 s), and retries once. If the server asks for a longer wait, it stops with exit code 4 and says when to try again.
API
POST https://seoscore.tools/api/v1/scan with JSON {"url": "https://example.com/", "keyphrase": "optional"}. The answer is described in scan-v1.json:
scores: overall, seo, aeo, geo, cwv.overall= round(SEO × 0.5 + AEO × 0.25 + GEO × 0.25).checks: the applicable checks, each withid,engine,category,pass,severity,messageandfix.fixisnullwhere no hint is stored.warnings: notes such as "page rendered by JavaScript" or "no Core Web Vitals data".
Errors come back as {"schema_version":"1","error":{"code":"...","message":"..."}}. The codes are invalid_request, invalid_url, private_url, fetch_failed, http_error, not_html, too_large, timeout, rate_limited, target_rate_limited and internal.
Version 1 only gains fields in a new version. Fields are never renamed or retyped.
Development
node --test test/cli.test.mjsThe tests run the CLI against a fake server on 127.0.0.1. No request leaves the machine.
License
MIT
