Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

wiznote-docs为知笔记文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

3,160

周安装

133

GitHub Stars

公开资料未说明

下载量

1,107
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wiznote-docs(为知笔记文档)
来源仓库:https://github.com/735140144/wiznote-docs
安装命令:
openclaw skills install wiznote-docs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install wiznote-docs

简介

wiznote-docs 用于维护本地文档库与为知笔记服务器的镜像同步。

  • 适用于需要将云端笔记下载至本地仓库进行版本控制或离线编辑的情况。
  • 可按类别组织文档结构,支持增量更新与冲突检测机制。
  • 安装命令为 openclaw skills install wiznote-docs,需指定本地存储路径。
  • 使用前应确保目录可写且避免与其他文档工具产生权限冲突。

SKILL.md

name
wiznote
description
Use when documents must be read from or maintained in a WizNote or 为知笔记 server, mirrored into a local repository, or organized under a configurable note category root.

WizNote

Overview

Use WizNote as the canonical document store and keep local repository copies as mirrors. This public version is generic: you supply your own server URL, credentials, category root, and repository paths.

When to Use

  • The user mentions WizNote, 为知笔记, internal note servers, or doc sync.
  • The user wants docs read from WizNote and mirrored locally.
  • The user wants local project docs uploaded into WizNote.
  • The user needs a reusable pattern for note sync without hardcoded organization folders.

Do not use this skill for unrelated documentation systems.

What This Public Copy Removes

  • No hardcoded user home directory.
  • No hardcoded server address.
  • No hardcoded account or password.
  • No fixed organization-specific project mapping.

Required Configuration

New users must provide these values themselves:

  • WIZNOTE_BASE_URL — base URL of the WizNote server, for example https://notes.example.com
  • WIZNOTE_USER — WizNote login user ID or email
  • WIZNOTE_PASSWORD — WizNote password
  • category_root — the top-level WizNote category path to sync under, for example /team/docs/
  • repo_root — local repository root used for mirror output

You can pass credentials explicitly or set environment variables.

Available Helpers

Support files live in the same directory:

  • wiznote_cli.py
  • wiznote_helper.py

Key functions:

  • load_credentials(...)
  • login(...)
  • fetch_note_list(...)
  • fetch_note_html(...)
  • create_note(...)
  • save_note(...)
  • normalize_category_root(...)
  • resolve_category(...)
  • mirror_output_path(...)
  • extract_html_body(...)

Quick Reference

1. Import the helpers

from pathlib import Path
import sys

SKILL_DIR = Path("/path/to/wiznote")
sys.path.insert(0, str(SKILL_DIR))

import wiznote_cli as cli
import wiznote_helper as helper

2. Configure credentials

Environment variables:

export WIZNOTE_BASE_URL="https://notes.example.com"
export WIZNOTE_USER="you@example.com"
export WIZNOTE_PASSWORD="your-password"

Or pass them directly:

creds = cli.load_credentials(
    base_url="https://notes.example.com",
    user="you@example.com",
    password="your-password",
)

3. Login once and reuse the session

creds = cli.load_credentials()
login = cli.login(creds)

4. Resolve the category root and target category

category_root = helper.normalize_category_root("/team/docs/")
category = helper.resolve_category(category_root, "plans/")

5. List notes in a category

payload = cli.fetch_note_list(
    base_url=login.kb_server,
    kb_guid=login.kb_guid,
    token=login.token,
    category=category,
)

6. Download note HTML

html = cli.fetch_note_html(
    base_url=login.kb_server,
    kb_guid=login.kb_guid,
    doc_guid="<doc-guid>",
    token=login.token,
)
body = helper.extract_html_body(html)

7. Create or update a note

create_note(...) and save_note(...) expect HTML, not Markdown. Convert local Markdown before upload.

result = cli.create_note(
    base_url=login.kb_server,
    kb_guid=login.kb_guid,
    token=login.token,
    title="Project Design",
    category=category,
    html="<h1>Project Design</h1><p>...</p>",
)

8. Build the mirror path safely

mirror_path = helper.mirror_output_path(
    repo_root=Path("/path/to/repo"),
    category_root=category_root,
    category=category,
    title="Project Design",
)

Operating Pattern

  1. Set WIZNOTE_BASE_URL, WIZNOTE_USER, and WIZNOTE_PASSWORD, or pass them explicitly.
  2. Normalize your chosen category root with normalize_category_root(category_root).
  3. Log in once and reuse login.token, login.kb_server, and login.kb_guid.
  4. For reads: resolve the target category, list notes, choose the target note, download HTML, then mirror locally if needed.
  5. For writes: prepare HTML, create or update the note in WizNote first, then refresh the local mirror.
  6. Re-list the category after each write to verify the note exists.

Setup Steps For New Users

  1. Copy this wiznote/ directory into your repo or your Claude skills directory.
  2. Install Python 3.
  3. If you need Markdown-to-HTML conversion, install a Markdown library such as markdown:
   python3 -m pip install markdown
  1. Confirm your WizNote server is reachable from the Python runtime you plan to use.
  2. Set the three required environment variables or pass credentials explicitly.
  3. Choose a category root like /team/docs/ and keep all synced notes under it.
  4. Test login and note listing before doing bulk writes.

Mirror Rules

  • Canonical source: WizNote.
  • Local repo copy: mirror.
  • Mirror destination must be produced by mirror_output_path(repo_root, category_root, category, title).
  • Reject paths outside the configured category root.

Common Mistakes

  • Leaving private values in the published skill. Keep server URLs, usernames, passwords, and local home paths out of the shared copy.
  • Writing only to the repo mirror. Update WizNote first when the user wants centralized maintenance.
  • Uploading raw Markdown to create_note(...). Convert to HTML first.
  • Building target categories manually without validation. Use normalize_category_root(...) and resolve_category(...).
  • Building local paths from raw titles. Use mirror_output_path(...) to avoid path escape issues.
  • Logging in for every note. Reuse one authenticated session for the batch.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.95%
按下载量换算929

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills