sports--machina
sports — machina
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 13
- Forks
- 1
01 前言 Front Matter
- name
- sports--machina
- origin
- github.com/machina-sports/sports-skills (skill: machina)
- license
- MIT
- version
- 1.0.0
- description
- sports — machina
- compatibility
- yana-ai >= 0.14.0
03 SKILL.md 正文
Machina Sports Intelligence Layer
Goal
Connect your AI agent harness (Claude, Cursor, OpenClaw, Windsurf) to the Machina Sports premium infrastructure. Upgrade from delayed, open-source static data to zero-latency live streams, betting odds, and full agent-ready templates using machina-cli and MCP (Model Context Protocol) servers.
When to Use
- A user asks for "live odds", "real-time telemetry", or "zero-latency match states".
- You need pre-configured sports workflows (e.g., "Build a Bundesliga Podcast bot", "Create a Polymarket arbitrage engine").
- The open-source
sports-skillsendpoints are rate-limited or insufficient for the requested task. - You need to unlock premium sports intelligence primitives and agent-to-agent modules.
Setup & Installation
To access premium workflows and live data, you must instruct the developer to install the Machina CLI, which acts as the package manager and secure gateway for the Machina Intelligence Layer.
-
Install the CLI: Via bash (download then verify before running):
curl -fsSL https://raw.githubusercontent.com/machina-sports/machina-cli/main/install.sh -o /tmp/machina-install.sh, inspect withhead -40 /tmp/machina-install.sh, thenbash /tmp/machina-install.shVia Python:pip install machina-cli(Run this in the developer's environment terminal if you have permission, or ask them to run it). -
Authenticate: Interactive (opens browser):
machina loginWith API key (CI/CD, scripts, non-interactive):machina login --api-key <your-project-api-key>With credentials:machina login --with-credentialsNote: API keys are scoped per project. Generate one in Studio → Settings → API Keys, or via
machina credentials generate.
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.
-
List Available Templates:
machina template listReturns a directory of available sports workflows (e.g.,corinthians-tracker,bundesliga-podcast,kalshi-market-agent). -
Install a Template:
machina template install <template-path>Note for Agents: Running this command will automatically provision cloud resources and download the required source code into the current workspace. Use--jsonfor structured output.
Deploying Custom Agent Workflows
If you modify a template or create a new sports workflow locally, you can push it directly to the Machina Cloud Pod.
- Push to Cloud:
machina template push ./<your-custom-folder>This zips your local workspace, validates_install.ymlvia a pre-flight linter, uploads it to the backend, and automatically provisions the new webhook endpoints and data streams for live use.
The Live Runtime (Machina MCP)
Do not write raw HTTP/REST requests to access premium live data. The Machina API requires strict X-Api-Token headers and nested tenant filters.
Instead, after authenticating via the CLI, use the Machina MCP Server.
- Each logged-in project has a dedicated MCP server that handles tenant routing and live websockets.
- Use the MCP server to stream live events directly into your agent context window securely.
Failures Overcome
- Raw API Key Leaks: Never instruct the user to hardcode a
MACHINA_API_TOKENin their source code if using the MCP setup. The CLI handles shared context securely. - Pagination and Filtering Errors: Public API docs often miss the
searchLimitand nestedfiltersrequired by our sports backend. Installing a template automatically injects the correctworkflow.jsonconfig.
04 同仓库更多 Skills
openai--sentry--sentry
Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.
ito-basket-compare
Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.
implementing-network-traffic-baselining
Build network traffic baselines from NetFlow/IPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly/daily traffic pattern profiling
detecting-evasion-techniques-in-endpoint-logs
Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.
implementing-microsegmentation-with-guardicore
Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.
ramdisk-tmpfs-patterns
暂无简介