Agent Skills
PrivateStater provides agent skills for Claude Code, Cursor, GitHub Copilot, and other AI coding tools. Once installed, your agent can integrate PrivateStater into websites and query your data without you having to write instructions from scratch.
Available Skills
| Skill | What it does |
|---|---|
privatestater-install |
Installs Analytics, Captcha, and Feedback Widget into any website |
privatestater-openapi |
Queries analytics, manages feedback, and controls settings via the Open API |
Installation
Run the command in your project root. The skill is added to .agents/skills/ and picked up automatically by your agent.
Install individually
# Analytics, Captcha, and Feedback Widget integration
npx skills add https://github.com/gpdir16/privatestater-skills --skill privatestater-install
# Open API queries and management
npx skills add https://github.com/gpdir16/privatestater-skills --skill privatestater-openapi
Install both at once
npx skills add https://github.com/gpdir16/privatestater-skills --skill privatestater-install --skill privatestater-openapi
What each skill does
privatestater-install
Teaches your agent how to:
- Add the PrivateStater script to any HTML page
- Set up click tracking with
window.PrivateStater.statsClick() - Implement the Captcha widget and validate tokens server-side
- Enable the Feedback Widget and open it programmatically
Your agent will ask for your Website ID (found in the dashboard) and handle the full integration, including server-side captcha validation code.
privatestater-openapi
Teaches your agent how to query and manage PrivateStater data using the Open API. Ask questions like:
- "How many visitors did I get this week?"
- "What are my top pages?"
- "Show me unread feedback with issues"
- "Set captcha difficulty to high"
The agent will ask for your API key (Dashboard → Project → For developers → API keys) and Website ID, then call the API and present results in plain language.
Source
Skills are published at github.com/gpdir16/privatestater-skills.