Machina logo

Machina

Organization
machina-sports
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 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.

Overview

Publishermachina-sports
Repositorysports-skills
Skill namemachina
Stars
255
Forks
38
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by machina-sports on GitHub. Read the source before you install it.

Installation

Install the Machina AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/machina-sports/sports-skills/tree/main/skills/machina
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/machina-sports/sports-skills.git /tmp/sports-skills
mkdir -p .claude/skills
cp -r /tmp/sports-skills/skills/machina .claude/skills/machina
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Machina in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Machina on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Machina is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

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

bash
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:

bash
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

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

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

bash
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:

bash
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).

How it fits together:

  1. machina template install <name> provisions the server-side workflow and returns the MCP URL and any required headers in its JSON output.
  2. The agent harness's MCP config is updated to point to that URL.
  3. The agent calls MCP tools to read live streams. Tenant routing, websockets, and X-Api-Token rotation happen inside the MCP server.

Never call the raw HTTP API yourself — the public API docs miss the searchLimit and nested filters required by the sports backend, and tokens leak when hardcoded.

Common Errors & Recovery

Error messageCauseRecovery
command not found: machinaCLI not installedpip install machina-cli
Not authenticated. Run \machina login` first.`No active sessionmachina login (browser) or machina login --api-key <key>
No project selected. Run \machina project use ` first.`Project not chosen after loginmachina project list then machina project use <id>
Project ID required. Set default or use --project.Same as aboveSame as above
Template install succeeds but agent can't reach MCPHarness has not reloaded MCP configAsk the user to restart / reload their agent harness so it re-reads the MCP config

If an auth whoami returns a user but commands still fail with Not authenticated, the token has expired — run machina login again.

Commands that DO NOT exist — never call these

  • python -m sports_skills machina ... — this skill has no CLI module under sports-skills. Shell out to machina-cli directly.
  • machina mcp start / machina mcp connect — there is no mcp subcommand. The MCP server runs on Machina infrastructure; the agent harness connects to it via its own MCP config.
  • machina sports ... — does not exist. Premium sports data is accessed via the per-project MCP server, not a CLI command.
  • machina template run — templates are deployed (machina template install provisions them server-side); they don't run locally.

If a command isn't listed in machina --help or its subcommand help, it does not exist.

Failures Overcome

  • Raw API Key Leaks: Never instruct the user to hardcode a MACHINA_API_TOKEN in their source code if using the MCP setup. The CLI handles shared context securely.
  • Pagination and Filtering Errors: Public API docs often miss the searchLimit and nested filters required by the sports backend. Installing a template automatically injects the correct workflow.json config.
  • Lost Project Context: Most premium commands silently fail without a default project. Always run machina project use <id> after a fresh login.

Frequently asked questions

What does the Machina AI skill do?

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

Why use Machina on TypingMind?

Because you install it once and use it with any model. Machina is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Machina in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/machina-sports/sports-skills/tree/main/skills/machina. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Machina?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Machina?

As many as you like. As long as a model supports skills, you can use Machina with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Machina AI skill free?

Yes. It is published on GitHub by machina-sports under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇