Introducing pod CLI: Run Prompts from Your Terminal
Meet pod-cli, the official command-line tool for Promptodex. Fetch prompts, fill in variables, and execute them against AI models—all without leaving your terminal.
If you've ever found yourself copying prompts from a browser, pasting them into an AI chat interface, then copying the output back—you know how tedious that workflow can get. What if you could just run prompts directly from your terminal?
Today, we're excited to announce pod-cli, the official command-line interface for Promptodex.
The Problem: Prompt Chaos
Working with AI prompts in 2026 often looks something like this:
- Open your notes app to find the prompt you saved
- Copy it to a chat interface
- Manually replace the
{{variables}}with real values - Submit and wait for the response
- Copy the output back into your workflow
Repeat this dozens of times a day, across different projects, and you've got a recipe for wasted time and context switching.
And that's just for your prompts. What about when you want to use a prompt someone else created? You're stuck searching the web, evaluating quality, and making sure you've got the right version.
The Solution: One Command
With pod-cli, executing a prompt looks like this:
pod summarize
That's it. The CLI fetches the prompt from Promptodex, runs it against your configured AI model, and outputs the result to stdout.
Template Variables
Most prompts aren't static—they need input. Promptodex prompts use the {{variableName}} syntax for dynamic variables, and pod-cli makes filling them in simple:
pod translate --language spanish --text "Hello, world!"
Every variable becomes a flag. No copying, no pasting, no manual find-and-replace.
Pipe Content Directly
Have a file you want to process? Pipe it in:
cat article.md | pod summarize
The content flows into the prompt's {{content}} variable automatically. This makes pod-cli perfect for shell scripts, CI/CD pipelines, and automation workflows.
Choose Your Model
Each prompt on Promptodex can specify a recommended model, but you're not locked in. Override with the --model flag:
pod code-review --model sonnet
Configure as many models as you want—GPT-4, Claude, Gemini, and more—with simple aliases in your config file.
Why Promptodex + pod-cli?
You might be wondering: why not just save prompts locally and use them with curl or a custom script?
Here's what you get with the Promptodex ecosystem:
1. Version Control for Prompts
When you improve a prompt on Promptodex, every user of that prompt gets the update. No need to manually sync files or notify your team. Just push a new revision (with a message explaining the change), and everyone running pod your-prompt gets the latest version.
2. Community & Discovery
Browse thousands of public prompts created by the community. Found one that's close to what you need? Fork it, customize it, and publish your own version. The best prompts rise to the top.
3. Reusable Templates
Build prompts once, use them everywhere. A well-crafted code-review prompt can be used by your entire team, across every project, with consistent results. Your prompts become portable, shareable, and version-controlled—no more "which version of this prompt are you using?"
4. Private Prompts for Teams
Not everything should be public. Create private prompts on Promptodex, generate an API key, and use them with pod-cli:
# In ~/.pod/config.json
{
"promptodexKey": "POD_live_xxxx..."
}
Now your team can access proprietary prompts without exposing them to the world.
Getting Started
Installation takes seconds:
npm install -g pod-cli
Then create your config file at ~/.pod/config.json:
{
"defaultModel": "4.1",
"vendors": {
"openai": {
"apiKey": "sk-your-openai-key"
}
},
"models": {
"4.1": {
"vendor": "openai",
"model": "gpt-4.1"
}
}
}
Run your first prompt:
pod helloworld
That's all there is to it.
Real-World Use Cases
Here are some ways developers are already using pod-cli:
Code Reviews in CI/CD
git diff main | pod code-review >> pr-review.md
Summarizing Meeting Notes
cat meeting-transcript.txt | pod summarize --format bullets
Generating Commit Messages
git diff --staged | pod commit-message
Documentation Generation
cat src/api.ts | pod generate-docs --style jsdoc
Translation Workflows
cat README.md | pod translate --language japanese > README.ja.md
What's Next?
This is just the beginning. We're working on:
- Interactive mode: A REPL for exploring prompts
- Caching strategies: Offline support and faster repeated runs
- Editor integrations: VS Code extension for running prompts inline
- Prompt composition: Chain multiple prompts together
Try It Today
Install pod-cli, browse public prompts, and experience a better way to work with AI.
npm install -g pod-cli
Have feedback or ideas? We'd love to hear from you on GitHub or X/Twitter.
Happy prompting!