setting-up-papergraph
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "setting-up-papergraph":https://skillpi.com/zh/skills/deepskill-3558fb986950dee7b4b808a17eb25441d2b29eaa957ac52c468df8836bff792f。安装前核对上游来源和版本:https://github.com/lotchuazzz-crypto/papergraph-mcp。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
当用户已克隆 PaperGraph MCP 并请求安装、初始化、配置、设置或开始使用代理或 MCP 客户端时,使用此工具。
介绍来源: third_party · lotchuazzz-crypto · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: setting-up-papergraph
description: Use when a user has cloned PaperGraph MCP and asks to install, initialize, configure, set up, or start using it with an agent or MCP client.Set up PaperGraph
Guide one conservative setup conversation. This skill does not change PaperGraph runtime behavior.
Before responding, read references/usage-prompt.md completely. Present that reusable prompt before requesting install approval, even if the user may defer setup.
Response contract
Keep these four phases short and in this order. Do not show later phases as completed before their work occurs.
What the user gets
Briefly explain that PaperGraph lets an MCP client analyze LaTeX papers, build a multi-paper workspace, search theorem-like content, and inspect explicit citation evidence. Give the reusable prompt in a copyable block. Translate it only under the preservation rule in its reference.
Before loading arXiv papers:
- If a repository directory already exists, run
git fetch --tags originbefore trusting localorigin/main. - Verify the pinned
uvx --from ... papergraph-mcp --versioncommand and run pinneduvx --from ... papergraph-mcp doctoror callget_environment_diagnostics. - For raw user wording, Markdown links, URLs, or prose, call
validate_arxiv_requestorload_arxiv_request. - If a user provides both an arXiv ID and an arXiv URL,
load_arxiv_requestmust stop before loading unless they identify the same paper. - Use
load_arxiv_paperonly after the user has provided one already-disambiguated arXiv ID. - If validation returns
action: ask_user_to_choose, stop and ask which one to analyze. detecting a conflict and then continuing is a failure. - For a user's first real reading project, propose
plan-starter-projectbeforebootstrap-reading-projectso they can review the workspace path, artifact directory, explicit paper inputs, and generated manifest path before writes. - After bootstrap or Reading Report export, report Evidence Triage before interpreting dependency output. Name the triage status, supported local chains, candidate starting point, external blockers, and next actions. Do not treat empty dependencies as evidence that no mathematical dependencies exist.
- If Evidence Triage reports external blockers, use
workspace_search_external_referenceto gather scholarly metadata candidates. Report confidence, provider evidence, ambiguity, and boundaries before applying anything. Useworkspace_resolve_external_reference_candidateonly for a selected candidate, orworkspace_resolve_external_referenceonly with a confirmed arXiv ID, local PDF, DOI, URL, or published metadata. Then callworkspace_list_external_reference_resolutions,workspace_list_external_reference_searches, or export a Reading Report to show whether each target isresolved_imported,resolved_not_imported,failed_import, ambiguous, or unavailable.
What is missing
Run read-only detection when the host permits it:
python scripts/check_onboarding.py
Use its facts for git, uv, and uvx; also detect the active MCP client without mutation. Infer the client only from reliable host or executable evidence. If it remains ambiguous, ask one concise question: “Which MCP client should I configure?”
After selecting the client, read references/client-configuration.md completely and use only its matching verified recipe. State the detected facts, proposed next mutation, and the next required approval.
There are three separate approval boundaries:
- install approval: if
uvoruvxis missing, show the official platform-specific installer source and command, explain thatuvxprovides the reproducible launch, and ask before running it. Never reinstall or upgrade an existing installation automatically. Verify bothuv --versionanduvx --version; if either fails, stop before configuration. - configuration approval: show the exact client change and ask before a native command or any edit outside this repository. For file-based configuration, parse first, preserve unrelated servers, and create a timestamped adjacent backup. If parsing fails, stop and show the error. If safe mutation is unavailable, provide the minimal snippet and exact placement guidance instead.
- restart approval: after configuration and launch validation, ask before controlling or restarting the client. If control is unavailable or permission is declined, provide one direct manual restart instruction.
Use this immutable release source everywhere; never substitute a branch, a mutable default, or an unreleased revision:
git+https://github.com/lotchuazzz-crypto/papergraph-mcp.git@v1.1.3
Never request credentials, upload papers, guess the identity of ambiguous references, recursively import newly discovered literature, bypass paywalls, or place a workspace database inside the Git repository. When a reference trail reaches an old paper with no electronic source, a metadata-only record, a paywalled target, or conflicting candidates, explain that PaperGraph reached a boundary and needs a user-supplied source or selection.
What changed
Only after actions occur, list the executable version checks, the PaperGraph entry added or confirmed, the validation result, and any backup path. Configuration success requires the pinned command below to exit successfully with version 1.1.3; file presence alone is insufficient:
uvx --from git+https://github.com/lotchuazzz-crypto/papergraph-mcp.git@v1.1.3 papergraph-mcp --version
Also validate the pinned diagnostics command:
uvx --from git+https://github.com/lotchuazzz-crypto/papergraph-mcp.git@v1.1.3 papergraph-mcp doctor
The expected output is:
papergraph-mcp 1.1.3
Before restart, say “launch command validated”; never say “client has loaded the PaperGraph tools.” Tool loading can be confirmed only after the restarted client discovers the server.
What to do now
Request restart approval or give the client-specific manual restart instruction. Remind the user that future conversations can use the reusable prompt. Stop after this instruction: do not persist setup state, create a handoff file, schedule work, or imply an automatic continuation.
Failure branches
- If install approval is declined, change nothing, retain the reusable prompt, and give the official
uvinstallation URL. - If
uvinstallation or either executable check fails, report the failing check and do not configure a client. - If the client remains ambiguous, ask for its name before showing configuration; do not read the client reference or show generic JSON until the client is selected.
- If the identified client is unsupported or the user explicitly chooses a generic route, show the generic JSON entry, ask for its official documentation, and never guess a path.
- If the configuration is already equivalent, do not rewrite it; validate the pinned launch command and continue to restart guidance.
- If an existing
papergraphentry differs, show the difference and ask before replacing only that entry. - If configuration parsing fails, leave the file unchanged and report the exact error.
- If the launch check fails, keep any valid configuration, report setup as incomplete, and do not claim readiness.
- If restart is unavailable or declined, give the manual instruction and stop without persisted state or continuation.
版本历史
-
v1.2.3
GitHub ↗
原版更新说明
This release repairs bounded LaTeX structure extraction and citation evidence. - Recognize theorem-like aliases declared with shared or section counters, including optional result titles, whitespace and unnumbered declarations. Supported numbering is preserved in result output and reference matching. - Prefer complete, explicit proof goals over adjacency. Unknown, conflicting, compound or unsupported goals remain unowned; unrecognized result boundaries prevent proximity from assigning a proof across an intervening result. - Keep unsupported counter mutations and display definitions conservative: numerical ownership and references remain unknown when their numbering cannot be certified by the bounded parser. - Filter mathematical brackets and command options out of external citation plans, while retaining real cite commands, including inside mathematics. Inline thebibliography/bibitem entries retain source-backed identity and offsets. The parser is a bounded lexer, not a TeX interpreter or mathematical proof checker. It does not establish complete dependency coverage or mathematical equivalence. Section outlines remain unimplemented and formula references may remain unknown. PDF's conservative automatic proof policy is preserved. Existing papers and reading state are not automatically re-extracted or overwritten. Improved extraction applies to new imports. To apply it to a paper already in a workspace, preserve the original database and reading state, review the new extraction in a separate database, and explicitly choose reimport. External citations produce reviewable plans, not automatic paper downloads. There is no new runtime dependency, MCP schema change or automatic migration. The existing `v1.2.3` tag identifies fixed package source `c513761e28b97f38b9efa7c1d3e54d722a64ba25`. Product source SHA-256: `d5fa2f622b27af5200245d3ed285539070bfcc86ca1d9279d4680cc8058967e4`. | Distribution | SHA-256 | |---|---| | `papergraph_mcp-1.2.3-py3-none-any.whl` | `25ad4ec7632bbd0f166e1d9a0508885ce2fe0125b620801f1b41c4d53bd93474` | | `papergraph_mcp-1.2.3.tar.gz` | `140c0aca282f87b431fcea984ed357024a7f368399195a214eb56f745cf2f153` | [PyPI 1.2.3](https://pypi.org/project/papergraph-mcp/1.2.3/) is already published. [Protected publication run 39099516517](https://github.com/lotchuazzz-crypto/papergraph-mcp/actions/runs/39099516517) built R from configuration commit `ccbd7a086397e3f7399e2e0e03c1fc4c11aff9de`. The actual official wheel/sdist match these fixed hashes and clean embedded source manifests. GitHub assets for this release use those original public PyPI files; they are not rebuilt replacements. Fresh official-index Windows/Python 3.13.13 and Linux/Python 3.12.15 consumers, plus separate consumers of the actual public wheel and sdist, passed CLI/stdio structure checks and 11 semantic controls per path. A genuine local Git-free rootless filesystem passed fresh-cache uvx, CLI/MCP diagnostics and generated PDF reading using the unchanged checker. This local acceptance is distinct from the dedicated GitHub public-index workflow, which was not run in the dated evidence. These results establish their stated scope, not mathematical proof correctness or untested platform coverage. The [post-publication record](https://github.com/lotchuazzz-crypto/papergraph-mcp/blob/af7f30280beba5f9c1102361302df9d36be92da6/docs/reference/v1.2.3-publication.md) contains the dated evidence. PR #57 later updated main's documentation and recommended installation pin at `af7f30280beba5f9c1102361302df9d36be92da6`; those later documentation changes are outside the frozen package/tag source. The record's earlier GitHub Release 404 describes its check time. Immutable R/tag/package files retain their build-time documentation snapshot. Creating this GitHub Release does not require another PyPI upload or version bump.
-
v1.2.2
GitHub ↗
原版更新说明
This release improves continuous original-source reading and evidence handling. - Read long PDFs through stable source-block locators and bounded continuation pages, including proof middles without a later result anchor. Derived proof fragments and bibliography entries no longer duplicate original raw blocks. - Automatic PDF proof evidence remains deliberately fail-closed: it uses only the explicit heading's first physical line, with exact substring offsets. Unnamed ownership requires direct adjacency; complete unique named targets remain supported. Compound, ambiguous or unsupported ownership stays unknown. - Nested heading annotations and quotes cannot leak their citations into proof body evidence or external plans. Real body references remain available, including separable bodies after compound headings whose owner stays unknown. - Ordinary “definition of” is not treated as a numbered definition. Unresolved internal references keep their original evidence separately from external plans. - MCP schema, runtime and CLI agree on context 0–5 and other numeric bounds. - Auditable blocker aggregation and opt-in compact dependency reading preserve full evidence access and existing IDs. New search/candidate IDs are bounded. - README/setup/doctor/CLI clarify the default PyPI and optional Git routes while preserving existing tutorials, contracts and examples. Long-proof later lines/blocks remain raw-readable context. They are **not** automatic proof dependencies, and this release does not provide complete proof dependency coverage or verify mathematical completeness. v1.2.1 already disclosed incomplete PDF coverage; this release does not characterize it as concealment. Existing reading data is not automatically migrated or overwritten. Improved extraction applies to new imports. Reimport to refresh extraction is opt-in; preserve the original workspace and reading state before that separate action. External citations generate reviewable plans, not automatic paper downloads. The fixed package source is `40d2daf8fd0d1c8b23c8d9ac03d8bf66cd2f5fa0`, separate from release configuration HEAD `227bbf77215307fed11006d18e9498572e7531b8`. Product source SHA-256: `6298a1f30921ccf85c38b1b3e82324d2e58cc7dd2f388bd24b9e8afc5b4ec724`. | Distribution | SHA-256 | |---|---| | `papergraph_mcp-1.2.2-py3-none-any.whl` | `7525ef81a49f8f0b1d639d4f1656df0f406cc926f2164e6f9f7dbaf62fdc0dc9` | | `papergraph_mcp-1.2.2.tar.gz` | `06bfa9369d7debae9381418bd14914c9011a728e8a18e9100c2d30805ea8adad` | Both independent prepublication review groups accepted this exact candidate. Code review independently ran R/HEAD full suites (1644 passed, 1 host symlink skip each); consumer black-box review passed 4263 checks and 8325 actual tool calls. [CI 38898488578](https://github.com/lotchuazzz-crypto/papergraph-mcp/actions/runs/38898488578) passed all seven jobs; all four OS/Python matrix jobs passed 1645 tests each. These tests establish the stated scope, not complete mathematical proof coverage. Use only distributions produced and verified by the same protected main-only publication run. Recheck the exact hashes above after environment approval. Official-index/tag first-use acceptance is separate from workflow success. Public PyPI 1.2.2 is now independently verified: both actual official files match the hashes above. Protected publication run [38917392754](https://github.com/lotchuazzz-crypto/papergraph-mcp/actions/runs/38917392754) produced immutable artifact `12053450778`; its exact wheel/sdist are the assets for this GitHub Release. Public-index acceptance [38928131322](https://github.com/lotchuazzz-crypto/papergraph-mcp/actions/runs/38928131322) passed actual CLI, stdio MCP and PDF reading in a fresh Linux container with Git absent, using the official index and fresh caches. A separate fresh Windows public-index install passed the real root-paper reading and 25 structural cases. Current main records this later acceptance; immutable R/tag/package guidance remains the historical build-time snapshot.
-
v1.2.1
GitHub ↗
原版更新说明
PaperGraph v1.2.1 repairs first-use evidence tracing and reading workflows. Ordinary TeX proof citations, bibliography identity, original-file spans and explicit PDF proof headings are easier to follow, while unsupported or ambiguous relationships remain unknown. ## Highlights - Preserve TeX proof citations with optional locators, multiple keys and repeated occurrences, including result/proof IDs and source spans in reviewed import plans. - Match BibTeX evidence to the actual top-level entry; map nested and cross-file TeX evidence to its original files. - Associate an explicit PDF heading such as `Proof of 2.17` only with a uniquely numbered result. - Correct generated CLI commands, shell quoting, main `.tex` inputs and checkpoint target kinds. - Make starter planning read-only, with honest file preflight; expose result-list limits and offset pagination in the schema. ## Compatibility Workspace schema remains 9 and runtime dependency requirements are unchanged. Reimport affected TeX sources to regenerate evidence spans; existing user databases are not automatically migrated. Shared dependencies preserve both routes, cycles block prerequisite ordering, and queues remain exploration routes. Citation evidence does not establish mathematical dependencies, verify proofs or authorize external downloads. Missing proofs, ambiguous targets and incomplete PDF text remain explicit. ## Verification - [Main CI](https://github.com/lotchuazzz-crypto/papergraph-mcp/actions/runs/38704231803) passed all seven jobs, including Ubuntu/Windows Python 3.10/3.12 and separate Git-free wheel/sdist consumers. - [Protected PyPI publication](https://github.com/lotchuazzz-crypto/papergraph-mcp/actions/runs/38836766630) succeeded. [Official-index acceptance](https://github.com/lotchuazzz-crypto/papergraph-mcp/actions/runs/38837645223) then passed on Linux/Python 3.12.15 without Git, using a fresh uvx cache and `https://pypi.org/simple`: CLI version/doctor, stdio MCP and generated PDF reading all passed. - [Official distribution hashes](https://pypi.org/pypi/papergraph-mcp/1.2.1/json) match the reviewed wheel and sdist. Package source is `d4c232efb4736eb37fad8975708abd773b0e90d7`, with clean tracked state and source digest `9998e8b65d75c9b500edf5bb2b04f664f242241ad9d8a926b2372af6e4beff6f`. ## Install ```text uvx --from papergraph-mcp==1.2.1 papergraph-mcp --version uvx --from papergraph-mcp==1.2.1 papergraph-mcp doctor ``` The PyPI route needs uv/uvx and index access, without Git. Changing an existing MCP client configuration or restarting that client remains a separate user-approved action. The immutable package source retains its preparation-era documentation; current publication and installation records live on main.
-
v1.2.0
GitHub ↗
原版更新说明
PaperGraph v1.2.0 improves first-use diagnostics, adds an entry point for published DOI papers, and makes proof-local dependency reading easier to inspect while keeping source evidence and extraction limits visible. Highlights - Added read-only repository checks and clearer startup diagnostics, distinguishing statement-reference extraction from proof-local capabilities - Added DOI discovery and public-PDF import with explicit identity, source, version and import status; competing candidates require selection - Added direct and recursive proof-local dependency reading, shared-dependency ordering and explicit cycle reporting - Added author-declared correspondence between introductory results and their proof-bearing counterparts, preserving both nodes and the actual proof owner - Improved PDF statement extraction across adjacent blocks, with source locations, unverified-completeness warnings and continuation pointers - Corrected author matching so partial overlap is no longer reported as full equivalence - Unified CLI, MCP initialization and diagnostic version reporting, including build-source provenance Compatibility Workspace schema remains at version 9. No new runtime dependencies are added. Existing statement-graph fields and resolver history remain available; new reading and PDF coverage fields are additive. Corrected prerequisite orders may differ from the previous reversed-preorder output. The top_down field remains an exploration route; cycles return an empty bottom_up with explicit cycle evidence. DOI metadata does not guarantee accessible full text or equivalence between published and preprint versions. Newly discovered external references remain subject to review and are not automatically downloaded. PaperGraph does not bypass paywalls, infer hidden mathematical prerequisites or verify proofs. Missing proofs, unresolved labels and PDF completeness limitations remain explicit. The public-PDF downloader validates HTTPS addresses and redirects and limits downloads to 50 MiB. Synchronous DNS cannot be hard-interrupted by its elapsed-time budget. Scanned PDFs still require external OCR. Verification - Local Python 3.13 and isolated installed-wheel Python 3.10 suites: 759 passed, 1 skipped in each environment; the skipped Windows symlink test passed in CI - Release preparation PR #39 and release-commit CI #83: all four Ubuntu/Windows × Python 3.10/3.12 combinations passed 760 tests each - Source distribution, wheel build, isolated installation, CLI and stdio MCP smoke checks passed - Public v1.2.0-pinned installation returned version 1.2.0 and the verified release commit: 60977c06217905e5c1db15fbf27aff4ca208a517 - Installation instructions were updated through PR #40; final main CI #85 also passed all checks Install uvx --from git+https://github.com/lotchuazzz-crypto/[email protected] papergraph-mcp --version uvx --from git+https://github.com/lotchuazzz-crypto/[email protected] papergraph-mcp doctor Installation examples on main now pin v1.2.0. The immutable release tag retains its preparation-era installation examples.
-
v1.1.7
GitHub ↗
原版更新说明
PaperGraph v1.1.7 is a maintenance-only release. It removes confirmed dead private code, consolidates duplicate formatting and provider text-cleaning logic, and clarifies repository and onboarding guidance. ## Highlights - Removed an unused private search helper and redundant imports. - Shared identical report formatting and provider text-cleaning paths without changing their output. - Updated development version metadata and documented why two AGENTS.md rules remain. ## Compatibility No new features, MCP or CLI tools, workspace schema changes, new runtime dependencies, or intended resolver behavior changes. Legacy resolver and migration paths remain intact. ## Verification - Local full suite: 681 passed, 1 skipped. - PR #35 CI: successful. - Offline lock/build, CLI version, and diff checks passed. ## Install ```text uvx --from git+https://github.com/lotchuazzz-crypto/[email protected] papergraph-mcp --version ``` Repository installation examples still pin the previously published v1.1.6 tag and will be updated separately.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供清晰的 PaperGraph MCP 安装与配置流程,面向特定技术用户群体
- 包含详尽的审批边界和失败处理机制,保障执行安全
亮点
- 触发条件明确限定于已克隆仓库后的安装配置场景,边界清晰
- 覆盖多种用户表达方式(install, configure, set up 等)
待提升项
-
引用文件缺失 原报告严重程度:重大
SKILL.md 引用了 references/usage-prompt.md 和 references/client-configuration.md,但未在传入内容中提供
改进建议:请确保所有被引用的 .md 文件随 Skill 包一起提交,或改为内联关键内容
亮点
- 响应结构清晰,分阶段引导用户完成设置
- 包含完整的失败分支处理和用户确认机制
待提升项
-
引用文件缺失 原报告严重程度:重大
关键配置逻辑依赖外部 references/client-configuration.md 文件,但该文件未提供
改进建议:提交缺失的引用文件,或将必要配置说明内联到主文档中
亮点
- 使用固定版本 Git 源,避免不可控更新
- 三重审批机制(install/config/restart)有效防止误操作
- 配置文件修改前创建备份,保障可回退
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 56 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- github.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。