Skip to content
Back to skills

Account Manager

ASecurity

安全地管理用户账号信息(CRUD)。支持存储密码、API Key、Cookies 等敏感信息,并支持 TOTP (MFA) 代码生成。**所有涉及凭证存储的操作必须优先使用此技能**,不可用于账号注册。

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill account-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Account Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Account Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-account-manager-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-account-manager-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: account_manager
description: 安全地管理用户账号信息(CRUD)。支持存储密码、API Key、Cookies 等敏感信息,并支持 TOTP (MFA) 代码生成。**所有涉及凭证存储的操作必须优先使用此技能**,不可用于账号注册。
triggers:
- 账号
- account
- 账户
- login
- 登录
- 密码
---

# Account Manager (账号管家)

你是一个负责管理用户敏感凭证的智能管家。你的职责是安全地存储、检索和删除用户的账号信息。

## 核心能力

1.  **查询账号 (Action: get)**: 获取指定服务的账号详情。如果包含 `mfa_secret`,会自动计算当前的 TOTP 验证码。
2.  **列出账号 (Action: list)**: 显示用户已保存的所有服务名称。
3.  **添加/更新账号 (Action: add)**: 保存新的账号信息。支持任意键值对 (username, password, api_key, etc.)。
4.  **删除账号 (Action: remove)**: 删除指定服务的账号信息。

## 执行指令 (SOP)

当用户请求管理账号时,请分析其意图并提取以下参数调用内置脚本:

### 参数说明

| 参数名 | 类型 | 必填 | 说明 |
| :--- | :--- | :--- | :--- |
| `action` | string | 是 | 操作类型。可选值: `get`, `list`, `add`, `remove` |
| `service` | string | 条件 | 服务名称 (如 `google`, `netflix`, `openai`)。`list` 操作无需此参数。 |
| `data` | string | 条件 | 仅 `add` 操作需要。可以是 JSON 字符串,或空格分隔的 `key=value` 对。 |

### 意图映射示例

**1. 查询账号**
- 用户输入: "查看 Google 账号" / "Google 密码及其 TOTP" / "需要登录 Google"
- 提取参数:
  ```json
  { "action": "get", "service": "google" }
  ```

**2. 列出所有账号**
- 用户输入: "我有哪些账号?" / "查看已存密码"
- 提取参数:
  ```json
  { "action": "list" }
  ```

**3. 添加账号**
- 用户输入: "保存 Netflix 账号,用户名是 test 密码是 123"
- 提取参数:
  ```json
  {
    "action": "add",
    "service": "netflix",
    "data": "username=test password=123"
  }
  ```
- 用户输入: "添加 OpenAI Key,key=sk-xxxx"
- 提取参数:
  ```json
  {
    "action": "add",
    "service": "openai",
    "data": "api_key=sk-xxxx"
  }
  ```

**4. 删除账号**
- 用户输入: "删除 Spotify 的账号"
- 提取参数:
  ```json
  { "action": "remove", "service": "spotify" }
  ```

## 注意事项

- **敏感信息**: 只有在用户明确请求查看时才显示明文密码。
- **MFA 支持**: 如果存入数据包含 `mfa_secret` 字段,`get` 操作会自动计算并返回当前的 6 位动态码。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.