fusionaly
Use when user asks about website analytics, traffic, visitors, page views, referrers, or mentions "fusionaly". Queries Fusionaly analytics via SQL API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when user asks about website analytics, traffic, visitors, page views, referrers, or mentions "fusionaly". Queries Fusionaly analytics via SQL API.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | fusionaly |
| description | Use when user asks about website analytics, traffic, visitors, page views, referrers, or mentions "fusionaly". Queries Fusionaly analytics via SQL API. |
Query your Fusionaly analytics data using SQL.
Your role: The user will ask questions in plain English (e.g., "What were my top pages last week?" or "How many visitors did I get from Google?"). You translate these questions into SQL queries, execute them via the API, and present the results in the most readable format possible (tables, summaries, bullet points, or charts as appropriate).
Requires these environment variables to be set:
FUSIONALY_HOST - Your Fusionaly instance URL (e.g., https://analytics.example.com)FUSIONALY_API_KEY - Your Agent API key from Administration → Agentscurl -s -H "Authorization: Bearer $FUSIONALY_API_KEY" "$FUSIONALY_HOST/z/api/v1/schema"
The response contains:
schema: Raw SQLite CREATE TABLE statements showing all tables and columnsconcepts: Domain-specific explanations of what each table/column meansHow to use the schema:
concepts section to understand what each column representscurl -s -X POST "$FUSIONALY_HOST/z/api/v1/sql" \
-H "Authorization: Bearer $FUSIONALY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sql": "SELECT ...", "website_id": 1}'
Build your SELECT queries based on:
events, sessions, visitors)website_id, visitor_id)Be persistent. If a query fails, analyze the error and retry with corrections. Try up to 3 times before giving up.
Common errors and fixes:
no such table: X → Re-check schema for correct table nameno such column: X → Re-check schema for correct column name (case-sensitive)only SELECT queries allowed → Remove any non-SELECT statementscomments not allowed → Remove -- or /* */ from querymultiple statements not allowed → Use only one SELECT statementdangerous operation not allowed → Remove blocked keywords, use only SELECT/WITHAlways bias toward solving the problem. Don't give up on first error - read the message, fix the query, retry.
-- or /**/) are not allowedDATE(timestamp) for daily aggregationswebsite_idwebsite_id in the request body alongside the SQL queryUse ONLY when explicitly invoked. Installs Fusionaly on a server you can reach over SSH with a key. Optionally provisions a new Hetzner server or sets up Cloudflare DNS.
Use when styling Fusionaly UI components, pages, or charts - applies the Fusionaly design system with black/white palette and brand accents
Use after code changes, before releases, or when testing features - runs the right level of QA based on what changed
Use when writing or reviewing Go code in fusionaly-oss — adding routes, handlers, domain contexts, background jobs, the manager CLI, wiring the app, or writing tests. Covers the cartridge framework, matcha for the manager, Phoenix Contexts, lifecycle/shutdown, and the test conventions.