一键导入
paperhub-workspace
Initialize a PaperHub workspace and create research projects
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize a PaperHub workspace and create research projects
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Brainstorm with AI in the context of a PaperHub project
Add a markdown note to a PaperHub project
Export BibTeX from a PaperHub paper set or project
Import a paper into PaperHub from BibTeX, title, or URL
Organize a PaperHub paper across projects, states, and PDF hydration
Read a paper PDF and generate structured three-pass reading notes
基于 SOC 职业分类
| name | paperhub-workspace |
| description | Initialize a PaperHub workspace and create research projects |
Use this skill when the user wants to start using PaperHub, initialize a local workspace, or create a new research project.
projects/Before running any commands, check if the user has a sync configuration file (.env.paperhub.local).
Check these locations:
{paperhub-repo}/.env.paperhub.local (if PaperHub was cloned)~/.env.paperhub.local~/.config/paperhub/.env.paperhub.localIf config found:
I found a sync configuration at: {path}
This enables PostgreSQL + OSS storage for syncing papers and metadata.
Do you want to use this configuration for your workspace?
- Yes: I'll copy it to the workspace (recommended for cloud sync)
- No: I'll skip it (workspace will use local-only storage)
If config NOT found:
No sync configuration found. You can sync papers and metadata to the cloud
using PostgreSQL + OSS, or keep everything local.
Do you want to configure cloud sync now?
- Yes: I'll help you create a .env.paperhub.local file
- No: Skip (local-only storage, no cloud sync)
If user chooses "No" to cloud sync:
Understood. Your workspace will use local file-based storage.
Note: You can configure cloud sync later by adding .env.paperhub.local
to your workspace directory.
Local storage locations:
- Metadata: .paperhub/remote/metadata/
- Blobs (PDFs): .paperhub/remote/blobs/
~/paperhub)paperhub init --workspace <workspace-path> --name "<workspace-name>"
.venv/ with PaperHub and SSL certificatesAfter init, verify the config was detected:
paperhub sync-status --workspace <workspace-path>
If pending_count > 0 and backends show "postgres" + "oss" → sync is ready.
If the user wants a project:
paperhub create-project --workspace <workspace-path> --project <project-slug>
A .env.paperhub.local file should contain:
PAPERHUB_SYNC_BACKEND_MODE=real
PAPERHUB_PG_HOST=<your-postgres-host>
PAPERHUB_PG_PORT=5432
PAPERHUB_PG_DB=<your-db-name>
PAPERHUB_PG_USER=<your-db-user>
PAPERHUB_PG_PASSWORD=<your-db-password>
PAPERHUB_PG_SSLMODE=disable
STORAGE_TYPE=oss
OSS_ENDPOINT=https://oss-cn-beijing.aliyuncs.com
OSS_BUCKET=<your-bucket-name>
OSS_ACCESS_KEY_ID=<your-access-key>
OSS_ACCESS_KEY_SECRET=<your-secret-key>
OSS_REGION=cn-beijing