Summer Analytics logo

Summer Analytics

Organization
SummerEngine
summer-analytics

Send game events to Summer analytics from the authority or client: fire-and-forget, never blocking gameplay.

Overview

PublisherSummerEngine
Repositorysummer
Skill namesummer-analytics
Stars
91
Forks
8
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by SummerEngine on GitHub. Read the source before you install it.

Installation

Install the Summer Analytics AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/SummerEngine/summer/tree/main/library/skills/summer-analytics
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/summer-analytics .claude/skills/summer-analytics
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Summer Analytics in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Summer Analytics on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Summer Analytics is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/summer-analytics — game events you read in Grow

Overview

Summer analytics stores named events, such as level_completed or coin_collected, for the creator to query in Studio. There are two ways in:

Captured fromCallWhat it means
The player's clientSummer.client.analytics.capture(name, properties)An untrusted observation from that player's device. Summer attaches the player, game and build; you never pass ids.
The authoritySummer.authority.analytics.capture(name, properties)An observation about this World's runtime. It describes the server, not a player or a match.

Analytics is for looking at your game, never for running it:

  • Capture returns immediately.
  • Gameplay never waits for capture and never depends on its result.
  • Capture is never retried. An unavailable result may already have stored the event, and capturing again records a second event.

Where it works: hosted only. Under Local Play both calls complete with ok == false and code unavailable, and nothing is stored. Also print each event while testing, so you can check it in the logs.

Steps

1. Choose a small set of events

Name events after things that happened, in the past tense: match_started, coin_collected, tutorial_step_completed.

  • Names:
    • 1 to 64 characters, matching ^[A-Za-z][A-Za-z0-9_.:-]{0,63}$.
    • Case-sensitive, and never starting with summer..
  • Never put changing values in names (coin_7_collected). Put them in properties: {"coin": 7}.
    • New event names are rate-limited per player and per game per day.
    • Known names keep working after that limit.
  • Properties are a JSON Dictionary:
    • at most 64 scalar values;
    • nesting at most 4 deep;
    • property names up to 128 bytes;
    • one event at most 16 KiB.
  • Never send personal data or secrets. Names such as email, password, phone, address, ip_address and *_token are rejected at any depth, as is anything starting with $summer_.

Capture authoritative facts on the authority, where the game decided them. Capture interface facts on the client: menu opened, tutorial step shown, settings changed.

2. Add a fire-and-forget helper

Authority, in authority/main.gd:

gdscript
## Fire-and-forget: gameplay never waits on analytics, and a failure is
## logged once, never retried (a retry would count the event twice).
var _analytics_warned := false

func _track(event: String, properties: Dictionary = {}) -> void:
	print("ANALYTICS ", event, " ", JSON.stringify(properties))
	var capture := Summer.authority.analytics.capture(event, properties)
	var result: SummerResult = await capture.get_result_or_completed_signal()
	if not result.ok and not _analytics_warned:
		_analytics_warned = true
		push_warning("analytics unavailable: %s" % result.code)

Client, in client/main.gd, the same shape with the client facade:

gdscript
var _analytics_warned := false

func _track(event: String, properties: Dictionary = {}) -> void:
	print("ANALYTICS ", event, " ", JSON.stringify(properties))
	var capture := Summer.client.analytics.capture(event, properties)
	var result: SummerResult = await capture.get_result_or_completed_signal()
	if not result.ok and not _analytics_warned:
		_analytics_warned = true
		push_warning("analytics unavailable: %s" % result.code)

3. Call it without awaiting

Call _track(...) as a statement and do not await it, so the caller continues immediately. For example, in the authority's _collect, after the coin is applied:

gdscript
	_track("coin_collected", {"coin": coin, "players": seat_of.size()})

On the client, after a menu choice:

gdscript
	_track("menu_opened", {"from": "pause"})

4. Read the results

analytics.summary (hosted, after summer login) returns the game's top custom events next to its store page views, launches and play time; the grow-analytics skill says how to read them. In Studio: studio.open with target game, params gameId (your game's id) and section: "analytics". Events show up after a short delay.

Result codes

CodeMeaningWhat to do
unavailableNo analytics service here (Local Play, an old Host), or a lost answerNothing. Do not capture again.
capacity_exceededMore than 32 captures are pendingCapture less often; batch counts into one event
analytics_storage_limit_exceededThe game's analytics quota is used upStop capturing this event type; final for now
not_configuredAn older Supervisor without authority analyticsNothing

Every failure is final: none of them asks you to capture again.

Checklist

  • Every capture is a plain _track(...) call; no gameplay code awaits it.
  • Event names are fixed strings; values live in properties.
  • No personal data, tokens or free-typed player text in properties.
  • Authority-decided facts (won, collected, bought) are captured on the authority.
  • Under Local Play the game plays normally while captures report unavailable.

Common mistakes

Don'tDoWhy
await _track(...) in gameplay codeCall it and move onA slow or failing capture would stall the game
Capture again after unavailableLog once and drop itIt may already be stored; a second capture double-counts
coin_%d_collected namescoin_collected with {"coin": 7}New names are rate-limited; values belong in properties
Trust client events for rewards or rankingsDecide on the authority; capture there tooClient events are untrusted observations
Put emails, ids or tokens in propertiesSummer attaches player and game identity itselfBlocked names are rejected; personal data must not be collected
Make gameplay depend on analytics workingTreat it as optionalIt is unavailable locally and may be unavailable hosted
Start names with summer.Your own namesThat namespace is reserved

See also

  • multiplayer — where the client and the authority run
  • multiplayer-state — the authority's Command handlers, where most events happen
  • summer-match-results — results and ratings, which Summer records itself

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
analytics.summarysummer analytics summary
summer_get_diagnosticssummer engine get-diagnostics
summer_get_script_errorssummer engine get-script-errors
summer_playsummer engine play
summer_stopsummer engine stop
studio.opensummer studio open

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Summer Analytics AI skill do?

Send game events to Summer analytics from the authority or client: fire-and-forget, never blocking gameplay.

Why use Summer Analytics on TypingMind?

Because you install it once and use it with any model. Summer Analytics is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Summer Analytics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/SummerEngine/summer/tree/main/library/skills/summer-analytics. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Summer Analytics?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Summer Analytics?

As many as you like. As long as a model supports skills, you can use Summer Analytics with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Summer Analytics AI skill free?

Yes. It is published on GitHub by SummerEngine under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇