Import local literature into a managed library; trigger when you need offline deduplication, tagging, and a searchable index.
60
72%
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-management/SKILL.mdindex.jsonl) for later retrieval and filtering.index.jsonl (one JSON object per line).pip install -r scripts/requirements.txt# 1) Choose a source directory containing local literature files
SOURCE_DIR="/path/to/downloads"
# 2) Choose (or create) a target library directory managed by this skill
LIBRARY_DIR="/path/to/literature-library"
# 3) Import with optional manual tags (repeatable)
python scripts/import_library.py \
--source-dir "$SOURCE_DIR" \
--library-dir "$LIBRARY_DIR" \
--tag "survey" \
--tag "to-read"After running, verify:
"$LIBRARY_DIR/files/<Year>/<Journal>/...""$LIBRARY_DIR/index.jsonl"Additional examples may be available in: references/examples.md.
.pdf, .bib, .ris, .csv, .txt--tag "<tag>"index.jsonl created/appended in the library rootindex.jsonl)Each line is a single JSON record with (at minimum) the following fields:
id, title, year, journal, authors, keywords, doi, tagssource_type, source_path, file_pathdedup_key, dedup_rule, imported_atDeduplication is applied in the following priority order:
The chosen rule is recorded in dedup_rule, and the computed key is stored in dedup_key.
--tag values are always applied to imported records.keywords, they are converted into tags and merged with manual tags.<library>/files/<Year>/<Journal>/UnknownYear, UnknownJournal--source-dir.--library-dir (no writes outside the library root).literature_management_result.md unless the skill documentation defines a better convention.This skill accepts requests that match the documented purpose of literature-management and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
literature-managementonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Run this minimal verification path before full execution when possible:
python scripts/import_library.py --helpExpected output format:
Result file: literature_management_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.