specter-skills
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
> **Build your game backend by talking to Claude.**
specter-skills teaches Claude everything about Specter — the
game backend platform — so you can add player accounts, an in-game economy, daily quests,
leaderboards, tournaments, battle passes, and real-time multiplayer to your game in plain English,
and get **correct, working code** plus the ability to **configure your backend without ever
opening the dashboard**.
No SDK to learn. No API docs to read. Install it, then ask.
---
Contents
- What's inside
- Quickstart
- Installation
- The skills
- The MCP server · Setup · Sign in · Tools · Configuration
- Things to ask Claude
- Checking the version & updating
- Requirements
- Troubleshooting
---
What's inside
This one package ships **two halves of the same product**:
| | What it is | What it does |
|---|---|---|
| 🧠 **Skills** | Knowledge Claude reads | Claude writes correct Specter integration code — right endpoints, headers, response handling, and all the platform's gotchas baked in. |
| 🛠️ **MCP server** | A tool Claude can run | Claude *acts on* your backend — inspect a project, verify your setup, and create currencies, items, tasks, leaderboards, battle passes, and more, **straight from chat**. |
Skills work in **Claude Code**, **Claude Desktop**, the **Claude Agent SDK**, and any other
skills-aware host. The MCP server works in any MCP-compatible host (Claude Desktop, Claude Code, …).
---
Quickstart
**1. Install the skills** in your game project:
**2. Get your API key** from console.specterapp.xyz
(Project → API Keys).
**3. Ask Claude** to build something:
> *"Add Specter email login and a gem currency to my Unity game."*
The right skill activates automatically and Claude writes the integration. That's it.
> 💡 Want Claude to also **set up the backend for you** (create currencies, quests, leaderboards)?
> Add the MCP server and ask *"create a gems currency and a daily login quest in
> my Specter project."*
---
Installation
| Command | What it does |
|---|---|
| npx specter-skills init | Interactive: pick skills + target (project or global) |
| npx specter-skills install [names…] | Install named skills (default: all). Flags: --global, --dir |
| npx specter-skills update | Re-install your skills at the latest version |
| npx specter-skills list | Show which skills are available and which you have installed |
Skills are copied into .claude/skills/ (project) or ~/.claude/skills/ (global). They're plain
files you can commit to your repo.
---
The skills
| Skill | What it covers |
|---|---|
| **specter** | Start here — platform overview, the auth model, base URLs, the response envelope, and every error code. |
| **specter-players** | Sign-up & login (email, username, silent device ID, Google, Apple, Steam, Discord, Facebook), tokens, account linking, player profiles & custom data, friends. |
| **specter-economy** | Currencies & wallets, items, bundles, stores & purchases, inventory, gacha / loot boxes with pity, and real-money gaming (deposits / withdrawals). |
| **specter-progression** | Tasks, missions, achievements, daily quests & streaks, **task-rule design**, custom events, battle passes, XP & level systems. |
| **specter-competitions** | Leaderboards, tournaments, instant battles, prize distribution, and schedules. |
| **specter-multiplayer** | Skill-based matchmaking, parties, match sessions, and the full real-time Socket.io event contract. |
| **specter-admin** | Configure the game via admin APIs — projects, currencies, items, tasks, live-ops, members. Used by the MCP server to set things up for you. |
Each skill has a concise guide plus **per-endpoint references** (request fields, response examples)
generated directly from Specter's API, and ready-to-paste **JavaScript / Unity** examples where
useful — so the code Claude writes stays accurate.
---
The MCP server
The same package ships an MCP server, specter-mcp, that lets Claude **inspect and configure** a