Context Optimizer
AdvisoryAudited by Static analysis on May 10, 2026.
Overview
No suspicious patterns detected.
Findings (0)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Past conversation content may remain on disk and may later be retrieved into prompts, which can preserve sensitive details or influence future responses.
The skill intentionally stores compacted conversation content in a searchable local archive by default.
enableArchive: true ... archivePath: './context-archive' ... archiveMaxSize: 100 * 1024 * 1024 ... Automatic Storage: Compacted content automatically stored in archive
Use a controlled archive path, disable archive storage for sensitive chats if not needed, periodically delete the archive, and review any retrieved archive snippets before relying on them.
Sensitive snippets could appear in local logs or any chat/log capture connected to the runtime.
Archive storage logs the beginning of archived content to console, which may include user conversation text.
console.log(`[Archive] Content: "${content.substring(0, 80)}${content.length > 80 ? '...' : ''}"`);Disable or reduce logging for sensitive conversations, remove content-snippet logging if integrating this code, and set chat logging to none when privacy is important.
Installing or first running the skill may fetch external code/model assets, adding normal supply-chain and provenance considerations.
Full functionality depends on third-party npm packages and a downloaded embedding model, which is normal for semantic search but should be reviewed because the registry install spec does not declare it.
Required Dependencies: - `tiktoken` for accurate token counting - `@xenova/transformers` for semantic embeddings and archive indexing ... First run downloads embedding model (~80MB)
Install from a trusted source, review package versions, consider pinning dependencies with a lockfile, and verify the model download path before using it in sensitive environments.
