본문으로 건너뛰기
cccskills
무료GitHub에 공개

fusionaly

Use when user asks about website analytics, traffic, visitors, page views, referrers, or mentions "fusionaly". Queries Fusionaly analytics via SQL API.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Fusionaly Agent 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).

Environment Variables

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 → Agents

Workflow

Step 1: Fetch and Interpret the Schema

curl -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 columns
  • concepts: Domain-specific explanations of what each table/column means

How to use the schema:

  1. Parse the CREATE TABLE statements to learn exact table names and column names
  2. Use the concepts section to understand what each column represents
  3. Build your SQL queries using only the columns that exist in the schema
  4. Always use the exact column names as shown (case-sensitive)

Step 2: Execute SQL Queries

curl -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:

  • Table names from the schema (e.g., events, sessions, visitors)
  • Column names exactly as defined in CREATE TABLE statements
  • Relationships implied by foreign keys (e.g., website_id, visitor_id)

Error Handling

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 name
  • no such column: X → Re-check schema for correct column name (case-sensitive)
  • only SELECT queries allowed → Remove any non-SELECT statements
  • comments not allowed → Remove -- or /* */ from query
  • multiple statements not allowed → Use only one SELECT statement
  • dangerous operation not allowed → Remove blocked keywords, use only SELECT/WITH

Always bias toward solving the problem. Don't give up on first error - read the message, fix the query, retry.

Constraints

  • Read-only: Only SELECT/WITH queries are allowed
  • Rate limited: 30 requests per minute
  • Query timeout: 5 seconds
  • No comments: SQL comments (-- or /**/) are not allowed

Domain Concepts

Visitors vs Sessions

  • Visitor: A unique user identified by a hash signature (no cookies, privacy-first)
  • Session: A browsing session, expires after 30 minutes of inactivity

Events

  • Pageview: A page visit with path, referrer, UTM parameters
  • Custom Event: User-defined events with optional properties

Time-based Analysis

  • Data is typically queried by date ranges
  • Use DATE(timestamp) for daily aggregations
  • Timestamps are stored in UTC

Website Context

  • All queries should filter by website_id
  • Pass website_id in the request body alongside the SQL query

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

connect

무료

Use when the user wants to connect, set up, or configure Fusionaly in their AI client, or when the fusionaly MCP tools are missing. Verifies the Fusionaly URL and agent key, then adds the MCP server to Claude Code, Codex, Cursor, Gemini CLI, or another client.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karloscodes/fusionaly-oss152026년 10월 19일 업데이트

fusionaly

무료

Use when the user asks about website analytics, traffic, visitors, page views, referrers, conversions, goals, or mentions "fusionaly". Answers from a self-hosted Fusionaly instance through its MCP tools (or its SQL API), in plain English with numbers.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karloscodes/fusionaly-oss152026년 10월 19일 업데이트

Use ONLY when explicitly invoked. Puts Fusionaly on a Linux server you reach over SSH with a key. Optionally creates a Hetzner server and the Cloudflare DNS record. The user runs the one interactive install command; the agent prepares and checks everything around it.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karloscodes/fusionaly-oss152026년 10월 19일 업데이트

qa

무료

Use after code changes, before releases, or when testing features - runs the right level of QA based on what changed

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karloscodes/fusionaly-oss152026년 10월 19일 업데이트

tech

무료

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

karloscodes/fusionaly-oss152026년 10월 19일 업데이트

karloscodes의 스킬 모두 보기

이 스킬의 문제 신고