← 返回 Skills 市场
150
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install markdown-toc
功能描述
Generate a table of contents from Markdown headings with configurable levels, formats, and unique anchors, excluding headings inside code blocks.
安全使用建议
This skill appears to do exactly what it says: local processing of Markdown files to generate a TOC. Before installing, ensure your environment has Python available (the SKILL.md calls 'python'), and only pass files you trust (the script will read the input file and optionally write the output path you provide). There are no network calls or secret/env var requirements. If you want to be extra cautious, inspect the included markdown_toc.py (present here) and run it manually on a sample file to confirm behavior before allowing autonomous agent invocation.
功能分析
Type: OpenClaw Skill
Name: markdown-toc
Version: 1.0.0
The markdown-toc skill is a straightforward utility for generating a Table of Contents from Markdown files. The core logic in markdown_toc.py uses standard Python libraries (argparse, re, pathlib) to parse headings and format them without any network activity, suspicious file access, or code execution risks. The instructions in SKILL.md are well-aligned with the tool's stated purpose and contain no evidence of prompt injection or malicious intent.
能力评估
Purpose & Capability
Name/description align with the included script and README. The Python script implements heading extraction, slug generation, duplicate handling, and output formatting as described.
Instruction Scope
SKILL.md instructs running the included Python script against a user-supplied file and only reads/writes the specified input/output paths. It explicitly avoids headings inside code blocks. Minor note: the instructions reference an installation path (~/.openclaw/skills/markdown-toc/markdown_toc.py) which assumes the skill is installed there; otherwise README uses a relative invocation. No instructions ask the agent to read unrelated files or env vars.
Install Mechanism
There is no install spec (instruction-only) and the repository contains a single small Python script. No downloads or external installers are used.
Credentials
The skill declares no required environment variables or credentials. Minor inconsistency: SKILL.md/README show invoking the script with the 'python' command but required-binaries lists none; the platform will need Python available to run the script.
Persistence & Privilege
always is false and the skill does not request persistent system modifications or access to other skills/configs. disable-model-invocation is false (normal) so the agent could invoke it autonomously, but that is expected for user-invocable skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install markdown-toc - 安装完成后,直接呼叫该 Skill 的名称或使用
/markdown-toc触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Generate table of contents from Markdown
元数据
常见问题
Markdown TOC 是什么?
Generate a table of contents from Markdown headings with configurable levels, formats, and unique anchors, excluding headings inside code blocks. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 150 次。
如何安装 Markdown TOC?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install markdown-toc」即可一键安装,无需额外配置。
Markdown TOC 是免费的吗?
是的,Markdown TOC 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Markdown TOC 支持哪些平台?
Markdown TOC 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Markdown TOC?
由 haidong(@harrylabsj)开发并维护,当前版本 v1.0.0。
推荐 Skills