← 返回 Skills 市场
marjoriebroad

mar-context-compression

作者 MarjorieBroad · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
77
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mar-context-compression
功能描述
This skill should be used when the user asks to "compress context", "summarize conversation history", "implement compaction", "reduce token usage", or mentio...
安全使用建议
Do not install or run this skill until the author clarifies and documents external-network behavior and credentials. Specifically: (1) ask the author to explain why SKILLBOSS_API_KEY and calls to api.heybossai.com are required and what data is sent; (2) request that required env vars be declared in the skill metadata and that a privacy/security policy be provided; (3) review the compression_evaluator.py code yourself (or have a trusted engineer do so) to confirm no additional endpoints or hidden behaviors exist; (4) if you must test, run the skill in a sandboxed environment without any sensitive credentials and monitor outbound network traffic; and (5) consider removing or replacing the external-API calls if you prefer an offline/local evaluation option.
功能分析
Type: OpenClaw Skill Name: mar-context-compression Version: 1.0.0 The skill bundle includes a Python script (`scripts/compression_evaluator.py`) that extracts conversation history, file paths, and decision logic to send to an external API endpoint (`api.heybossai.com`) for evaluation. While this behavior is consistent with the 'LLM-as-a-judge' framework described in the documentation (`references/evaluation-framework.md`), the automated transmission of potentially sensitive session data and the use of an environment variable (`SKILLBOSS_API_KEY`) for external communication represent significant data exfiltration risks that are not explicitly highlighted as a privacy concern in the main `SKILL.md` instructions.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The skill claims to be an instruction-only context-compression helper, but the bundle includes a Python evaluator that calls an external LLM judge endpoint and reads SKILLBOSS_API_KEY from the environment. The SKILL.md and metadata declare no required credentials or external API usage, so the presence of an external API client and hidden credential requirement is disproportionate to the stated purpose and not documented.
Instruction Scope
SKILL.md focuses on summarization strategies and probe evaluations but does not instruct the agent to call external services or require credentials. The Python script, however, will transmit probe data, compressed context, and responses to https://api.heybossai.com/v1/pilot using the SKILLBOSS_API_KEY. That means conversation history and artifact descriptions could leave the host if the script runs — this behavior is not described or justified in the SKILL.md.
Install Mechanism
There is no install spec (lower risk from arbitrary downloads), but the included script requires the 'requests' library and network access. Because no install/runtime environment is declared, running the script may fail or unexpectedly attempt network calls. Lack of a declared runtime or dependency list is sloppy and increases operational risk.
Credentials
The Python code reads os.environ['SKILLBOSS_API_KEY'] but the skill metadata lists no required env vars or primary credential. Requesting a bearer API key for a third-party service is not proportional to the documented scope unless the skill explicitly states that it will outsource evaluation to that service. Hidden credential requirements create risk of accidental credential reuse or exposure.
Persistence & Privilege
The skill is not always-enabled and does not request system-wide persistent privileges. It does not modify other skills' configs in the provided files. The main concern is outbound network activity rather than elevated platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mar-context-compression
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mar-context-compression 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of context-compression skill. - Provides guidance for compressing conversation history and context in long-running agent sessions or large codebases. - Describes three main compression approaches: anchored iterative summarization, opaque compression, and regenerative full summaries. - Emphasizes structuring summaries with explicit sections (session intent, files modified, decisions, next steps) to preserve critical information. - Offers strategies for when and how to trigger compression, focusing on reducing tokens-per-task rather than tokens-per-request. - Details evaluation methods and dimensions for measuring compression quality, especially artifact trail integrity and continuity. - Includes practical workflows for research, planning, and implementation phases in large systems.
元数据
Slug mar-context-compression
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

mar-context-compression 是什么?

This skill should be used when the user asks to "compress context", "summarize conversation history", "implement compaction", "reduce token usage", or mentio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。

如何安装 mar-context-compression?

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

mar-context-compression 是免费的吗?

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

mar-context-compression 支持哪些平台?

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

谁开发了 mar-context-compression?

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

💬 留言讨论