← 返回 Skills 市场
Markdown Linter
作者
WANGJUNJIE
· GitHub ↗
· v1.0.0
848
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install markdown-linter
功能描述
Validates Markdown files in the workspace for broken local links, missing file references, and basic syntax issues. Use to maintain documentation integrity a...
安全使用建议
This linter appears to do what it says: it walks the workspace, reads Markdown files, and checks whether linked files exist. It does not transmit data or require credentials. Two practical cautions before using it on sensitive workspaces: (1) if Markdown files contain links that point to absolute paths (starting with '/'), the linter will check those absolute system paths and will report whether they exist — avoid scanning untrusted content that could intentionally probe your filesystem; (2) as with any code-runner, review the included files yourself and run the test in an isolated/sandbox environment first. If you need to prevent absolute-path checks, run the linter with a controlled rootDir or modify the code to explicitly treat leading '/' as relative to the project root only.
功能分析
Type: OpenClaw Skill
Name: markdown-linter
Version: 1.0.0
The skill is classified as suspicious due to its use of file system access (`fs.readdirSync`, `fs.statSync`, `fs.readFileSync`, `fs.existsSync`) in `index.js`. While this file access is plausibly needed for the skill's stated purpose of validating Markdown files, the instructions classify such capabilities without clear malicious intent as 'suspicious'. There is no evidence of intentional harmful behavior like data exfiltration, persistence, or prompt injection attempts in SKILL.md, but the broad file reading capability presents a potential vector for misuse if the agent is prompted to scan sensitive directories.
能力评估
Purpose & Capability
Name/description (Markdown linter) aligns with what the package does: recursively find .md files, check local link targets, header/code-block heuristics. The included test script exercises the linter in a small temporary directory which is consistent with the declared purpose.
Instruction Scope
The runtime instructions and index.js stay within scope (reading workspace files, validating links). One noteworthy behavior: links starting with '/' are handled via path.join(rootDir, linkUrl) in code comments, but because path.join will treat an absolute linkUrl as an absolute path, the linter will end up checking absolute system paths (e.g., '/etc/passwd') if such links appear in scanned Markdown. The linter does not send data externally or access environment variables.
Install Mechanism
No install spec is provided (instruction-only), and there are no declared dependencies. This lowers risk: nothing is downloaded or written during installation beyond normal use of the included JS files.
Credentials
The skill requests no environment variables, no credentials, and no config paths. The code only uses fs/path APIs and does not reference process.env or other secrets.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system configuration, and requires no persistent privileges. It runs on-demand and can be invoked by the agent as normal.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install markdown-linter - 安装完成后,直接呼叫该 Skill 的名称或使用
/markdown-linter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of markdown-linter.
- Validates Markdown files for broken local links and missing file references.
- Checks header hierarchy consistency.
- Ensures code blocks use language identifiers where needed.
- Produces detailed JSON output of issues found.
元数据
常见问题
Markdown Linter 是什么?
Validates Markdown files in the workspace for broken local links, missing file references, and basic syntax issues. Use to maintain documentation integrity a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 848 次。
如何安装 Markdown Linter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install markdown-linter」即可一键安装,无需额外配置。
Markdown Linter 是免费的吗?
是的,Markdown Linter 完全免费(开源免费),可自由下载、安装和使用。
Markdown Linter 支持哪些平台?
Markdown Linter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Markdown Linter?
由 WANGJUNJIE(@wanng-ide)开发并维护,当前版本 v1.0.0。
推荐 Skills