You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
citation-management: correct documented commands, bump to 2.0
SKILL.md's one copy-pasteable Phase 3 command used --remove-duplicates, which
argparse rejects; the real flag is --deduplicate. A sweep of every documented
invocation against the actual --help output found eleven more flags that do not
exist: validate_citations.py --auto-fix, --strict, --output,
--check-required-fields, --check-authors, --check-duplicates, --check-syntax;
format_bibtex.py --validate, --report, --style; doi_to_bibtex.py --clipboard;
and search_google_scholar.py --open-access-only. Several sat in worked examples
an agent would run verbatim.
citation_validation.md documented an "auto-fix" mode of validate_citations.py
that never existed -- the script only reports. Those sections now point at
format_bibtex.py, which is what rewrites.
Other corrections:
- --report wrote a JSON document to report.txt.
- three of five declared dependencies were never imported.
- Phase 2.5 was marked MANDATORY but needed web access that allowed-tools did
not grant; WebSearch and WebFetch are now declared.
- no compatibility field, despite needing a Python version, a package, and
network access.
- the schematics section told a citation skill to produce diagrams by default,
and named generate_schematic.py while generate_schematic_ai.py sat beside it
unexplained. Reduced to a pointer at scientific-schematics.
- venue reference counts are labelled as rules of thumb rather than submission
requirements, which is what they are.
Documents search_openalex.py and the shared _common.py, and regenerates the
workflow diagram, which no longer matched what the skill does.
Version 1.8 -> 2.0: format_bibtex.py no longer overwrites its input by default.
Copy file name to clipboardExpand all lines: skills/citation-management/SKILL.md
+80-72Lines changed: 80 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
1
---
2
2
name: citation-management
3
-
description: Comprehensive citation management for academic research. Search Google Scholar and PubMed for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.
4
-
allowed-tools: Read Write Edit Bash
3
+
description: Comprehensive citation management for academic research. Search OpenAlex, PubMed, and Google Scholar for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.
compatibility: Requires Python 3.9+ with requests. Google Scholar search additionally needs scholarly. Needs network access to api.openalex.org, api.crossref.org, eutils.ncbi.nlm.nih.gov, export.arxiv.org, and api.datacite.org.
6
7
metadata:
7
-
version: "1.8"
8
+
version: "2.0"
8
9
skill-author: K-Dense Inc.
9
10
openclaw:
10
-
primaryEnv: OPENROUTER_API_KEY
11
11
envVars:
12
-
- name: OPENROUTER_API_KEY
13
-
required: false
14
-
description: OpenRouter API key for LLM-powered citation steps.
15
12
- name: NCBI_EMAIL
16
13
required: false
17
14
description: Email for NCBI Entrez identification.
18
15
- name: NCBI_API_KEY
19
16
required: false
20
17
description: NCBI API key to raise Entrez rate limits.
18
+
- name: OPENALEX_EMAIL
19
+
required: false
20
+
description: Contact email for the faster OpenAlex polite pool.
21
21
---
22
22
23
23
# Citation Management
@@ -42,37 +42,8 @@ Use this skill when:
42
42
- Checking for duplicate citations
43
43
- Ensuring consistent citation formatting
44
44
45
-
## Visual Enhancement with Scientific Schematics
46
-
47
-
**When creating documents with this skill, always consider adding scientific diagrams and schematics to enhance visual communication.**
48
-
49
-
If your document does not already contain schematics or diagrams:
50
-
- Use the **scientific-schematics** skill to generate AI-powered publication-quality diagrams
51
-
- Simply describe your desired diagram in natural language
52
-
- Nano Banana Pro will automatically generate, review, and refine the schematic
53
-
54
-
**For new documents:** Scientific schematics should be generated by default to visually represent key concepts, workflows, architectures, or relationships described in the text.
BibTeX parsing, rendering, deduplication, and validation are standard library
292
+
(`scripts/_common.py`), so `format_bibtex.py` and `validate_citations.py` run
293
+
with no third-party packages at all.
294
+
295
+
### Optional
290
296
291
297
```bash
292
-
# For advanced validation
293
-
uv pip install crossref-commons # Enhanced CrossRef API access
294
-
uv pip install pylatexenc # LaTeX special character handling
298
+
uv pip install scholarly # only for search_google_scholar.py
295
299
```
296
300
297
301
### Where credentials are sent
298
302
299
-
Each environment variable this skill reads is used only to authenticate to the one service it belongs to. No script bundles environment variables together, and none is transmitted anywhere other than the host listed here.
303
+
This skill needs no API key. The two environment variables it reads are
304
+
optional identifiers, each sent to the one service it belongs to and nowhere
305
+
else; no script bundles environment variables together.
|`NCBI_EMAIL`|`eutils.ncbi.nlm.nih.gov`| Entrez caller identification (required by NCBI) |
305
-
|`OPENROUTER_API_KEY`|`openrouter.ai`|Bearer token for the optional schematic generation|
310
+
|`NCBI_EMAIL`|`eutils.ncbi.nlm.nih.gov`| Entrez caller identification (requested by NCBI) |
311
+
|`OPENALEX_EMAIL`|`api.openalex.org`|Joins the faster OpenAlex polite pool|
306
312
307
-
`api.crossref.org`, `doi.org`, and `arxiv.org` are queried without credentials. `generate_schematic.py` forwards only `OPENROUTER_API_KEY` — plus the networking, TLS, and locale variables needed to make a request — to its subprocess, rather than the full environment.
0 commit comments