diff --git a/rpa-dashboard-ai/SKILL.md b/rpa-dashboard-ai/SKILL.md index 779bd15..b46f86a 100644 --- a/rpa-dashboard-ai/SKILL.md +++ b/rpa-dashboard-ai/SKILL.md @@ -1,6 +1,6 @@ --- name: rpa-dashboard-ai -description: Builds a working dashboard for an RPA bot or service that uses AI (an LLM or OCR extraction call). It has everything from rpa-dashboard-no-ai (sidebar, top bar with dark toggle and status dot, KPI cards, batch donut, run panel with steps and live log, report table with search and export) plus confidence bands, a review split pane (source document beside the extracted fields, band filters, draft edits, Verify), an approve gate the server enforces, and a cost/ROI page (tokens and cost per run, total and monthly spend, priced coverage, an against-doing-it-by-hand panel). Web path is React + Vite + Tailwind with a sample-data server stub; desktop path (PyQt) is the no-AI page plus plain-HTML AI sections over the Qt bridge, gate enforced in Python. Use when the user asks for an "AI RPA dashboard", an "extraction dashboard", an "LLM/OCR review dashboard", or any RPA/bot dashboard in a project that calls an LLM or OCR to extract fields. Needs rpa-dashboard-no-ai installed next to it. +description: Builds a working dashboard for an RPA bot or service that uses AI (an LLM or OCR extraction call). It has everything from rpa-dashboard-no-ai plus confidence bands, a review split pane (source document beside the extracted fields, band filters, drafts, Verify), an approve gate the backend enforces, and a cost/ROI page (tokens and cost per run, monthly spend, an against-doing-it-by-hand panel). Web: React + Vite + Tailwind with a sample-data server stub; desktop (PyQt): plain-HTML AI sections over the Qt bridge. Use when the user asks for an "AI RPA dashboard", an "extraction dashboard", an "LLM/OCR review dashboard", or any RPA/bot dashboard in a project that calls an LLM or OCR to extract fields. Needs rpa-dashboard-no-ai installed next to it. --- # RPA dashboard (AI) @@ -9,6 +9,12 @@ Everything this skill needs is bundled. Never read the original source projects. Shared files live in the no-AI skill, installed next to this one: `` below means `../rpa-dashboard-no-ai/templates/`. +**Paths:** both skills must be installed side by side (same parent folder). Resolve +`templates/...` against this skill's own folder (the one holding this SKILL.md), and +`` against it too (`/../rpa-dashboard-no-ai/templates/`), never against +the user's project. Run the scripts with those absolute paths, from the user's project, for +example `python /../rpa-dashboard-no-ai/templates/detect_frontend.py `. + | File | What it is | |---|---| | `templates/web/` | The React + Vite + Tailwind starter: shell, KPI, donut, run panel, report, **band legend, review split pane, approve gate, cost page**, sample data. | @@ -72,11 +78,12 @@ pane, the approve gate and the cost page. Ask which extras to add (choose any, o the model per batch), **retry on another model** (for failed runs). Build only the chosen ones at their `OPTIONAL:` markers, and delete the markers. - **Checkpoint tracker, admin/roles, login:** web: port them from `dashboard.html`'s - `OPTIONAL:` blocks. Desktop: they're already in the no-AI page; `sections.py` keeps + `OPTIONAL:` blocks to the markers in `RunPanel.tsx` (checkpoints) and `App.tsx` (admin tab + and screen, login). Desktop: they're already in the no-AI page; `sections.py` keeps the chosen ones (no-AI step 6), and `sections.md` says what each needs from the host. - **Model picker:** a `` (from `GET /models`, defaulting to the run's own model) and a Retry button that sends `POST /runs/{job_id}/retry {model}`, then polls the run as usual. diff --git a/rpa-dashboard-no-ai/SKILL.md b/rpa-dashboard-no-ai/SKILL.md index 1bc83d6..a90bc84 100644 --- a/rpa-dashboard-no-ai/SKILL.md +++ b/rpa-dashboard-no-ai/SKILL.md @@ -8,6 +8,10 @@ description: Builds a working dashboard page for an RPA bot that does not use AI Everything this skill needs is bundled in `templates/`. Never read the original source projects. +**Paths:** `templates/...` is in this skill's own folder (the one holding this SKILL.md), +not in the user's project. Below, `` is that folder's absolute path: run the +scripts as `python /templates/