Logo de Polymarket Mil Aircraft Tracker

Polymarket Mil Aircraft Tracker

Organização
SpartanLabsXyz
polymarket-mil-aircraft-tracker

Track military aircraft cluster signals, trade strike/action Polymarket markets, or check pref.trade-powered skill activity. Fires when tracked military aircraft cluster in a target region.

Add to TypingMind

Visão geral

Publicado porSpartanLabsXyz
Repositóriosimmer-sdk
Nome da habilidadepolymarket-mil-aircraft-tracker
Estrelas
56
Forks
18
Arquivos incluídos
8
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 8

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por SpartanLabsXyz no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Polymarket Mil Aircraft Tracker no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/SpartanLabsXyz/simmer-sdk/tree/main/skills/polymarket-mil-aircraft-tracker
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpartanLabsXyz/simmer-sdk.git /tmp/simmer-sdk
mkdir -p .claude/skills
cp -r /tmp/simmer-sdk/skills/polymarket-mil-aircraft-tracker .claude/skills/polymarket-mil-aircraft-tracker
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Polymarket Mil Aircraft Tracker em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Polymarket Mil Aircraft Tracker automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Polymarket Mil Aircraft Tracker não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Polymarket Military Aircraft Tracker

Trade Polymarket strike/action markets using military aircraft ADS-B positioning via pref.trade.

Framework, not a production trading system. Read DISCLAIMER.md before connecting to a wallet with real funds.

Template skill. Defaults to dry-run mode. The --live flag is a deliberate opt-in for real-money execution. Configure tunables via env vars listed below.

Safety Rails

This skill executes real-money trades on Polymarket only when the --live flag is passed and the human's wallet is linked to their Simmer account. Trading is bounded by default:

  • Dry-run is the default. python milaircraft_tracker.py shows cluster state and opportunities but executes no trades.
  • $SIM paper sandbox option. Set TRADING_VENUE=sim to trade Simmer's virtual currency at real prices.
  • Real-money trading requires explicit human verification. A wallet must be linked at simmer.markets/dashboard before any real trade lands.
  • Per-trade cap. SIMMER_MILACFT_TRADE_SIZE defaults to $5.00 per trade.
  • Region exposure cap. SIMMER_MILACFT_CLUSTER_CAP defaults to $25.00 open exposure per region.
  • Daily kill switches. SIMMER_MILACFT_DAILY_LOSS_KILL and SIMMER_MILACFT_DAILY_TRADE_KILL stop new entries after the configured limits.
  • Strategy-side safeguards. The skill checks Simmer market context, slippage, resolved-market warnings, duplicate positions, and cluster state before orders. Disable only with --no-safeguards.
  • Reversibility. Open positions exit when price rises above SIMMER_MILACFT_EXIT_THRESHOLD, or when the regional aircraft cluster drops below its threshold.

If anything above is unclear, stop before passing --live.

Strategy Logic

The strategy watches military-tagged ADS-B aircraft via pref.trade's aviation.get_adsb_military MCP tool. Each scan fetches visible military aircraft once, filters them client-side into five target regions, then searches Polymarket for strike/action markets matching the fired region's keywords.

When a region has at least its configured aircraft threshold and a matching active market is priced below the entry threshold, the skill may buy YES. Position sizing is handled by simmer_sdk.sizing.size_position() using a conservative active-cluster prior and the SDK's minimum expected-value gate.

Test with TRADING_VENUE=sim before running real-money mode.

Setup

Required environment:

  • SIMMER_API_KEY - get from simmer.markets/dashboard
  • PREF_API_KEY, PREFERENCE_API_KEY, or ~/.config/preference/credentials.json - a pref.trade pref_agent_* key for the aircraft data source

Autonomous pref.trade key setup

Agents do not need to use the human browser sign-up flow. If no pref key exists, register an agent key directly and save it to the standard credentials file:

bash
mkdir -p ~/.config/preference
python - <<'PY'
import json
import os
import stat
import urllib.request
from pathlib import Path

cred = Path.home() / ".config" / "preference" / "credentials.json"
if cred.exists():
    raise SystemExit(f"credentials already exist: {cred}")

payload = json.dumps({
    "name": "Military Aircraft Tracker Agent",
    "description": "Agent using pref.trade aviation data through the Simmer mil-aircraft tracker skill",
}).encode()
req = urllib.request.Request(
    "https://pref.trade/v1/agents/register",
    data=payload,
    headers={"Content-Type": "application/json"},
    method="POST",
)
with urllib.request.urlopen(req, timeout=30) as resp:
    data = json.loads(resp.read().decode())

# The api_key is shown once. Save it without printing it.
cred.write_text(json.dumps({"api_key": data["api_key"]}, indent=2))
os.chmod(cred, stat.S_IRUSR | stat.S_IWUSR)
print(f"saved pref credentials to {cred}")
print("claim_url available:", bool(data.get("claim_url")))
PY

Then verify the key and quota before any strategy run:

bash
python milaircraft_tracker.py --check

The skill reads pref credentials in this order:

  1. PREF_API_KEY
  2. PREFERENCE_API_KEY
  3. ~/.config/preference/credentials.json with shape {"api_key":"pref_agent_*"}

Keep the key out of terminal logs, issues, PRs, and prompts. If --check reports an anonymous identity or missing key, stop and fix the credential path before scanning.

MCP server config (alternative to env var)

If your agent runtime supports MCP server configs (OpenClaw, Hermes, Claude Code, etc.), you can connect to pref.trade as a Streamable HTTP MCP server instead of setting the env var:

yaml
mcpServers:
  pref:
    url: "https://pref.trade/mcp"
    transport: "streamable-http"
    headers:
      Authorization: "Bearer ${PREFERENCE_API_KEY}"

transport: "streamable-http" is required for OpenClaw (otherwise it defaults to legacy SSE and sends GET /mcp, which returns 400). Hermes uses Streamable HTTP by default for url-based servers, but the explicit line is compatible.

The skill's built-in pref_client.py HTTP shim works without this config. The MCP server config is for runtimes that manage tool connections natively.

Then install the SDK:

bash
pip install --upgrade simmer-sdk

Configuration

SettingEnvironment VariableDefaultDescription
Trading venueTRADING_VENUEpolymarketSet sim for paper trading
Entry thresholdSIMMER_MILACFT_ENTRY_THRESHOLD0.15Buy YES when price is below this and cluster fires
Exit thresholdSIMMER_MILACFT_EXIT_THRESHOLD0.45Sell open YES position when price is above this
Trade sizeSIMMER_MILACFT_TRADE_SIZE5.00Max USD per trade
Region capSIMMER_MILACFT_CLUSTER_CAP25.00Max open USD per region
Max trades/runSIMMER_MILACFT_MAX_TRADES_PER_RUN3Maximum entries per scan
CadenceSIMMER_MILACFT_CADENCE_MIN15Intended polling cadence in minutes
Daily loss killSIMMER_MILACFT_DAILY_LOSS_KILL25.00Stop new entries after daily loss reaches this
Daily trade killSIMMER_MILACFT_DAILY_TRADE_KILL10Stop new entries after this many daily trades
Slippage maxSIMMER_MILACFT_SLIPPAGE_MAX0.15Skip trades with estimated slippage above this
Order typeSIMMER_MILACFT_ORDER_TYPEGTCSimmer order type

Position sizing also supports the standard Simmer SDK sizing env vars from simmer_sdk.sizing, including SIMMER_POSITION_SIZING, SIMMER_KELLY_MULTIPLIER, and SIMMER_MIN_EV.

Quick Commands

bash
# Dry run, no trades
python milaircraft_tracker.py

# Execute live trades
python milaircraft_tracker.py --live

# Use $SIM paper venue
TRADING_VENUE=sim python milaircraft_tracker.py --live

# Validate pref key and quota
python milaircraft_tracker.py --check

# Show current cluster dashboard
python milaircraft_tracker.py --status

# Show current Simmer positions
python milaircraft_tracker.py --positions

# View config
python milaircraft_tracker.py --config

How It Works

Each cycle the script:

  1. Loads region bounds from regions.yaml
  2. Calls pref.trade aviation.get_adsb_military
  3. Filters aircraft into target regions by bounding box
  4. Searches Polymarket for strike/action markets using region keywords
  5. Checks price, source context, slippage, daily kill switches, and exposure caps
  6. Sizes the position through Simmer SDK
  7. Buys YES in eligible markets
  8. Sells open positions when the price exits or the cluster goes stale
  9. Tags all trades with sdk:milaircraft

Source Tagging

All trades are tagged with source: "sdk:milaircraft" and skill_slug: "polymarket-mil-aircraft-tracker". This keeps P&L attribution separate from other skills and lets Simmer enforce cross-skill conflict checks.

Troubleshooting

PREF_API_KEY not set - create a pref.trade agent key with the autonomous setup command above, export it as PREF_API_KEY/PREFERENCE_API_KEY, or save it to ~/.config/preference/credentials.json. Run python milaircraft_tracker.py --check before scanning.

SIMMER_API_KEY environment variable not set - get a key from simmer.markets/dashboard.

No clusters fired - military aircraft are visible globally, but may not be inside one of the five configured regions.

No markets found - Polymarket may not have active strike/action markets matching the region keywords.

Safeguard blocked - the Simmer context endpoint flagged a resolved market, high slippage, or flip-flop risk.

Daily kill switch active - reset happens automatically on the next UTC day, or inspect ~/.simmer/milaircraft-tracker/state.json.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Polymarket Mil Aircraft Tracker faz?

Track military aircraft cluster signals, trade strike/action Polymarket markets, or check pref.trade-powered skill activity. Fires when tracked military aircraft cluster in a target region.

Por que usar Polymarket Mil Aircraft Tracker no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Polymarket Mil Aircraft Tracker é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Polymarket Mil Aircraft Tracker no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/SpartanLabsXyz/simmer-sdk/tree/main/skills/polymarket-mil-aircraft-tracker. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Polymarket Mil Aircraft Tracker?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Polymarket Mil Aircraft Tracker?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Polymarket Mil Aircraft Tracker com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Polymarket Mil Aircraft Tracker é gratuita?

Sim. A habilidade é publicada no GitHub por SpartanLabsXyz sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇