ワンクリックで
extract-stances
Extract inter-claim stances and author them through pks source propose-stance.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Extract inter-claim stances and author them through pks source propose-stance.
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-stances |
| description | Extract inter-claim stances and author them through pks source propose-stance. |
| argument-hint | <papers/Author_Year_Title> [--cluster paper1,paper2,...] or --all |
| disable-model-invocation | false |
| compatibility | Claude Code, Codex CLI, and Gemini CLI. |
Extract argumentative relationships between already-authored claims and write them directly to propstore with pks source propose-stance. Do not create or ingest stance batch files.
supports — corroborating evidence.explains — mechanistic or causal explanation.rebuts — direct conflict with the target conclusion.undermines — attacks a premise or evidence quality.undercuts — attacks the inference or methodology.supersedes — replaces the target because it is newer, larger, longer, or corrects an error.Parse $ARGUMENTS:
if [[ "$ARGUMENTS" == "--all" ]]; then
ls -d papers/*/ | grep -v "papers/pngs\|papers/tagged" | sort
else
paper_dir="$ARGUMENTS"
source_name=$(basename "$paper_dir")
fi
For --all, process each paper source one at a time. Do not run concurrent stance writes against the same source.
Read:
notes.md, especially discussion, collection cross-references, open questions, and cited-prior-work passages.notes.md where a proposed target relationship depends on cross-paper evidence.claim7; cross-source targets are referenced as OtherPaperDir:claim7.Do not stance claims in the same paper when the relation is really an intra-paper inference; use extract-justifications for that.
When extracting stances for one source, the current source is the only mutable source.
pks source finalize, pks source promote, pks source propose-*, or any other mutation command for another paper source.pks source propose-stance, skip that stance and report it as unavailable.Before writing only supports links, actively look for disagreement:
rebuts when two claims answer the same substantive question with incompatible conclusions.undermines when the source attacks another claim's evidence quality, selection criteria, endpoint, adherence, follow-up, or ascertainment.undercuts when the source attacks the inference from the target's evidence to its conclusion.supersedes when the source is a later/larger/corrective synthesis that should replace an older value or conclusion.Use one command per stance:
pks source propose-stance "$source_name" \
--source-claim claim3 \
--target OtherPaper_2024_RelatedFinding:claim11 \
--type supports \
--strength strong \
--note "Independent replication of a comparable null result."
Rules:
--source-claim is a local claim id from the current source.--target is either a local claim id or PaperDirName:claimID for another source.--type must be one of the stance types above.--note with the textual or structural reason for the stance.pks source propose-stance resolves local source claims and rejects unresolved local references before writing.Stances extracted for: papers/[dirname]
Stances proposed: N total
supports: X
rebuts: X
undercuts: X
undermines: X
explains: X
supersedes: X
Cross-paper links: N
Validation boundary: pks source propose-stance
Adversarial checks: checked N targets; authored N; skipped N with reason