run-poolai

A command for starting, checking, and stopping the PoolAI application on Windows, with separate instructions for PowerShell, WSL, and MSYS2 Bash.

In plain words
What is it for?
Building PoolAI, running one instance in the background, checking its status, stopping it, accessing its local web pages, and running end-to-end or Rust test commands.
Why use it?
It explains which shell to use when common `bash` commands accidentally invoke unavailable WSL distributions or the wrong Windows executable.

Command for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/platinoff/poolai/run-poolai
Clone the repo
git clone --depth 1 https://github.com/platinoff/poolAI

Made for: Cursor.

Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00584
Opus 5 $0.00000 $0.00292
Sonnet 5 $0.00000 $0.00117
Haiku 4.5 $0.00000 $0.00058

Measured 2d ago against content hash 25e5da686389, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

run-poolai scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/commands/run-poolai.md · 62 lines

What it actually says

Запуск PoolAI (Windows)

Не працює (чому)

Команда Проблема
bash bin/run-poolai.sh у PowerShell Викликає WSL (Windows Subsystem for Linux has no installed distributions)
bash … у MSYS2, якщо в PATH є WindowsApps Той самий WSL-stub замість /usr/bin/bash

PowerShell (рекомендовано для run/stop)

cd S:\rust\poolAI

.\bin\run-poolai.ps1 build
.\bin\run-poolai.ps1 single -Background -SkipBuild
.\bin\run-poolai.ps1 status
.\bin\run-poolai.ps1 stop

Якщо ExecutionPolicy блокує скрипти:

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
# або разово:
powershell -ExecutionPolicy Bypass -File .\bin\run-poolai.ps1 single -Background -SkipBuild
URL
Login http://127.0.0.1:8080/ui/login
Admin / Jobs http://127.0.0.1:8080/ui/admin/jobs
Credentials admin / admin123

Bash-скрипти з PowerShell (e2e, verify, cargo test-ci)

.\bin\poolai-msys.ps1 bin/run-poolai.sh status
.\bin\poolai-msys.ps1 bin/e2e-playwright.sh --start
.\bin\e2e-playwright.ps1 -Start
.\bin\poolai-msys.ps1 -lc 'export K8S_OPENAPI_ENABLED_VERSION=1.28; cargo test-ci'

MSYS2 UCRT64 (зовнішнє вікно з меню Пуск)

export PATH="$HOME/.cargo/bin:/ucrt64/bin:/usr/bin:$PATH"
export K8S_OPENAPI_ENABLED_VERSION=1.28
cd /s/rust/poolAI

/usr/bin/bash bin/run-poolai.sh single --bg --skip-build
/usr/bin/bash bin/run-poolai.sh stop

Не використовуй голе слово bash — лише /usr/bin/bash або .\bin\poolai-msys.ps1.

Git / push

Лише зовнішнє вікно MSYS2 — git-push.md. Не git з PowerShell Cursor.

Повна дока: docs/development/RUN_LOCAL.md

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 62 lines · 0 tokens per session scan A 25e5da686389

Subscribe to this mod's changes

run-poolai is a command published in the GitHub repository platinoff/poolAI (4 stars, last pushed 9d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 584 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.