360 Secure SkillHub
360 安全技能中心

Knowledge Note Segmenter

核心功能:读取字符串形式的 knowledge_note,按引用、标题、标签、链接、内容摘要和分节生成用于索引的 segmented_note。典型场景:知识库入库、笔记切分、检索索引准备。输入为 knowledge_note 字符串,输出为含 reference、heading、tags、links、content_digest、sections 的对象;通过 Python 脚本运行,不保存业务产物。

wxt-ai
wxt-ai
热度 39.99
最近更新 2026-10-05 21:20:25
分类:知识依赖:代码执行 / 读写文件应用场景:笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add knowledge-section-index-identifier
Metadata
name
knowledge-section-index-identifier
description
Segment a knowledge note for indexing.
version
1.1.1
metadata
{"openclaw":{"skillKey":"knowledge-section-index-identifier"}}

Knowledge Note Segmenter

Use this skill for routine knowledge operations work when the user asks to segment a knowledge note for indexing.

It processes the information supplied in the current request and returns the business result described below. It does not require credentials or access to private files.

Input

Field: knowledge_note

Knowledge note with a reference, headings, tags, and related links.

Accepted value: string.

Output

Field: segmented_note

Return a concise segmented note for the user's current request in the requested output field. The returned value is a object with reference, heading, tags, links, content_digest, sections.

Example Request

Use the supplied knowledge_note to segment a knowledge note for indexing.
Return the result in segmented_note.

Bundled execution

Use Python 3.10 or newer to run this operation from the installed package directory. Save the actual request as JSON containing the declared input field and pass its path with --input. The bundled example demonstrates the input shape.

python scripts/run.py --input examples/request.json

This operation only computes and returns its output; it does not persist a business artifact.

Report the actual command output and, when present, its effect receipt. A nonzero exit means the operation failed. This package executes only its declared operation.

The implementation is scripts/operation.py, input/output validation is scripts/validation.py, and role configuration is scripts/config.json. All Python dependencies are from the standard library. Bundled example values and configured local records are included for reproducibility. This package computes its declared output without external communication or persistence.