# 迁移环境变量 · Env Var Migrator

> 安全迁移项目环境变量:盘点旧配置、识别敏感项、生成.env与CI密钥对照表,带遗漏检查与回滚方案。

迁移环境变量 · Env Var Migrator is a paid AI agent skill on Agensi by 才下啦, in Business & Operations. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [才下啦](https://www.agensi.io/creators/caixiala)
- Category: [Business & Operations](https://www.agensi.io/skills/business-operations)
- Version: 1.0
- Last updated: 2026-09-04
- Security: scan passed (2026-09-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/env-var-migrator
- Tags: project-management, devops, documentation, environment-variables, team-collaboration

## About this skill

### 它解决什么问题

换框架、换部署平台或交接项目时,环境变量最容易出事:漏迁移、值过期、密钥写进仓库、新旧环境混用。直接问 AI,常给出通用清单,却不对照你项目的真实配置。

### 这个技能做什么

先盘点来源环境的所有配置项,按「必须迁移 / 可弃用 / 需重签」分类,生成新旧环境对照表与 .env 模板;敏感项自动打码并标记存储位置(密钥管理服务/CI 变量),最后给出验证与回滚步骤。

### 为什么比裸提示词强

- 防泄露:敏感值打码,并提醒用密钥管理服务。
- 防遗漏:对照表逐项核对,标记用途与使用方。
- 可回滚:带验证命令与回退清单。

### 典型用例

- 项目从本地部署迁移到云平台。
- 团队交接时整理环境变量清单。
- 把明文密钥迁移到密钥管理服务。

### 局限

需要你提供旧环境的配置来源;不会读取未经授权的服务器,敏感值请自行脱敏后再粘贴。

## Known limitations

Does not integrate directly with cloud secret managers. Requires user to provide initial context on variables to avoid placeholders.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the 迁移环境变量 · Env Var Migrator skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help my team manage environment variables more securely?

This skill automates the creation of .env.example templates and detailed migration guides, preventing sensitive data leaks and ensuring every team member has a consistent local environment setup.

### Which AI agents and platforms are compatible with this skill?

The skill is specifically optimized for use with Claude Desktop and Claude Code, allowing you to generate documentation directly within your development workflow.

### Does this skill require access to my production secret management tools?

No, for security reasons, the skill generates structured templates and handoff guides but does not directly connect to external secret management tools like AWS Secrets Manager or Vault.

### What makes this skill better than just asking an AI to create a .env file?

Unlike a generic prompt, this skill follows a standardized workflow that enforces role definitions and responsibility tracking, ensuring new developers know exactly who manages specific keys.

### What exactly is included when I purchase the skill generator team claude?

Upon purchase, you receive the full skill configuration, including the structured logic for generating templates, migration guides, and team handoff documentation.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
