← 返回 Skills 市场
Workspace Context Linter
作者
lethehades
· GitHub ↗
· v1.0.0
· MIT-0
234
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install workspace-context-linter
功能描述
Diagnose always-loaded workspace context files such as AGENTS.md, SOUL.md, USER.md, MEMORY.md, and TOOLS.md. Use when you want to reduce context bloat, detec...
安全使用建议
This skill appears to do what it says: a local Python linter that diagnoses always-loaded workspace markdown files. It does not request credentials or talk to external servers. Two precautionary points before you run it: (1) the provided script snippet appears to be truncated and contains at least one likely bug (an incomplete render/suggestions section and a probable undefined variable), so running it as-is may produce a crash — inspect the full scripts/context_linter.py file and fix/complete it before executing; (2) the linter reads files under the current working directory (and optionally memory/*.md or custom paths), so run it in a repository or folder that contains only files you are comfortable having inspected. If you want extra safety, open the full script and verify there are no network calls or exec/system calls (the visible code uses only standard library file reads and text analysis).
功能分析
Type: OpenClaw Skill
Name: workspace-context-linter
Version: 1.0.0
The workspace-context-linter is a legitimate utility designed to analyze and optimize markdown context files. The core logic in scripts/context_linter.py is restricted to read-only file operations within the local workspace, performing keyword matching and structural analysis without any network calls, shell execution, or data exfiltration. The SKILL.md instructions are strictly aligned with the tool's diagnostic purpose and do not contain any prompt-injection attempts or unauthorized commands.
能力评估
Purpose & Capability
The name/description match the observed behavior: the code and SKILL.md both load and analyze core workspace files (AGENTS.md, SOUL.md, USER.md, MEMORY.md, TOOLS.md) to detect duplicates, overweight sections, and misplaced content. The required resources (none) are proportionate to that purpose.
Instruction Scope
SKILL.md instructs the agent to read the included reference files and to run scripts/context_linter.py with a local scope. The script reads files from Path.cwd() and optionally memory/*.md or custom paths, which is coherent with the stated purpose but means the tool will read whatever files are present in the agent's working directory. That behavior is expected for a linter but you should be aware it will examine local workspace files (not remote endpoints).
Install Mechanism
There is no install spec (the skill is instruction + a Python script). No packages are downloaded or extracted and there are no external URLs invoked in the code. Running the skill requires executing the provided Python script locally.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The script only reads local workspace files and has no network or secret-access code, so requested access is proportional to the purpose.
Persistence & Privilege
The skill is not always-loaded (always: false) and is user-invocable. It does not attempt to persist settings, modify other skills, or require elevated privileges. Autonomous invocation is allowed by default on the platform but that is not combined with other concerning attributes here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install workspace-context-linter - 安装完成后,直接呼叫该 Skill 的名称或使用
/workspace-context-linter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release of workspace-context-linter.
元数据
常见问题
Workspace Context Linter 是什么?
Diagnose always-loaded workspace context files such as AGENTS.md, SOUL.md, USER.md, MEMORY.md, and TOOLS.md. Use when you want to reduce context bloat, detec... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 234 次。
如何安装 Workspace Context Linter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install workspace-context-linter」即可一键安装,无需额外配置。
Workspace Context Linter 是免费的吗?
是的,Workspace Context Linter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Workspace Context Linter 支持哪些平台?
Workspace Context Linter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Workspace Context Linter?
由 lethehades(@lethehades)开发并维护,当前版本 v1.0.0。
推荐 Skills