Generate statistics for publication-year and journal distributions from local references or PDFs; use when you need standardized Year/Journal tables and a summary without any network access.
58
68%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Other/literature-statistics/SKILL.md.bib/.ris/.txt/.csv) and you want consistent, standardized output.year, count, percentjournal title, count, percentunknown.pip install -r scripts/requirements.txtpython scripts/process_pdfs.py --input-dir "./pdfs" --output "./literature_stats.md"If your repository provides a CLI entry or script for reference files, run it similarly to the PDF script. For example:
python scripts/process_references.py --input "./refs/library.bib" --output "./literature_stats.md"## Summary
- Total processed: 120
- Unknown year: 7
- Unknown journal: 15
## Year Distribution
| Year | Count | Percent |
|------|-------|---------|
| 2023 | 18 | 15.0% |
| 2022 | 22 | 18.3% |
| ... | ... | ... |
## Journal Distribution
| Journal | Count | Percent |
|---------|-------|---------|
| Journal of X | 9 | 7.5% |
| ... | ... | ... |For additional examples, see: references/examples.md.
year and journal using the parsing rules below.python scripts/process_pdfs.py --input-dir "<pdf_dir>" --output "<output_md>"year fieldjournal fieldPY or Y1 (use the first 4-digit year)JO / JF / T2Journal Name. 2022; or Journal Name, 2022); otherwise set to unknownJournal, Proceedings, Transactions
If unclear, set to unknown.unknown and report the totals in the summary.count descendingname ascending (year or journal title)literature_statistics_result.md unless the skill documentation defines a better convention.Run this minimal verification path before full execution when possible:
python scripts/process_pdfs.py --helpExpected output format:
Result file: literature_statistics_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if anyf5ef65b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.