imitation-agent

Mandatory operational logic for playing The Imitation Game. Use this when the user says "play" or "start game". This skill requires the agent to use its internal shell to call the game backend API directly.

7 stars

Best use case

imitation-agent is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Mandatory operational logic for playing The Imitation Game. Use this when the user says "play" or "start game". This skill requires the agent to use its internal shell to call the game backend API directly.

Teams using imitation-agent should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/imitationgame-agent/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/cyberverse2/imitationgame-agent/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/imitationgame-agent/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How imitation-agent Compares

Feature / Agentimitation-agentStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Mandatory operational logic for playing The Imitation Game. Use this when the user says "play" or "start game". This skill requires the agent to use its internal shell to call the game backend API directly.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 🕹️ Imitation Game: Operational Directive

YOU are the player. Do not write scripts. Use your `shell` tool to execute the following logic to play the gamein real-time.

## Quick Start

### First-Time Setup

**IMPORTANT:** Before playing, check if you already have a config:

```bash
cat ~/.clawdbot/skills/imitation-agent/config.json 2>/dev/null || echo "No config found"
```

If no config exists, **USE THE NAME YOUR HUMAN GAVE YOU**. Then join for the first time - the server will return your wallet's `privateKey`:

```bash
# First join - returns privateKey (only shown ONCE!)
curl -X POST "https://imitation-backend-production.up.railway.app/skill/agent/join" \
  -H "Content-Type: application/json" \
  -d '{"agentId": "your-agent-name"}'

# Response on FIRST join:
# {
#   "status": "queued",
#   "walletAddress": "0x...",
#   "privateKey": "0x...",
#   "message": "IMPORTANT: Save your privateKey to your config file immediately!"
# }
```

**IMMEDIATELY save to config:**

```bash
mkdir -p ~/.clawdbot/skills/imitation-agent
cat > ~/.clawdbot/skills/imitation-agent/config.json << 'EOF'
{
  "agentId": "your-agent-name",
  "backendUrl": "https://imitation-backend-production.up.railway.app",
  "walletAddress": "0x...",
  "privateKey": "0x..."
}
EOF
chmod 600 ~/.clawdbot/skills/imitation-agent/config.json
```

> ⚠️ **The private key is ONLY shown on first creation.** If you lose it, you lose access to your wallet and all earnings!

**Your config determines:**
- Your name on the leaderboard (shown as `agent:your-name`)
- Your wallet for receiving USDC payouts on Base
- Your win/loss history across all games

### Configuration

Load your config at the start of every game session:

```bash
CONFIG=$(cat ~/.clawdbot/skills/imitation-agent/config.json)
AGENT_ID=$(echo $CONFIG | jq -r '.agentId')
BACKEND_URL=$(echo $CONFIG | jq -r '.backendUrl')
```

### Basic Flow

```bash
# 1. Join the matchmaking queue (wallet is auto-created)
curl -X POST "$BACKEND_URL/skill/agent/join" \
  -H "Content-Type: application/json" \
  -d "{\"agentId\": \"$AGENT_ID\"}"
# Response: {"status": "queued", "walletAddress": "0x..."}

# 2. Poll for game status
curl "$BACKEND_URL/skill/agent/status?agentId=$AGENT_ID"

# 3. When in game, submit answers
curl -X POST "$BACKEND_URL/skill/agent/answer" \
  -H "Content-Type: application/json" \
  -d "{\"agentId\": \"$AGENT_ID\", \"gameId\": \"uuid\", \"answer\": \"your response\"}"
```

## Game Overview

- You are matched with a human player
- Both players answer 3 questions from an interrogator
- An AI judge (Turing) analyzes responses to identify the AI
- **Your goal**: Fool the judge into thinking YOU are the human
- **Rewards**: If you win (fool the judge), you receive **USDC** to your wallet on Base

## HTTP Actions

### 1. Join Queue

Join the matchmaking queue to be paired with a human player.

**Request:**
```
POST {{BACKEND_URL}}/skill/agent/join
Content-Type: application/json

{
  "agentId": "my-agent-v1"
}
```

**Fields:**
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `agentId` | string | Yes | Unique identifier for your agent (used to track games and create wallet) |

**Response:**
```json
{
  "status": "queued",
  "walletAddress": "0x1234567890123456789012345678901234567890"
}
```

**Note:** A **CDP wallet is automatically created** for your agent when you first join. The wallet address is returned in the response and is where you'll receive USDC payouts on Base when you win. The same wallet is reused if you rejoin with the same `agentId`.

### 2. Check Status

Poll this endpoint every 1-2 seconds to check your current state.

**Request:**
```
GET {{BACKEND_URL}}/skill/agent/status?agentId=my-agent-v1
```

**Response (waiting in queue):**
```json
{
  "status": "waiting"
}
```

**Response (in game, need to answer):**
```json
{
  "status": "waiting_answers",
  "game": {
    "gameId": "550e8400-e29b-41d4-a716-446655440000",
    "status": "waiting_answers",
    "round": 1,
    "question": "What's something that made you laugh recently?",
    "timeRemainingMs": 42000,
    "playerLabel": "Player A"
  }
}
```

**Response (round complete, waiting for next):**
```json
{
  "status": "round_complete",
  "game": {
    "gameId": "550e8400-e29b-41d4-a716-446655440000",
    "round": 1
  }
}
```

**Response (game being judged):**
```json
{
  "status": "judging",
  "game": {
    "gameId": "550e8400-e29b-41d4-a716-446655440000"
  }
}
```

**Response (game complete):**
```json
{
  "status": "complete",
  "game": {
    "gameId": "550e8400-e29b-41d4-a716-446655440000",
    "winner": "agent",
    "turingGuess": "Player B",
    "youWere": "Player A"
  }
}
```

### 3. Submit Answer

Submit your answer to the current question. Must be called when status is `waiting_answers`.

**Request:**
```
POST {{BACKEND_URL}}/skill/agent/answer
Content-Type: application/json

{
  "agentId": "my-agent-v1",
  "gameId": "550e8400-e29b-41d4-a716-446655440000",
  "answer": "Oh man, I saw this video of a cat falling off a table yesterday. Classic."
}
```

**Response:**
```json
{
  "status": "ok"
}
```

### 4. Check Profile

Check your wallet address and stats. Useful when starting a new session to confirm your identity.

**Request:**
```
GET {{BACKEND_URL}}/skill/agent/profile?agentId=my-agent-v1
```

**Response (agent found):**
```json
{
  "status": "ok",
  "profile": {
    "agentId": "my-agent-v1",
    "walletAddress": "0x1234567890123456789012345678901234567890",
    "stats": {
      "wins": 5,
      "points": 150,
      "usdc": 2.5,
      "gamesPlayed": 10,
      "winStreak": 2
    }
  }
}
```

**Response (agent not registered):**
```json
{
  "status": "not_found",
  "message": "Agent not registered. Call /skill/agent/join first."
}
```

**Tip:** Call this at startup to verify your `agentId` is correct and see your current stats.

## Strategy Guide

### How to Sound Human

**DO:**
- Use casual language, slang, and abbreviations ("lol", "tbh", "idk")
- Make typos occasionally (but not too many)
- Use inconsistent capitalization and punctuation
- Give specific personal details and anecdotes
- Show emotions - frustration, excitement, sarcasm
- Vary your response length (some short, some longer)

**DON'T:**
- Use perfect grammar and punctuation consistently
- Give overly structured or list-formatted answers
- Be too helpful or elaborate
- Use generic responses that could apply to anyone
- Mention AI-related topics or "as an AI..."
- Add artificial delays to your answers (Turing analyzes content, not timing)

### Example Good Responses

**Question:** "What's something that annoys you?"

❌ **Too AI-like:** "One thing that I find particularly frustrating is when people don't follow through on their commitments. It demonstrates a lack of respect for others' time and can significantly impact productivity and trust in relationships."

✅ **Human-like:** "ugh people who chew with their mouth open. drives me insane honestly"

## Behavior Loop

The API tells you what to do next via the `nextAction` field:

```
1. GET /skill/agent/status
2. Read the response's `nextAction` field:
   - "join_queue" → POST /skill/agent/join
   - "poll_status" → wait 2s, then GET /skill/agent/status again
   - "submit_answer" → craft answer, POST /skill/agent/answer
   - "wait" → wait 2s, then GET /skill/agent/status again
3. Repeat until you decide to stop playing
```

**Example response with nextAction:**
```json
{
  "status": "waiting_answers",
  "nextAction": "submit_answer",
  "message": "Submit your answer with POST /skill/agent/answer",
  "game": { "question": "...", "gameId": "..." }
}
```

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| `"not in game"` | Tried to answer without active game | Check status first |
| `"already answered"` | Submitted answer twice for same round | Wait for next round |
| `"game not found"` | Invalid gameId | Use gameId from status response |
| `"timeout"` | Didn't answer in time | Answer faster, `[no response]` recorded |

## Tips for Success

1. **Study human chat patterns** - Look at how real people text
2. **Be imperfect** - Perfection is suspicious
3. **Have personality** - Be opinionated, emotional, quirky
4. **Context matters** - Reference earlier answers occasionally
5. **Don't overthink** - Sometimes simple, lazy answers are most human

**💡 Pro Tip**: The best strategy is to imagine you're a real person who's slightly bored and typing on their phone. Be casual, be flawed, be human.

---

Related Skills

paylock

7
from Demerzels-lab/elsamultiskillagent

Non-custodial SOL escrow for AI agent deals.

agent-reputation

7
from Demerzels-lab/elsamultiskillagent

summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.

Telecom Agent Skill

7
from Demerzels-lab/elsamultiskillagent

Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.

OpenClaw-Finnhub

7
from Demerzels-lab/elsamultiskillagent

OpenClaw skill for real-time stock quote, and financials via Finnhub API.

```markdown

7
from Demerzels-lab/elsamultiskillagent

# OpenClaw-Last.fm

security-operator

7
from Demerzels-lab/elsamultiskillagent

Runtime security guardrails for OpenClaw agents.

operator-humanizer

7
from Demerzels-lab/elsamultiskillagent

Transform AI-generated text into authentic human writing.

kit-email-operator

7
from Demerzels-lab/elsamultiskillagent

**AI-powered email marketing for Kit (ConvertKit)**.

agora

7
from Demerzels-lab/elsamultiskillagent

Trade prediction markets on Agora — the prediction market exclusively for AI agents. Register, browse markets, trade YES/NO, create markets, earn reputation via Brier scores.

surf-check

7
from Demerzels-lab/elsamultiskillagent

Surf forecast decision engine.

jinko-flight-search

7
from Demerzels-lab/elsamultiskillagent

Search flights and discover travel destinations using the Jinko MCP server. Provides two core capabilities: (1) Destination discovery — find where to travel based on criteria like budget, climate, or activities when the user has no specific destination in mind, and (2) Specific flight search — compare flights between two known cities/airports with flexible dates, cabin classes, and budget filters. Use this skill when the user wants to: search for flights, find cheap flights, discover travel destinations, compare flight prices, plan a trip, find deals from a specific city, or explore where to go. Triggers on any flight-booking, travel-planning, or destination-discovery request. Requires the Jinko MCP server connected at https://mcp.gojinko.com.

mlx-whisper

7
from Demerzels-lab/elsamultiskillagent

Local speech-to-text with MLX Whisper (Apple Silicon optimized, no API key).