Use when looking up journal impact factors (JCR IF), checking a journal's impact factor by name, comparing IF across journals, or answering questions about "影响因子" / "impact factor" / "IF". Triggers on "impact factor", "journal IF", "影响因子", "JCR", "IF score", "journal rank", "which journal has higher IF", "what is the IF of". PROACTIVELY USE when user mentions journal prestige, publication venue quality, or manuscript submission target evaluation.
npx skills add https://github.com/Agents365-ai/365-skills --skill journal-if
Look up journal impact factors using a two-source cascade: bundled CSV cache (~200 common journals) → OpenAlex API (approximate 2-year IF for any journal).
Critical rule: Always use journal_if.py for lookups. Never guess impact factors — they change yearly and vary by edition.
| User wants... | Tier | Command |
| --------------- | ------ | --------- |
| Look up IF of a journal | read | python3 journal_if.py lookup "Nature Medicine" |
| Search for a journal | read | python3 journal_if.py search "cancer immunology" |
| Process a list of journals | read | python3 journal_if.py batch journals.txt |
| Cache-only (no network) | read | python3 journal_if.py --offline lookup "Cell" |
| Inspect cache state | read | python3 journal_if.py cache status |
| Refresh upstream CSV | write | python3 journal_if.py cache update |
| Machine-readable CLI contract | read | python3 journal_if.py schema |
| Schema for one subcommand | read | python3 journal_if.py schema lookup |
Stdout is a stable JSON envelope when the CLI is not attached to a terminal
(piped or captured by an agent), and a human-readable view when run on a TTY.
To force a format: --format json|table|human|auto. --json is a back-compat
alias for --format json.
Envelope shape:
{ "ok": true, "data": {...}, "meta": { "schema_version", "cli_version", "latency_ms" } }{ "ok": "partial", "data": { "succeeded": [...], "failed": [...] }, "meta": {...} }{ "ok": false, "error": { "code", "message", "retryable", ... }, "meta": {...} }| Code | Meaning |
|------|---------|
| 0 | success (including partial success) |
| 1 | runtime / upstream error |
| 2 | validation / bad input (missing file, bad flag) |
| 3 | not found (no journal matched) |
error.code)| Code | Retryable | Exit | Meaning |
| ------ | ----------- | ------ | --------- |
| not_found | no | 3 | Lookup completed but no source matched |
| upstream_unavailable | yes | 1 | OpenAlex API failed transiently; retry later or use --offline |
| file_not_found | no | 2 | Input file path does not exist |
| validation_error | no | 2 | Bad argument or flag combination |
| runtime_error | yes | 1 | Unexpected internal error |
| Scenario | Source |
| ---------- | -------- |
| Quick check of a major journal | Bundled CSV (instant) |
| Niche or newer journal | OpenAlex fallback (automatic) |
| Formal submission / grant | Note: OpenAlex IF ≠ official JCR IF. Cite only as approximate. |
| Batch processing many journals | CSV for cached ones, OpenAlex for misses |
| Offline / air-gapped | --offline flag (bundled CSV only) |
| Intent | Action |
| -------- | -------- |
| "What's the IF of Nature?" | lookup "Nature" |
| "Compare IF of Cell and Science" | Run lookup twice, compare results |
| "Which immunology journals have IF > 20?" | search "immunology" then filter |
| "Process this list of journals" | batch journals.txt |
| "Is this a high-impact journal?" | lookup then interpret IF in field context |
Run the appropriate journal_if.py command. The script handles:
| IF Range | Typical Tier | Example |
| ---------- | ------------- | --------- |
| > 30 | Elite (top 0.1%) | Nature (64.8), Science (56.9), Cell (64.5) |
| 20–30 | Exceptional (top 1%) | Cancer Cell (50.3), Immunity (32.4) |
| 10–20 | Excellent (top 5%) | Nature Communications (16.6), Sci Adv (13.6) |
| 5–10 | Strong (top 15%) | eLife (7.7), Cell Reports (8.8) |
| 2–5 | Solid | PLOS ONE (3.7), Sci Rep (4.6) |
| < 2 | Niche / new | Many field-specific and new journals |
Caveats:
Create a text file with one journal name per line:
Nature Medicine
Journal of Biological Chemistry
Proceedings of the National Academy of Sciences
Then run:
python3 journal_if.py batch journals.txt
| Issue | Solution |
| ------- | --------- |
| "No data found" | Try a shorter/alternative name; use search for fuzzy matching |
| OpenAlex returns 0 or None IF | The journal may be too new (needs 2+ years of data); use --offline to check cache only |
| OpenAlex IF differs from JCR | Expected — OpenAlex uses its own article classification. Use for ranking, not formal citation. |
| Cache download fails | Check network; the bundled CSV still works offline |
| Wrong journal matched | Use more specific name; the fuzzy matcher picks the closest substring match |
Take agents365-ai/journal-if from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.