
Show HN:Promptcmd - 將 AI 提示轉化為可執行程式的提示管理器
Promptcmd 是一款新推出的開源工具,使用者可以藉此創建由 AI 驅動的自訂命令列介面 (CLI) 指令。它能將 AI 提示轉化為可執行程式,實現與大型語言模型 (LLM) 提供商的無縫整合,並利用熟悉的 Unix 模式進行工作流程組合。
promptcmd
GenAI prompts as runnable programs
Create custom CLI commands powered by AI. No plugins, no friction.Just pure command-line magic.
Get Started in Seconds
Choose your installation method
For Linux and macOS
For macOS via Homebrew
For Windows via PowerShell
For Windows via MSI package
See It In Action
Describe Once, Execute Anywhere
Define prompt as simple handlebars templates,
then execute across any LLM provider. Write your prompt logic once and
transform into CLI programs with clear, usable
arguments.
Start with:
Built for the Command line
Pipe command output directly into prompts, chain
through bash pipelines, and compose workflows
using familiar Unix patterns.
"Promptception"
Nest prompts within prompts for true modularity.
Let each prompt do one thing well, then compose
them into workflows without managing intermediate states yourself. Assign
each to the best-fit model based on complexity or
cost, building powerful reasoning from simple, reusable building blocks.
Distribute Usage
Distribute requests across multiple models with
flexible load balancing strategies. Split traffic
evenly or based on cost to amortize expenses
across providers.
Monitor Usage
Track token consumption across all your prompts
and models. Get visibility into your LLM usage patterns and make
data-driven decisions about model selection and optimization.
Command your Prompts
Manage your entire prompt library through the intuitive promptctl CLI. List, inspect, execute, and monitor your
prompts with simple commands.
Quick Import
Related Tools
Ready to Transform Your Workflow?
Start building AI-powered commands in minutes
Open source and GPLv3 licensed.
View source on GitHub
相關文章