@principle2026/vault 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/SKILL.md +12 -17
  2. package/package.json +1 -1
package/SKILL.md CHANGED
@@ -1,23 +1,18 @@
1
1
  ---
2
2
  name: vault
3
3
  description: |
4
- Secure vault for storing passwords, API keys, tokens, and other sensitive data with AES-256 encryption.
5
-
6
- **Use Vault for:**
7
- - Passwords ("保存密码", "记住密码")
8
- - API keys ("保存 API key", "OpenAI 密钥是...")
9
- - Tokens ("GitHub token", "认证令牌")
10
- - Any sensitive credentials that need encryption
11
-
12
- **Do NOT use Vault for:**
13
- - General notes ("今天是4月1日") use other note-taking methods
14
- - Non-sensitive information
15
- - Temporary data
16
-
17
- **How it works:**
18
- 1. First time: Ask user for Vault passphrase
19
- 2. Use VAULT_PASSPHRASE env var for all commands
20
- 3. Data syncs via iCloud across all devices
4
+ **CRITICAL**: When user wants to save passwords, API keys, tokens, or ANY sensitive credentials ALWAYS use Vault skill. NEVER use corivo-save or other memory methods for sensitive data.
5
+
6
+ **Triggers for Vault (HIGH PRIORITY):**
7
+ - User says "密码是...", "记住密码", "保存密码", "password is..."
8
+ - User says "API key", "token", "密钥", "令牌"
9
+ - User says "sk-xxx", "ghp_xxx" (credential patterns)
10
+ - User says "保存到 vault", "vault 保存"
11
+
12
+ **What to do:**
13
+ 1. First time: Ask user "你的 Vault 密码是什么?"
14
+ 2. Use: VAULT_PASSPHRASE="<password>" vault set <key> "<value>"
15
+ 3. Confirm with: ✅ 已保存: <key>
21
16
  ---
22
17
 
23
18
  # Vault — AI Secret Management
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@principle2026/vault",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Vault - AI-powered secret management for Claude Code",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",