@unblocklabs/skill-usage-audit 0.4.0

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.
@@ -0,0 +1,66 @@
1
+ {
2
+ "id": "skill-usage-audit",
3
+ "name": "Skill Usage Audit",
4
+ "description": "Writes tool and skill usage telemetry to SQLite for audit and self-improving skill lifecycle.",
5
+ "version": "0.4.0",
6
+ "entry": "index.ts",
7
+ "configSchema": {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "dbPath": {
12
+ "type": "string",
13
+ "description": "SQLite database path for canonical telemetry. Defaults to ~/.openclaw/audits/skill-usage.db",
14
+ "default": "~/.openclaw/audits/skill-usage.db"
15
+ },
16
+ "includeToolParams": {
17
+ "type": "boolean",
18
+ "description": "Whether to include tool params in tool_call_start/end events",
19
+ "default": false
20
+ },
21
+ "captureMessageContent": {
22
+ "type": "boolean",
23
+ "description": "When true, store message text snapshots; when false, store only metadata + labels for privacy",
24
+ "default": false
25
+ },
26
+ "redactKeys": {
27
+ "type": "array",
28
+ "description": "List of param keys to redact in tool event payloads",
29
+ "items": {
30
+ "type": "string"
31
+ },
32
+ "default": [
33
+ "token",
34
+ "apikey",
35
+ "api_key",
36
+ "apiKey",
37
+ "password",
38
+ "passwd",
39
+ "auth",
40
+ "authorization",
41
+ "secret",
42
+ "secretToken",
43
+ "refreshToken",
44
+ "client_secret"
45
+ ]
46
+ },
47
+ "skillBlockDetection": {
48
+ "type": "boolean",
49
+ "description": "Whether to emit skill_block_detected events from before_prompt_build",
50
+ "default": true
51
+ },
52
+ "contextWindowSize": {
53
+ "type": "integer",
54
+ "description": "Number of messages to retain before/after a skill read for execution context capture",
55
+ "minimum": 1,
56
+ "default": 5
57
+ },
58
+ "contextTimeoutMs": {
59
+ "type": "integer",
60
+ "description": "Max milliseconds to wait for follow-up messages before finalizing a skill execution record",
61
+ "minimum": 0,
62
+ "default": 60000
63
+ }
64
+ }
65
+ }
66
+ }
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@unblocklabs/skill-usage-audit",
3
+ "version": "0.4.0",
4
+ "description": "Writes tool and skill usage telemetry to SQLite for audit and self-improving skill lifecycle.",
5
+ "openclaw": {
6
+ "extensions": [
7
+ "index.ts"
8
+ ]
9
+ },
10
+ "keywords": [
11
+ "openclaw",
12
+ "plugin",
13
+ "skill-audit",
14
+ "telemetry",
15
+ "sqlite"
16
+ ],
17
+ "license": "MIT",
18
+ "homepage": "https://github.com/bill492/openclaw-skill-usage-audit",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/bill492/openclaw-skill-usage-audit.git"
22
+ },
23
+ "bugs": {
24
+ "url": "https://github.com/bill492/openclaw-skill-usage-audit/issues"
25
+ },
26
+ "author": "Unblock Labs",
27
+ "engines": {
28
+ "node": ">=22"
29
+ },
30
+ "dependencies": {},
31
+ "devDependencies": {},
32
+ "files": [
33
+ "index.ts",
34
+ "openclaw.plugin.json",
35
+ "evaluate-skill-health.mjs",
36
+ "README.md"
37
+ ]
38
+ }