Developer portal

Agent integration skill

Unity public configuration

Add ggbucks v2 public game configuration to a Unity client using a fixed HTTPS origin and a public game key. Use for Unity client reads; secrets, gameplay event writes and native account approval belong outside this client.

Scoped implementation guidance
Sandbox TEST only. A skill provides code guidance; it does not authorize deployment, key changes, account actions, messages or financial mutations.

Download and inspect

Download the complete ZIP or read SKILL.md. Each individual ZIP has SKILL.md at its root with relative resource paths. The archive is pinned to contract 9ae5180d5f8f1de2cd25fc025b00af0ee00e1ae569dd787254956d0ebf116216 and its content digest.

# Project-scoped installation; review the ZIP before extraction.
curl --fail 'https://docs.ggbucks.com/skills/ggbucks-unity-public-config/download.zip?contractHash=9ae5180d5f8f1de2cd25fc025b00af0ee00e1ae569dd787254956d0ebf116216&sha256=0c40c4f7617eb419fa2b1eb9da184192b33e2a655675cda0c0860a52e07ea386' -o 'ggbucks-unity-public-config.zip'
# Expected archive SHA-256: 0c40c4f7617eb419fa2b1eb9da184192b33e2a655675cda0c0860a52e07ea386
# Check with shasum -a 256 before extracting.
mkdir -p '.agents/skills/ggbucks-unity-public-config'
unzip 'ggbucks-unity-public-config.zip' -d '.agents/skills/ggbucks-unity-public-config'

Choose the local skills directory supported by your agent. The example uses the project's .agents/skills directory and never installs globally. If a pinned download returns 409, refresh discovery or the manifest and review the new version.

Skill instructions

---
name: ggbucks-unity-public-config
description: "Add ggbucks v2 public game configuration to a Unity client using a fixed HTTPS origin and a public game key. Use for Unity client reads; secrets, gameplay event writes and native account approval belong outside this client."
metadata:
  contract_hash: 9ae5180d5f8f1de2cd25fc025b00af0ee00e1ae569dd787254956d0ebf116216
  generator_version: "1"
---

# Unity public configuration

Add public configuration as an optional networking layer in the existing Unity project. Review and copy [assets/UnityPublicConfig.cs](assets/UnityPublicConfig.cs); it is self-contained Unity source, not a published package dependency. Use only the public game key and a fixed HTTPS backend origin. Preserve the no-redirect/no-bearer GET, validated sandbox result and error handling; snapshot the endpoint so later host changes cannot redirect a credential. Read [references/integration.md](references/integration.md) and the config operation in [references/openapi.json](references/openapi.json) for current fields. Configuration is presentation: it cannot grant money, validate play, create links or submit gameplay events. Keep the secret and those writes on the trusted game server. Verify the source compiles in the user's actual Unity version and check TLS/redirect rejection in a device build; keep normal gameplay available on failure.

All accounting is sandbox TEST ggbucks with no cash value; project/game hard caps remain enforced. The skill implements the requested integration and does not authorize deployment, account enforcement, messaging, key changes or live financial mutations. Generated from contract `9ae5180d5f8f1de2cd25fc025b00af0ee00e1ae569dd787254956d0ebf116216`; refresh this bundle when the current contract changes.

Bundled resources

Open the companion integration guide. The manifest contains SHA-256 digests for every bundle and file.