Skip to content

rohitg00/pro-workflow / skills/wiki-builder

wiki-builder

Verified

Start, structure, and grow a persistent research wiki indexed in pro-workflow's SQLite knowledge base. Each wiki is a folder of markdown pages with provenance, plus a shadow FTS5 index so any session can recall it. Use when the user says "start a wiki", "add to wiki", "compile a page", "wiki on X", or wants a long-lived knowledge base on a topic, paper, product, person, project, or codebase.

templates/wiki.config.md

View on GitHub
---
slug: {{SLUG}}
title: {{TITLE}}
flavor: {{FLAVOR}}
scope: {{SCOPE}}
created_at: {{TODAY}}
private: false
auto_research:
  enabled: false
  max_pages_per_run: 5
  max_depth: 3
  budget_usd: 0.50
  fetchers: [web, arxiv, github]
---

# {{TITLE}} — Wiki Config

## Purpose

Why this wiki exists. Who reads it. What questions it answers.

## Audience

Primary: <author / future-you / team>
Secondary: <other agents that might query this wiki>

## Page types

- `concept/<slug>.md` — durable explanation of a single idea
- `paper/<key>.md` — one-paper deep dive (key = author-year-shortname)
- `question/<slug>.md` — open question, links to claims/papers that bear on it
- `note/<date>-<slug>.md` — dated raw thinking, may be promoted to concept later

Adjust per flavor.

## Style rules

- Plain markdown, no HTML.
- Headings: H1 = page title, H2 = top-level section, H3 = subsection.
- Citations inline as `[^src-id]` referencing `sources.md` row.
- Speculation marked `> SPECULATION:` blockquote.
- Each page ≤ 1500 words; split if longer.

## Update workflow

1. Land raw material in `raw/` (PDFs, scrapes, transcripts).
2. Add a row to `sources.md` (id, url, title, hash, fetched_at).
3. Compile `wiki/<type>/<slug>.md` citing those sources.
4. Cross-link from `wiki/index.md`.
5. Run `wiki-cli.js page` to update the FTS index.
6. Append a one-line entry to `logs/maintenance-log.md`.

## Auto-research

Loop is opt-in. Set `auto_research.enabled: true` once Phase 3.3.1 ships.
Budget caps are enforced; loop halts on cap or convergence.
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall