stripe-projects
它能做什么
这项技能帮助你的 AI 使用 Stripe Projects 工具创建数据库或电话号码等在线服务,并管理它们的密钥。适合自己开发软件、希望由 AI 处理配置工作的人。
适用场景
- ✓你希望 AI 为项目设置数据库、电话号码或其他服务的时候。
- ✓你需要轮换密钥,或升级已在使用的服务套餐的时候。
- ✓你想了解可以通过 Stripe Projects 添加哪些服务的时候。
技能链接
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/payments/stripe-projects/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能为这个项目设置一个 Postgres 数据库,并把登录信息保存到我的 .env 文件中吗?”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能运行 Stripe Projects 命令行插件。它会创建或关联服务,然后把生成的凭据写入你的项目设置中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Stripe Projects Skill
Wraps the Stripe Projects CLI plugin so Hermes can provision SaaS services (Neon, Twilio, Vercel, etc.), generate and sync credentials into the user's .env, and manage billing across providers from one place.
Gated [linux, macos] while the broader payments cluster matures on Windows. The Stripe CLI itself is cross-platform; this gate is a posture for the cluster, not a hard limit.
When to Use
Trigger phrases:
- "set up <provider>", "provision <Neon|Twilio|Vercel|...>", "create a database"
- "give me a <Postgres|Redis|Twilio number|...> for this project"
- "manage my stack credentials", "rotate this key", "upgrade my plan"
- "what providers can I add?"
If the user already has a provider account, this skill can still connect it with stripe projects link <provider>. If the user wants to use an existing provider resource, such as an existing database or Vercel project, check provider support first; many providers currently support provisioning new resources but not importing existing ones.
Prerequisites
- Stripe CLI installed (Homebrew on macOS, package manager on Linux, or download from https://docs.stripe.com/stripe-cli/install)
- Stripe Projects plugin installed
- A Stripe account. If the user doesn't have one yet, the CLI can guide them through sign-in or account creation in the browser during setup.
Install
macOS:
brew install stripe/stripe-cli/stripe
stripe plugin install projects
Linux: follow the platform-specific install at https://docs.stripe.com/stripe-cli/install, then:
stripe plugin install projects
How to Run
All commands run through the terminal tool from inside the user's project directory (the CLI writes .env and .projects/vault/vault.json into the CWD).
Procedure
1. Initialize the project
cd <project-root>
stripe projects init
This creates .projects/vault/vault.json (encrypted credential store) and prepares the project to receive providers.
2. Discover available providers
stripe projects catalog
Lists every provider Stripe Projects supports — databases, hosting, auth, AI, analytics, messaging, etc.
3. Add a service
stripe projects add <provider>/<service>
Examples:
stripe projects add neon/postgresstripe projects add twilio/smsstripe projects add runloop/sandbox
The CLI provisions the service in the user's own account with the provider, generates credentials, syncs them into .env, and records the resource in the vault. The user may need to confirm a tier selection or pricing prompt.
4. Verify
stripe projects list
Should show the newly added provider and its .env keys.
5. Manage / upgrade / remove
stripe projects upgrade <provider> # tier change
stripe projects remove <provider> # deprovision
stripe projects rotate <provider> # rotate credentials
Pitfalls
.envwrites are real writes. The CLI appends to whatever.envis in the project root. If the user's.envis gitignored (normal), the keys land safely; if not, this skill could be a credential-leak vector. Always check.gitignorefirst.- Per-project state.
.projects/vault/vault.jsonis per-project. Provisioning the same service in two different projects creates two separate resources — and two bills. - Billing happens on Stripe's side. Tier prompts during
add/upgradeare real charges; surface them to the user before confirming. - Provider availability changes. The catalog grows; if a provider the user names isn't listed,
stripe projects catalog | grep <name>first instead of failing theaddcall. - Credentials in vault are encrypted but
.envis plaintext. Standard.envhygiene applies — never commit it. - Removing a service does NOT always destroy the underlying resource. Some providers leave a paused/dormant resource behind. Check the provider's own dashboard after
removefor high-cost services (managed databases especially).
Verification
stripe projects --version && stripe projects list
Exit code 0 inside an initialized project means the plugin is healthy.
常见问题
我需要 Stripe 账户吗?
需要。技能说明你需要一个 Stripe 账户,命令行工具可以引导你登录或注册。
它能使用我已有的服务吗?
可以,通过一个关联命令实现。技能提醒,许多服务商只支持创建新资源,不支持导入已有资源。
它能在 Windows 上运行吗?
目前该技能仅限于 Linux 和 macOS,尽管 Stripe 命令行工具本身可在其他系统上运行。
详情
热度
- GitHub 星标
- 260k
- 排名
- #533
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-merge-conflict-arbiter
260k以中立第三方的身份,解决两个智能体分支之间的 git 合并冲突,为代码仓库生成一个合并结果。
antigravity-cli
260k指导你安装、更新和排查 Antigravity 命令行工具,包括其插件、登录和沙盒。
blackbox
260k让你的智能体把编程任务交给 Blackbox AI 命令行工具,它会运行多个 AI 模型并挑选最佳结果。
dynamic-workflow
260k教你的智能体把大量相似的工作保存为脚本批量运行,使只有经过验证的结果才返回主对话。