ワンクリックで
source-bootstrap
Initialize a propstore source branch for an extracted paper directory and write notes plus metadata into that source branch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Initialize a propstore source branch for an extracted paper directory and write notes plus metadata into that source branch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Credentialed-source backend for retrieving books from Bookshare (bookshare.org) into the papers/ collection. Given a book title or ISBN and a target directory name, it searches Bookshare and downloads the EPUB via the published `bookshare` CLI. Download-only (produces book.epub). Enable only if you have a Bookshare account; requires credentials in a gitignored .secrets/bookshare.json.
Paywalled-access backend for paper-retriever. Retrieves a paywalled paper's PDF through an institutional / library subscription (a library proxy such as EZproxy or OpenAthens, or an institutional login), given an identifier (DOI/URL) and the target paper directory name. Invoked by paper-retriever when open-access channels fail. Enable this skill only if the install has institutional access configured.
Paywalled-access backend for paper-retriever. Retrieves a paywalled paper's PDF via sci-hub browser automation, given an identifier (DOI/URL) and the target paper directory name. Invoked by paper-retriever when open-access channels fail; enabled by default. Disable this skill to remove sci-hub from the retrieval waterfall.
Retrieve a scientific paper PDF given an arxiv URL, DOI, or paper title. Downloads to papers/ directory. Handles open-access retrieval (arxiv direct, Chrome print-to-pdf for publisher-direct HTML, Unpaywall, title-based open-repository search); for paywalled papers it hands off to whichever paper-retriever-* access skill is enabled (sci-hub by default, or institutional).
Read scientific papers and extract implementation-focused notes. Converts PDFs to page images, then reads them. Papers <=300pp are read directly by the assigned worker; papers >300pp use a chapter-aligned chunk protocol (preferred) or 50-page chunks (fallback) and synthesize a master notes.md that links to per-chapter files. Creates structured notes in papers/ directory.
Cross-reference a paper against the collection. Finds which cited papers are already collected, which are new leads, which collection papers cite this one, and reconciles all cross-references bidirectionally. Run on a single paper directory or use --all for the entire collection.
| name | source-bootstrap |
| description | Initialize a propstore source branch for an extracted paper directory and write notes plus metadata into that source branch. |
| argument-hint | <papers/Author_Year_Title> |
| disable-model-invocation | false |
| compatibility | Claude Code, Codex CLI, and Gemini CLI. |
Initialize the propstore source branch for one extracted paper directory.
paper_dir="$ARGUMENTS"
ls "$paper_dir"/paper.pdf 2>/dev/null || echo "MISSING: paper.pdf"
ls "$paper_dir"/notes.md 2>/dev/null || echo "MISSING: notes.md"
ls "$paper_dir"/metadata.json 2>/dev/null || echo "MISSING: metadata.json"
ls knowledge/.git 2>/dev/null || echo "MISSING: knowledge/.git"
If paper.pdf, notes.md, or metadata.json is missing, stop and report the missing artifact.
If knowledge/.git is missing, stop and report: No propstore found. Run pks init first.
source_name=$(basename "$paper_dir")
Read metadata.json and pick the strongest available origin in this order:
--origin-type doi, value is the bare DOI (e.g. 10.1145/1142351.1142399)--origin-type file, value is the path--origin-type manual, value is the canonical URL or identifierThe CLI's SourceOriginType enum accepts only doi | file | manual. arXiv IDs and bare URLs route through manual.
pks source init "$source_name" \
--kind academic_paper \
--origin-type <doi|file|manual> \
--origin-value "<value>" \
--content-file "$paper_dir/paper.pdf"
pks source write-notes "$source_name" --file "$paper_dir/notes.md"
pks source write-metadata "$source_name" --file "$paper_dir/metadata.json"
Report the source name and whether pks source init, pks source write-notes, and pks source write-metadata succeeded.