一键导入
setup
First-time project setup. Checks prerequisites (Zotero MCP), asks for paper count, generates folder structure, and configures all templates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
First-time project setup. Checks prerequisites (Zotero MCP), asks for paper count, generates folder structure, and configures all templates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
End-of-session shutdown sequence. Saves session log, updates MEMORY.md, updates CLAUDE.md, and stages a git commit.
Peripheral vision audit — find what the author has become blind to in their results. Run in a FRESH TERMINAL.
Safely deprecate a file following the deprecation protocol.
Structured debate between two perspectives on a research design decision.
Find gaps in the literature based on existing Obsidian notes. Searches for high-quality articles the author may have missed.
Scaffold a new paper directory with the full structure, CLAUDE.md, and empty templates.
| name | setup |
| description | First-time project setup. Checks prerequisites (Zotero MCP), asks for paper count, generates folder structure, and configures all templates. |
Run this skill once at the start of your dissertation project. It checks prerequisites, asks configuration questions, and generates the full project structure.
Before anything else, verify that Zotero MCP is connected.
Test: Attempt to call zotero_search_items (or equivalent) with a trivial query like "test".
If the call succeeds:
If the call fails or the tool is not available:
Step 1a: Auto-add Zotero MCP to Claude Code
Attempt to register Zotero MCP automatically by running:
claude mcp add zotero -- uvx zotero-mcp serve
If this command succeeds, report:
Zotero MCP has been added to your Claude Code configuration.
Please restart Claude Code and run /setup again for the connection to take effect.
Then STOP. The user must restart Claude Code for the new MCP to load.
If the auto-add command fails (e.g., uvx not found, network error):
✗ Could not auto-add Zotero MCP.
This scaffold requires Zotero MCP for literature management.
Please install it manually:
OPTION 1 — If you have uv installed:
Run in your terminal (outside Claude Code):
claude mcp add zotero -- uvx zotero-mcp serve
OPTION 2 — If you installed via pip:
claude mcp add zotero -- zotero-mcp serve
OPTION 3 — Install from scratch:
pip install zotero-mcp-server
claude mcp add zotero -- zotero-mcp serve
For other Zotero MCP options see:
• zotero-mcp (recommended): https://github.com/54yyyu/zotero-mcp
• zotero-mcp plugin: https://github.com/cookjohn/zotero-mcp
• mcp-zotero: https://github.com/kaliaboi/mcp-zotero
ALSO RECOMMENDED — Desktop Commander MCP:
https://github.com/wonderwhy-er/DesktopCommanderMCP
Install: npx @wonderwhy-er/desktop-commander@latest setup
Desktop Commander gives Claude full filesystem access and native PDF
reading capabilities, improving reliability of reading Zotero PDFs.
After installing, restart Claude Code and run /setup again.
/missing-lit skill will use web search only. Skip Steps 1b and 2, proceed to Step 3.Only if Zotero MCP is connected. Better BibTeX (BBT) is required for citekey-based paper lookup.
Test: Take any item returned from the Step 1 search. Call zotero_get_item_metadata
with format: bibtex on that item. Check whether the bibtex output begins with
@type{citekey, (e.g., @article{becker2019,).
If the bibtex output contains a citekey:
If the bibtex output has no citekey, returns an error, or looks malformed:
✗ Better BibTeX does not appear to be installed in Zotero.
This scaffold requires Better BibTeX (BBT) citekeys for paper lookup.
Without BBT, Claude cannot reliably identify papers in your library.
Install Better BibTeX:
https://retorque.re/zotero-better-bibtex/
Steps:
1. Download the .xpi file from the link above
2. In Zotero: Tools → Add-ons → Install Add-on From File → select the .xpi
3. Restart Zotero
4. BBT will auto-generate citekeys for all items in your library
After installing, restart Claude Code and run /setup again.
Only if Zotero MCP is connected. Ask the user:
What is the full path to your Zotero PDF storage folder? This is where Zotero stores PDF attachments on your machine. Examples:
- macOS with Google Drive:
/Users/yourname/Library/CloudStorage/GoogleDrive-you@gmail.com/My Drive/Zotero/Library- macOS local:
/Users/yourname/Zotero/storage- Linux:
/home/yourname/Zotero/storage- Windows:
C:\Users\yourname\Zotero\storage
Save the answer to literature/zotero-config.md:
---
pdf_folder: "{user's answer}"
bbt_verified: {true|false}
date_configured: {YYYY-MM-DD}
---
# Zotero Configuration
- **pdf_folder**: Absolute path to Zotero PDF storage directory.
Claude reads PDFs from this location during literature note creation.
Update this path if your Zotero library moves.
- **bbt_verified**: Whether Better BibTeX was detected during setup.
Then report:
✓ Zotero configured.
Literature notes will be stored in literature/zotero-notes/ as @citekey.md files.
When you say "analyse paper @citekey", Claude will:
1. Find the paper in Zotero via MCP
2. Access the PDF from: {pdf_folder}
3. Split it into 4-page chunks and read in batches
4. Classify the paper and extract structured information
5. Write the note to literature/zotero-notes/@citekey.md
When working on a specific paper (e.g., Paper 1), Claude will copy
relevant notes from literature/zotero-notes/ to paper-1/literature/zotero-notes/.
Optional: If you open this project folder in Obsidian, all markdown notes
are browsable with graph view. Install LaTeX Suite for equation rendering.
Ask the user the following questions. Wait for answers before proceeding.
For each paper (based on the number provided in Step 3):
paper-template/ directory to paper-N/ (where N is 1, 2, 3, ...)paper-N/CLAUDE.md with the paper-specific topic, strategy, and phasepaper-N/pre-analysis-plan/strategy-memo.md header with the paper's questionpaper-N/code/R/00_master.R (or .do / .py) header with the paper numberpaper-N/quality_reports/research_journal.md with the paper numberpaper-N/replication-package/README.md with the paper numberAlso update dissertation/chapters/ to include one chapter stub per paper:
paper-1.tex, paper-2.tex, ..., paper-N.texdissertation/main.tex to \input{} all paper chaptersCLAUDE.md — Fill in all placeholders:
MEMORY.md — Leave template structure, no changes needed yet
.claude/references/domain-profile.md — Fill in:
.claude/references/journal-profiles.md — Review pre-populated profiles, ask if any need adjustment for the user's specific subfield
.claude/references/notation-registry.md — Start with core variables if the user already has conventions; otherwise leave as template
Based on the paper count:
dissertation/main.tex to include the correct number of \input{chapters/paper-N} linesdissertation/chapters/dissertation/cross-paper-checks.md column headers for the actual number of papersAfter all paper directories are generated:
paper-template/ directory (it's no longer needed — each paper-N/ is independent)_paper-template/ if the user wants to keep it for future referencegit add -A
git commit -m "scaffold: project setup — [N] papers on [topic]"
Present a summary: