skillvault 0.4.0 → 0.4.1
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.
- package/dist/cli.js +7 -4
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import { createServer } from 'node:http';
|
|
|
22
22
|
import { existsSync, readFileSync, writeFileSync, mkdirSync, readdirSync, rmSync } from 'node:fs';
|
|
23
23
|
import { join } from 'node:path';
|
|
24
24
|
import { createDecipheriv, createPublicKey, diffieHellman, hkdfSync, generateKeyPairSync, } from 'node:crypto';
|
|
25
|
-
const VERSION = '0.4.
|
|
25
|
+
const VERSION = '0.4.1';
|
|
26
26
|
const HOME = process.env.HOME || process.env.USERPROFILE || '~';
|
|
27
27
|
const API_URL = process.env.SKILLVAULT_API_URL || 'https://api.getskillvault.com';
|
|
28
28
|
const MCP_PORT = parseInt(process.env.SKILLVAULT_MCP_PORT || '9877', 10);
|
|
@@ -472,10 +472,13 @@ description: "${(meta.description || '').replace(/"/g, '\\"')}"
|
|
|
472
472
|
|
|
473
473
|
This is an encrypted SkillVault skill from **${meta.publisher_name || pub.name}**.
|
|
474
474
|
|
|
475
|
-
|
|
476
|
-
The tool will decrypt and return the full skill instructions for you to follow.
|
|
475
|
+
## How to use
|
|
477
476
|
|
|
478
|
-
|
|
477
|
+
1. Make sure the SkillVault MCP server is running: \`npx skillvault\`
|
|
478
|
+
2. Call the \`skillvault_load\` MCP tool with skill_name "${skillName}"
|
|
479
|
+
3. Follow the decrypted instructions it returns
|
|
480
|
+
|
|
481
|
+
If the MCP server is not running or the skillvault_load tool is not available, tell the user to start it by running \`npx skillvault\` in a separate terminal.
|
|
479
482
|
`;
|
|
480
483
|
writeFileSync(join(skillDir, 'SKILL.md'), stub, { mode: 0o600 });
|
|
481
484
|
// Write manifest
|