[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HQH0BM6EXG9EN0NSQ81XDG":3,"skill-same:01M6HQH0BM6EXG9EN0NSQ81XDG":79},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":55,"ownerHtmlUrl":56,"ownerBlogUrl":57,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6HQH0BM6EXG9EN0NSQ81XDG","faq-mine",null,"Mine docs\u002Ffaq.md from README.md, docs\u002F*.md, and the pi-hermes memory stores. Dispatches @fast subagents per source, dedupes against the existing FAQ, and merges entries in caveman style. Use when asked to \"build \u002F regenerate \u002F extend the FAQ\", \"mine docs into FAQ\", \"mine hermes memory into FAQ\", \"surface runtime problems in the FAQ\", or \"create FAQ from README + docs\".","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\u002Fauthoring-toolkit\u002F.pi\u002Fskills\u002Ffaq-mine\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"faq mine","mine","faq","when","memory","extend","Existing","source","hermes memory","style","runtime","entries","build","general","use","subagents","pi","write","read","README","access","create","2026-11-10 10:12:30",false,"---\nname: faq-mine\ndescription: 'Mine docs\u002Ffaq.md from README.md, docs\u002F*.md, and the pi-hermes memory stores. Dispatches @fast subagents per source, dedupes against the existing FAQ, and merges entries in caveman style. Use when asked to \"build \u002F regenerate \u002F extend the FAQ\", \"mine docs into FAQ\", \"mine hermes memory into FAQ\", \"surface runtime problems in the FAQ\", or \"create FAQ from README + docs\".'\nlicense: MIT\ncompatibility: Requires @fast subagents (general-purpose) + write access to docs\u002F + read access to ~\u002F.pi\u002Fagent hermes stores.\nmetadata:\n  author: robson\n  version: \"2.0\"\n---\n\nOrchestrate FAQ extraction from project knowledge docs AND pi-hermes memory\nstores into `docs\u002Ffaq.md`.\n\nTwo source classes:\n- **Docs** — README.md + evergreen `docs\u002F*.md`. How-to \u002F what-is questions.\n- **Hermes memory** — accumulated runtime problems (tool-quirks, failures,\n  insights, corrections) that never reach the docs. These carry the \"why does X\n  fail \u002F how do I fix Y\" answers a future agent keeps re-discovering.\n\n**Inputs**:\n- Optional `--docs \u003Ca.md>,\u003Cb.md>` — explicit doc list. Default = README.md + every evergreen `docs\u002F*.md`. `--docs skip` = memory-only run (disables doc mining; the ship-change harvest path).\n- Optional `--memory \u003Coff|project|failures|all>` — hermes stores to mine. Default `failures` = project store + global `failures.md` (relevance-filtered). `off` = docs only. `all` = also global `MEMORY.md`.\n- Optional `--max \u003CN>` — entry cap per source (default ~10).\n\nNon-interactive: passing BOTH `--docs` (incl. `--docs skip`) and `--memory` skips the Phase 1 prompt — the headless invocation `faq-mine --docs skip --memory failures` runs memory-only with no `ask_user`.\n\n---\n\n## Phase 0 — Pre-flight\n\n1. Read `docs\u002Ffaq.md` if it exists. Extract every `## \u003CQuestion>` heading into a dedupe list.\n   - If file missing, create with header:\n     ```\n     # FAQ\n\n     FAQ. How-to answers that already live in README.md + docs\u002F. New entries here when same question recurs.\n     ```\n2. Enumerate candidate source docs (SKIP this whole step when `--docs skip` — memory-only run):\n   ```bash\n   ls README.md docs\u002F*.md 2>\u002Fdev\u002Fnull\n   ```\n   Exclude:\n   - `docs\u002Ffaq.md` itself\n   - `docs\u002Ffaq.agent.md` (condensed index derived FROM faq.md — refreshed in Phase 4, never mined)\n   - `docs\u002FAGENTS.md` and any `AGENTS.md` (index, not narrative)\n   - `docs\u002Fsession-knowledge-*.md` (point-in-time notes)\n   - `docs\u002Fspec-gap-analysis.md` and any `*-resolved.md` (transient analyses)\n   - Anything matching `docs\u002F.faq-draft-*.md` (in-flight draft)\n3. For each remaining doc, capture `wc -l` to surface size.\n4. Enumerate hermes memory stores (unless `--memory off`):\n   ```bash\n   PROJ=$(basename \"$(git rev-parse --show-toplevel)\")\n   ls -l \"$HOME\u002F.pi\u002Fagent\u002Fprojects-memory\u002F$PROJ\u002FMEMORY.md\" \\\n         \"$HOME\u002F.pi\u002Fagent\u002Fpi-hermes-memory\u002Ffailures.md\" \\\n         \"$HOME\u002F.pi\u002Fagent\u002Fpi-hermes-memory\u002FMEMORY.md\" 2>\u002Fdev\u002Fnull\n   ```\n   - Project store `projects-memory\u002F$PROJ\u002FMEMORY.md` — all entries repo-scoped, **no filter**. If `$PROJ` dir absent (e.g. worktree name differs), `ls ~\u002F.pi\u002Fagent\u002Fprojects-memory\u002F` and pick the matching dir; skip if none.\n   - Global `pi-hermes-memory\u002Ffailures.md` — **mixed across projects**, needs a repo-relevance filter (subagent applies it).\n   - Global `pi-hermes-memory\u002FMEMORY.md` — mixed, only when `--memory all`.\n   - Any store path that does not exist: skip silently (fresh machine).\n\n## Phase 1 — Confirm scope\n\nUse `ask_user` (`multiselect`) to let the user pick which sources to mine — list the docs AND the resolved hermes stores as options. Pre-select the evergreen docs + the project store + `failures.md`. Skip the prompt only when the user already passed both `--docs` and `--memory`.\n\n## Phase 2 — Parallel extraction (@fast subagents)\n\nDispatch ONE `general-purpose` subagent with `model: @fast`, `run_in_background: true` per selected source (docs AND stores). All agents run in parallel — each writes to its OWN draft file to avoid write conflicts:\n- Docs → `docs\u002F.faq-draft-\u003Cbasename>.md`\n- Stores → `docs\u002F.faq-draft-mem-\u003Clabel>.md` (`label` = `project` | `failures` | `memory`)\n\n### Phase 2A — Doc mining\n\n**Subagent prompt template** (substitute `\u003CDOC>` with the source doc path):\n\n> Mine FAQ-worthy entries from `\u003CDOC>` and write them to a NEW file `docs\u002F.faq-draft-\u003Cbasename>.md`. Do NOT touch any other file.\n>\n> STEP 1 — read existing `docs\u002Ffaq.md`. Extract every `## \u003CQuestion>` heading. DEDUPE: skip questions already covered (or trivially equivalent).\n>\n> STEP 2 — read `\u003CDOC>` fully. Identify recurring how-to \u002F what-is questions a user or future agent would actually ask. Aim for 4–10 entries. Quality > quantity. Skip implementation trivia.\n>\n> STEP 3 — write the draft using the EXACT format of existing faq.md entries:\n>\n> ```\n> ## \u003CQuestion>?\n>\n> \u003Cone-line terse answer>\n>\n> Command: `\u003Ccmd>` (when applicable; omit for what-is questions).\n>\n> \u003Coptional bullets \u002F sub-sections with concrete tokens>\n>\n> Cross-refs:\n> - \u003CDOC>:\u003Cline>\n> - \u003Cother source file:line>\n> ```\n>\n> CAVEMAN STYLE (verbatim, all docs\u002F prose obeys):\n> - Short declarative fragments. Drop articles (a\u002Fan\u002Fthe) and most copulas (is\u002Fare\u002Fwas) when meaning survives.\n> - Subject → verb → object, present tense. No hedging, no marketing voice, no \"we\", no \"you\".\n> - One fact per line\u002Frow. No restating context the file already establishes.\n> - Prefer concrete tokens (paths, function names, env vars, ports, exit codes) over prose.\n> - Keep symbols\u002Fidentifiers verbatim; only connective tissue compresses.\n>\n> Verify every command + path against the source doc. No invented flags, no speculation. Confirm completion in your final reply with the entry count.\n\n### Phase 2B — Hermes memory mining\n\nRuntime problems live in the hermes stores as `§`-separated terse entries, each stamped `\u003C!-- created=…, last=… -->`. Convert each FAQ-worthy problem into a symptom-first Q&A entry. One subagent per store.\n\n**Subagent prompt template** (substitute `\u003CSTORE>` = absolute store path, `\u003CLABEL>` = `project`|`failures`|`memory`, `\u003CFILTER>` = the relevance rule below):\n\n> Mine FAQ-worthy runtime problems from the pi-hermes memory store `\u003CSTORE>` and write them to a NEW file `docs\u002F.faq-draft-mem-\u003CLABEL>.md`. Do NOT touch any other file.\n>\n> STEP 1 — read existing `docs\u002Ffaq.md`. Extract every `## \u003CQuestion>` heading. DEDUPE: skip any problem already covered (or trivially equivalent — e.g. RPC-keeper, ctx-stats, session-stuck entries already exist).\n>\n> STEP 2 — read `\u003CSTORE>` fully. Entries are separated by lines containing only `§`. Each entry may be prefixed `[failure]`\u002F`[correction]`\u002F`[insight]`\u002F`[convention]`\u002F`[tool-quirk]` and ends with an HTML `\u003C!-- created=… -->` comment. IGNORE the comment metadata.\n>\n> \u003CFILTER>\n>\n> STEP 3 — for each KEPT entry, write a symptom-first FAQ entry in the EXACT faq.md format:\n>\n> ```\n> ## Why does \u003Csymptom>? (or: How do I fix \u003Csymptom>?)\n>\n> \u003Cone-line root cause — terse>\n>\n> Fix: `\u003Ccmd>` (or the concrete file\u002Fedit; omit when not a command).\n>\n> \u003Coptional bullets: concrete tokens — paths, env vars, flags, exit codes>\n>\n> Cross-refs:\n> - \u003CSTORE>\n> - \u003Cevery file path \u002F package named inside the entry>\n> ```\n>\n> - Question = the OBSERVABLE symptom a user\u002Fagent would search (the error string, the wrong behaviour), NOT the internal cause. A reader who hits the problem must recognise their symptom in the heading.\n> - Keep the wrong-way → right-way fix intact; that is the whole value of the entry.\n> - Merge near-duplicate store entries (same problem, consolidated across dates) into ONE FAQ entry.\n>\n> CAVEMAN STYLE (verbatim, all docs\u002F prose obeys):\n> - Short declarative fragments. Drop articles (a\u002Fan\u002Fthe) and most copulas (is\u002Fare\u002Fwas) when meaning survives.\n> - Subject → verb → object, present tense. No hedging, no marketing voice, no \"we\", no \"you\".\n> - One fact per line. No restating context the file already establishes.\n> - Prefer concrete tokens (paths, function names, env vars, ports, exit codes) over prose.\n> - Keep symbols\u002Fidentifiers verbatim; only connective tissue compresses.\n>\n> Verify every command + path against the source entry. No invented flags, no speculation — if an entry lacks a concrete fix, skip it. Confirm completion in your final reply with the kept\u002Fskipped counts.\n\n**`\u003CFILTER>` value by store:**\n- Project store (`\u003CLABEL>=project`): `STEP 2b — no filter. Every entry is scoped to this repo; consider all of them.`\n- Global `failures.md` \u002F `MEMORY.md` (`\u003CLABEL>=failures`|`memory`): `STEP 2b — RELEVANCE FILTER. This store mixes many projects. KEEP only entries about THIS project specifically, its paths (packages\u002F, docs\u002F, openspec\u002F, src\u002F), or a dev-in-this-repo tooling quirk (test runner, linter, build tool, git worktree, etc.). DROP everything else (unrelated product decks, OAuth-license research, Drive\u002Frclone uploads, other repos). When unsure, DROP.`\n\nWait for all agents (2A + 2B) to finish.\n\n## Phase 3 — Cross-draft dedupe\n\n1. Run:\n   ```bash\n   grep -n '^## ' docs\u002F.faq-draft-*.md\n   ```\n2. Cluster near-duplicate questions across drafts (same topic, different phrasing). Keep the entry with more concrete tokens \u002F detail; remove the weaker one with a targeted `Edit`.\n   - **Cross-store dup**: the same runtime problem can appear in BOTH the project store and `failures.md`. Keep the one carrying the concrete fix; drop the other.\n   - **Doc-vs-memory dup**: when a memory draft restates a problem a doc draft already covers, keep whichever has the actionable fix + cross-refs.\n3. Detect false-positive headings inside fenced code blocks and ignore (e.g. `## [Unreleased]` example inside ```` ```markdown ```` blocks is content, not a heading).\n\n## Phase 4 — Merge & cleanup\n\n```bash\ncat docs\u002F.faq-draft-*.md >> docs\u002Ffaq.md && rm docs\u002F.faq-draft-*.md\ngrep -c '^## ' docs\u002Ffaq.md\nwc -l docs\u002Ffaq.md\n```\n\nThen refresh the condensed index `docs\u002Ffaq.agent.md` so new entries appear in the pull-only map. Delegate to ONE `general-purpose` subagent (docs\u002F write → subagent per Rule 6):\n\n> Append condensed one-liners for these NEW faq.md entries to `docs\u002Ffaq.agent.md`. For each, add a line `- \u003Cshort question stem> — \u003Ckey answer \u002F fix in ≤12 words>` under a `## Runtime problems & quirks` section (create the section if absent, at the end). Keep the existing sections untouched. Caveman style. New questions + answers: \u003Cpaste the merged headings + one-line answers>.\n\nReport to user:\n- Total entries before \u002F after (faq.md).\n- Entries added per source (table: doc\u002Fstore → count).\n- For memory stores: kept vs skipped-by-relevance-filter counts.\n- Any duplicates dropped during Phase 3 (cross-store + doc-vs-memory).\n- faq.agent.md lines appended.\n- One-line note on false-positive `## ` headings inside code fences (if any).\n\n---\n\n## Rules — Documentation Update Protocol compliance\n\nThis skill writes under `docs\u002F` (faq.md + faq.agent.md). Per AGENTS.md:\n- All `docs\u002F` writes go through subagents (general-purpose). Main orchestrator only `cat`\u002F`rm`\u002F`Edit`s for merge + targeted dedupe.\n- Caveman style is mandatory and passed verbatim to every subagent prompt.\n- Every command\u002Fpath\u002Fflag in a generated entry must be verified against the source doc \u002F store entry; no speculation.\n- Hermes stores are READ-ONLY inputs — never edit `~\u002F.pi\u002Fagent\u002F**`. Extraction copies knowledge into faq.md; it does not move or prune the memory.\n- Do NOT rename or delete existing faq.md `## ` headings — `packages\u002Fshared\u002Fsrc\u002Ftool-registry\u002F__tests__\u002Finstall-hints.test.ts` asserts each tool `docsAnchor` maps to a heading. Append only.\n\n## Anti-patterns (do not)\n\n- Do NOT have multiple subagents write to the same file in parallel — race condition.\n- Do NOT mine `AGENTS.md` (incl. `docs\u002FAGENTS.md`) or `docs\u002Ffaq.agent.md` — indexes, not narrative knowledge.\n- Do NOT mine `session-knowledge-*.md` or `spec-gap-analysis.md` — point-in-time notes; entries would rot fast.\n- Do NOT skip the global-store relevance filter — `failures.md`\u002F`MEMORY.md` mix projects; unfiltered mining leaks other repos' quirks into this FAQ.\n- Do NOT phrase a runtime-problem heading by its internal cause — use the observable symptom (error string \u002F wrong behaviour) so a reader recognises it.\n- Do NOT skip Phase 0 dedupe — re-running the skill must not double-add the same questions.\n- Do NOT drop the per-entry `Cross-refs:` block — agents lose the source trail otherwise (memory entries cross-ref the store path).\n","Orchestrate FAQ extraction from project knowledge docs AND pi-hermes memory\nstores into `docs\u002Ffaq.md`.\n\nTwo source classes:\n- **Docs** — README.md + evergreen `docs\u002F*.md`. How-to \u002F what-is questions.\n- **Hermes memory** — accumulated runtime problems (tool-quirks, failures,\n  insights, corrections) that never reach the docs. These carry the \"why does X\n  fail \u002F how do I fix Y\" answers a future agent keeps re-discovering.\n\n**Inputs**:\n- Optional `--docs \u003Ca.md>,\u003Cb.md>` — explicit doc list. Default = README.md + every evergreen `docs\u002F*.md`. `--docs skip` = memory-only run (disables doc mining; the ship-change harvest path).\n- Optional `--memory \u003Coff|project|failures|all>` — hermes stores to mine. Default `failures` = project store + global `failures.md` (relevance-filtered). `off` = docs only. `all` = also global `MEMORY.md`.\n- Optional `--max \u003CN>` — entry cap per source (default ~10).\n\nNon-interactive: passing BOTH `--docs` (incl. `--docs skip`) and `--memory` skips the Phase 1 prompt — the headless invocation `faq-mine --docs skip --memory failures` runs memory-only with no `ask_user`.\n\n---\n\n## Phase 0 — Pre-flight\n\n1. Read `docs\u002Ffaq.md` if it exists. Extract every `## \u003CQuestion>` heading into a dedupe list.\n   - If file missing, create with header:\n     ```\n     # FAQ\n\n     FAQ. How-to answers that already live in README.md + docs\u002F. New entries here when same question recurs.\n     ```\n2. Enumerate candidate source docs (SKIP this whole step when `--docs skip` — memory-only run):\n   ```bash\n   ls README.md docs\u002F*.md 2>\u002Fdev\u002Fnull\n   ```\n   Exclude:\n   - `docs\u002Ffaq.md` itself\n   - `docs\u002Ffaq.agent.md` (condensed index derived FROM faq.md — refreshed in Phase 4, never mined)\n   - `docs\u002FAGENTS.md` and any `AGENTS.md` (index, not narrative)\n   - `docs\u002Fsession-knowledge-*.md` (point-in-time notes)\n   - `docs\u002Fspec-gap-analysis.md` and any `*-resolved.md` (transient analyses)\n   - Anything matching `docs\u002F.faq-draft-*.md` (in-flight draft)\n3. For each remaining doc, capture `wc -l` to surface size.\n4. Enumerate hermes memory stores (unless `--memory off`):\n   ```bash\n   PROJ=$(basename \"$(git rev-parse --show-toplevel)\")\n   ls -l \"$HOME\u002F.pi\u002Fagent\u002Fprojects-memory\u002F$PROJ\u002FMEMORY.md\" \\\n         \"$HOME\u002F.pi\u002Fagent\u002Fpi-hermes-memory\u002Ffailures.md\" \\\n         \"$HOME\u002F.pi\u002Fagent\u002Fpi-hermes-memory\u002FMEMORY.md\" 2>\u002Fdev\u002Fnull\n   ```\n   - Project store `projects-memory\u002F$PROJ\u002FMEMORY.md` — all entries repo-scoped, **no filter**. If `$PROJ` dir absent (e.g. worktree name differs), `ls ~\u002F.pi\u002Fagent\u002Fprojects-memory\u002F` and pick the matching dir; skip if none.\n   - Global `pi-hermes-memory\u002Ffailures.md` — **mixed across projects**, needs a repo-relevance filter (subagent applies it).\n   - Global `pi-hermes-memory\u002FMEMORY.md` — mixed, only when `--memory all`.\n   - Any store path that does not exist: skip silently (fresh machine).\n\n## Phase 1 — Confirm scope\n\nUse `ask_user` (`multiselect`) to let the user pick which sources to mine — list the docs AND the resolved hermes stores as options. Pre-select the evergreen docs + the project store + `failures.md`. Skip the prompt only when the user already passed both `--docs` and `--memory`.\n\n## Phase 2 — Parallel extraction (@fast subagents)\n\nDispatch ONE `general-purpose` subagent with `model: @fast`, `run_in_background: true` per selected source (docs AND stores). All agents run in parallel — each writes to its OWN draft file to avoid write conflicts:\n- Docs → `docs\u002F.faq-draft-\u003Cbasename>.md`\n- Stores → `docs\u002F.faq-draft-mem-\u003Clabel>.md` (`label` = `project` | `failures` | `memory`)\n\n### Phase 2A — Doc mining\n\n**Subagent prompt template** (substitute `\u003CDOC>` with the source doc path):\n\n> Mine FAQ-worthy entries from `\u003CDOC>` and write them to a NEW file `docs\u002F.faq-draft-\u003Cbasename>.md`. Do NOT touch any other file.\n>\n> STEP 1 — read existing `docs\u002Ffaq.md`. Extract every `## \u003CQuestion>` heading. DEDUPE: skip questions already covered (or trivially equivalent).\n>\n> STEP 2 — read `\u003CDOC>` fully. Identify recurring how-to \u002F what-is questions a user or future agent would actually ask. Aim for 4–10 entries. Quality > quantity. Skip implementation trivia.\n>\n> STEP 3 — write the draft using the EXACT format of existing faq.md entries:\n>\n> ```\n> ## \u003CQuestion>?\n>\n> \u003Cone-line terse answer>\n>\n> Command: `\u003Ccmd>` (when applicable; omit for what-is questions).\n>\n> \u003Coptional bullets \u002F sub-sections with concrete tokens>\n>\n> Cross-refs:\n> - \u003CDOC>:\u003Cline>\n> - \u003Cother source file:line>\n> ```\n>\n> CAVEMAN STYLE (verbatim, all docs\u002F prose obeys):\n> - Short declarative fragments. Drop articles (a\u002Fan\u002Fthe) and most copulas (is\u002Fare\u002Fwas) when meaning survives.\n> - Subject → verb → object, present tense. No hedging, no marketing voice, no \"we\", no \"you\".\n> - One fact per line\u002Frow. No restating context the file already establishes.\n> - Prefer concrete tokens (paths, function names, env vars, ports, exit codes) over prose.\n> - Keep symbols\u002Fidentifiers verbatim; only connective tissue compresses.\n>\n> Verify every command + path against the source doc. No invented flags, no speculation. Confirm completion in your final reply with the entry count.\n\n### Phase 2B — Hermes memory mining\n\nRuntime problems live in the hermes stores as `§`-separated terse entries, each stamped `\u003C!-- created=…, last=… -->`. Convert each FAQ-worthy problem into a symptom-first Q&A entry. One subagent per store.\n\n**Subagent prompt template** (substitute `\u003CSTORE>` = absolute store path, `\u003CLABEL>` = `project`|`failures`|`memory`, `\u003CFILTER>` = the relevance rule below):\n\n> Mine FAQ-worthy runtime problems from the pi-hermes memory store `\u003CSTORE>` and write them to a NEW file `docs\u002F.faq-draft-mem-\u003CLABEL>.md`. Do NOT touch any other file.\n>\n> STEP 1 — read existing `docs\u002Ffaq.md`. Extract every `## \u003CQuestion>` heading. DEDUPE: skip any problem already covered (or trivially equivalent — e.g. RPC-keeper, ctx-stats, session-stuck entries already exist).\n>\n> STEP 2 — read `\u003CSTORE>` fully. Entries are separated by lines containing only `§`. Each entry may be prefixed `[failure]`\u002F`[correction]`\u002F`[insight]`\u002F`[convention]`\u002F`[tool-quirk]` and ends with an HTML `\u003C!-- created=… -->` comment. IGNORE the comment metadata.\n>\n> \u003CFILTER>\n>\n> STEP 3 — for each KEPT entry, write a symptom-first FAQ entry in the EXACT faq.md format:\n>\n> ```\n> ## Why does \u003Csymptom>? (or: How do I fix \u003Csymptom>?)\n>\n> \u003Cone-line root cause — terse>\n>\n> Fix: `\u003Ccmd>` (or the concrete file\u002Fedit; omit when not a command).\n>\n> \u003Coptional bullets: concrete tokens — paths, env vars, flags, exit codes>\n>\n> Cross-refs:\n> - \u003CSTORE>\n> - \u003Cevery file path \u002F package named inside the entry>\n> ```\n>\n> - Question = the OBSERVABLE symptom a user\u002Fagent would search (the error string, the wrong behaviour), NOT the internal cause. A reader who hits the problem must recognise their symptom in the heading.\n> - Keep the wrong-way → right-way fix intact; that is the whole value of the entry.\n> - Merge near-duplicate store entries (same problem, consolidated across dates) into ONE FAQ entry.\n>\n> CAVEMAN STYLE (verbatim, all docs\u002F prose obeys):\n> - Short declarative fragments. Drop articles (a\u002Fan\u002Fthe) and most copulas (is\u002Fare\u002Fwas) when meaning survives.\n> - Subject → verb → object, present tense. No hedging, no marketing voice, no \"we\", no \"you\".\n> - One fact per line. No restating context the file already establishes.\n> - Prefer concrete tokens (paths, function names, env vars, ports, exit codes) over prose.\n> - Keep symbols\u002Fidentifiers verbatim; only connective tissue compresses.\n>\n> Verify every command + path against the source entry. No invented flags, no speculation — if an entry lacks a concrete fix, skip it. Confirm completion in your final reply with the kept\u002Fskipped counts.\n\n**`\u003CFILTER>` value by store:**\n- Project store (`\u003CLABEL>=project`): `STEP 2b — no filter. Every entry is scoped to this repo; consider all of them.`\n- Global `failures.md` \u002F `MEMORY.md` (`\u003CLABEL>=failures`|`memory`): `STEP 2b — RELEVANCE FILTER. This store mixes many projects. KEEP only entries about THIS project specifically, its paths (packages\u002F, docs\u002F, openspec\u002F, src\u002F), or a dev-in-this-repo tooling quirk (test runner, linter, build tool, git worktree, etc.). DROP everything else (unrelated product decks, OAuth-license research, Drive\u002Frclone uploads, other repos). When unsure, DROP.`\n\nWait for all agents (2A + 2B) to finish.\n\n## Phase 3 — Cross-draft dedupe\n\n1. Run:\n   ```bash\n   grep -n '^## ' docs\u002F.faq-draft-*.md\n   ```\n2. Cluster near-duplicate questions across drafts (same topic, different phrasing). Keep the entry with more concrete tokens \u002F detail; remove the weaker one with a targeted `Edit`.\n   - **Cross-store dup**: the same runtime problem can appear in BOTH the project store and `failures.md`. Keep the one carrying the concrete fix; drop the other.\n   - **Doc-vs-memory dup**: when a memory draft restates a problem a doc draft already covers, keep whichever has the actionable fix + cross-refs.\n3. Detect false-positive headings inside fenced code blocks and ignore (e.g. `## [Unreleased]` example inside ```` ```markdown ```` blocks is content, not a heading).\n\n## Phase 4 — Merge & cleanup\n\n```bash\ncat docs\u002F.faq-draft-*.md >> docs\u002Ffaq.md && rm docs\u002F.faq-draft-*.md\ngrep -c '^## ' docs\u002Ffaq.md\nwc -l docs\u002Ffaq.md\n```\n\nThen refresh the condensed index `docs\u002Ffaq.agent.md` so new entries appear in the pull-only map. Delegate to ONE `general-purpose` subagent (docs\u002F write → subagent per Rule 6):\n\n> Append condensed one-liners for these NEW faq.md entries to `docs\u002Ffaq.agent.md`. For each, add a line `- \u003Cshort question stem> — \u003Ckey answer \u002F fix in ≤12 words>` under a `## Runtime problems & quirks` section (create the section if absent, at the end). Keep the existing sections untouched. Caveman style. New questions + answers: \u003Cpaste the merged headings + one-line answers>.\n\nReport to user:\n- Total entries before \u002F after (faq.md).\n- Entries added per source (table: doc\u002Fstore → count).\n- For memory stores: kept vs skipped-by-relevance-filter counts.\n- Any duplicates dropped during Phase 3 (cross-store + doc-vs-memory).\n- faq.agent.md lines appended.\n- One-line note on false-positive `## ` headings inside code fences (if any).\n\n---\n\n## Rules — Documentation Update Protocol compliance\n\nThis skill writes under `docs\u002F` (faq.md + faq.agent.md). Per AGENTS.md:\n- All `docs\u002F` writes go through subagents (general-purpose). Main orchestrator only `cat`\u002F`rm`\u002F`Edit`s for merge + targeted dedupe.\n- Caveman style is mandatory and passed verbatim to every subagent prompt.\n- Every command\u002Fpath\u002Fflag in a generated entry must be verified against the source doc \u002F store entry; no speculation.\n- Hermes stores are READ-ONLY inputs — never edit `~\u002F.pi\u002Fagent\u002F**`. Extraction copies knowledge into faq.md; it does not move or prune the memory.\n- Do NOT rename or delete existing faq.md `## ` headings — `packages\u002Fshared\u002Fsrc\u002Ftool-registry\u002F__tests__\u002Finstall-hints.test.ts` asserts each tool `docsAnchor` maps to a heading. Append only.\n\n## Anti-patterns (do not)\n\n- Do NOT have multiple subagents write to the same file in parallel — race condition.\n- Do NOT mine `AGENTS.md` (incl. `docs\u002FAGENTS.md`) or `docs\u002Ffaq.agent.md` — indexes, not narrative knowledge.\n- Do NOT mine `session-knowledge-*.md` or `spec-gap-analysis.md` — point-in-time notes; entries would rot fast.\n- Do NOT skip the global-store relevance filter — `failures.md`\u002F`MEMORY.md` mix projects; unfiltered mining leaks other repos' quirks into this FAQ.\n- Do NOT phrase a runtime-problem heading by its internal cause — use the observable symptom (error string \u002F wrong behaviour) so a reader recognises it.\n- Do NOT skip Phase 0 dedupe — re-running the skill must not double-add the same questions.\n- Do NOT drop the per-entry `Cross-refs:` block — agents lose the source trail otherwise (memory entries cross-ref the store path).\n",{"name":5,"license":15,"metadata":46,"description":7,"compatibility":49},{"author":47,"version":48},"robson","2.0","Requires @fast subagents (general-purpose) + write access to docs\u002F + read access to ~\u002F.pi\u002Fagent hermes stores.","develop","fb9a5af356f540de4839ef851ebbe14bcce64c0f","packages\u002Fauthoring-toolkit\u002F.pi\u002Fskills\u002Ffaq-mine",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":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill faq-mine",{"tool":65,"command":66},"bunx","bunx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill faq-mine",{"tool":68,"command":69},"pnpm","pnpm dlx skills add BlackBeltTechnology\u002Fpi-agent-dashboard --skill faq-mine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fauthoring-toolkit\u002F.pi\u002Fskills\u002Ffaq-mine\u002FSKILL.md",true,[73],{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"SKILL.md.AGENTS.md","REFERENCE","参考文档",1341,"https:\u002F\u002Fgithub.com\u002FBlackBeltTechnology\u002Fpi-agent-dashboard\u002Fblob\u002Fdevelop\u002Fpackages\u002Fauthoring-toolkit\u002F.pi\u002Fskills\u002Ffaq-mine\u002FSKILL.md.AGENTS.md",[80,106,132,154,175,197],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":41},"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",[],[87,88,89,90,91,92,93,94,95,96,97,33,98,99,100,20,101,102,103,104,105],"youtube","srt","youtube srt","update","search","subtitles","dlp","Video","Media","open","catalog","update docs","yt-dlp","local","via","ai models","last","for","media download",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":41},"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",[],[94,113,114,115,92,116,117,118,119,120,121,33,122,123,124,125,126,127,128,88,129,130,131,22],"transcription","video transcription","transcribe","api","Audio","convert","mp4","text","meetings","files","default","mp3","triggers","with","videos","assemblyai","my","srt subtitles","request",{"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":41},"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",[],[139,140,141,142,116,143,35,144,145,146,147,100,125,148,149,150,151,88,152,153],"id","speaker id","cli","transcript","voice","only","three","drift","repair","name","CPU","meeting","anonymous","split","person",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":41},"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",[],[161,162,163,164,165,166,167,94,168,169,170,171,126,172,173,174],"Production","veo","kit","veo showreel production kit","package","Reproducible","timeline","prompt","voiceover","storyboard","anchor","consistency","veo 3","2026",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":41},"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",[],[162,182,183,184,185,165,116,94,119,168,33,186,144,187,188,189,190,191,171,192,193,194,195,126,196,104,173],"generator","veo generator","google","generate","clip","sketch","camera","world","seed","project","cut","scripts","make","render","google veo",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":41},"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",[],[204,205,206,94,207,208,209,33,210,211,212,144,31,213,214,215,216,195,126,217],"hyperframes","hyperframes showreel","qa","Composition","edit","generated","assemble","export","sampling","delivery","as","fx","screen","script"]