stripe-projects-cli

Provision and manage third-party services and credentials using the Stripe Projects CLI.

Updated Aug 30, 2026
One-click install
npx skills add https://github.com/Mushfiq2002/stack-cost --skill stripe-projects-cli-mushfiq2002
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stripe-projects-cli
Source: https://github.com/Mushfiq2002/stack-cost/tree/main/.agents/skills/stripe-projects-cli
Command: npx skills add https://github.com/Mushfiq2002/stack-cost --skill stripe-projects-cli-mushfiq2002

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually signing up for, configuring, and wiring credentials from multiple third-party providers (databases, hosting, auth, AI) into a project is slow and error-prone. This Skill drives the Stripe Projects CLI to provision services, link providers, and pull environment variables from one place. ## Core Features & Use Cases - Service provisioning: Browse the provider catalog, copy exact provider/service slugs, and add resources with stripe projects add, including plan-first ordering for tiered services. - Credential management: Inspect redacted credentials with stripe projects env and write them locally with stripe projects env --pull, plus named environment support for staging/production splits. - Error-code-driven recovery: React programmatically to machine-readable exit codes like PLAN_REQUIRED, TOS_ACCEPTANCE_REQUIRED, and BROWSER_AUTH_REQUIRED instead of guessing. - Use Case: While building a Next.js app, ask the agent to add a Postgres database and Vercel hosting; it provisions both, pulls the env vars, and summarizes what is already on the project. ## Quick Start Ask the agent to provision a service for this project, for example: use the Stripe Projects CLI to add a Postgres database and pull the credentials into my local environment file.

Frequently Asked Questions about stripe-projects-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision a third-party service with the Stripe Projects CLI?

Run `stripe projects catalog <provider>` to copy the exact `provider/service` slug, then run `stripe projects add <provider>/<service> --accept-tos --yes`. Use `--name` to set a local resource name and `--config` for required service configuration.

How do I get credentials into my local .env file with Stripe Projects?

Run `stripe projects env` to view redacted credentials, then `stripe projects env --pull` to write them to the local environment file. Never hand-edit CLI-managed files under `.projects` or the generated `.env` output.

Why does stripe projects add fail with PLAN_REQUIRED?

Some deployable services require a companion plan service provisioned first to control pricing tier and limits. Provision the plan listed in the error message, then retry the deployable add command.

Can the Stripe Projects CLI run in headless or non-interactive environments?

Yes, use `--json` and `--non-interactive` with fully specified arguments and `--yes` for confirmations. Browser authentication cannot be completed headlessly; on `BROWSER_AUTH_REQUIRED`, present the login URL and code to the user.

What should I do when a Stripe Projects command fails unexpectedly?

Check the machine-readable error code in parentheses in the output and consult the error codes table. Running `stripe projects status --json` shows the current project, providers, and resource state for diagnosis.