> For the complete documentation index, see [llms.txt](https://docs.keewano.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keewano.com/sdks/install-with-ai.md).

# Install with AI

Let Claude Code instrument your project — it finds the gaps and proposes the events to report.

Keewano publishes an official **Claude Code skill** that turns Claude into an integration partner rather than a code generator. Once installed, it surveys your project for instrumentation gaps, proposes concrete event reports at specific file and line locations, flags anti-patterns in existing usage, and helps you produce an event stream that reads like the player's story.

{% hint style="info" %}
The skill is **optional**. The SDKs do not require it — install it only if your team uses Claude Code.
{% endhint %}

## Unity

The skill lives in its own repository: [Keewano-UnitySDK-ClaudeCode-Skill](https://github.com/Keewano/Keewano-UnitySDK-ClaudeCode-Skill).

Copy the `keewano-unity-sdk/` folder from the repo into Claude Code's skills directory. Two choices:

| Scope       | Path                                                             | Who gets it                                                            |
| ----------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------- |
| **Project** | `<your-unity-project>/.claude/skills/keewano-unity-sdk/SKILL.md` | Everyone running Claude Code in the project — versioned with your game |
| **User**    | `~/.claude/skills/keewano-unity-sdk/SKILL.md`                    | You, across every project                                              |

After copying, restart Claude Code (or start a new session) so it loads the skill. Claude activates it automatically when you work on Keewano-related code.

To check it loaded, ask Claude: *"What skills do you have available?"* — `keewano-unity-sdk` should be listed.

## What Claude does with it

Once active, Claude understands:

* **The Keewano data model and reporting patterns** — small atomic events as a temporal narrative, scoped opener/closer pairs (windows, levels, encounters), item exchanges, and in-app-purchase server-validation requirements.
* **Where analytics belong in a codebase** — IAP managers, ad mediation handlers, tutorial controllers, level managers, virtual economy code, custom popups.
* **Anti-patterns to flag** in instrumentation you already have — pre-aggregated summary events, reporting purchases from raw store callbacks, hand-edited generated files.

## Prerequisites

* Claude Code
* The Keewano SDK already installed in your project — see [Unity](https://docs.keewano.com/sdks/unity.md) or [React Native](https://docs.keewano.com/sdks/react-native.md), [Expo](https://docs.keewano.com/sdks/expo.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keewano.com/sdks/install-with-ai.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
