Get statistics
Read exact GoVisit catalog coverage statistics for the physical World or a selected Destination, with observation dates and provenance.
What this skill provides
The get-statistics skill packages instructions for get_statistics and its generated HTTP contract. It calls the tool's stateless HTTP adapter, using a required pagePath plus the tool's arguments. A compatible coding agent can call it without browser WebMCP or a browser session.
Use a pathname from an actual canonical GoVisit link. Page language and published scope come from that path. The adapter reads a public page snapshot using normal caches; it does not search an unrestricted backend or infer traveler location.
Example request
{
"pagePath": "/en/destinations/cz/prague/"
}
Send this body to POST https://govisit.ai/api/tools/v1/get_statistics. Use /en for physical World statistics, or a canonical Destination pathname for its coverage. Optional category defaults to coverage. Read the generated HTTP contract for the exact input, successful output and transport error schemas.
Interpretation limits
Read data.scope, data.metrics and data.missingCodes. Home, Places and Destinations landing paths provide physical World observations. Destination category and collection paths provide their parent Destination observations, not statistics for a category or collection. Individual Place, documentation and blog paths are unsupported.
Use exact values with metric codes, definition versions, sources, observation dates and windows. data.count is the number of metric members returned, not a catalog total. A measured zero is zero; missing, invalid, duplicate or unavailable observations remain unknown. A partial result is useful only for its returned members. An unavailable result returns HTTP 503. Never broaden the requested scope silently.
Catalog coverage is cached and is not live availability. Coverage is recalculated daily, so returned counts can lag catalog changes and be slightly inaccurate within the day. Each unchanged metric retains its earlier observation date; page freshness and package versions are separate. Do not derive totals from bounded search results or sum overlapping Destinations. World destinations counts all Destinations; Destination destinations counts descendants and excludes itself. The homepage Destinations headline uses the same World destinations total, rounded down to the nearest hundred: 4,987 displays as +4,900. The tool preserves the exact observed value.
Optional coverage reads during page rendering have a 1.5-second deadline. Timed-out observations remain unknown. Destination pages retry failed optional reads through background revalidation after one minute; the tool can return partial or unavailable results until observations recover.
Discover and install the current package
Read the public index before installing or refreshing. It supplies the canonical archive URL and current SHA-256 digest:
curl --fail --silent --show-error https://govisit.ai/.well-known/agent-skills/index.json | jq '.skills[] | select(.name == "get-statistics")'
The canonical skill file is https://govisit.ai/.well-known/agent-skills/get-statistics/SKILL.md; the package archive is https://govisit.ai/.well-known/agent-skills/govisit-skill-get-statistics.tar.gz. Install into a govisit-get-statistics/ directory under your agent’s configured skills directory, with the installed SKILL.md frontmatter name set to govisit-get-statistics.
Fetch, verify, and unpack with Python 3
This example verifies the original archive before installing its expected files into a govisit- prefixed directory. It gives the installed skill the same prefixed name; the canonical package and contract stay unchanged:
from hashlib import sha256
from io import BytesIO
import json
from pathlib import Path
import tarfile
from urllib.request import urlopen
index_url = "https://govisit.ai/.well-known/agent-skills/index.json"
with urlopen(index_url) as response:
index = json.load(response)
skill = next(item for item in index["skills"] if item["name"] == "get-statistics")
with urlopen(skill["url"]) as response:
archive_bytes = response.read()
if "sha256:" + sha256(archive_bytes).hexdigest() != skill["digest"]:
raise ValueError("GoVisit skill archive digest does not match the discovery index")
expected = {"SKILL.md", "references/contract.json"}
install_name = "govisit-" + skill["name"]
target = Path("skills") / install_name
with tarfile.open(fileobj=BytesIO(archive_bytes), mode="r:gz") as archive:
members = {member.name: member for member in archive.getmembers() if member.isfile()}
if set(members) != expected:
raise ValueError("Unexpected files in GoVisit skill archive")
for name, member in members.items():
destination = target / name
destination.parent.mkdir(parents=True, exist_ok=True)
contents = archive.extractfile(member).read()
if name == "SKILL.md":
text = contents.decode("utf-8")
canonical_header = "---\nname: " + json.dumps(skill["name"]) + "\n"
if not text.startswith(canonical_header):
raise ValueError("Unexpected GoVisit skill frontmatter name")
installed_header = "---\nname: " + json.dumps(install_name) + "\n"
contents = (installed_header + text[len(canonical_header):]).encode("utf-8")
destination.write_bytes(contents)
Point your Agent Skills-compatible host at that directory or copy it to the host’s configured skill location. Re-read the index and refresh the full skill directory when the digest changes. Installed copies are snapshots and do not update automatically; keep the package version and contract reference together.
Ask your agent
Open your project in the harness's agent mode, choose its tab, and copy the complete installation prompt into the chat.
Claude Code
Install the GoVisit get-statistics skill for Claude Code in this project's .claude/skills/govisit-get-statistics/ directory. It calls get_statistics for a selected public GoVisit page, supplied with pagePath.
Download the complete skill package from https://govisit.ai/.well-known/agent-skills/govisit-skill-get-statistics.tar.gz. Verify its SHA-256 digest against the get-statistics entry at https://govisit.ai/.well-known/agent-skills/index.json. Unpack SKILL.md and references/contract.json into the skill directory, preserving their relative paths. Set the installed SKILL.md frontmatter name to govisit-get-statistics so it matches the directory. Leave existing unprefixed skill directories untouched. Confirm both files are installed and tell me whether a new session is needed to discover the skill.
Codex
Install the GoVisit get-statistics skill for Codex in this project's .agents/skills/govisit-get-statistics/ directory. It calls get_statistics for a selected public GoVisit page, supplied with pagePath.
Download the complete skill package from https://govisit.ai/.well-known/agent-skills/govisit-skill-get-statistics.tar.gz. Verify its SHA-256 digest against the get-statistics entry at https://govisit.ai/.well-known/agent-skills/index.json. Unpack SKILL.md and references/contract.json into the skill directory, preserving their relative paths. Set the installed SKILL.md frontmatter name to govisit-get-statistics so it matches the directory. Leave existing unprefixed skill directories untouched. Confirm both files are installed and tell me whether a new session is needed to discover the skill.
Cursor
Install the GoVisit get-statistics skill for Cursor in this project's .cursor/skills/govisit-get-statistics/ directory. It calls get_statistics for a selected public GoVisit page, supplied with pagePath.
Download the complete skill package from https://govisit.ai/.well-known/agent-skills/govisit-skill-get-statistics.tar.gz. Verify its SHA-256 digest against the get-statistics entry at https://govisit.ai/.well-known/agent-skills/index.json. Unpack SKILL.md and references/contract.json into the skill directory, preserving their relative paths. Set the installed SKILL.md frontmatter name to govisit-get-statistics so it matches the directory. Leave existing unprefixed skill directories untouched. Confirm both files are installed and tell me whether a new session is needed to discover the skill.
GitHub Copilot
Install the GoVisit get-statistics skill for GitHub Copilot in this project's .github/skills/govisit-get-statistics/ directory. It calls get_statistics for a selected public GoVisit page, supplied with pagePath.
Download the complete skill package from https://govisit.ai/.well-known/agent-skills/govisit-skill-get-statistics.tar.gz. Verify its SHA-256 digest against the get-statistics entry at https://govisit.ai/.well-known/agent-skills/index.json. Unpack SKILL.md and references/contract.json into the skill directory, preserving their relative paths. Set the installed SKILL.md frontmatter name to govisit-get-statistics so it matches the directory. Leave existing unprefixed skill directories untouched. Confirm both files are installed and tell me whether a new session is needed to discover the skill.
Harness guides: Claude Code, Codex, Cursor, and GitHub Copilot.