wiki-research-loop

Solid

Auto-grow a pro-workflow wiki by running a budget-capped BFS research loop over pluggable source fetchers (web, arXiv, GitHub). Each iteration pops a seed from the queue, fetches sources, drafts a wiki page, dedupes claims against existing pages, enqueues follow-up seeds. Halts on budget cap, depth cap, or convergence. Use when the user says "research <topic>", "grow the <slug> wiki", "auto-research", or wants a knowledge base that builds itself overnight.

AI & Automation 2,653 stars 257 forks Updated today

Install

View on GitHub

Quality Score: 86/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
0
Description 5%
100

Skill Content

# Wiki Research Loop Driver that turns a wiki into an auto-grown knowledge base. Layers on top of `wiki-builder` and `wiki-query`. ## Loop semantics ``` seed-queue (pending) → next-seed → fetch sources via plugins (web | arxiv | github) → extract claims → dedupe vs index (FTS5; later vector via 3.3.2) → compile new page or amend existing → upsert page (auto-FTS-index) → enqueue follow-up seeds (max-depth gate) → mark seed done → if budget OR convergence OR kill-switch → halt ``` ## Halt conditions (any one trips) - `budget_usd` exceeded (loop tracks per-fetcher cost estimate) - `max_pages_per_run` written - `max_depth` reached on every active branch - 3 consecutive pages add < 5 % new claims (convergence) - File `~/.pro-workflow/STOP` exists (operator kill-switch) - `wiki.config.md` `auto_research.enabled: false` - Wiki `private: true` AND any non-local fetcher selected ## Commands ``` node $SKILL_ROOT/scripts/research-loop.js run <slug> [--max-pages N] [--max-depth N] [--budget-usd 0.50] [--fetchers web,arxiv,github] node $SKILL_ROOT/scripts/research-loop.js seed <slug> "<query>" [--depth 0] [--parent-id N] node $SKILL_ROOT/scripts/research-loop.js seeds <slug> [--status pending|active|done|failed] node $SKILL_ROOT/scripts/research-loop.js cancel <slug> node $SKILL_ROOT/scripts/research-loop.js status ``` CLI flags override `wiki.config.md` for one run only. ## Source fetchers Pluggable. Each lives at `scripts/source-fetchers/<name>.js`. Interface: ...

Details

Author
rohitg00
Repository
rohitg00/pro-workflow
Created
5 months ago
Last Updated
today
Language
JavaScript
License
None

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category