Knowledge Note Segmenter for Openclaw

Knowledge Note Segmenter turns an input note into a segmented record, updates a local knowledge index, and optionally delivers the result to a configured target.

wxt-ai
v1.2.0
Oct 7, 2026
0
54
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install knowledge-section-index-complete

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install knowledge-section-index-complete using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Knowledge Note Segmenter?

Knowledge Note Segmenter is an executable workflow for processing a knowledge_note into a segmented_note, then using that result to compute an index_update and create or update a local business artifact. It combines identification and downstream index maintenance in one run, making it useful for repeatable knowledge-indexing tasks.

By default, the skill writes its result beneath the supplied output directory and contacts no external service. If configured with SMTP or an HTTP delivery endpoint, it performs the declared delivery action and returns a receipt indicating whether the outcome was sent, delivered, failed, or unconfigured. Openclaw Skills users can run the full process through the bundled Python runner.

Knowledge Note Segmenter Use Cases

  • Segment an incoming knowledge note before adding it to an index.
  • Create or update a local knowledge-index artifact as part of a repeatable workflow.
  • Run indexing locally when external delivery is not configured or desired.
  • Send or submit an index update through explicitly configured SMTP or HTTP delivery.
  • Check the workflow's expected two-stage output shape against the bundled example.

How Knowledge Note Segmenter Works

  1. Read the upstream knowledge_note input from the JSON request.
  2. Run the identify stage to compute a segmented_note.
  3. Pass the segmented result to the downstream operation and compute an index_update.
  4. Create or update the local business artifact under the explicitly supplied --output-dir.
  5. If SMTP or HTTP delivery is configured, perform the declared action and return a delivery receipt; otherwise, retain the artifact locally without contacting external services.
  6. Report delivery errors with a nonzero process exit.

Knowledge Note Segmenter Setup

Run the bundled workflow with Python and provide an input request plus an output directory:

python scripts/run.py --input examples/request.json --output-dir ./workspace

To enable optional delivery, provide a configuration file:

python scripts/run.py --input examples/request.json --output-dir ./workspace --delivery-config delivery.json

Alternatively, configure delivery through environment variables. For SMTP, set CLAWHUB_SMTP_HOST; optional settings include CLAWHUB_SMTP_PORT, CLAWHUB_MAIL_FROM, CLAWHUB_SMTP_USERNAME, and CLAWHUB_SMTP_PASSWORD. For HTTP registration or submission, set CLAWHUB_DELIVERY_ENDPOINT and optionally CLAWHUB_DELIVERY_API_KEY. The delivery target, credentials, and recipient must come from the runtime environment or explicit configuration. Without delivery settings, the workflow runs locally only. Use examples/request.json as the bundled input and examples/expected.json as a reference for the output structure.

Knowledge Note Segmenter Data Schema & Taxonomy

The workflow processes a two-stage result:

Stage Input or output Purpose
Identify knowledge_note → segmented_note Reads and segments the upstream note.
Downstream operation segmented_note → index_update Computes the business result for the knowledge index.
Local artifact Output beneath --output-dir Creates or updates the local index-update record.
Optional delivery delivery receipt Reports the real delivery outcome when a target is configured.

Key files:

  • examples/request.json — bundled upstream input.
  • examples/expected.json — reference output shape; runtime paths and receipt identifiers are excluded.
  • scripts/upstream/ — identify-stage implementation: operation.py, validation.py, and config.json.
  • scripts/downstream/ — downstream delivery implementation, including deliver_effect.
  • scripts/run.py — complete workflow runner.
  • source-map.json — provenance for both extracted stages.

The delivery receipt outcome is reported as sent, delivered, failed, or unconfigured, according to the actual workflow result.

Knowledge Note Segmenter Advanced Features

  • Combines identification, business-result computation, local artifact writing, and optional delivery in one executable workflow.
  • Supports SMTP message delivery through runtime settings or an explicit delivery configuration.
  • Supports HTTP registration or submission through a configured endpoint and optional API key.
  • Keeps local-only operation as the default and makes no external calls when delivery is unconfigured.
  • Returns a delivery receipt for configured real actions and uses a nonzero exit to report errors.
  • Includes separate upstream and downstream implementations, validation and configuration files, an expected-output example, and source provenance.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*