This page is saved to your private link. Changes sync as you work, on every device that opened the link.
The env secrets manager AI skill helps your agent organize the API keys, tokens, and .env files in a project without exposing any secret values.
Why a marketing library ships a secrets check
Marketing automation projects connect CRMs, email tools, ad platforms, analytics, webhooks, and command line tools. Each connection adds a credential. The skill exists to keep those credentials organized and out of the wrong places.
An inventory of names, never values
The first step lists every required variable with its service, environment, scope, owner, rotation cadence, and whether it is required. Then the skill sorts each one by type.
- Public config, such as a public API base URL or an analytics public key, can appear in the client when that is intended.
- A server secret, such as an API key, private token, or webhook secret, stays on the server.
- A build secret, such as a package or deploy token, belongs only in CI or the deploy platform.
- A local secret, such as a developer sandbox key, lives in a local
.envfile and is never committed. - A rotating credential, such as an OAuth refresh token or signing secret, goes in a managed secret system.
The example file is the only one you commit.
The skill recommends an example file plus separate files for local, development, test, and production use. Commit the example file with variable names and safe placeholder values. Keep real .env files out of the repository and add them to .gitignore. Production secrets stay in the deployment platform or a managed secrets store, and development, staging, and production each get different keys.
Rotation after a key leaks
When a credential is exposed, the skill works in a fixed order.
- Identify the affected service.
- Revoke or rotate the exposed credential.
- Update the local, CI, staging, and production secret stores.
- Restart the services that depend on it.
- Verify that everything still works.
- Search recent commits and logs for exposed values.
- Document the incident and the prevention step.
It tells you not to paste the exposed secret into tickets, chat, commits, or documentation. The highest-risk exposed key gets rotated first.
Variable handling rules in the env-secrets-manager file
The inventory columns, file rules, and a table of common variables for CRM, email, analytics, ads, webhooks, GitHub, and AI services are in the env-secrets-manager skill file. It is released under the MIT License, “Copyright (c) 2026 ScayverGraphix.” The skills follow the Agent Skills spec published by vercel-labs/skills.
A risk table, then the checklists
Each row of the output names a priority, the secret area, the risk, the fix, an owner, and how to verify the fix. After the table come a current risk summary, a plan for the example file, a rotation plan, deployment and CI checklists, and setup instructions for a local developer. The run ends with the safest next action to reduce credential risk. Add the skill with npx skills add scayver/marketing-skills --skill env-secrets-manager.
Run the env secrets manager AI skill safely
The skill works from names, not values, and your setup should support that. Before a session, make sure the agent cannot print or send secret values anywhere. Point it at the project files and ask it to report variable names, where they are used, and which files hold them.
- Never paste a real key into the chat with the agent.
- Confirm .env files are listed in your ignore file before anything is committed.
- Keep the real values in your approved secret store or hosting settings.
- Decide in advance who may rotate a key and how they will be told.
Act on the risk table in order
Start with the highest risks the env secrets manager AI skill reports. A key that has appeared in a public repository or a shared document should be treated as exposed. Rotate it with the provider, update the places that use it, and confirm the old key no longer works. Then move to lower risks, such as unused keys that can be removed or keys shared between projects that should be separate.
Record each action with the date and the person who did it. That record helps if a provider or client later asks what happened.
Build simple habits that keep secrets organized
Add a short secrets check to the start of every new project and the end of every handover. Update the example file whenever a new variable is added, with a comment saying what it is for and where to get it. Run the env secrets manager AI skill again after major changes, such as a new payment provider or a hosting move, so the inventory stays accurate.
Which tools hold your keys
The skill can map a variable to the tool that needs it. It cannot know who in your company owns each account, which connections you still use, or how your systems should talk to each other. Our API Integration service is where to start when the connections themselves need work.












