1
---
2
name: paperzilla
3
description: Reads projects, searches project feeds, and retrieves recommendations and canonical papers in Paperzilla through the pz CLI. Supports recent recommendations, paper details, markdown-based summaries, recommendation feedback, JSON export, and Atom feed URLs.
4
license: MIT
5
compatibility: Requires the pz CLI, network access, and a Paperzilla account with CLI access. Source builds require Go 1.23 or later.
6
metadata:
7
version: "1.2"
8
skill-author: Paperzilla Inc
9
upstream-version: "pz 0.7.1"
10
last-reviewed: "2026-10-01"
11
---
12
13
# Paperzilla
14
15
Use this skill when you want to chat with your agent about projects, recommendations, and canonical papers in Paperzilla.
16
17
## What you can ask
18
19
- "Give me the latest recommendations from project X."
20
- "Open recommendation Y and explain why it matters."
21
- "Fetch canonical paper Z as markdown and summarize it."
22
- "Tell me how this paper is relevant to my research."
23
- "Show me the feed for project X."
24
- "Leave feedback on a recommendation."
25
- "Export this paper, recommendation, or feed as JSON."
26
27
This is the core Paperzilla skill. It gives your agent direct access to Paperzilla data, but it does not impose a workflow or external delivery integration.
28
29
## Access method
30
31
Use the official `pz` CLI. This skill targets **0.7.1**, checked against the
32
official release source and binary. Command examples use placeholder IDs; replace
33
them with records returned by your account. CLI behavior was tested against a
34
local mock server, not an authenticated Paperzilla account.
35
36
Start with `pz --version`, then list projects, select a project, browse or search
37
its feed, and inspect selected recommendations. Keep project recommendations
38
separate from the underlying canonical paper when summarizing or exporting.
39
40
## Install
41
42
### macOS
43
```bash
44
brew install paperzilla-ai/tap/pz
45
```
46
47
If Homebrew 6 or later rejects this formula as untrusted, the official guide uses
48
`brew trust --formula paperzilla-ai/tap/pz`, then retries installation. Trust only
49
that formula. Installation and upgrade commands were documentation-checked, not
50
executed during this review.
51
52
### Windows (Scoop)
53
```bash
54
scoop bucket add paperzilla-ai https://github.com/paperzilla-ai/scoop-bucket
55
scoop install pz
56
```
57
58
### Linux
59
Use the official Linux install guide:
60
61
- https://docs.paperzilla.ai/guides/cli-getting-started
62
63
### Build from source (Go 1.23+)
64
See the CLI repository for source builds:
65
66
- https://github.com/paperzilla-ai/pz
67
68
## Update
69
70
Check whether your CLI is up to date and get install-specific upgrade steps:
71
72
```bash
73
pz update
74
```
75
76
If detection is ambiguous, override it explicitly:
77
78
```bash
79
pz update --install-method homebrew
80
pz update --install-method scoop
81
pz update --install-method release
82
pz update --install-method source
83
```
84
85
Supported values are `auto`, `homebrew`, `scoop`, `release`, and `source`.
86
87
## Authentication
88
89
```bash
90
pz login
91
```
92
93
Login sends a one-time code to the account email and saves the session locally.
94
Complete it interactively before running JSON exports: missing or expired
95
credentials can trigger login prompts on stdout. The CLI checks account access
96
and refreshes tokens automatically; report access/upgrade errors rather than
97
treating them as an empty feed.
98
99
**Version-specific discrepancy:** the online guides describe anonymous canonical
100
paper access, but the 0.7.1 binary requires login and a CLI-access check even for
101
`pz paper`. Its subsequent canonical-paper HTTP request uses a public route. Do
102
not promise an anonymous CLI workflow for this release.
103
104
## CLI reference
105
106
If the current profile uses `pz`, these are the core commands.
107
108
### List projects
109
```bash
110
pz project list
111
pz project list --json
112
```
113
114
### Show one project
115
```bash
116
pz project <project-id>
117
pz project <project-id> --json
118
```
119
120
The list JSON is an array containing `id`, `name`, `mode`, and `visibility`.
121
The single-project JSON also includes keywords, watched sources, and categories.
122
123
### Browse project feed
124
```bash
125
pz feed <project-id>
126
```
127
128
Useful flags:
129
- `--must-read`
130
- `--since YYYY-MM-DD`
131
- `--limit N`
132
- `--offset N` (zero-based results to skip)
133
- `--json`
134
- `--atom`
135
136
Examples:
137
```bash
138
pz feed <project-id> --must-read --since 2026-03-01 --limit 5
139
pz feed <project-id> --limit 20 --offset 20 --json
140
pz feed <project-id> --json
141
pz feed <project-id> --atom
142
```
143
144
`--since` filters when recommendations were ready, not paper publication date.
145
Browse JSON contains `items`, `total`, `limit`, and `offset`. A command fetches
146
one page; it does not export the entire feed automatically. Retain the same
147
filters, advance from the returned offset by the number of items received, and
148
stop on an empty page or when the returned total is reached. Deduplicate by
149
recommendation ID if the live feed changes while paging.
150
151
Feed output can include existing recommendation feedback markers:
152
153
- `[↑]` upvote
154
- `[↓]` downvote
155
- `[★]` star
156
157
### Search the full project feed
158
159
```bash
160
pz feed search --project-id <project-id> --query "latent retrieval" --json
161
pz feed search --project-id <project-id> --query "retrieval" --feedback-filter starred --must-read --limit 20 --offset 20 --json
162
```
163
164
Search ranks results across the whole project feed. Use a trimmed query of
165
3–200 characters and a positive `--limit` up to 100. `--offset` must be
166
nonnegative. Feedback filters are `all`, `unrated`, `liked`, `disliked`, `starred`,
167
`not-relevant`, and `low-quality`; these hyphenated filters differ from the
168
underscored downvote reasons below. Search does not accept `--since`.
169
170
Search JSON contains `items`, `limit`, `offset`, `has_more`, and `query`, with no
171
exact total. Request the next offset only while `has_more` is true, keeping the
172
query and filters unchanged. Stop and report an inconsistent empty page rather
173
than looping indefinitely. The second example illustrates a subsequent page.
174
175
### Read a canonical paper
176
```bash
177
pz paper <paper-id>
178
pz paper <paper-id> --json
179
pz paper <paper-id> --markdown
180
pz paper <paper-id> --project <project-id>
181
```
182
183
### Open a recommendation from one of your projects
184
```bash
185
pz rec <project-paper-id>
186
pz rec <project-paper-id> --json
187
pz rec <project-paper-id> --markdown
188
```
189
190
### Leave recommendation feedback
191
```bash
192
pz feedback <project-paper-id> upvote
193
pz feedback <project-paper-id> star
194
pz feedback <project-paper-id> downvote --reason not_relevant
195
pz feedback clear <project-paper-id>
196
```
197
198
Feedback changes account data; use it when the user requests that change.
199
Downvote reasons are `not_relevant` or `low_quality`, and `--reason` applies only
200
to a downvote. Add `--json` to get the feedback object; clearing returns
201
`{"project_paper_ref": "...", "cleared": true}`. `clear` is a subcommand before
202
the recommendation ID.
203
204
## Keep paper and recommendation identities separate
205
206
A canonical `paper-id` identifies the paper; a `project-paper-id` identifies its
207
recommendation within a project. Take both from returned records and retain the
208
project association when exporting results. Use the recommendation ID for `rec`
209
and feedback operations, even if the same paper appears in several projects.
210
In feed JSON, `items[].id`/`items[].short_id` are recommendation identifiers;
211
`items[].paper.id`/`items[].paper.short_id` are canonical paper identifiers.
212
Do not infer recommendation IDs from a DOI or canonical paper ID. See the
213
[official CLI documentation](https://github.com/paperzilla-ai/pz).
214
215
When markdown is still being prepared, report that state and summarize only the
216
metadata or abstract actually returned. A retry message is not full-text evidence.
217
218
## Output and automation
219
220
- Prefer `--json` for machine parsing after completing login. `paper` and `rec`
221
reject combining `--json` with `--markdown`.
222
- `pz paper --markdown` only returns markdown when it is already prepared.
223
- `pz rec --markdown` and project-scoped `pz paper --project ... --markdown`
224
can queue markdown generation. A pending message can exit successfully; check
225
the content before treating stdout as full text. Avoid repeated immediate
226
retries and report the pending state.
227
- `--atom` returns a personal feed URL for feed readers and can create a feed
228
token. Anyone holding that URL can read the feed; keep its token out of logs,
229
public reports, and repositories. It does not return Atom XML or page JSON,
230
and browse filters are not applied to the generated URL.
231
- A relevance score expresses project matching, not scientific validity or an
232
effect estimate. Label whether a summary used metadata, an abstract, or actual
233
markdown. Missing PDF URLs do not imply that a source landing page is absent.
234
235
## Configuration
236
237
```bash
238
export PZ_API_URL="https://paperzilla.ai"
239
```
240
241
The default already points to Paperzilla; change it only for a trusted service
242
or a local test server. Authenticated requests send session credentials there.
243
`PZ_TOKENS_PATH` optionally selects a session file; by default the CLI uses
244
`~/.paperzilla/tokens.json`. Never export that file as research data.
245
246
See [the verified CLI contracts](references/cli-contracts.md) for request routes,
247
response shapes, pagination, and the documentation/source discrepancy.
248
249
## References
250
251
- Docs: https://docs.paperzilla.ai/guides/cli
252
- Quickstart: https://docs.paperzilla.ai/guides/cli-getting-started
253
- Repo: https://github.com/paperzilla-ai/pz
254