← 返回 Skills 市场
Response Tone Polisher
作者
ewankeynes
· GitHub ↗
· v0.1.0
· MIT-0
290
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install response-tone-polisher
功能描述
Polishes response letters by transforming defensive or harsh language into professional, courteous academic prose. Converts phrases like "I will not correct...
安全使用建议
This skill appears coherent and focused: it processes reviewer comments and draft responses locally using regex templates and returns polished text. Before installing or running it, consider: 1) Privacy—responses/reviewer comments can be confidential, so run the script in a trusted/local environment and confirm your agent runtime won't forward text to external services. 2) Review the full main.py if you plan to run it in sensitive contexts (the code is bundled but you should confirm there are no unexpected network calls in the truncated portions). 3) Check Python version: the requirements file lists dataclasses/enum (dataclasses is built-in on Python 3.7+), so ensure compatibility. 4) Expect occasional minor formatting/placeholder issues (some replacement strings include placeholders like {noun}/{verb}); evaluate outputs before sending them to editors. If those points are acceptable, the package is proportionate to its stated purpose.
功能分析
Type: OpenClaw Skill
Name: response-tone-polisher
Version: 0.1.0
The skill is a text-processing utility designed to polish academic response letters, but it contains a significant vulnerability in its file-handling logic. In `scripts/main.py`, the script implicitly checks if the input strings (`reviewer_comment` and `draft_response`) are valid file paths using `os.path.isfile()` and, if so, reads the file contents without any path sanitization or directory traversal checks. This behavior, combined with the unchecked security items in the `SKILL.md` checklist (e.g., 'Input file paths validated'), creates a risk where an attacker could trick the agent into reading sensitive local files by providing their paths as input text.
能力评估
Purpose & Capability
Name/description (tone-polishing for peer-review responses) match the provided assets: pattern libraries, templates, and a local Python script that performs regex-based analysis and rewriting. There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md instructions and the included script focus on parsing reviewer comments and draft responses, scoring tone, pattern-matching, and reconstructing polite phrasing. The script accepts local file inputs or strings; reading those files is directly related to the skill's purpose. There are no instructions to read unrelated system state or transmit data to external endpoints.
Install Mechanism
No install spec is provided (instruction-only / local script). All code and reference files are bundled in the package. No downloads from external URLs or archive extraction are present.
Credentials
The skill declares no required environment variables, credentials, or config paths. The runtime code imports standard libraries and local reference files only. The minimal requirements.txt lists dataclasses/enum (backports unnecessary on modern Python but not a security concern).
Persistence & Privilege
The skill is not marked always:true and does not request system-wide privileges. It can be invoked by the agent (normal default). Nothing in the package attempts to modify other skills or agent-wide configuration.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install response-tone-polisher - 安装完成后,直接呼叫该 Skill 的名称或使用
/response-tone-polisher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Response Tone Polisher - Initial Release
- Transforms harsh or defensive draft responses to peer reviewers into professional, courteous academic language.
- Automatically analyzes tone and rewrites problematic statements while preserving the author's scientific position.
- Offers adjustable polish levels and accommodates acceptance, partial acceptance, or respectful decline responses.
- Provides a library of diplomatic academic phrases and specific transformations for common confrontational patterns.
- Command-line and Python API usage supported for flexible integration.
- Outputs include a polished response, tone analysis scores, suggested wording improvements, and politeness rating.
元数据
常见问题
Response Tone Polisher 是什么?
Polishes response letters by transforming defensive or harsh language into professional, courteous academic prose. Converts phrases like "I will not correct... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 290 次。
如何安装 Response Tone Polisher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install response-tone-polisher」即可一键安装,无需额外配置。
Response Tone Polisher 是免费的吗?
是的,Response Tone Polisher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Response Tone Polisher 支持哪些平台?
Response Tone Polisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Response Tone Polisher?
由 ewankeynes(@ewankeynes)开发并维护,当前版本 v0.1.0。
推荐 Skills