一键导入
extract-justifications
Extract intra-paper justification structure and author it through pks source propose-justification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extract intra-paper justification structure and author it through pks source propose-justification.
用 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 | extract-justifications |
| description | Extract intra-paper justification structure and author it through pks source propose-justification. |
| argument-hint | <papers/Author_Year_Title> |
| disable-model-invocation | false |
| compatibility | Claude Code, Codex CLI, and Gemini CLI. |
Extract the intra-paper argumentative structure: which already-authored source claims serve together as premises for which conclusions. Author justifications directly through pks source propose-justification; do not create or ingest justification batch files.
A justification is a directed hyperedge: a set of premise claims that together support or attack a conclusion claim through a typed inference rule. Stances are inter-claim edges across papers; justifications are intra-paper reasoning structure.
Rule kinds:
empirical_supportcausal_explanationmethodological_inferencestatistical_inferencedefinition_applicationscope_limitationcomparison_based_inferencereported_claimsupportsexplainspaper_dir="$ARGUMENTS"
source_name=$(basename "$paper_dir")
ls "$paper_dir"/notes.md 2>/dev/null || echo "MISSING: notes.md"
ls knowledge/.git 2>/dev/null || echo "MISSING: knowledge/.git"
pks source finalize "$source_name" 2>&1 || true
notes.md missing -> STOP. Run paper-reader first.source-bootstrap, register-concepts, and extract-claims first.Read:
<paper_dir>/notes.md for the paper's stated reasoning.claim1 when referencing conclusions and premises.Do not fabricate reasoning links. If the paper states a result without connecting it to another claim, leave it isolated.
Use one command per inferential step:
pks source propose-justification "$source_name" \
--id just1 \
--conclusion claim12 \
--premises claim3,claim8 \
--rule-kind statistical_inference \
--rule-strength defeasible \
--page 14 \
--section "Results" \
--quote-fragment "Brief supporting quote"
Attack-target structure, when the paper explicitly gives rebuttal/undercut/undermine reasoning:
pks source propose-justification "$source_name" \
--id just2 \
--conclusion claim18 \
--premises claim16,claim17 \
--rule-kind comparison_based_inference \
--attack-target-claim claim12 \
--attack-target-justification-id just1 \
--attack-target-premise-index 0 \
--page 21
Rules:
--conclusion must be a local claim id already authored on this source.--premises is a comma-separated list of local claim ids from this source.pks source propose-justification resolves local claim ids and rejects unresolved references before writing.--rule-strength strict only for definitional or mathematical entailment. Use defeasible for empirical or methodological support.Justifications extracted for: papers/[dirname]
Justifications proposed: N total
Rule kinds used: [...]
Validation boundary: pks source propose-justification