Skip to content

geo-score 1.9.0

Choose a tag to compare

@alexxu0909 alexxu0909 released this 28 Nov 02:43
· 20 commits to main since this release

Added

  • geo-score crawlers LOG…: the AI crawlers in the site's own access logs, read offline (standard library only;
    no request is sent). It reads nginx and Apache combined logs (and vhost_combined), Vercel log drain and Cloudflare
    Logpush JSON lines, and other JSON lines with a user agent and a path (nginx's JSON log_format, Caddy), plain or gzip
    or from standard input, one line at a time: a line over 64 KiB is skipped unread, and a line in no known format is
    counted by line number, never copied. It counts the requests whose user-agent names a crawler of
    reference/ai-crawlers.md, retrieval and training crawlers apart, with the live fetches a user's question triggers
    (ChatGPT-User, Claude-User, Perplexity-User) in a timeline of their own: per crawler the pages requested, how
    often, the first and last time, and the status codes, with 401, 403, 429 and a firewall's block or challenge counted
    as blocked. --sitemap or --urls (local files) adds the listed pages no retrieval or training crawler requested.
    A user-agent can be forged, so every count is unverified unless --verify-ips NAME=FILE finds the client address in
    a range file the user downloaded; the command never downloads one. Text, --format md or --format json
    (schema/crawlers.v1.json, new), -o FILE and --json-out FILE; exit 2 with schema/error.v1.json (kind usage)
    when nothing can be read. Measurement only, never part of the score. Tests: cli/test_crawler_logs.py, with made-up
    log fixtures in cli/fixtures/logs/ (a forged GPTBot, every format, bad lines) and a 200,000-line file read under
    8 MB; the crawler lists are held to the reference's tables, operators and roles included.
  • validate.py rule 41: every schema/*.json but the superseded report.v1.json is a public contract named in
    guide/stability.md and AGENTS.md.
  • Nine task skills in skills/, in the Agent Skills format, each
    answering one question and leaving a file in the user's repository: geo-readiness-audit (the 0–100 score and the
    biggest gaps, geo/audit-<host>-<date>.md and .json), ai-crawler-access (the three gates and robots.txt page by
    page), ai-crawler-logs (crawlers LOG… on the user's own access logs, geo/crawler-logs-<date>.md and .json), ai-citation-check (level 2 through watch ask, one JSON per question), ai-search-fanout (the searches
    the OpenAI and Anthropic APIs return with each answer; Gemini's are left out, as the Gemini API terms for Grounding
    with Google Search do not allow storing, republishing or analysing grounded results), geo-baseline (a fixed set of about 20 questions;
    cited, mentioned and what the answers say, recorded apart), geo-watch (weekly runs and watch diff),
    citation-gaps (the questions a competitor is cited on and the user is not) and geo-ci-gate (a GitHub Actions
    workflow on the pinned Action). Each runs uvx geo-score@X.Y.Z or the MCP server, says what it costs (the level 2
    and 3 skills show the plan and wait for a yes), and measures only. The root SKILL.md is unchanged.
  • Where the skills are found. .claude-plugin/marketplace.json lists each, and plugin.json names the
    plugin root under skills, so the Claude Code plugin loads them all, the root skill included (a skills/ folder alone would stop the root
    SKILL.md from loading). The skills CLI stops at a root SKILL.md, so its line is
    npx skills add jianruntech/geo-score --full-depth; --skill <name> installs one.
  • Checks for the skills. scripts/test_packaging.py (check_skills) holds each to the Agent Skills format (the
    name is the folder's, lowercase with single hyphens, at most 64 characters; a description of at most 1,024; license
    MIT; at most 500 body lines), to __version__ and the CLI's rubric in its metadata, to the pinned release, to a
    boundaries section that links the scope, and to both READMEs. release.py lists them in SKILLS, so --bump
    rewrites their pins and metadata version and preflight checks both. validate.py holds them to English (rule 14)
    and to the gate-cap wording (rule 20).

Changed

  • Both READMEs open with what a run gives you, then the searches the engines ran before answering, as the OpenAI
    and Anthropic APIs return them (with a watch ask output labelled illustrative: made-up brands and answers; Gemini's
    are not published, under its grounding terms), four one-line installs (the Claude Code
    plugin, the skills CLI, uvx, MCP), a table of the skills with what each leaves in the repository and an example
    prompt, and three ways the skills chain. The video, the badges and the benchmark figures are unchanged, and the
    version note now says that the plugin and the skills CLI copy main. The Claude Code plugin section of
    guide/mcp.md (+ zh) says it loads every skill. Documentation only.
  • Both READMEs lead with uvx geo-score@X.Y.Z example.com: one line under the intro, and Quick start now opens with the PyPI section (uvx or pipx) before the one-file curl | python3 line, which stays for machines without uv. AI assistants that recommend the tool were quoting the older python geo_score.py form. Documentation only.

Fixed

  • watch report, watch diff, watch runs and the MCP report and diff tools read a run file that lacks some
    answers.
    The published round 0 run files keep only the status, usage and timing of Gemini's answers (the Gemini
    API terms for Grounding with Google Search do not allow storing, republishing or analysing grounded results), and watch report stopped on them with an
    internal error (KeyError rank). A sample marked answered that holds no answer now loads as skipped, with the reason
    "no answer in the run file": not measured, left out of every rate, never read as not cited, and the report says how
    many per engine. Complete run files load exactly as saved. Regression test: MissingAnswers in
    cli/test_geo_watch.py.

Verify downloads: shasum -a 256 -c SHA256SUMS.
中文更新日志:https://github.com/jianruntech/geo-score/blob/v1.9.0/CHANGELOG.zh-CN.md