Website analytics for your coding agent
Install one Markdown file to teach your agent how to query SDK traffic, investigate signup drop-off and compare search performance after a release.
curl -fsSL --create-dirs -o ~/.agents/skills/sitetap/SKILL.md 'https://sitetap.ai/skills/sitetap/SKILL.md'What is the SiteTap skill?
The skill gives your agent a repeatable investigation to follow. It identifies the project and reporting dates, finds the right Google data, then checks the relevant code before suggesting an edit.
- Install
- sitetap/SKILL.md
- Data access
- Connected MCP tools or authenticated HTTP with curl
- API token file
~/.config/sitetap/token- Current cost
- 0 SiteTap credits per reporting call
Install the skill
Gemini CLI
Paste the setup prompt into Gemini CLI. It includes the configuration and a first call to verify access.
Read setup prompt
Install the SiteTap skill for Gemini CLI. Run this command once from any directory. It saves the skill to ~/.agents/skills/sitetap/SKILL.md for use across your projects. The agent checks for updated guidance on first SiteTap use in a session. curl -fsSL --create-dirs -o ~/.agents/skills/sitetap/SKILL.md 'https://sitetap.ai/skills/sitetap/SKILL.md' Use the installed skill’s HTTP instructions with SITETAP_ENDPOINT set to https://sitetap.ai/api/mcp, or use the connected SiteTap MCP tools if available. Reuse an existing matching setup. For direct HTTP, use SITETAP_TOKEN if set, otherwise load the token from ~/.config/sitetap/token within the request command. If neither is available, ask me to save my token manually using the hidden-input command in the SiteTap skill guide. Keep the token out of chat, logs and tracked files. Tell me when to restart or reload the client. Verify by calling sitetap_list_projects, then sitetap_project with the chosen projectId. List my SiteTap projects. Match this repository to a hostname and ask me to choose if there is more than one match. Show the selected hostname and connected data sources. If website tracking is enabled, show landing page visits and signup rates for the last seven days. Use actual tool responses and tell me if the connection fails.
Manual setup
- Save your API token
Create a token in API tokens and choose the projects it can read. Run this command on the machine where your agent runs. Paste the token at the hidden prompt to save it in
~/.config/sitetap/token.( set +x umask 077 mkdir -p ~/.config/sitetap || exit 1 printf 'Paste your SiteTap API token and press Enter: ' >&2 IFS= read -rs sitetap_token || exit 1 printf '\n' >&2 [ -n "$sitetap_token" ] || exit 1 touch ~/.config/sitetap/token && chmod 600 ~/.config/sitetap/token && printf '%s\n' "$sitetap_token" > ~/.config/sitetap/token )The file contains just the token on one line. If you already set
SITETAP_TOKEN, the skill uses that value first. - Save the skill file
Run this command once from any directory. It saves the skill to ~/.agents/skills/sitetap/SKILL.md for use across your projects. The agent checks for updated guidance on first SiteTap use in a session.
curl -fsSL --create-dirs -o ~/.agents/skills/sitetap/SKILL.md 'https://sitetap.ai/skills/sitetap/SKILL.md'export SITETAP_ENDPOINT='https://sitetap.ai/api/mcp' - Verify the connection
Start a new agent session in the repository and send this request.
List my SiteTap projects. Match this repository to a hostname and ask me to choose if there is more than one match. Show the selected hostname and connected data sources. If website tracking is enabled, show landing page visits and signup rates for the last seven days.
Try the skill on your site
Find signup drop-off
For visits that landed on /pricing in the past 28 days, which signup step lost the most visits?
Audit a landing page
Audit our pricing page on mobile. Show the main Lighthouse finding, the real-user Core Web Vitals if available, and one change to investigate in the code.
Check indexing
Use SiteTap to check whether Google has indexed our pricing page and which canonical URL it selected.
Review a landing page
Find a page with many impressions and few clicks. Inspect its title and description and suggest one change I can review.
Measure a deployment
Compare search clicks and impressions on the affected route before and after our latest recorded release. Give me the dates, counts and limits of the comparison.
Frequently asked questions
What does a tool call cost?
All current SiteTap and Search Console tools cost zero SiteTap credits per call. We plan to charge credits for future tools such as SERP monitoring. Those tools are still in development.
How does my agent find skill updates?
On first SiteTap use in a session, the agent checks the published guide and reads any updated instructions. Older installs receive an update hint when listing projects or reading project details. Reinstall once if your client skips those hints.
Do I need to install MCP as well?
The skill can send authenticated HTTP requests using curl. If your agent already has the SiteTap MCP server connected, the skill can use those tools directly.
How do I know the skill is working?
Ask your agent to use the SiteTap skill and report your project’s hostname, Search Console property and reporting dates. Those values should match the selected SiteTap workspace.
Why can’t my agent find the skill?
Check the user-level skills directory shown for your client on the machine where the agent runs. The filename is case-sensitive and must be SKILL.md. Start a fresh agent session so the client can discover it.
How do I update the skill?
Review the current file through the download link, then rerun the installation command for your client. Start a fresh session to load the updated instructions.
How current is the search data?
Ask your agent for the latest reported and finalized Search Console dates. Google reports in Pacific time and recent figures can be preliminary.
Can my team share the skill?
Share this guide with your team. Each teammate can install the skill in their user directory and supply their own scoped token privately. Manage or revoke credentials in API tokens.