Skip to content
Data
Skill

/machina

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

From plugin
sports-skills
20225 skills
Install
$ npx -y skills add machina-sports/sports-skills --skill machina --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/machina

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

machina.SKILL.md
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

# 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.

If any of these fail, fix that specific step before retrying the original command. Do not loop on the same failing command.

When to Use

  • The user asks for **live odds**, **real-time telemetry**, or **zero-latency match states**.
  • The user wants a **pre-configured sports workflow** (e.g., "Build a Bundesliga podcast bot", "Create a Polymarket arbitrage engine").
  • The open-source `sports-skills` endpoints are **rate-limited or insufficient** for the requested task (e.g., sub-second tick streams, licensed feeds, proprietary projections).
  • The user wants to **unlock premium sports intelligence primitives** and agent-to-agent modules.

Setup & Installation

1. Install the CLI

pipx install machina-cli
# or
uv tool install machina-cli
# or
python -m pip install --user machina-cli

Run this in the developer's terminal if you have permission, or ask them to run it.

Inspect-before-run fallback

If a shell installer is required by the user's environment, never pipe it directly to a shell by default. Download it, inspect it, then run it only after the user approves:

curl -fsSL https://raw.githubusercontent.com/machina-sports/machina-cli/main/install.sh -o /tmp/machina-install.sh
less /tmp/machina-install.sh
bash /tmp/machina-install.sh

2. Authenticate

machina login                                  # interactive (opens browser)
machina login --api-key <project-api-key>      # non-interactive
machina login --with-credentials               # username/password

API keys are scoped per project. Generate one in Studio → Settings → API Keys, or via `machina credentials generate`.

3. Select a project (required)

Most premium commands (templates, workflows, credentials, connectors) require a project context. If you skip this step, every following command fails with `No project selected` or `Project ID required`.

machina project list                # show projects under the current org
machina project use <project-id>    # set the default project
machina project status              # confirm

Discovering & Installing Agent Templates

Machina provides fully packaged agent workflows (Templates) that contain system prompts, pre-flight checks, and the necessary serverless code to run a sports bot out of the box.

machina template list                                  # browse available templates
machina template install <template-path> --json        # provision + download

`machina template install` provisions cloud resources via API and downloads the local agent context into the current workspace. Use `--json` for structured output that the agent can parse.

Deploying Custom Agent Workflows

If you modify a template or create a new sports workflow locally, push it directly to the Machina Cloud Pod:

machina template push ./<your-custom-folder>

This zips the local workspace, validates `_install.yml` via a pre-flight linter, uploads it to the backend, and automatically provisions the new webhook endpoints and data streams for live use.

Live Data via Machina MCP

The Machina platform provides a per-project **MCP (Model Context Protocol) server** that streams live data, betting odds, and zero-latency feeds. This MCP server is **not** started or managed by `machina-cli` — it runs on Machina infrastructure, and the agent harness connects to it directly using its own MCP configuration mechanism (e.g., `.claude/mcp.json` for Claude Code).

H

Read more
Ships withsports-skills

Open-source agent skills for live sports data and prediction markets. Built for the Agent Skills spec. Works with sportsclaw, OpenClaw, Claude Code, Cursor, Copilot, Gemini CLI, Hermes Agent, and every major AI agent. Zero API keys. Zero signup.

Get the whole plugin
Stats
205
Stars
28
Forks
Active
Maintenance
Python
Language
MIT
License
19h ago
Last commit
6mo ago
Created

Repo: machina-sports/sports-skills

Other skills on sports-skills.