/nber-cli:trace-nber-latestfrom nber-cli
Fetches and filters latest NBER working papers by research topics, generates single-paper recommendations or weekly digests in the user's language.
Ships in nber-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Monitor the latest NBER working papers, filter them by the user's preset research topics, and generate paper recommendation posts in the user's language.
Use this skill when the user wants to:
Read configuration
trace-nber-latest/config.toml.filter.topics.filter.threshold.Fetch papers
uvx nber-cli feed fetch --format json
--max-items N if you want to limit the number of papers.results array.uvx nber-cli info <paper-id> --format json
Filter by topic
uv run --with requests scripts/topic-related.py "<topic>" "<abstract>"
similarity: 0.xxxx.filter.threshold, the paper matches the topic.Generate post copy
examples/single-paper-post.md for single-paper recommendations.examples/weekly-paper-posts.md for weekly digests.Output
output/ directory (the path comes from [output].dir in config.toml).Use the structure from examples/single-paper-post.md:
---
date: YYYYMMDD-HH:MM
command: uvx nber-cli info <paper-id> --format json
paper: <paper-id>
issue-date: YYYY-MM-DD
title: <paper-title>
authors:
- <author-1>
- <author-2>
topics:
- <topic-1>
- <topic-2>
links: <paper-url>
---
# <paper-title>
## One-liner
A one-sentence summary of the core finding.
## Abstract
The paper's abstract, kept accurate and unchanged.
## Why read it?
1-2 sentences explaining why this paper matters for the user's topics.
## Story
A plain-language explanation of what the paper does and what it finds.
### Shine point
The key methodological or conceptual contribution that makes this paper stand out.
Use the structure from examples/weekly-paper-posts.md:
---
date: YYYYMMDD-HH:MM
command: uvx nber-cli feed fetch --format json --max-items N
results:
- wXXXXX
- wXXXXX
---
# NBER Weekly Paper Posts
Abstract: A short overview of the week's papers and which ones match the user's topics.
## wXXXXX
### metadata
- title: <paper-title>
- authors: <author-list>
- topics: [<topic-1>, <topic-2>]
- related-value: 0.xxx
### Why Read it?
Why this paper fits the user's interests.
### Story
Plain-language summary of the paper.
### Shine Point
What makes this paper notable.
## Other Papers This Week
- **wXXXXX <title>**: one-line summary.
Only papers with a similarity score above filter.threshold get a full section. Papers below the threshold go into "Other Papers This Week" with a one-line summary.
config.toml is a local configuration file and will not be committed to git (it is listed in .gitignore).
On first use, copy config.example.toml:
cp config.example.toml config.toml
Key fields:
[embedding]
base_url = "https://api.openai.com/v1"
api_env = "OPENAI_API_KEY" # environment variable name
api_key = "" # or put the real key here (only in local config.toml)
model = "text-embedding-3-small"
[filter]
topics = ["labor economics", "gender", "immigration"]
threshold = 0.72 # cosine similarity threshold
[output]
dir = "./output"
The API key is read from the api_key field first. If that is empty, the script reads the environment variable specified by api_env.
config.example.toml.config.toml with a real API key to git.Abstract section should keep the original abstract unchanged.One-liner, Story, and Shine point sections should be rewritten for readability.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub sepinetam/nber-cli --plugin nber-cli