review, and validation.
- `save-url-kb/` – auditable public and signed-in web capture.
- `save-pdf-kb/` – auditable PDF conversion with OCR and image evidence.
# Guidelines
- Keep each reusable skill self
consciousness notes.
- `save-url-kb/` – auditable public and signed-in web capture.
- `save-pdf-kb/` – auditable PDF conversion with OCR and image evidence.
- `direct-setup/` – deterministic Direct composition design
Before handoff, run the useful gate for the change:
~~~sh
rg -n "pdftotext|/Users/|\.pdf|source PDFs|original filenames" skills
git diff --check
~~~
If a local skill validator exists
size); the single source of truth both merge_and_build.py and calibre_html_publish.py read
- `scripts/chromium_pdf.py`: Headless-Chromium PDF renderer and PyMuPDF page-number stamping
- `scripts/calibre_html_publish.py`: Calibre format conversion wrapper (EPUB, and DOCX fallback
pyyaml`** (`pip install pyyaml`) — required.
- **A TeX distribution with `pdflatex`** — required only for the PDF. Without it,
run `python sync.py --no-compile` and **tell the user the PDF wasn
they never reach the AI (the model sees only the
file name — one embedded PDF as base64 would exceed the whole context window), the CSV export
carries the file name
debt)*.
- `config.py` — config loading/validation (LiteLLM passthrough, env).
- `converter.py` — document → markdown conversion (markitdown); a raw PDF
at/above `pageindex_threshold` pages is rejected, not auto-indexed —
okforge has no long-document chunking
entry to `## Dedicated Tools` below and reference it by name on future calls.
### PDF Files
Use `pdftotext`, not the `Read` tool. Use `Read` only when the user directly asks
count, cursor, view mode, zoom)
- i18n (en / zh-CN), dark mode, 50–200% zoom, PDF export
- Export opened folder as a deployable static site (built-in generator, no external deps
agent is the extraction engine. The workflow should not require external LLM APIs.
Keep PDF conversion, extraction, retrieval, synthesis, and future automation as separate Skills rather than folding every responsibility