chat-context

A starting context document for working with the PoolAI project, a Rust application with a JavaScript user interface. It lists the project’s location, technology rules, key documents, current status, and session handoff steps.

In plain words
What is it for?
Use it at the start of a chat or development session to understand the PoolAI codebase, read the right documents first, and resume unfinished work.
Why use it?
It gives a coding agent the background needed to continue work without rediscovering the project structure, restrictions, plans, and recent progress.

Cursor rule 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 rules/platinoff/poolai/chat-context
Clone the repo
git clone --depth 1 https://github.com/platinoff/poolAI

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,461 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.01461
Opus 5 $0.00000 $0.00731
Sonnet 5 $0.00000 $0.00292
Haiku 4.5 $0.00000 $0.00146

Measured yesterday against content hash 89cdc3dc61e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

chat-context 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 yesterday.

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/rules/chat-context.mdc · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Контекст чату — подальша робота з AI

При старті сесії або при "налаштуйся для роботи з чатом" — використовуй цей файл як стартовий контекст.


Проект

  • Назва: PoolAI
  • Версія: v0.2.2 (Rust 1.92.0)
  • Корінь: S:\rust\poolAI
  • Роль: Rust Architect — концепт, статус, плани, код.
  • Стек (канон): Rust (src/, tests/, crates/); UI — JS у src/ui/; без Python runtime (див. runtime-stack-policy.mdc).

Ключові документи (читати першими)

Призначення Файл
Старт сесії / handoff docs/development/HANDOFF_NEW_SESSION.md (кроки 1–12)
Авторозробка (оркестратор) docs/development/AUTO_RUN_SESSION_2026_POST_HORIZON.md
Стек / no Python .cursor/rules/runtime-stack-policy.mdc
Патерни для автопрогону docs/development/AUTO_DEV_PATTERNS.md
FM / беклог (крок 12) docs/catalog/FUNCTION_MANAGEMENT.md §5.1 (FM-) · §5.12 (PH-S)
Промпт сесії docs/development/NEXT_SESSION_PROMPT.md
Ролі агентів .cursor/rules/poolai-agent-roles.mdc
Концепт (PRIMARY) docs/concept/poolAI_concept_root.txt
Статус docs/status/STABLE_STATE_SUMMARY.md
Architect-план docs/development/NEXT_STEPS_ARCHITECT_2026-03-17.md
Таксономія docs docs/STRUCTURE.md
Git push .cursor/commands/git-push.md, docs/troubleshooting/GIT_PUSH_FAILED.md
Помічник по файлах file_list.csv

Правила Cursor: .cursor/rules/autonomous-orchestrator.mdc, .cursor/rules/functionality-management.mdc, skill .agents/skills/poolai-documentation/SKILL.md (дзеркало .cursor/skills/)


Термінал і середовище

  • Усі локальні команди (cargo, git, скрипти): MSYS2 bash · dev launch → bin/, toolchain → scripts/, Rust bins → src/bin/ (REPOSITORY_LAYOUT.md) — C:\msys64\usr\bin\bash.exe (UCRT64). Для push — зовнішнє вікно MSYS2, не інтегрований термінал Cursor (див. git-push.md).
  • CI на GitHub — окреме середовище; локально PowerShell/cmd для цього репо не використовуємо.
  • Патчі: rust-toolchain.toml, .cursor, .vscode, scripts/.
  • PATH у bash (для cargo/rustc з rustup і MSYS2 gcc):
    export PATH="$HOME/.cargo/bin:/c/msys64/ucrt64/bin:/c/msys64/usr/bin:$PATH"
  • Шлях у MSYS2: /s/rust/poolAI = S:\rust\poolAI.

Read the full file on GitHub · 83 lines

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. yesterday First seen · 83 lines · 0 tokens per session scan A 89cdc3dc61e9

Subscribe to this mod's changes

chat-context is a cursor rule published in the GitHub repository platinoff/poolAI (4 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,461 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.