recursive-llm
The recursive-llm tool enables efficient long-context processing by storing context in a Python REPL, allowing analysis of over 1 million tokens while reducing language model token usage.
- •When you need to process large texts or conversations that exceed the token limits of traditional language models
- •When you want to reduce the cost of using language models by minimizing token usage
- •When you need to maintain context across multiple interactions or turns in a conversation
rlm.process('Analyze the following text: ' + ' '.join([str(i) for i in range(100000)]))Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/recursive-llm && curl -fsSL https://workflowstacks.com/api/skills/recursive-llm/claude-skill -o ~/.claude/skills/recursive-llm/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Recursive-llm is a large Python project (~15k lines across 102 code files, plus 23 test files). Setup is light: installs like a normal app — add your API keys. Reading the code is optional. Last commit a month ago, MIT license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2pyproject.tomlDependencies and the commands it exposes
- 3.env.exampleThe API keys and settings you must provide
- 4src/rlm/__init__.pyInside src/ — the main logic begins here
- 5examples/basic_usage.pyA worked example — copy this to get going
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/recursive-llm && curl -fsSL https://workflowstacks.com/api/skills/recursive-llm/claude-skill -o ~/.claude/skills/recursive-llm/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/recursive-llm?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.