@bgicli/bgicli 2.2.8 → 2.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/data/skills/anthropic-algorithmic-art/SKILL.md +405 -0
  2. package/data/skills/anthropic-canvas-design/SKILL.md +130 -0
  3. package/data/skills/anthropic-claude-api/SKILL.md +243 -0
  4. package/data/skills/anthropic-doc-coauthoring/SKILL.md +375 -0
  5. package/data/skills/anthropic-docx/SKILL.md +590 -0
  6. package/data/skills/anthropic-frontend-design/SKILL.md +42 -0
  7. package/data/skills/anthropic-internal-comms/SKILL.md +32 -0
  8. package/data/skills/anthropic-mcp-builder/SKILL.md +236 -0
  9. package/data/skills/anthropic-pdf/SKILL.md +314 -0
  10. package/data/skills/anthropic-pptx/SKILL.md +232 -0
  11. package/data/skills/anthropic-skill-creator/SKILL.md +485 -0
  12. package/data/skills/anthropic-webapp-testing/SKILL.md +96 -0
  13. package/data/skills/anthropic-xlsx/SKILL.md +292 -0
  14. package/data/skills/arxiv-database/SKILL.md +362 -0
  15. package/data/skills/astropy/SKILL.md +329 -0
  16. package/data/skills/ctx-advanced-evaluation/SKILL.md +402 -0
  17. package/data/skills/ctx-bdi-mental-states/SKILL.md +311 -0
  18. package/data/skills/ctx-context-compression/SKILL.md +272 -0
  19. package/data/skills/ctx-context-degradation/SKILL.md +206 -0
  20. package/data/skills/ctx-context-fundamentals/SKILL.md +201 -0
  21. package/data/skills/ctx-context-optimization/SKILL.md +195 -0
  22. package/data/skills/ctx-evaluation/SKILL.md +251 -0
  23. package/data/skills/ctx-filesystem-context/SKILL.md +287 -0
  24. package/data/skills/ctx-hosted-agents/SKILL.md +260 -0
  25. package/data/skills/ctx-memory-systems/SKILL.md +225 -0
  26. package/data/skills/ctx-multi-agent-patterns/SKILL.md +257 -0
  27. package/data/skills/ctx-project-development/SKILL.md +291 -0
  28. package/data/skills/ctx-tool-design/SKILL.md +271 -0
  29. package/data/skills/dhdna-profiler/SKILL.md +162 -0
  30. package/data/skills/generate-image/SKILL.md +183 -0
  31. package/data/skills/geomaster/SKILL.md +365 -0
  32. package/data/skills/get-available-resources/SKILL.md +275 -0
  33. package/data/skills/hamelsmu-build-review-interface/SKILL.md +96 -0
  34. package/data/skills/hamelsmu-error-analysis/SKILL.md +164 -0
  35. package/data/skills/hamelsmu-eval-audit/SKILL.md +183 -0
  36. package/data/skills/hamelsmu-evaluate-rag/SKILL.md +177 -0
  37. package/data/skills/hamelsmu-generate-synthetic-data/SKILL.md +131 -0
  38. package/data/skills/hamelsmu-validate-evaluator/SKILL.md +212 -0
  39. package/data/skills/hamelsmu-write-judge-prompt/SKILL.md +144 -0
  40. package/data/skills/hf-cli/SKILL.md +174 -0
  41. package/data/skills/hf-mcp/SKILL.md +178 -0
  42. package/data/skills/hugging-face-dataset-viewer/SKILL.md +121 -0
  43. package/data/skills/hugging-face-datasets/SKILL.md +542 -0
  44. package/data/skills/hugging-face-evaluation/SKILL.md +651 -0
  45. package/data/skills/hugging-face-jobs/SKILL.md +1042 -0
  46. package/data/skills/hugging-face-model-trainer/SKILL.md +717 -0
  47. package/data/skills/hugging-face-paper-pages/SKILL.md +239 -0
  48. package/data/skills/hugging-face-paper-publisher/SKILL.md +624 -0
  49. package/data/skills/hugging-face-tool-builder/SKILL.md +110 -0
  50. package/data/skills/hugging-face-trackio/SKILL.md +115 -0
  51. package/data/skills/hugging-face-vision-trainer/SKILL.md +593 -0
  52. package/data/skills/huggingface-gradio/SKILL.md +245 -0
  53. package/data/skills/matlab/SKILL.md +376 -0
  54. package/data/skills/modal/SKILL.md +381 -0
  55. package/data/skills/openai-cloudflare-deploy/SKILL.md +224 -0
  56. package/data/skills/openai-develop-web-game/SKILL.md +149 -0
  57. package/data/skills/openai-doc/SKILL.md +80 -0
  58. package/data/skills/openai-figma/SKILL.md +42 -0
  59. package/data/skills/openai-figma-implement-design/SKILL.md +264 -0
  60. package/data/skills/openai-gh-address-comments/SKILL.md +25 -0
  61. package/data/skills/openai-gh-fix-ci/SKILL.md +69 -0
  62. package/data/skills/openai-imagegen/SKILL.md +174 -0
  63. package/data/skills/openai-jupyter-notebook/SKILL.md +107 -0
  64. package/data/skills/openai-linear/SKILL.md +87 -0
  65. package/data/skills/openai-netlify-deploy/SKILL.md +247 -0
  66. package/data/skills/openai-notion-knowledge-capture/SKILL.md +56 -0
  67. package/data/skills/openai-notion-meeting-intelligence/SKILL.md +60 -0
  68. package/data/skills/openai-notion-research-documentation/SKILL.md +59 -0
  69. package/data/skills/openai-notion-spec-to-implementation/SKILL.md +58 -0
  70. package/data/skills/openai-openai-docs/SKILL.md +69 -0
  71. package/data/skills/openai-pdf/SKILL.md +67 -0
  72. package/data/skills/openai-playwright/SKILL.md +147 -0
  73. package/data/skills/openai-render-deploy/SKILL.md +479 -0
  74. package/data/skills/openai-screenshot/SKILL.md +267 -0
  75. package/data/skills/openai-security-best-practices/SKILL.md +86 -0
  76. package/data/skills/openai-security-ownership-map/SKILL.md +206 -0
  77. package/data/skills/openai-security-threat-model/SKILL.md +81 -0
  78. package/data/skills/openai-sentry/SKILL.md +123 -0
  79. package/data/skills/openai-sora/SKILL.md +178 -0
  80. package/data/skills/openai-speech/SKILL.md +144 -0
  81. package/data/skills/openai-spreadsheet/SKILL.md +145 -0
  82. package/data/skills/openai-transcribe/SKILL.md +81 -0
  83. package/data/skills/openai-vercel-deploy/SKILL.md +77 -0
  84. package/data/skills/openai-yeet/SKILL.md +28 -0
  85. package/data/skills/pennylane/SKILL.md +224 -0
  86. package/data/skills/polars-bio/SKILL.md +374 -0
  87. package/data/skills/primekg/SKILL.md +97 -0
  88. package/data/skills/pymatgen/SKILL.md +689 -0
  89. package/data/skills/qiskit/SKILL.md +273 -0
  90. package/data/skills/qutip/SKILL.md +316 -0
  91. package/data/skills/recursive-decomposition/SKILL.md +185 -0
  92. package/data/skills/rowan/SKILL.md +427 -0
  93. package/data/skills/scholar-evaluation/SKILL.md +298 -0
  94. package/data/skills/sentry-create-alert/SKILL.md +210 -0
  95. package/data/skills/sentry-fix-issues/SKILL.md +126 -0
  96. package/data/skills/sentry-pr-code-review/SKILL.md +105 -0
  97. package/data/skills/sentry-python-sdk/SKILL.md +317 -0
  98. package/data/skills/sentry-setup-ai-monitoring/SKILL.md +217 -0
  99. package/data/skills/stable-baselines3/SKILL.md +297 -0
  100. package/data/skills/sympy/SKILL.md +498 -0
  101. package/data/skills/trailofbits-ask-questions-if-underspecified/SKILL.md +85 -0
  102. package/data/skills/trailofbits-audit-context-building/SKILL.md +302 -0
  103. package/data/skills/trailofbits-differential-review/SKILL.md +220 -0
  104. package/data/skills/trailofbits-insecure-defaults/SKILL.md +117 -0
  105. package/data/skills/trailofbits-modern-python/SKILL.md +333 -0
  106. package/data/skills/trailofbits-property-based-testing/SKILL.md +123 -0
  107. package/data/skills/trailofbits-semgrep-rule-creator/SKILL.md +172 -0
  108. package/data/skills/trailofbits-sharp-edges/SKILL.md +292 -0
  109. package/data/skills/trailofbits-variant-analysis/SKILL.md +142 -0
  110. package/data/skills/transformers.js/SKILL.md +637 -0
  111. package/data/skills/writing/SKILL.md +419 -0
  112. package/dist/bgi.js +2 -2
  113. package/package.json +1 -1
@@ -0,0 +1,239 @@
1
+ ---
2
+ name: hugging-face-paper-pages
3
+ description: Look up and read Hugging Face paper pages in markdown, and use the papers API for structured metadata such as authors, linked models/datasets/spaces, Github repo and project page. Use when the user shares a Hugging Face paper page URL, an arXiv URL or ID, or asks to summarize, explain, or analyze an AI research paper.
4
+ ---
5
+
6
+ # Hugging Face Paper Pages
7
+
8
+ Hugging Face Paper pages (hf.co/papers) is a platform built on top of arXiv (arxiv.org), specifically for research papers in the field of artificial intelligence (AI) and computer science. Hugging Face users can submit their paper at hf.co/papers/submit, which features it on the Daily Papers feed (hf.co/papers). Each day, users can upvote papers and comment on papers. Each paper page allows authors to:
9
+ - claim their paper (by clicking their name on the `authors` field). This makes the paper page appear on their Hugging Face profile.
10
+ - link the associated model checkpoints, datasets and Spaces by including the HF paper or arXiv URL in the model card, dataset card or README of the Space
11
+ - link the Github repository and/or project page URLs
12
+ - link the HF organization. This also makes the paper page appear on the Hugging Face organization page.
13
+
14
+ Whenever someone mentions a HF paper or arXiv abstract/PDF URL in a model card, dataset card or README of a Space repository, the paper will be automatically indexed. Note that not all papers indexed on Hugging Face are also submitted to daily papers. The latter is more a manner of promoting a research paper. Papers can only be submitted to daily papers up until 14 days after their publication date on arXiv.
15
+
16
+ The Hugging Face team has built an easy-to-use API to interact with paper pages. Content of the papers can be fetched as markdown, or structured metadata can be returned such as author names, linked models/datasets/spaces, linked Github repo and project page.
17
+
18
+ ## When to Use
19
+
20
+ - User shares a Hugging Face paper page URL (e.g. `https://huggingface.co/papers/2602.08025`)
21
+ - User shares a Hugging Face markdown paper page URL (e.g. `https://huggingface.co/papers/2602.08025.md`)
22
+ - User shares an arXiv URL (e.g. `https://arxiv.org/abs/2602.08025` or `https://arxiv.org/pdf/2602.08025`)
23
+ - User mentions a arXiv ID (e.g. `2602.08025`)
24
+ - User asks you to summarize, explain, or analyze an AI research paper
25
+
26
+ ## Parsing the paper ID
27
+
28
+ It's recommended to parse the paper ID (arXiv ID) from whatever the user provides:
29
+
30
+ | Input | Paper ID |
31
+ | --- | --- |
32
+ | `https://huggingface.co/papers/2602.08025` | `2602.08025` |
33
+ | `https://huggingface.co/papers/2602.08025.md` | `2602.08025` |
34
+ | `https://arxiv.org/abs/2602.08025` | `2602.08025` |
35
+ | `https://arxiv.org/pdf/2602.08025` | `2602.08025` |
36
+ | `2602.08025v1` | `2602.08025v1` |
37
+ | `2602.08025` | `2602.08025` |
38
+
39
+ This allows you to provide the paper ID into any of the hub API endpoints mentioned below.
40
+
41
+ ### Fetch the paper page as markdown
42
+
43
+ The content of a paper can be fetched as markdown like so:
44
+
45
+ ```bash
46
+ curl -s "https://huggingface.co/papers/{PAPER_ID}.md"
47
+ ```
48
+
49
+ This should return the Hugging Face paper page as markdown. This relies on the HTML version of the paper at https://arxiv.org/html/{PAPER_ID}.
50
+
51
+ There are 2 exceptions:
52
+ - Not all arXiv papers have an HTML version. If the HTML version of the paper does not exist, then the content falls back to the HTML of the Hugging Face paper page.
53
+ - If it results in a 404, it means the paper is not yet indexed on hf.co/papers. See [Error handling](#error-handling) for info.
54
+
55
+ Alternatively, you can request markdown from the normal paper page URL, like so:
56
+
57
+ ```bash
58
+ curl -s -H "Accept: text/markdown" "https://huggingface.co/papers/{PAPER_ID}"
59
+ ```
60
+
61
+ ### Paper Pages API Endpoints
62
+
63
+ All endpoints use the base URL `https://huggingface.co`.
64
+
65
+ #### Get structured metadata
66
+
67
+ Fetch the paper metadata as JSON using the Hugging Face REST API:
68
+
69
+ ```bash
70
+ curl -s "https://huggingface.co/api/papers/{PAPER_ID}"
71
+ ```
72
+
73
+ This returns structured metadata that can include:
74
+
75
+ - authors (names and Hugging Face usernames, in case they have claimed the paper)
76
+ - media URLs (uploaded when submitting the paper to Daily Papers)
77
+ - summary (abstract) and AI-generated summary
78
+ - project page and GitHub repository
79
+ - organization and engagement metadata (number of upvotes)
80
+
81
+ To find models linked to the paper, use:
82
+
83
+ ```bash
84
+ curl https://huggingface.co/api/models?filter=arxiv:{PAPER_ID}
85
+ ```
86
+
87
+ To find datasets linked to the paper, use:
88
+
89
+ ```bash
90
+ curl https://huggingface.co/api/datasets?filter=arxiv:{PAPER_ID}
91
+ ```
92
+
93
+ To find spaces linked to the paper, use:
94
+
95
+ ```bash
96
+ curl https://huggingface.co/api/spaces?filter=arxiv:{PAPER_ID}
97
+ ```
98
+
99
+ #### Claim paper authorship
100
+
101
+ Claim authorship of a paper for a Hugging Face user:
102
+
103
+ ```bash
104
+ curl "https://huggingface.co/api/settings/papers/claim" \
105
+ --request POST \
106
+ --header "Content-Type: application/json" \
107
+ --header "Authorization: Bearer $HF_TOKEN" \
108
+ --data '{
109
+ "paperId": "{PAPER_ID}",
110
+ "claimAuthorId": "{AUTHOR_ENTRY_ID}",
111
+ "targetUserId": "{USER_ID}"
112
+ }'
113
+ ```
114
+
115
+ - Endpoint: `POST /api/settings/papers/claim`
116
+ - Body:
117
+ - `paperId` (string, required): arXiv paper identifier being claimed
118
+ - `claimAuthorId` (string): author entry on the paper being claimed, 24-char hex ID
119
+ - `targetUserId` (string): HF user who should receive the claim, 24-char hex ID
120
+ - Response: paper authorship claim result, including the claimed paper ID
121
+
122
+ #### Get daily papers
123
+
124
+ Fetch the Daily Papers feed:
125
+
126
+ ```bash
127
+ curl -s -H "Authorization: Bearer $HF_TOKEN" \
128
+ "https://huggingface.co/api/daily_papers?p=0&limit=20&date=2017-07-21&sort=publishedAt"
129
+ ```
130
+
131
+ - Endpoint: `GET /api/daily_papers`
132
+ - Query parameters:
133
+ - `p` (integer): page number
134
+ - `limit` (integer): number of results, between 1 and 100
135
+ - `date` (string): RFC 3339 full-date, for example `2017-07-21`
136
+ - `week` (string): ISO week, for example `2024-W03`
137
+ - `month` (string): month value, for example `2024-01`
138
+ - `submitter` (string): filter by submitter
139
+ - `sort` (enum): `publishedAt` or `trending`
140
+ - Response: list of daily papers
141
+
142
+ #### List papers
143
+
144
+ List arXiv papers sorted by published date:
145
+
146
+ ```bash
147
+ curl -s -H "Authorization: Bearer $HF_TOKEN" \
148
+ "https://huggingface.co/api/papers?cursor={CURSOR}&limit=20"
149
+ ```
150
+
151
+ - Endpoint: `GET /api/papers`
152
+ - Query parameters:
153
+ - `cursor` (string): pagination cursor
154
+ - `limit` (integer): number of results, between 1 and 100
155
+ - Response: list of papers
156
+
157
+ #### Search papers
158
+
159
+ Perform hybrid semantic and full-text search on papers:
160
+
161
+ ```bash
162
+ curl -s -H "Authorization: Bearer $HF_TOKEN" \
163
+ "https://huggingface.co/api/papers/search?q=vision+language&limit=20"
164
+ ```
165
+
166
+ This searches over the paper title, authors, and content.
167
+
168
+ - Endpoint: `GET /api/papers/search`
169
+ - Query parameters:
170
+ - `q` (string): search query, max length 250
171
+ - `limit` (integer): number of results, between 1 and 120
172
+ - Response: matching papers
173
+
174
+ #### Index a paper
175
+
176
+ Insert a paper from arXiv by ID. If the paper is already indexed, only its authors can re-index it:
177
+
178
+ ```bash
179
+ curl "https://huggingface.co/api/papers/index" \
180
+ --request POST \
181
+ --header "Content-Type: application/json" \
182
+ --header "Authorization: Bearer $HF_TOKEN" \
183
+ --data '{
184
+ "arxivId": "{ARXIV_ID}"
185
+ }'
186
+ ```
187
+
188
+ - Endpoint: `POST /api/papers/index`
189
+ - Body:
190
+ - `arxivId` (string, required): arXiv ID to index, for example `2301.00001`
191
+ - Pattern: `^\d{4}\.\d{4,5}$`
192
+ - Response: empty JSON object on success
193
+
194
+ #### Update paper links
195
+
196
+ Update the project page, GitHub repository, or submitting organization for a paper. The requester must be the paper author, the Daily Papers submitter, or a papers admin:
197
+
198
+ ```bash
199
+ curl "https://huggingface.co/api/papers/{PAPER_OBJECT_ID}/links" \
200
+ --request POST \
201
+ --header "Content-Type: application/json" \
202
+ --header "Authorization: Bearer $HF_TOKEN" \
203
+ --data '{
204
+ "projectPage": "https://example.com",
205
+ "githubRepo": "https://github.com/org/repo",
206
+ "organizationId": "{ORGANIZATION_ID}"
207
+ }'
208
+ ```
209
+
210
+ - Endpoint: `POST /api/papers/{paperId}/links`
211
+ - Path parameters:
212
+ - `paperId` (string, required): Hugging Face paper object ID
213
+ - Body:
214
+ - `githubRepo` (string, nullable): GitHub repository URL
215
+ - `organizationId` (string, nullable): organization ID, 24-char hex ID
216
+ - `projectPage` (string, nullable): project page URL
217
+ - Response: empty JSON object on success
218
+
219
+ ## Error Handling
220
+
221
+ - **404 on `https://huggingface.co/papers/{PAPER_ID}` or `md` endpoint**: the paper is not indexed on Hugging Face paper pages yet.
222
+ - **404 on `/api/papers/{PAPER_ID}`**: the paper may not be indexed on Hugging Face paper pages yet.
223
+ - **Paper ID not found**: verify the extracted arXiv ID, including any version suffix
224
+
225
+ ### Fallbacks
226
+
227
+ If the Hugging Face paper page does not contain enough detail for the user's question:
228
+
229
+ - Check the regular paper page at `https://huggingface.co/papers/{PAPER_ID}`
230
+ - Fall back to the arXiv page or PDF for the original source:
231
+ - `https://arxiv.org/abs/{PAPER_ID}`
232
+ - `https://arxiv.org/pdf/{PAPER_ID}`
233
+
234
+ ## Notes
235
+
236
+ - No authentication is required for public paper pages.
237
+ - Write endpoints such as claim authorship, index paper, and update paper links require `Authorization: Bearer $HF_TOKEN`.
238
+ - Prefer the `.md` endpoint for reliable machine-readable output.
239
+ - Prefer `/api/papers/{PAPER_ID}` when you need structured JSON fields instead of page markdown.