lenny-cli
v1.0.1
Published
CLI + agent skill for Lenny's Newsletter & Podcast archive via MCP
Maintainers
Readme
lenny-skill
CLI + agent skill for searching Lenny Rachitsky's Newsletter & Podcast archive (638 items, 5.4M words) via the lennysdata MCP server.
Install the Agent Skill
Works with Claude Code, Cursor, Codex, and 40+ other agents:
npx skills add mslavov/lenny-skillOr via the CLI itself:
npx lenny-cli --skill export lenny | npx skillflag installInstall the CLI
npm install -g lenny-cliOr use without installing:
npx lenny-cli search "pricing" --limit 3Setup
Get a token from lennysdata.com, then:
export LENNY_TOKEN=your_token_hereOr save it permanently:
lenny config your_token_hereUsage
# Search the archive
lenny search "pricing strategy" --limit 5
lenny search "growth|activation|retention" --type podcast
# Browse content
lenny list --type newsletter --limit 10
# Read full content
lenny read "podcasts/madhavan-ramanujam.md"
# Read a focused excerpt
lenny excerpt "podcasts/madhavan-ramanujam.md" --query "pricing"
# Archive stats
lenny stats
# JSON output (for scripting or agents)
lenny search "hiring" --jsonAgent Usage
Once the skill is installed, just ask your agent naturally:
- "What does Lenny say about pricing?"
- "Find podcast episodes about hiring"
- "Summarize Lenny's advice on product-market fit"
License
MIT
