Stripe Projects 标志

Stripe Projects

组织热门
stripe
stripe-projects

当用户想通过 Stripe Projects 开通基础设施或第三方服务时使用。触发示例:“我需要一个数据库”“设置身份验证”“添加缓存”“给我一个 Postgres”“开通 Redis”“我需要托管服务”“添加向量数据库”“帮我获取 X 的 API 密钥”“获取 X 的凭据”“注册一项服务”“设置监控”“展示目录”“我能开通哪些服务”“浏览服务商”“添加 LLM 服务商”“配置模型服务商”“添加邮件发送功能”“设置搜索”“添加消息队列”“设置对象存储”“添加功能开关”。用户询问如何获取任何第三方服务的 API 密钥或凭据时,也要触发此技能——不要让用户手动注册;应先查看 Projects 目录。浏览服务、检查项目状态、列出已开通的资源、查看环境变量,或提到 projects.dev、添加/开通/连接云服务时,也使用此技能。

Add to TypingMind

概览

发布者stripe
代码仓库ai
技能名称stripe-projects
星标数
1.9K
复刻数
349
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 stripe 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Stripe Projects AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/stripe/ai/tree/main/providers/agent-plugins/plugin/skills/stripe-projects
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/stripe/ai.git /tmp/ai
mkdir -p .claude/skills
cp -r /tmp/ai/providers/agent-plugins/plugin/skills/stripe-projects .claude/skills/stripe-projects
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Stripe Projects,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Stripe Projects。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Stripe Projects 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Stripe Projects — Service Provisioning

Provision third-party services (databases, auth, hosting, analytics, caching, AI, observability) and retrieve API keys/tokens using the Stripe Projects CLI plugin.

Workflow

Step 1: Ensure Stripe CLI + Projects Plugin

Check if the Stripe CLI is available:

bash
which stripe && stripe --version

If not installed or below version 1.40.0:

Then ensure the Projects plugin is installed:

bash
stripe plugin install projects

Step 2: Search the Catalog

Confirm the requested provider/service exists:

bash
stripe projects search <query> --json

If result_count is 0, inform the user the service was not found and stop.

If the user’s request is vague (for example, “I need a database”), browse the catalog to suggest options:

bash
stripe projects catalog --json

Step 3: Initialize a Project

Check if a project is already initialized:

bash
stripe projects status --json

If not initialized, run a preflight check first to reveal all blockers at once:

bash
stripe projects init --preflight --json

If all preflight checks pass, or the only failure is TOS_ACCEPTANCE_REQUIRED, proceed:

bash
stripe projects init --accept-tos --yes

If any check fails with BROWSER_AUTH_REQUIRED, PROJECTS_SESSION_UNUSABLE, or ACCOUNT_NOT_ELIGIBLE, stop here. Report that check’s message and remedy to the user verbatim and let them resolve it — clearing these requires a browser sign-in or a Dashboard visit you cannot perform. Do not run stripe projects init yourself and do not re-run the preflight: neither clears the blocker for you, since only the user can complete a browser sign-in or a Dashboard step.

Follow the remedy the failing check prints rather than assuming stripe login is the fix. If a Stripe CLI session already exists, stripe login reports that you are already logged in and exits 0 without changing anything — an exit code of 0 from a login command does not mean the blocker cleared.

Important: stripe projects init installs the stripe-projects-cli skill locally at .claude/skills/stripe-projects-cli. This skill contains the full post-init command reference.

Step 4: Hand Off to stripe-projects-cli

Verify the skill was installed:

bash
test -f .claude/skills/stripe-projects-cli/SKILL.md && echo "OK" || echo "MISSING"

If MISSING: re-run stripe projects init --accept-tos --yes once — the skill is bundled with the Projects plugin and installed during init. If the file is still missing after that single retry, or if init exits non-zero, report init’s error message to the user and stop. Do not keep re-running init.

If OK: use the locally-installed stripe-projects-cli skill (invoke using the Skill tool with name stripe-projects-cli) to continue the workflow — adding services, managing credentials, and configuring the project.

Step 5: Summarize and Suggest

After a successful service addition, provide output in this format:

FieldValue
Provider<provider name>
Service<service type>
Tier<tier>
Env vars<variable names only — never values>

Then suggest 3–5 complementary services from different categories in the catalog (for example, if user added a database, suggest auth, hosting, or observability). Only reference services that actually appear in stripe projects catalog --json output — never fabricate commands or provider names.

CLI as Source of Truth

The CLI manages all state under .projects/ and generates .env files. Don’t hand-edit these files. If you need to inspect project state, use the appropriate CLI command:

TaskCommand
View provisioned servicesstripe projects status --json
List env var namesstripe projects env --json
Check project healthstripe projects status --json
Browse available servicesstripe projects catalog --json

Only inspect .projects/ or .env directly if the user explicitly asks you to — the CLI is authoritative, so manual edits may be overwritten.

Project Variables

Use project variables when the user wants to store an environment variable that doesn’t come from a provisioned provider resource, such as an app URL, feature flag, or self-managed API key.

Create or update a project variable for the active environment:

bash
stripe projects variables set <name> --env-key <ENV_KEY> --value <value>

A successful variables set syncs the active environment output file immediately. If the user doesn’t provide the value, run the command without --value only in interactive mode so the CLI can prompt securely. Never print secret values in your response.

Bind an existing project variable to the active environment:

bash
stripe projects env add <name> --variable --env-key <ENV_KEY>

Remove a variable binding from the active environment without deleting the stored variable:

bash
stripe projects env remove <name> --variable

List and delete project variables:

bash
stripe projects variables list --json
stripe projects variables delete <name> --yes

Error Handling

Error codeCauseRecovery
BROWSER_AUTH_REQUIREDNo Stripe session and browser sign-in neededTell the user to run stripe projects init themselves, in a terminal where they can finish the browser sign-in — you cannot fix this, and re-running it yourself will not clear it
PROJECTS_SESSION_UNUSABLEA Stripe CLI session exists, but Projects cannot read live-mode credentials from itReport the message and remedy verbatim and stop. Do NOT retry, and do NOT run stripe login — it reports you are already logged in and exits 0
ACCOUNT_NOT_ELIGIBLEAccount not onboarded for ProjectsTell the user to run stripe projects switch-account to choose an account, or continue setup for this account; report the remedy the CLI printed and stop
TOS_ACCEPTANCE_REQUIREDDeveloper or provider terms not acceptedRe-run with --accept-tos
PROVIDER_NOT_LINKEDProvider requires OAuth linkingRun stripe projects link <provider> — may open a browser
PLAN_REQUIREDDeployable needs a plan provisioned firstProvision the plan listed in the error, then retry
UNKNOWN_ERRORUnexpected failureShow the full error message to the user and suggest running with --debug for diagnostics
Service not in catalogQuery returned 0 resultsInform user; suggest stripe projects catalog --json to browse alternatives
CLI not foundStripe CLI not installedInstall using Homebrew (macOS) or follow https://docs.stripe.com/stripe-cli/install

常见问题

Stripe Projects AI 技能有什么作用?

当用户想通过 Stripe Projects 开通基础设施或第三方服务时使用。触发示例:“我需要一个数据库”“设置身份验证”“添加缓存”“给我一个 Postgres”“开通 Redis”“我需要托管服务”“添加向量数据库”“帮我获取 X 的 API 密钥”“获取 X 的凭据”“注册一项服务”“设置监控”“展示目录”“我能开通哪些服务”“浏览服务商”“添加 LLM 服务商”“配置模型服务商”“添加邮件发送功能”“设置搜索”“添加消息队列”“设置对象存储”“添加功能开关”。用户询问如何获取任何第三方服务的 API 密钥或凭据时,也要触发此技能——不要让用户手动注册;应先查看 Projects 目录。浏览服务、检查项目状态、列出已开通的资源、查看环境变量,或提到 projects.dev、添加/开通/连接云服务时,也使用此技能。

为什么在 TypingMind 中使用 Stripe Projects?

因为您只需安装一次,就能搭配任何模型使用。Stripe Projects 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Stripe Projects?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/stripe/ai/tree/main/providers/agent-plugins/plugin/skills/stripe-projects。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Stripe Projects?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Stripe Projects 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Stripe Projects 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Stripe Projects AI 技能免费吗?

是的。stripe 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇