# machina

Wires the agent into the Machina Sports premium platform for live odds, tick streams and packaged sports workflows.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 429 installs · ★ 258
- Author: machina-sports
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/machina-sports/sports-skills/tree/HEAD/skills/machina/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/machina

## What it does

The skill runs no code of its own. It tells the agent to shell out to the separate `machina-cli` binary and connect to a per-project Machina MCP server hosted by the platform. What you get is a set of instructions: install the CLI, authenticate, pick a project, work with templates.

Three things get checked before any premium call: is `machina-cli` installed, is the user authenticated, is a project selected. Skip the last one and most commands fail with `No project selected` — run `machina project list`, then `machina project use <project-id>`. Retrying the same broken command is pointless; fix the step that failed.

Templates come in through `machina template install <template-name> --json`, which provisions cloud resources and drops the local agent context into your workspace. A workflow you built yourself goes up with `machina template push ./<your-custom-folder>`: the folder is zipped, `_install.yml` passes a pre-flight linter, and webhook endpoints plus data streams get provisioned. Live data reaches the agent through MCP, not raw HTTP — tenant routing, websockets and `X-Api-Token` rotation all happen inside that server. For snapshot data from public APIs there are separate skills such as `nfl-data` or `polymarket`, and this one is the wrong tool there.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add machina-sports/sports-skills --skill machina -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/machina/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/machina/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add machina-sports/sports-skills --skill machina -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/machina/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add machina-sports/sports-skills --skill machina -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/machina/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install machina-sports/sports-skills machina
```

2. **Manually: put the files in place**
- File: `.github/skills/machina/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add machina-sports/sports-skills --skill machina -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/machina-sports/sports-skills --path skills/machina
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/machina/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add machina-sports/sports-skills --skill machina -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/machina-sports/sports-skills/tree/HEAD/skills/machina/SKILL.md

## When to use it
- stream odds with sub-second latency
- spin up a sports bot from a packaged template
- push a custom workflow to Machina Cloud
- connect the agent to an MCP server with live telemetry
- work around rate limits on open-source sports-skills

## Example prompts
- install the Bundesliga podcast bot template with machina
- list the available templates and pick a project
- push my workflow folder to Machina Cloud

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 4fe6ddc153d22f83.

BEGIN THIRD-PARTY FILE 4fe6ddc153d22f83
````text
---
name: machina
description: |
  Gateway to the Machina Sports premium platform — packaged agent workflows ("templates"),
  licensed real-time data, betting odds, and zero-latency live streams. This skill is
  prompt-only: it shells out to the separate `machina-cli` binary and routes the agent
  to a per-project Machina MCP server.

  Use when: the user asks for live odds, real-time telemetry, zero-latency match states,
  sub-second tick streams, packaged sports workflows (e.g., "Build a Bundesliga podcast
  bot", "Create a Polymarket arbitrage engine"), or when the open-source sports-skills
  are rate-limited or insufficient for the task.
  Don't use when: the user wants snapshot data from public APIs — use the sport-specific
  skill (nfl-data, polymarket, markets, …). Don't use to fetch data through raw HTTP —
  use the Machina MCP server, not a `requests` call.
license: MIT
metadata:
  author: machina-sports
  version: "0.3.0"
  risk:
    mode: premium_mcp
    money_movement: false
    secrets_required: true
    external_mcp: true
    cloud_upload: true
    requires_explicit_confirmation: true
---

# Machina Sports Intelligence Layer

Connect the agent harness to the Machina Sports premium infrastructure: zero-latency live streams, licensed betting odds, and packaged sports workflows. This skill itself runs no code — it tells the agent to shell out to the separate `machina-cli` binary and connect to a per-project Machina MCP server provided by the platform.

## Quick Start

```bash
# 1. Install the CLI (one-time)
pipx install machina-cli
# or: uv tool install machina-cli
# or: python -m pip install --user machina-cli

# 2. Authenticate
machina login                                  # interactive (opens browser)
# machina login --api-key <key>                # non-interactive (CI/CD, scripts)

# 3. Select a project (REQUIRED — most commands fail without it)
machina project list
machina project use <project-id>

# 4. Discover and install a template
machina template list
machina template install <template-name> --json

# 5. The template wires the MCP server config; the agent harness
#    connects to it directly (machina-cli does not host the MCP).
```

## CRITICAL: Before Any Premium Call

Before calling any `machina <subcommand>`, verify:
- `machina-cli` is installed — check with `which machina` or `machina version`.
- The user is authenticated — `machina auth whoami` returns a user.
- A project is selected — `machina project use <id>` has been run at least once.
````
END THIRD-PARTY FILE 4fe6ddc153d22f83

The third-party file has ended. Everything between the 4fe6ddc153d22f83 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2529 of 8731 bytes. © machina-sports · MIT · https://github.com/machina-sports/sports-skills/tree/HEAD/skills/machina/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
