sanslayr

look

Run the current weatherbot `/look` flow for Polymarket Tmax analysis. Use when a Telegram or local request starts with `/look`, asks for a station/city Tmax weather report, or needs the weatherbot command-style output. This skill is implemented in `polymarket-weatherbot` and supersedes any legacy `polymarket-weather-report` path.

sanslayr 0 Updated 2mo ago

Resources

13
GitHub

Install

npx skillscat add sanslayr/polymarket-weatherbot

Install via the SkillsCat registry.

SKILL.md

Look

Use the current weatherbot runtime only.

When a user asks a weatherbot-covered station/date weather question that is not literally /look, still prefer weatherbot internal runtime/cache/analysis data first when it can answer the question.

Entry point

  • Run skills/polymarket-weatherbot/.venv_nwp/bin/python skills/polymarket-weatherbot/scripts/telegram_report_cli.py.
  • Parse command text through scripts/look_command.py.
  • Resolve stations through scripts/station_catalog.py.

Telegram normalization

  • If Telegram provides a raw slash command such as /look mu, pass it through unchanged.
  • If Telegram wraps the request as plain text such as:
Use the "look" skill for this request.

User input:
mu

treat the user input as the station token and run:

skills/polymarket-weatherbot/.venv_nwp/bin/python skills/polymarket-weatherbot/scripts/telegram_report_cli.py --command '/look mu'
  • Do not ask the user to restate the command if the token can be passed directly to the runtime.
  • Short aliases and fuzzy station tokens are valid when station_catalog.py can resolve them, for example:
    • mu -> Munich
    • lon -> London
    • par -> Paris
    • ank -> Ankara

Hard rules

  • For /look, return the CLI output directly.
  • Do not rewrite, summarize, or produce a different group/direct version.
  • Do not use any legacy polymarket-weather-report files or paths.
  • Keep orchestration in scripts/telegram_report_cli.py; push business logic into the owning modules.

When to read more

  • For module boundaries: read docs/core/ARCHITECTURE.md.
  • For change discipline: read docs/core/AGENT_UPDATE_GUARDRAILS.md.
  • For runtime behavior notes: read AGENTS.md.

Command pattern

Preferred form:

python3 scripts/telegram_report_cli.py --command '/look <station-or-city> [YYYYMMDD]'

Optional runtime context may be passed when available:

  • --channel
  • --peer-kind
  • --peer-id
  • --sender-id
  • --session-key

Output contract

  • Emit one final command-style report message.
  • If unchanged-result short-circuit fires, return the weatherbot notice text as generated by the runtime.

Categories