Agent skill

Literature Management

by aipoch in aipoch/medical-research-skills

Import local literature into a managed library; trigger when you need offline deduplication, tagging, and a searchable index.

MITAuto-check passedData & Analytics

Install Literature Management

skills CLI
$ npx skills add aipoch/medical-research-skills --skill literature-management -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills literature-management --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/scientific-skills/Other/literature-management .claude/skills/literature-management && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
literature-management
GitHub stars
1.9k
Token cost
~1.8k tokens
SKILL.md length
825 words
Files
3
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Import local literature into a managed library; trigger when you need offline deduplication, tagging, and a searchable index.

  • Works in 3 steps: DOI (primary) → Title + Year (secondary) → File hash (fallback)
  • You need offline deduplication
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 9 more sections
  • Calls python and pip

What it does

Literature Management is an agent skill from aipoch/medical-research-skills. Import local literature into a managed library; trigger when you need offline deduplication, tagging, and a searchable index.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `POLISH_CHANGELOG.md` and `eval_report_literature-management_result.json`).

It sits in Data & Analytics, covering Data cleaning. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • You need offline deduplication
  • A searchable index

Example prompts

  • “/literature-management”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. DOI (primary)
  2. Title + Year (secondary)
  3. File hash (fallback)

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Literature Management loads about 1.8k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 825 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 825 words, ~1,804 tokens.

Download SKILL.mdSave it as .claude/skills/literature-management/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
literature-management
description
Import local literature into a managed library; trigger when you need offline deduplication, tagging, and a searchable index.
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

When to Use

  • You have a batch of locally downloaded papers (PDF/BibTeX/RIS/CSV/TXT) that must be organized into a consistent library structure.
  • You need offline deduplication using DOI or normalized Title + Year to avoid repeated entries.
  • You want to apply manual tags at import time and also derive tags from available metadata keywords.
  • You need a local, appendable search index (index.jsonl) for later retrieval and filtering.
  • You must operate in an environment where network access is not allowed and all processing must remain local.

Key Features

  • Local-only import into a managed literature library directory.
  • Deterministic deduplication with clear priority rules (DOI → Title+Year → file hash).
  • Tagging support:
    • manual tags via CLI flags
    • automatic tags from metadata keywords (when present)
  • Searchable index generation and maintenance via index.jsonl (one JSON object per line).
  • Predictable file organization by year and journal, with safe handling of naming conflicts.
  • Security/compliance-friendly behavior: no external APIs, no credentials, no network calls.

Dependencies

  • Python 3.9+
  • Python packages (install via requirements file):
    • pip install -r scripts/requirements.txt

Example Usage

bash
# 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:

  • Organized files under:
    • "$LIBRARY_DIR/files/<Year>/<Journal>/..."
  • Index file:
    • "$LIBRARY_DIR/index.jsonl"
  • The import/deduplication/error summary printed by the script.

Additional examples may be available in: references/examples.md.

Implementation Details

Inputs
  • Source directory: contains one or more of .pdf, .bib, .ris, .csv, .txt
  • Target library directory: the managed library root
  • Manual tags (optional): provided via repeated --tag "<tag>"
Outputs
  • Organized literature files written into the target library directory
  • index.jsonl created/appended in the library root
  • A summary of imported items, deduplicated items, and errors
Index Data Model (index.jsonl)

Each line is a single JSON record with (at minimum) the following fields:

  • id, title, year, journal, authors, keywords, doi, tags
  • source_type, source_path, file_path
  • dedup_key, dedup_rule, imported_at
Deduplication Algorithm

Deduplication is applied in the following priority order:

  1. DOI (primary)
    • Case-insensitive comparison after normalization.
  2. Title + Year (secondary)
    • Title is normalized (e.g., whitespace/case normalization) and combined with year.
  3. File hash (fallback)
    • Used only when DOI and Title+Year are unavailable.

The chosen rule is recorded in dedup_rule, and the computed key is stored in dedup_key.

Tagging Rules
  • All --tag values are always applied to imported records.
  • If metadata includes keywords, they are converted into tags and merged with manual tags.
File Organization Rules
  • Target path pattern:
    • <library>/files/<Year>/<Journal>/
  • Unknown values are mapped to:
    • UnknownYear, UnknownJournal
  • Filenames are preserved when possible; if a conflict occurs, a suffix is appended to avoid overwriting.
Security / Compliance Constraints
  • No network access is used or required.
  • No external APIs or credentials are used.
  • The tool only reads from the specified --source-dir.
  • The tool only writes within the specified --library-dir (no writes outside the library root).

When Not to Use

  • Do not use this skill when the required source data, identifiers, files, or credentials are missing.
  • Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.
  • Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.
Show full SKILL.md (340 more words)Show less

Required Inputs

  • A clearly specified task goal aligned with the documented scope.
  • All required files, identifiers, parameters, or environment variables before execution.
  • Any domain constraints, formatting requirements, and expected output destination if applicable.
  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

  • Return a structured deliverable that is directly usable without reformatting.
  • If a file is produced, prefer a deterministic output name such as literature_management_result.md unless the skill documentation defines a better convention.
  • Include a short validation summary describing what was checked, what assumptions were made, and any remaining limitations.

Validation and Safety Rules

  • Validate required inputs before execution and stop early when mandatory fields or files are missing.
  • Do not fabricate measurements, references, findings, or conclusions that are not supported by the provided source material.
  • Emit a clear warning when credentials, privacy constraints, safety boundaries, or unsupported requests affect the result.
  • Keep the output safe, reproducible, and within the documented scope at all times.

Failure Handling

  • If validation fails, explain the exact missing field, file, or parameter and show the minimum fix required.
  • If an external dependency or script fails, surface the command path, likely cause, and the next recovery step.
  • If partial output is returned, label it clearly and identify which checks could not be completed.

Input Validation

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-management only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Quick Validation

Run this minimal verification path before full execution when possible:

bash
python scripts/import_library.py --help

Expected output format:

text
Result file: literature_management_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in scientific-skills/Other/literature-management of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_literature-management_result.json

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Literature Management next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Literature Management compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Literature Management this skillaipoch/medical-research-skills1.9k—~1.8kAutomated safety check: PassMIT
Question2reportrefraction-ray/xalpha2.7k—~3.2kAutomated safety check: PassMIT
Dingo VerifyMigoXLab/dingo757—~741Automated safety check: NotesApache-2.0
Data Validationplatonai/Browser41.2k—~896Automated safety check: PassApache-2.0
Pandas ProJeffallan/claude-skills12k1 repos~1.5kAutomated safety check: PassMIT
Issues DeduplicationJetBrains/ideavim10k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Question2report

    refraction-ray/xalpha

    Turn a natural-language financial question into a polished, self-contained HTML report.

    2.7k GitHub stars~3.2k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed
  • Dingo Verify

    MigoXLab/dingo

    A skill your agent uses when the user wants to fact-check an article or verify factual claims in a document.

    757 GitHub stars~741 tokensUpdated 2 days ago
    Data & AnalyticsAuto-check: notes
  • Data Validation

    platonai/Browser4

    Validates data against common and custom rules (required fields, formats, ranges).

    1.2k GitHub stars~896 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Pandas Pro

    Jeffallan/claude-skills

    Handles pandas DataFrame work: cleaning, merging, groupby aggregation, pivots, time-series resampling and memory tuning, with checks on dtypes, shapes and nulls.

    12k GitHub starsUsed in 1 repo~1.5k tokens
    Data & AnalyticsAuto-check passed
  • Issues Deduplication

    JetBrains/ideavim

    Official

    Handles deduplication of YouTrack issues. An agent skill from JetBrains/ideavim.

    10k GitHub stars~1.3k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Openbb Data Fetcher

    monarchjuno/vibe-investing

    Fetch financial, market, economic, fundamental, news, options, crypto, ETF, index, and macro data through the OpenBB Python interface instead of the OpenBB MCP server.

    299 GitHub stars~2.9k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check: notes

More from aipoch/medical-research-skills

All 578 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    1.9k GitHub stars~2.2k tokensUpdated 24 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    1.9k GitHub stars~1.4k tokensUpdated 24 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    1.9k GitHub stars~3.7k tokensUpdated 24 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    1.9k GitHub stars~1.8k tokensUpdated 24 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    1.9k GitHub stars~1.7k tokensUpdated 24 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    1.9k GitHub stars~1.3k tokensUpdated 24 days ago
    Auto-check passed

Questions about Literature Management

What does Literature Management do?

Import local literature into a managed library; trigger when you need offline deduplication, tagging, and a searchable index. Literature Management is an agent skill from aipoch/medical-research-skills. Import local literature into a managed library; trigger when you need offline deduplication, tagging, and a searchable index.

When should I use Literature Management?

Literature Management fits situations like: you need offline deduplication; A searchable index.

How do I install Literature Management in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill literature-management -a claude-code`. Or copy the skill folder (scientific-skills/Other/literature-management in aipoch/medical-research-skills) into .claude/skills/literature-management in your project. Claude Code loads it when a task matches its description.

How do I install Literature Management in Codex?

Run `npx skills add aipoch/medical-research-skills --skill literature-management -a codex`. Or copy the skill folder (scientific-skills/Other/literature-management in aipoch/medical-research-skills) into .agents/skills/literature-management in your project. Codex loads it when a task matches its description.

Can I use Literature Management in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill literature-management -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/literature-management, .gemini/skills/literature-management, .github/skills/literature-management and .opencode/skills/literature-management in your project.

What does Literature Management need to run?

Going by SKILL.md and its folder, Literature Management needs the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Literature Management access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Literature Management safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Literature Management use?

Literature Management is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Literature Management use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Literature Management?

Skills that share tags, products or a category with Literature Management: Question2report (refraction-ray/xalpha, 2.7k stars), Dingo Verify (MigoXLab/dingo, 757 stars), Data Validation (platonai/Browser4, 1.2k stars) and Pandas Pro (Jeffallan/claude-skills, 12k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Literature Management?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.