setting-up-papergraph
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "setting-up-papergraph" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-3558fb986950dee7b4b808a17eb25441d2b29eaa957ac52c468df8836bff792f. Verify the upstream source and version against https://github.com/lotchuazzz-crypto/papergraph-mcp before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use this tool when a user has already cloned PaperGraph MCP and requests installation, initialization, configuration, setup, or to get started using an agent or the MCP client.
Introduction source: third_party · lotchuazzz-crypto · 0.0.1 Reference
SkillPi interpretation
- Tasks
- 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.
- Testing
- Not tested
Browse files
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.
Version history
-
v1.2.3
GitHub ↗
Original release notes
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 ↗
Original release notes
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 ↗
Original release notes
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 ↗
Original release notes
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 ↗
Original release notes
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.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供清晰的 PaperGraph MCP 安装与配置流程,面向特定技术用户群体
- 包含详尽的审批边界和失败处理机制,保障执行安全
Highlights
- 触发条件明确限定于已克隆仓库后的安装配置场景,边界清晰
- 覆盖多种用户表达方式(install, configure, set up 等)
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 references/usage-prompt.md 和 references/client-configuration.md,但未在传入内容中提供
Recommendation: 请确保所有被引用的 .md 文件随 Skill 包一起提交,或改为内联关键内容
Highlights
- 响应结构清晰,分阶段引导用户完成设置
- 包含完整的失败分支处理和用户确认机制
Areas to improve
-
引用文件缺失 Reported severity: Major
关键配置逻辑依赖外部 references/client-configuration.md 文件,但该文件未提供
Recommendation: 提交缺失的引用文件,或将必要配置说明内联到主文档中
Highlights
- 使用固定版本 Git 源,避免不可控更新
- 三重审批机制(install/config/restart)有效防止误操作
- 配置文件修改前创建备份,保障可回退
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 56
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.