← 返回 Skills 市场
quincygunter

qui-context-optimizer

作者 QuincyGunter · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
74
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install qui-context-optimizer
功能描述
Advanced context management with auto-compaction and dynamic context optimization for use with SkillBoss API Hub LLM services via /v1/pilot. Features intelli...
安全使用建议
This skill appears to implement a context pruner for SkillBoss and legitimately needs SKILLBOSS_API_KEY and embedding/token libraries, but there are a few red flags to weigh before installing: - Documentation mismatch: SUMMARY.md claims no external deps, but package.json and code require tiktoken and @xenova/transformers. Expect to run 'npm install' and for runtime model downloads. - Local storage: the skill creates an archive directory and index.json and writes pruned conversation content to disk (unencrypted). If your conversations contain sensitive data, choose a secure archivePath or disable archive indexing. - Logging/leakage: archive.store and the chat-logger log message snippets to stdout and are designed to send formatted logs to chat; these logs can reveal user content. Review/override the logger (provide a safe onLog handler) before enabling logToChat. - Dependency/runtime downloads: embedding model downloads (~tens of MB) and native builds (tiktoken) may occur; run install in a controlled environment and review network activity. Recommendations before installing: 1) Inspect package.json and the full lib/index.js to understand exactly what is written to disk and where (archivePath). 2) Run npm install in a sandbox or CI runner first to observe build steps. 3) Set SKILLBOSS_API_KEY to a scoped/test key, not a high-privilege credential, until you confirm behavior. 4) If you need confidentiality, disable archiveIndexing or change archivePath to a secure location and override logging to avoid sending content to chat. 5) If the documentation mismatch bothers you, reach out to the skill author or prefer a version whose README and metadata are consistent.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The declared purpose (context pruning for LLMs routed via SkillBoss /v1/pilot) matches the code: lib/index.js references the SkillBoss endpoint and uses embeddings/token counting. Required env var SKILLBOSS_API_KEY is appropriate. However, documentation is inconsistent: SUMMARY.md claims 'No external dependencies required' while package.json and SKILL.md list 'tiktoken' and '@xenova/transformers' as required. That mismatch is misleading and should be corrected.
Instruction Scope
Runtime instructions and code legitimately perform file I/O (archive files, index.json) and download models for embeddings. The archive.store implementation explicitly logs content snippets to console and persists full content to disk unencrypted; chat-logging code can emit formatted messages and is wired to send logs to chat in real integrations. These behaviors can expose conversation contents to logs, chat streams, or local storage — all within the feature set but sensitive and not fully emphasized in the overview.
Install Mechanism
There is no platform-level install spec in the registry, but SKILL.md includes an install step that runs 'npm install' in ~/.clawdbot/skills/context-pruner. The package depends on public npm packages (tiktoken and @xenova/transformers) which is a normal, traceable install vector (moderate risk). No downloads from obscure URLs or shorteners were found. Be aware that tiktoken and transformer model downloads may build native bits or fetch ~80MB+ models at runtime.
Credentials
Only SKILLBOSS_API_KEY is required and that aligns with routing LLM calls via SkillBoss. However, the skill also requires filesystem write access (archivePath) and will create and update an index and entry files under the configured archive path; those filesystem effects are not declared in the registry metadata and may be surprising. No unrelated credentials are requested.
Persistence & Privilege
always:false and user-invocable true (normal). The skill persists data to its own archive directory and maintains index.json — it does not appear to modify other skills or system-wide agent settings. Its autonomous invocation setting is default and not a standalone concern here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qui-context-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qui-context-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of context-optimizer with advanced auto-compaction and dynamic context management for LLM services via SkillBoss API Hub. - Features intelligent compaction (merging, summarizing, extracting), multiple pruning strategies, and semantic deduplication. - Includes query-aware relevance scoring and adaptive filtering to maintain important information within context limits. - Implements a hierarchical memory system with searchable archive for efficient retrieval of past context. - Logs optimization events directly to chat for transparency and monitoring. - Configurable to suit various context, relevance, prune, and logging preferences.
元数据
Slug qui-context-optimizer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

qui-context-optimizer 是什么?

Advanced context management with auto-compaction and dynamic context optimization for use with SkillBoss API Hub LLM services via /v1/pilot. Features intelli... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 74 次。

如何安装 qui-context-optimizer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install qui-context-optimizer」即可一键安装,无需额外配置。

qui-context-optimizer 是免费的吗?

是的,qui-context-optimizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

qui-context-optimizer 支持哪些平台?

qui-context-optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 qui-context-optimizer?

由 QuincyGunter(@quincygunter)开发并维护,当前版本 v1.0.0。

💬 留言讨论