[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQP44BZKRNH9YBHWBAST8X":3,"skill-same:01M6HQP44BZKRNH9YBHWBAST8X":104},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":6,"updatedAt":59,"install":60,"resources":73},"01M6HQP44BZKRNH9YBHWBAST8X","dashboard-plugin-scaffold",null,"Scaffold a new pi-dashboard plugin in the dashboard monorepo, OR augment an existing pi-extension project on disk with dashboard plugin contributions. Hybrid skill: a single ask_user batch up front, then prescriptive steps the agent follows. Use when the user asks to \"create a dashboard plugin\", \"add dashboard support to my extension\", \"scaffold a plugin\", or similar.","BlackBeltTechnology\u002Fpi-agent-dashboard","BlackBeltTechnology","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8101592?v=4","01M6HQDX7QAJA0QP4NYRYBMJ8A","BlackBelt Technology","01M6HQDXCC7719N9YDMQVH9JS6",348,"MIT","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"scaffold","plugin","dashboard plugin scaffold","dashboard","use","new","when","hybrid","Existing","my","front","add","project","Augment","up","pi","ask","monorepo","disk","batch","create","add dashboard","support","2026-11-10 10:12:30",false,"---\nname: dashboard-plugin-scaffold\ndescription: >\n  Scaffold a new pi-dashboard plugin in the dashboard monorepo, OR augment an\n  existing pi-extension project on disk with dashboard plugin contributions.\n  Hybrid skill: a single ask_user batch up front, then prescriptive steps the\n  agent follows. Use when the user asks to \"create a dashboard plugin\", \"add\n  dashboard support to my extension\", \"scaffold a plugin\", or similar.\nlicense: MIT\nmetadata:\n  author: pi-dashboard\n  version: \"1.0\"\n---\n\n# Dashboard Plugin Scaffold\n\nTwo modes, one skill. Mode `new` scaffolds `packages\u002F\u003Cid>-plugin\u002F` inside the dashboard monorepo. Mode `augment` retrofits an existing pi-extension at the current working directory with a `pi-dashboard-plugin` manifest field and a `src\u002Fdashboard\u002F` React subtree. An augmented project lives outside the dashboard monorepo, so its client is **runtime-delivered**: a prebuilt bundle (`dist\u002Fclient\u002F`) built with the SDK preset, loaded by the stock dashboard.\n\n> **Server TypeScript must be erasable.** The dashboard server loads a plugin's `server` entry with Node's strip-only TypeScript loader, so plugin server code must not use `enum`, runtime `namespace`, or constructor parameter properties, and must import type-only symbols with `import type`. A plugin that does fails to load in isolation (the error names the file). The templates already comply; keep them that way when editing.\n\n## Step 1 — Up-front ask_user batch\n\nUse the `ask_user` tool, method `batch`, with these questions in order:\n\n| # | Method | Title | Notes |\n|---|---|---|---|\n| 1 | select | \"Mode\" | options: `[\"new — scaffold a fresh packages\u002F\u003Cid>-plugin\u002F in this dashboard monorepo\", \"augment — retrofit an existing pi-extension at cwd with dashboard plugin contributions\"]` |\n| 2 | input | \"Plugin id (kebab-case)\" | (mode `new` only) — validated `^[a-z][a-z0-9-]*$`, must not collide with existing `packages\u002F\u003Cid>-plugin\u002F` |\n| 3 | input | \"Display name\" | (mode `new` only) — free text, e.g. `\"Acme Plugin\"` |\n| 4 | input | \"Priority (default 100; lower = earlier)\" | (mode `new` only) — integer string |\n| 5 | multiselect | \"Slot claims\" | (mode `new` only) — options: see `references\u002Fslot-taxonomy.md` for the 10 React slots |\n| 6 | confirm | \"Scaffold a server entry (REST routes + WS handlers)?\" | (mode `new` only) — default `true` |\n| 7 | confirm | \"Scaffold a bridge entry (pi extension that loads in every pi session)?\" | (mode `new` only) — default `false`, high blast radius |\n| 8 | confirm | \"Scaffold a configSchema.json?\" | (mode `new` only) — default `true` |\n| 9 | select | \"Embedded app scope\" | (mode `new` only) — options: `[\"none — no embedded app\", \"global — one app, not tied to a folder\", \"project-type — an app on every folder of a project type (marker files)\", \"project-specific — an app on one project (a declared project id)\"]`. See [Embedded app scope](#embedded-app-scope-mode-new). |\n| 10 | input | \"Project type (^[a-z][a-z0-9-]{0,63}$)\" | scope `project-type` only |\n| 11 | input | \"Marker patterns, one per line (1–16; max 3 segments, `*` inside a segment only, no `**`, no `.git`\u002F`node_modules`)\" | scope `project-type` only, e.g. `model\u002F*.judo` |\n| 12 | input | \"Project id (^[a-z][a-z0-9-]{0,63}$)\" | scope `project-specific` only |\n| 13 | input | \"Absolute folder to write the project id into (empty = do not write)\" | scope `project-specific` only |\n\nSkip questions 2-13 entirely if mode is `augment`; skip 10-13 unless the scope needs them. The augment-mode questions come **after** the analysis, in step 4b.\n\n## Step 2 — Branch on mode\n\nIf the user picked **`new`**, jump to [Step 3a — New mode](#step-3a--new-mode).\n\nIf the user picked **`augment`**, jump to [Step 3b — Augment mode preflight](#step-3b--augment-mode-preflight).\n\n---\n\n## Step 3a — New mode\n\n### 3a.1 Validate inputs\n\n```bash\n# Confirm the dashboard monorepo root by walking up for openspec\u002F + packages\u002F\nROOT=$(pwd)\nwhile [ \"$ROOT\" != \"\u002F\" ] && [ ! -d \"$ROOT\u002Fopenspec\" ]; do ROOT=$(dirname \"$ROOT\"); done\n[ -d \"$ROOT\u002Fopenspec\" ] || { echo \"Not inside the dashboard monorepo (no openspec\u002F dir found)\" >&2; exit 1; }\n[ -d \"$ROOT\u002Fpackages\" ] || { echo \"Monorepo missing packages\u002F dir\" >&2; exit 1; }\n\n# Validate id\necho \"\u003Cid>\" | grep -qE '^[a-z][a-z0-9-]*$' || { echo \"id must be kebab-case\" >&2; exit 1; }\n\n# Refuse collision\n[ ! -d \"$ROOT\u002Fpackages\u002F\u003Cid>-plugin\" ] || { echo \"packages\u002F\u003Cid>-plugin already exists\" >&2; exit 1; }\n```\n\nSubstitute `\u003Cid>` with the user-provided id throughout.\n\nValidate the app-scope answers (questions 9-13) against the same rules the dashboard applies — the renderer re-checks and prints **every** violation. On any violation: report them all and **stop**; write nothing and **do not re-ask** (no extra prompt beyond the final summary confirm).\n\n### 3a.2 Run the renderer\n\nThe renderer lives in this skill's parent package as a bin script:\n\n```bash\n# Locate the bin script (works whether the skill is installed globally or per-workspace)\nSKILL_PKG=$(node -e \"console.log(require.resolve('@blackbelt-technology\u002Fpi-dashboard-plugin-skill\u002Fpackage.json'))\" | xargs dirname)\nRENDERER=\"$SKILL_PKG\u002Fsrc\u002Fbin\u002Fscaffold.ts\"\n\n# Pass answers as JSON via stdin\ncat \u003C\u003CJSON | node --import \"$(node -e \"import('@blackbelt-technology\u002Fpi-dashboard-shared\u002Fjiti-register.ts')\")\" \"$RENDERER\"\n{\n  \"mode\": \"new\",\n  \"id\": \"\u003Cid>\",\n  \"displayName\": \"\u003CdisplayName>\",\n  \"priority\": \u003Cpriority>,\n  \"slots\": [\u003CslotsJsonArray>],\n  \"server\": \u003Ctrue|false>,\n  \"bridge\": \u003Ctrue|false>,\n  \"configSchema\": \u003Ctrue|false>,\n  \"appScope\": \u003Comit | {\"scope\":\"global\"} | {\"scope\":\"project-type\",\"type\":\"\u003Ctype>\",\"markers\":[\"\u003Cmarker>\", …]} | {\"scope\":\"project-specific\",\"projectId\":\"\u003Cid>\",\"folderPath\":\"\u003Cabs or omit>\"}>,\n  \"outDir\": \"$ROOT\u002Fpackages\u002F\u003Cid>-plugin\"\n}\nJSON\n```\n\nThe renderer writes:\n\n```\npackages\u002F\u003Cid>-plugin\u002F\n  package.json                     (with pi-dashboard-plugin manifest)\n  tsconfig.json\n  vitest.config.ts\n  README.md\n  configSchema.json                (only if user opted in)\n  src\u002F\n    client.tsx                     (one section per claimed slot)\n    server\u002Findex.ts                (only if user opted in)\n    bridge\u002Findex.ts                (only if user opted in)\n  test\u002F\n    index.test.ts\n```\n\nWith an `appScope` other than `none` the renderer also writes `src\u002Fapp\u002Fapp.tsx` (a `defineDashboardApp` app) and `src\u002Fapp\u002FAppRoute.tsx` (a lazy route rendering `\u003CEmbeddedApp>`), and adds the matching claims — see [Embedded app scope](#embedded-app-scope-mode-new).\n\n### 3a.3 Register the workspace\n\n```bash\n\"$SKILL_PKG\u002Fsrc\u002Fscripts\u002Fregister-workspace.sh\" \"\u003Cid>-plugin\"\n```\n\nThis is idempotent — re-running on an already-registered workspace is a no-op.\n\n### 3a.3b Final summary confirm, then write the project id (scope `project-specific` only)\n\nShow the final summary (files written, claims, scope). For `project-specific` **without** a folder path, warn: *the app matches no folder until the id is declared in a folder's `.pi\u002Fdashboard\u002Fproject.json`*. Ask the one existing final confirm. Only after it is accepted and a folder path was given:\n\n```bash\nnode --import \"$(node -e \"import('@blackbelt-technology\u002Fpi-dashboard-shared\u002Fjiti-register.ts')\")\" \"$SKILL_PKG\u002Fsrc\u002Fbin\u002Fscaffold.ts\" --write-project-id \"\u003Cfolder>\" \"\u003Cid>\"\n```\n\nIt prints one JSON result line. It creates `\u003Cfolder>\u002F.pi\u002Fdashboard\u002Fproject.json` (`schemaVersion: 1`) or merges the id into the existing one (adds `schemaVersion: 1` only when absent, keeps every other field) via temp file + rename. It **refuses** (exit 1, file unchanged) on a symlinked file\u002F`.pi`\u002F`.pi\u002Fdashboard`, a non-regular, oversized (> 64 KiB) or non-object file, a `schemaVersion` other than 1, or a different existing `id` — report the reason (for a different id: it must be changed by hand). A refusal does not undo the scaffold.\n\n### 3a.4 Print next-steps\n\n```\nNext steps:\n  1. cd $ROOT && npm install\n  2. npm run build                 # build the client + plugin\n  3. pi-dashboard restart                # restart dashboard server (a bare curl to \u002Fapi\u002Frestart is refused)\n  4. npm run reload                # reload all connected pi sessions\n  5. Open the dashboard, navigate to your slot, see the scaffold render.\n  6. Style plugin UI with host tokens only: read references\u002Fhost-design.md\n     (surfaces, severity\u002Fstatus, accent-text, both modes, no own theme\u002Ffonts).\n```\n\nDone with mode `new`.\n\n---\n\n## Embedded app scope (mode `new`)\n\nAnswer 9 chooses the embedded app, derived from `packages\u002Fdemo-plugin\u002Fsrc\u002Fdemo-app\u002F`:\n\n| Scope | Claims | Notes |\n|---|---|---|\n| `none` | — | no app; the output is unchanged |\n| `global` | `shell-overlay-route` `\u002F\u003Cid>\u002F*?`, `depth: 1`, `presentation: \"content\"` | no folder entry |\n| `project-type` | route `\u002Ffolder\u002F:encodedCwd\u002F\u003Cid>\u002F*?` (`depth: 2`, `parentPath: \"\u002Ffolder\u002F:encodedCwd\"`) + state-only `sidebar-folder-section` | manifest `projectTypes: [{ type, markers }]`; predicate `is\u003CId>Folder = folderHasProjectType(\"\u003Ctype>\")`; route passes `projectScope={{ type }}` |\n| `project-specific` | same two claims | predicate `folderHasProjectId(\"\u003Cid>\")`; route passes `projectScope={{ id }}` |\n\nScoped apps get **no** `standaloneUrl` and no standalone entry. `requiredApi` stays `^0.x`. The folder entry and the route's `projectScope` keep a deep link on a non-matching folder from mounting the app (*Not available for this folder*). A declared `id` is unauthenticated — never grant privileged data by project id alone.\n\n---\n\n## Step 3b — Augment mode preflight\n\n### 3b.1 Verify cwd is a pi extension\n\n```bash\n[ -f package.json ] || { echo \"No package.json at cwd\" >&2; exit 1; }\nPEER=$(jq -r '[(.peerDependencies \u002F\u002F {}), (.dependencies \u002F\u002F {})] | add | keys[] | select(test(\"^(@[^\u002F]+\u002F)?pi-coding-agent$\"))' package.json | head -1)\n[ -n \"$PEER\" ] || { echo \"package.json does not declare pi-coding-agent as a dependency or peerDependency — not a pi extension\" >&2; exit 1; }\n```\n\n### 3b.2 Run the grep prelude\n\n```bash\nSKILL_PKG=$(node -e \"console.log(require.resolve('@blackbelt-technology\u002Fpi-dashboard-plugin-skill\u002Fpackage.json'))\" | xargs dirname)\n\"$SKILL_PKG\u002Fsrc\u002Fscripts\u002Fgrep-tui-surface.sh\" > \u002Ftmp\u002Ftui-callsites.json\ncat \u002Ftmp\u002Ftui-callsites.json\n```\n\nThe output is a deterministic JSON list `{ \"callsites\": [...] }`. Each entry has `{ file, line, callsite, category }` where category is `tui-prompt`, `tui-custom`, `tool-register`, `extension-ui`, or `banned` (session-replacement calls).\n\n### 3b.3 Drive the analysis (LLM step)\n\nFor each callsite (skip those with `category: \"banned\"` after surfacing the bridge invariant warning):\n\n1. Read ±20 lines around the callsite.\n2. Match against `references\u002Ftui-to-dashboard-mapping.md` (the canonical mapping table).\n3. Emit a port proposal:\n   ```ts\n   {\n     file: string,\n     line: number,\n     callsite: string,\n     mappedSlot: SlotId | null,             \u002F\u002F null = already-dashboard-aware\n     status: \"needs-port\" | \"optional-port\" | \"already-dashboard-aware\",\n     componentSuggestion: string | null,\n     notes: string,\n   }\n   ```\n\nCollate into a markdown table. Show it to the user.\n\n### 3b.4 Per-callsite confirmation (ask_user)\n\nFilter to proposals with `status` of `needs-port` or `optional-port`. Use:\n\n```\nask_user method=multiselect\n  title=\"Which TUI callsites should port to the dashboard?\"\n  options=[\u003Cproposal[i].file:proposal[i].line — proposal[i].callsite → proposal[i].mappedSlot>, …]\n```\n\nThen confirm:\n\n```\nask_user method=confirm\n  title=\"Proceed with manifest injection and src\u002Fdashboard\u002F scaffold?\"\n```\n\n### 3b.5 Run the renderer\n\n```bash\ncat \u003C\u003CJSON | node ... \"$SKILL_PKG\u002Fsrc\u002Fbin\u002Fscaffold.ts\"\n{\n  \"mode\": \"augment\",\n  \"outDir\": \".\",\n  \"confirmedProposals\": [\u003Cproposal[i] for each user-checked option>],\n  \"addServer\": \u003Ctrue if any proposal needs server hooks>,\n  \"styles\": \u003Ctrue if the project's dashboard UI uses Tailwind utility classes; default false>\n}\nJSON\n```\n\nThe renderer **throws before writing anything** (the bin exits 1 and names the missing `pi-coding-agent` peerDep) when `package.json` does not declare `pi-coding-agent` (or a scoped fork) as a dependency or peerDependency. Otherwise it:\n\n1. Adds `@blackbelt-technology\u002Fdashboard-plugin-runtime` and `@blackbelt-technology\u002Fpi-dashboard-shared` as `dependencies` (preserves existing deps; sorted alphabetically).\n2. Injects the `pi-dashboard-plugin` manifest field into `package.json` (top-level, JSON-safe edit).\n3. Adds `.\u002Fclient` (and `.\u002Fserver` if applicable) entries to `exports`.\n4. Sets `requiredApi` to `^0.x`, `hostApi` to `^\u003Cmajor>.\u003Cminor>.0` of the current `PLUGIN_HOST_API_VERSION`, and adds the `pi-dashboard-plugin` keyword (existing keywords kept).\n5. Makes the project runtime-deliverable: manifest `clientBundle: \".\u002Fdist\u002Fclient\u002Findex.js\"` (a dedicated client dir; the server entry stays in `src\u002Fdashboard\u002F`, outside it), `clientStyles: \".\u002Fdist\u002Fclient\u002Fclient.css\"` when `styles` is true, a `build:dashboard` script (`vite build --config vite.dashboard.config.ts --configLoader runner`), devDependencies for it (`vite`, `react`, `@types\u002Freact`; plus `tailwindcss`, `@tailwindcss\u002Fvite` when `styles`; the author's pins win), and, if `files` is an explicit list, `dist\u002Fclient\u002F` and `src\u002Fdashboard\u002F`.\n6. Creates `vite.dashboard.config.ts` (the SDK preset: every import-map specifier external, no React in the bundle).\n7. Creates `src\u002Fdashboard\u002Fclient.tsx` with stubs for each confirmed claim.\n8. Creates `src\u002Fdashboard\u002Fserver.ts` only if any proposal needed server hooks.\n\nIt does **NOT** modify any other source file. The bin prints the next-steps (3b.6) after it finishes.\n\n### 3b.6 Print next-steps\n\nThe bin prints these (`src\u002Fnext-steps.ts`); relay them verbatim. **Never run them yourself.**\n\n```\nNext steps:\n  1. npm install\n  2. npm run build                 # build your project (the TUI surface still works in pi)\n  3. npm run build:dashboard       # build the dashboard client bundle into dist\u002Fclient\u002F\n  4. npm publish                   # the package must carry dist\u002Fclient\u002F and src\u002Fdashboard\u002F\n  5. Install it globally: `pi install npm:\u003Cpackage>` from a terminal (the dashboard shows it\n     after a dashboard restart), or the dashboard Packages tab (shows it live).\n  6. Until published: `npm link` it into the dashboard's packages\u002F layout, or clone it into\n     \u003Cdashboard-repo>\u002Fpackages\u002F as a workspace.\n  7. Trust: the operator trusts the client bundle (and, for a server entry, grants server trust)\n     from the Plugins tab on the dashboard host itself.\n  8. Style plugin UI with host tokens only: read references\u002Fhost-design.md\n```\n\nDone with mode `augment`.\n\n---\n\n## Guardrails\n\n- **Never run `npm publish`, `npm run build`, `npm run build:dashboard`, `pi install`, or restart the dashboard server**. The skill prints next-steps; the user runs them.\n- **Never edit existing source files in augment mode** — only `package.json` (manifest injection) and new files (`src\u002Fdashboard\u002F*`, `vite.dashboard.config.ts`).\n- **Refuse to run augment mode if `pi-coding-agent` is not declared** as a dep or peerDep (the renderer enforces it and writes nothing).\n- **Never trust on the user's behalf** — trusting a plugin's client bundle \u002F server entry is the operator's action on the dashboard host.\n- **Refuse to run new mode outside the dashboard monorepo** (no `openspec\u002F` in any ancestor).\n- **Refuse to overwrite an existing `packages\u002F\u003Cid>-plugin\u002F`** in new mode.\n- **Bridge entry defaults to OFF**. Only emit if the user explicitly opts in.\n- **Per-callsite confirmation is mandatory** in augment mode — never inject a manifest claim derived from an un-confirmed callsite.\n\n## References\n\n- [`references\u002Fslot-taxonomy.md`](references\u002Fslot-taxonomy.md) — every supported slot id with prop contract\n- [`references\u002Fmanifest-schema.md`](references\u002Fmanifest-schema.md) — PluginManifest \u002F PluginClaim canonical schema, incl. the lazy claim `module` field (heavy on-demand surfaces: don't also export the component from the main client entry; dashboard version floor)\n- [`references\u002Fplugin-context-api.md`](references\u002Fplugin-context-api.md) — client SDK (`usePluginConfig`, `useSessionState`, …)\n- [`references\u002Fserver-context-api.md`](references\u002Fserver-context-api.md) — `ServerPluginContext`\n- [`references\u002Ftui-to-dashboard-mapping.md`](references\u002Ftui-to-dashboard-mapping.md) — canonical TUI → dashboard mapping\n- [`references\u002Fbuild-integration.md`](references\u002Fbuild-integration.md) — Vite plugin behavior, dev vs prod, tree-shaking\n- [`references\u002Fhost-design.md`](references\u002Fhost-design.md) — host design tokens, severity\u002Fstatus, coloured text, both modes, no own theme\u002Ffonts, `product-ui` anti-slop profile\n","# Dashboard Plugin Scaffold\n\nTwo modes, one skill. Mode `new` scaffolds `packages\u002F\u003Cid>-plugin\u002F` inside the dashboard monorepo. Mode `augment` retrofits an existing pi-extension at the current working directory with a `pi-dashboard-plugin` manifest field and a `src\u002Fdashboard\u002F` React subtree. An augmented project lives outside the dashboard monorepo, so its client is **runtime-delivered**: a prebuilt bundle (`dist\u002Fclient\u002F`) built with the SDK preset, loaded by the stock dashboard.\n\n> **Server TypeScript must be erasable.** The dashboard server loads a plugin's `server` entry with Node's strip-only TypeScript loader, so plugin server code must not use `enum`, runtime `namespace`, or constructor parameter properties, and must import type-only symbols with `import type`. A plugin that does fails to load in isolation (the error names the file). The templates already comply; keep them that way when editing.\n\n## Step 1 — Up-front ask_user batch\n\nUse the `ask_user` tool, method `batch`, with these questions in order:\n\n| # | Method | Title | Notes |\n|---|---|---|---|\n| 1 | select | \"Mode\" | options: `[\"new — scaffold a fresh packages\u002F\u003Cid>-plugin\u002F in this dashboard monorepo\", \"augment — retrofit an existing pi-extension at cwd with dashboard plugin contributions\"]` |\n| 2 | input | \"Plugin id (kebab-case)\" | (mode `new` only) — validated `^[a-z][a-z0-9-]*$`, must not collide with existing `packages\u002F\u003Cid>-plugin\u002F` |\n| 3 | input | \"Display name\" | (mode `new` only) — free text, e.g. `\"Acme Plugin\"` |\n| 4 | input | \"Priority (default 100; lower = earlier)\" | (mode `new` only) — integer string |\n| 5 | multiselect | \"Slot claims\" | (mode `new` only) — options: see `references\u002Fslot-taxonomy.md` for the 10 React slots |\n| 6 | confirm | \"Scaffold a server entry (REST routes + WS handlers)?\" | (mode `new` only) — default `true` |\n| 7 | confirm | \"Scaffold a bridge entry (pi extension that loads in every pi session)?\" | (mode `new` only) — default `false`, high blast radius |\n| 8 | confirm | \"Scaffold a configSchema.json?\" | (mode `new` only) — default `true` |\n| 9 | select | \"Embedded app scope\" | (mode `new` only) — options: `[\"none — no embedded app\", \"global — one app, not tied to a folder\", \"project-type — an app on every folder of a project type (marker files)\", \"project-specific — an app on one project (a declared project id)\"]`. See [Embedded app scope](#embedded-app-scope-mode-new). |\n| 10 | input | \"Project type (^[a-z][a-z0-9-]{0,63}$)\" | scope `project-type` only |\n| 11 | input | \"Marker patterns, one per line (1–16; max 3 segments, `*` inside a segment only, no `**`, no `.git`\u002F`node_modules`)\" | scope `project-type` only, e.g. `model\u002F*.judo` |\n| 12 | input | \"Project id (^[a-z][a-z0-9-]{0,63}$)\" | scope `project-specific` only |\n| 13 | input | \"Absolute folder to write the project id into (empty = do not write)\" | scope `project-specific` only |\n\nSkip questions 2-13 entirely if mode is `augment`; skip 10-13 unless the scope needs them. The augment-mode questions come **after** the analysis, in step 4b.\n\n## Step 2 — Branch on mode\n\nIf the user picked **`new`**, jump to [Step 3a — New mode](#step-3a--new-mode).\n\nIf the user picked **`augment`**, jump to [Step 3b — Augment mode preflight](#step-3b--augment-mode-preflight).\n\n---\n\n## Step 3a — New mode\n\n### 3a.1 Validate inputs\n\n```bash\n# Confirm the dashboard monorepo root by walking up for openspec\u002F + packages\u002F\nROOT=$(pwd)\nwhile [ \"$ROOT\" != \"\u002F\" ] && [ ! -d \"$ROOT\u002Fopenspec\" ]; do ROOT=$(dirname \"$ROOT\"); done\n[ -d \"$ROOT\u002Fopenspec\" ] || { echo \"Not inside the dashboard monorepo (no openspec\u002F dir found)\" >&2; exit 1; }\n[ -d \"$ROOT\u002Fpackages\" ] || { echo \"Monorepo missing packages\u002F dir\" >&2; exit 1; }\n\n# Validate id\necho \"\u003Cid>\" | grep -qE '^[a-z][a-z0-9-]*$' || { echo \"id must be kebab-case\" >&2; exit 1; }\n\n# Refuse collision\n[ ! -d \"$ROOT\u002Fpackages\u002F\u003Cid>-plugin\" ] || { echo \"packages\u002F\u003Cid>-plugin already exists\" >&2; exit 1; }\n```\n\nSubstitute `\u003Cid>` with the user-provided id throughout.\n\nValidate the app-scope answers (questions 9-13) against the same rules the dashboard applies — the renderer re-checks and prints **every** violation. On any violation: report them all and **stop**; write nothing and **do not re-ask** (no extra prompt beyond the final summary confirm).\n\n### 3a.2 Run the renderer\n\nThe renderer lives in this skill's parent package as a bin script:\n\n```bash\n# Locate the bin script (works whether the skill is installed globally or per-workspace)\nSKILL_PKG=$(node -e \"console.log(require.resolve('@blackbelt-technology\u002Fpi-dashboard-plugin-skill\u002Fpackage.json'))\" | xargs dirname)\nRENDERER=\"$SKILL_PKG\u002Fsrc\u002Fbin\u002Fscaffold.ts\"\n\n# Pass answers as JSON via stdin\ncat \u003C\u003CJSON | node --import \"$(node -e \"import('@blackbelt-technology\u002Fpi-dashboard-shared\u002Fjiti-register.ts')\")\" \"$RENDERER\"\n{\n  \"mode\": \"new\",\n  \"id\": \"\u003Cid>\",\n  \"displayName\": \"\u003CdisplayName>\",\n  \"priority\": \u003Cpriority>,\n  \"slots\": [\u003CslotsJsonArray>],\n  \"server\": \u003Ctrue|false>,\n  \"bridge\": \u003Ctrue|false>,\n  \"configSchema\": \u003Ctrue|false>,\n  \"appScope\": \u003Comit | {\"scope\":\"global\"} | {\"scope\":\"project-type\",\"type\":\"\u003Ctype>\",\"markers\":[\"\u003Cmarker>\", …]} | {\"scope\":\"project-specific\",\"projectId\":\"\u003Cid>\",\"folderPath\":\"\u003Cabs or omit>\"}>,\n  \"outDir\": \"$ROOT\u002Fpackages\u002F\u003Cid>-plugin\"\n}\nJSON\n```\n\nThe renderer writes:\n\n```\npackages\u002F\u003Cid>-plugin\u002F\n  package.json                     (with pi-dashboard-plugin manifest)\n  tsconfig.json\n  vitest.config.ts\n  README.md\n  configSchema.json                (only if user opted in)\n  src\u002F\n    client.tsx                     (one section per claimed slot)\n    server\u002Findex.ts                (only if user opted in)\n    bridge\u002Findex.ts                (only if user opted in)\n  test\u002F\n    index.test.ts\n```\n\nWith an `appScope` other than `none` the renderer also writes `src\u002Fapp\u002Fapp.tsx` (a `defineDashboardApp` app) and `src\u002Fapp\u002FAppRoute.tsx` (a lazy route rendering `\u003CEmbeddedApp>`), and adds the matching claims — see [Embedded app scope](#embedded-app-scope-mode-new).\n\n### 3a.3 Register the workspace\n\n```bash\n\"$SKILL_PKG\u002Fsrc\u002Fscripts\u002Fregister-workspace.sh\" \"\u003Cid>-plugin\"\n```\n\nThis is idempotent — re-running on an already-registered workspace is a no-op.\n\n### 3a.3b Final summary confirm, then write the project id (scope `project-specific` only)\n\nShow the final summary (files written, claims, scope). For `project-specific` **without** a folder path, warn: *the app matches no folder until the id is declared in a folder's `.pi\u002Fdashboard\u002Fproject.json`*. Ask the one existing final confirm. Only after it is accepted and a folder path was given:\n\n```bash\nnode --import \"$(node -e \"import('@blackbelt-technology\u002Fpi-dashboard-shared\u002Fjiti-register.ts')\")\" \"$SKILL_PKG\u002Fsrc\u002Fbin\u002Fscaffold.ts\" --write-project-id \"\u003Cfolder>\" \"\u003Cid>\"\n```\n\nIt prints one JSON result line. It creates `\u003Cfolder>\u002F.pi\u002Fdashboard\u002Fproject.json` (`schemaVersion: 1`) or merges the id into the existing one (adds `schemaVersion: 1` only when absent, keeps every other field) via temp file + rename. It **refuses** (exit 1, file unchanged) on a symlinked file\u002F`.pi`\u002F`.pi\u002Fdashboard`, a non-regular, oversized (> 64 KiB) or non-object file, a `schemaVersion` other than 1, or a different existing `id` — report the reason (for a different id: it must be changed by hand). A refusal does not undo the scaffold.\n\n### 3a.4 Print next-steps\n\n```\nNext steps:\n  1. cd $ROOT && npm install\n  2. npm run build                 # build the client + plugin\n  3. pi-dashboard restart                # restart dashboard server (a bare curl to \u002Fapi\u002Frestart is refused)\n  4. npm run reload                # reload all connected pi sessions\n  5. Open the dashboard, navigate to your slot, see the scaffold render.\n  6. Style plugin UI with host tokens only: read references\u002Fhost-design.md\n     (surfaces, severity\u002Fstatus, accent-text, both modes, no own theme\u002Ffonts).\n```\n\nDone with mode `new`.\n\n---\n\n## Embedded app scope (mode `new`)\n\nAnswer 9 chooses the embedded app, derived from `packages\u002Fdemo-plugin\u002Fsrc\u002Fdemo-app\u002F`:\n\n| Scope | Claims | Notes |\n|---|---|---|\n| `none` | — | no app; the output is unchanged |\n| `global` | `shell-overlay-route` `\u002F\u003Cid>\u002F*?`, `depth: 1`, `presentation: \"content\"` | no folder entry |\n| `project-type` | route `\u002Ffolder\u002F:encodedCwd\u002F\u003Cid>\u002F*?` (`depth: 2`, `parentPath: \"\u002Ffolder\u002F:encodedCwd\"`) + state-only `sidebar-folder-section` | manifest `projectTypes: [{ type, markers }]`; predicate `is\u003CId>Folder = folderHasProjectType(\"\u003Ctype>\")`; route passes `projectScope={{ type }}` |\n| `project-specific` | same two claims | predicate `folderHasProjectId(\"\u003Cid>\")`; route passes `projectScope={{ id }}` |\n\nScoped apps get **no** `standaloneUrl` and no standalone entry. `requiredApi` stays `^0.x`. The folder entry and the route's `projectScope` keep a deep link on a non-matching folder from mounting the app (*Not available for this folder*). A declared `id` is unauthenticated — never grant privileged data by project id alone.\n\n---\n\n## Step 3b — Augment mode preflight\n\n### 3b.1 Verify cwd is a pi extension\n\n```bash\n[ -f package.json ] || { echo \"No package.json at cwd\" >&2; exit 1; }\nPEER=$(jq -r '[(.peerDependencies \u002F\u002F {}), (.dependencies \u002F\u002F {})] | add | keys[] | select(test(\"^(@[^\u002F]+\u002F)?pi-coding-agent$\"))' package.json | head -1)\n[ -n \"$PEER\" ] || { echo \"package.json does not declare pi-coding-agent as a dependency or peerDependency — not a pi extension\" >&2; exit 1; }\n```\n\n### 3b.2 Run the grep prelude\n\n```bash\nSKILL_PKG=$(node -e \"console.log(require.resolve('@blackbelt-technology\u002Fpi-dashboard-plugin-skill\u002Fpackage.json'))\" | xargs dirname)\n\"$SKILL_PKG\u002Fsrc\u002Fscripts\u002Fgrep-tui-surface.sh\" > \u002Ftmp\u002Ftui-callsites.json\ncat \u002Ftmp\u002Ftui-callsites.json\n```\n\nThe output is a deterministic JSON list `{ \"callsites\": [...] }`. Each entry has `{ file, line, callsite, category }` where category is `tui-prompt`, `tui-custom`, `tool-register`, `extension-ui`, or `banned` (session-replacement calls).\n\n### 3b.3 Drive the analysis (LLM step)\n\nFor each callsite (skip those with `category: \"banned\"` after surfacing the bridge invariant warning):\n\n1. Read ±20 lines around the callsite.\n2. Match against `references\u002Ftui-to-dashboard-mapping.md` (the canonical mapping table).\n3. Emit a port proposal:\n   ```ts\n   {\n     file: string,\n     line: number,\n     callsite: string,\n     mappedSlot: SlotId | null,             \u002F\u002F null = already-dashboard-aware\n     status: \"needs-port\" | \"optional-port\" | \"already-dashboard-aware\",\n     componentSuggestion: string | null,\n     notes: string,\n   }\n   ```\n\nCollate into a markdown table. Show it to the user.\n\n### 3b.4 Per-callsite confirmation (ask_user)\n\nFilter to proposals with `status` of `needs-port` or `optional-port`. Use:\n\n```\nask_user method=multiselect\n  title=\"Which TUI callsites should port to the dashboard?\"\n  options=[\u003Cproposal[i].file:proposal[i].line — proposal[i].callsite → proposal[i].mappedSlot>, …]\n```\n\nThen confirm:\n\n```\nask_user method=confirm\n  title=\"Proceed with manifest injection and src\u002Fdashboard\u002F scaffold?\"\n```\n\n### 3b.5 Run the renderer\n\n```bash\ncat \u003C\u003CJSON | node ... \"$SKILL_PKG\u002Fsrc\u002Fbin\u002Fscaffold.ts\"\n{\n  \"mode\": \"augment\",\n  \"outDir\": \".\",\n  \"confirmedProposals\": [\u003Cproposal[i] for each user-checked option>],\n  \"addServer\": \u003Ctrue if any proposal needs server hooks>,\n  \"styles\": \u003Ctrue if the project's dashboard UI uses Tailwind utility classes; default false>\n}\nJSON\n```\n\nThe renderer **throws before writing anything** (the bin exits 1 and names the missing `pi-coding-agent` peerDep) when `package.json` does not declare `pi-coding-agent` (or a scoped fork) as a dependency or peerDependency. Otherwise it:\n\n1. Adds `@blackbelt-technology\u002Fdashboard-plugin-runtime` and `@blackbelt-technology\u002Fpi-dashboard-shared` as `dependencies` (preserves existing deps; sorted alphabetically).\n2. Injects the `pi-dashboard-plugin` manifest field into `package.json` (top-level, JSON-safe edit).\n3. Adds `.\u002Fclient` (and `.\u002Fserver` if applicable) entries to `exports`.\n4. Sets `requiredApi` to `^0.x`, `hostApi` to `^\u003Cmajor>.\u003Cminor>.0` of the current `PLUGIN_HOST_API_VERSION`, and adds the `pi-dashboard-plugin` keyword (existing keywords kept).\n5. Makes the project runtime-deliverable: manifest `clientBundle: \".\u002Fdist\u002Fclient\u002Findex.js\"` (a dedicated client dir; the server entry stays in `src\u002Fdashboard\u002F`, outside it), `clientStyles: \".\u002Fdist\u002Fclient\u002Fclient.css\"` when `styles` is true, a `build:dashboard` script (`vite build --config vite.dashboard.config.ts --configLoader runner`), devDependencies for it (`vite`, `react`, `@types\u002Freact`; plus `tailwindcss`, `@tailwindcss\u002Fvite` when `styles`; the author's pins win), and, if `files` is an explicit list, `dist\u002Fclient\u002F` and `src\u002Fdashboard\u002F`.\n6. Creates `vite.dashboard.config.ts` (the SDK preset: every import-map specifier external, no React in the bundle).\n7. Creates `src\u002Fdashboard\u002Fclient.tsx` with stubs for each confirmed claim.\n8. Creates `src\u002Fdashboard\u002Fserver.ts` only if any proposal needed server hooks.\n\nIt does **NOT** modify any other source file. The bin prints the next-steps (3b.6) after it finishes.\n\n### 3b.6 Print next-steps\n\nThe bin prints these (`src\u002Fnext-steps.ts`); relay them verbatim. **Never run them yourself.**\n\n```\nNext steps:\n  1. npm install\n  2. npm run build                 # build your project (the TUI surface still works in pi)\n  3. npm run build:dashboard       # build the dashboard client bundle into dist\u002Fclient\u002F\n  4. npm publish                   # the package must carry dist\u002Fclient\u002F and src\u002Fdashboard\u002F\n  5. Install it globally: `pi install npm:\u003Cpackage>` from a terminal (the dashboard shows it\n     after a dashboard restart), or the dashboard Packages tab (shows it live).\n  6. Until published: `npm link` it into the dashboard's packages\u002F layout, or clone it into\n     \u003Cdashboard-repo>\u002Fpackages\u002F as a workspace.\n  7. Trust: the operator trusts the client bundle (and, for a server entry, grants server trust)\n     from the Plugins tab on the dashboard host itself.\n  8. Style plugin UI with host tokens only: read references\u002Fhost-design.md\n```\n\nDone with mode `augment`.\n\n---\n\n## Guardrails\n\n- **Never run `npm publish`, `npm run build`, `npm run build:dashboard`, `pi install`, or restart the dashboard server**. The skill prints next-steps; the user runs them.\n- **Never edit existing source files in augment mode** — only `package.json` (manifest injection) and new files (`src\u002Fdashboard\u002F*`, `vite.dashboard.config.ts`).\n- **Refuse to run augment mode if `pi-coding-agent` is not declared** as a dep or peerDep (the renderer enforces it and writes nothing).\n- **Never trust on the user's behalf** — trusting a plugin's client bundle \u002F server entry is the operator's action on the dashboard host.\n- **Refuse to run new mode outside the dashboard monorepo** (no `openspec\u002F` in any ancestor).\n- **Refuse to overwrite an existing `packages\u002F\u003Cid>-plugin\u002F`** in new mode.\n- **Bridge entry defaults to OFF**. Only emit if the user explicitly opts in.\n- **Per-callsite confirmation is mandatory** in augment mode — never inject a manifest claim derived from an un-confirmed callsite.\n\n## References\n\n- [`references\u002Fslot-taxonomy.md`](references\u002Fslot-taxonomy.md) — every supported slot id with prop contract\n- [`references\u002Fmanifest-schema.md`](references\u002Fmanifest-schema.md) — PluginManifest \u002F PluginClaim canonical schema, incl. the lazy claim `module` field (heavy on-demand surfaces: don't also export the component from the main client entry; dashboard version floor)\n- [`references\u002Fplugin-context-api.md`](references\u002Fplugin-context-api.md) — client SDK (`usePluginConfig`, `useSessionState`, …)\n- [`references\u002Fserver-context-api.md`](references\u002Fserver-context-api.md) — `ServerPluginContext`\n- [`references\u002Ftui-to-dashboard-mapping.md`](references\u002Ftui-to-dashboard-mapping.md) — canonical TUI → dashboard mapping\n- [`references\u002Fbuild-integration.md`](references\u002Fbuild-integration.md) — Vite plugin behavior, dev vs prod, tree-shaking\n- [`references\u002Fhost-design.md`](references\u002Fhost-design.md) — host design tokens, severity\u002Fstatus, coloured text, both modes, no own theme\u002Ffonts, `product-ui` anti-slop profile\n",{"name":5,"license":15,"metadata":47,"description":50},{"author":48,"version":49},"pi-dashboard","1.0","Scaffold a new pi-dashboard plugin in the dashboard monorepo, OR augment an existing pi-extension project on disk with dashboard plugin contributions. Hybrid skill: a single ask_user batch up front, then prescriptive steps the agent follows. Use when the user asks to \"create a dashboard plugin\", \"add dashboard support to my extension\", \"scaffold a plugin\", or similar.\n","develop","fb9a5af356f540de4839ef851ebbe14bcce64c0f","packages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold",56,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard","https:\u002F\u002Fpi-dashboard.dev\u002F","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology","https:\u002F\u002Fwww.blackbelt.hu","2026-11-12 23:37:37",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill dashboard-plugin-scaffold",{"tool":66,"command":67},"bunx","bunx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill dashboard-plugin-scaffold",{"tool":69,"command":70},"pnpm","pnpm dlx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill dashboard-plugin-scaffold","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002FSKILL.md",true,[74,80,84,88,92,96,100],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fbuild-integration.md","REFERENCE","参考文档",4925,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002Freferences\u002Fbuild-integration.md",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fhost-design.md",8700,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002Freferences\u002Fhost-design.md",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fmanifest-schema.md",13553,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002Freferences\u002Fmanifest-schema.md",{"path":89,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fplugin-context-api.md",3255,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002Freferences\u002Fplugin-context-api.md",{"path":93,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fserver-context-api.md",4520,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002Freferences\u002Fserver-context-api.md",{"path":97,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fslot-taxonomy.md",7417,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002Freferences\u002Fslot-taxonomy.md",{"path":101,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Ftui-to-dashboard-mapping.md",4149,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fdashboard-plugin-skill\u002F.pi\u002Fskills\u002Fdashboard-plugin-scaffold\u002Freferences\u002Ftui-to-dashboard-mapping.md",[105,132,157,179,200,221],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":42},"01M6HQYQ5B82AM5T9Y299S9CFY","youtube-srt","Download YouTube subtitles (SRT + timestamped TXT) for a channel, playlist or video via yt-dlp, no media download; optionally mine them into a categorized catalog (e.g. AI models by function, open weights, local runnability, hardware tier). Use on \"download the srt of this video\", \"transcripts of channel X for the last N months\", \"catalog the models AI Search talked about\", \"update docs\u002Fmodels\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fyoutube-srt\u002FSKILL.md",[],[112,113,114,115,116,117,118,119,120,121,122,23,123,124,125,126,127,128,129,130,131],"youtube","srt","youtube srt","update","search","subtitles","dlp","Video","Media","open","catalog","update docs","yt-dlp","local","mine","via","ai models","last","for","media download",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":42},"01M6HQYJBKSXR55T5RSYNJQG4D","video-transcription","Transcribe video and audio files to SRT subtitles with speaker diarization using the Soniox (default) or AssemblyAI API. Use when the user wants to transcribe meetings, videos, or audio files. Supports MKV, MP4, MOV, M4A, MP3. Triggers on \"\u002Ftranscribe\", \"transcribe my meetings\", \"transcribe videos in ~\u002FMovies\", or any request to convert audio\u002Fvideo to text.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fvideo-transcription\u002FSKILL.md",[],[119,139,140,141,117,142,143,144,145,146,147,23,148,149,150,151,152,153,154,113,28,155,156,25],"transcription","video transcription","transcribe","api","Audio","convert","mp4","text","meetings","files","default","mp3","triggers","with","videos","assemblyai","srt subtitles","request",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":42},"01M6HQYECMVDC5TDHHW22VC5RX","speaker-id","Name anonymous diarized SRT speakers from a persistent local voiceprint library and repair speaker drift; local, CPU-only, no API key. Triggers \"who is speaker 2\", \"put names on the transcript\", \"label the meeting SRT\", \"the diarization split one person into three\", \"enroll my voice\". Backed by the pi-voiceid CLI.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-transcription\u002F.pi\u002Fskills\u002Fspeaker-id\u002FSKILL.md",[],[164,165,166,167,142,168,34,169,170,171,172,125,151,173,174,175,176,113,177,178],"id","speaker id","cli","transcript","voice","only","three","drift","repair","name","CPU","meeting","anonymous","split","person",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":42},"01M6HQYAZWDXE9QJEG592E5PXK","veo-showreel-production-kit","Turn a video timeline + voiceover into a reproducible, sliceable Veo 3.1 prompt package with a consistency anchor and AI storyboard sketches.","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fveo-showreel-production-kit\u002FSKILL.md",[],[186,187,188,189,190,191,192,119,193,194,195,196,152,197,198,199],"Production","veo","kit","veo showreel production kit","package","Reproducible","timeline","prompt","voiceover","storyboard","anchor","consistency","veo 3","2026",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":42},"01M6HQY6TJ0X1ADDKYPMVJY6NV","veo-generator","Render a scripted video project into mp4 clips with the Google Veo 3.1 API. Reads a project's shot package (shots\u002F*.md), one clip per camera cut, reusing each shot's prompt and sketch — world anchor only with `--with-reference`, seed unless `--no-seed`. Use on \"render the Veo video for \u003Cproject>\", \"generate the videos from the shot scripts\", \"make the clips with Veo\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fveo-generator\u002FSKILL.md",[],[187,207,208,209,210,190,142,119,145,193,23,211,169,212,213,214,215,31,196,216,217,218,219,152,220,130,198],"generator","veo generator","google","generate","clip","sketch","camera","world","seed","cut","scripts","make","render","google veo",{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":225,"categories":226,"keywords":227,"publishedAt":42},"01M6HQY1K2NZJ3B2YHSJJPPVAF","hyperframes-showreel","Turn real screen and site footage into a rhythmic showreel rendered with HyperFrames: sampling, edit script, redacted clips, a generated composition, Veo only as additive FX, music edit + camera punches, delivery render and export QA. Use on \"make a showreel from these recordings\", \"build the HyperFrames video\", \"assemble the footage edit\", \"render and QA the showreel\".","https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fvideo-production\u002F.pi\u002Fskills\u002Fhyperframes-showreel\u002FSKILL.md",[],[228,229,230,119,231,232,233,23,234,235,236,169,237,238,239,240,241,219,152,242],"hyperframes","hyperframes showreel","qa","Composition","edit","generated","assemble","export","sampling","build","delivery","as","fx","screen","script"]