tag-organize-cli

tag-organize-cli is a skill for Claude Code from wpsnote/wpsnote-skills. It costs 134 tokens per session (3,917 once invoked), scanned A, original, MIT.

A command-line workflow for organizing file-level tags in WPS Notes, a cloud note-taking service. It uses the wpsnote-cli program and does not require an MCP server connection.

In plain words
What is it for?
Use it to add, clean up, reorganize, or redesign WPS Note tags through wpsnote-cli.
Why use it?
It addresses messy, excessive, or inconsistent tags while allowing tag management from the system command line instead of editing note content or XML.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the base-skills plugin — 6 skills shipped together

Good fit Use it to add, clean up, reorganize, or redesign WPS Note tags through wpsnote-cli.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wpsnote/wpsnote-skills/tag-organize-cli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wpsnote/wpsnote-skills --skill tag-organize-cli
Clone the repo
git clone --depth 1 https://github.com/wpsnote/wpsnote-skills

Made for: Claude Code.

Or install base-skills, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tag-organize-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/wpsnote/wpsnote-skills/tag-organize-cli/github.svg)](https://agentmods.dev/skills/wpsnote/wpsnote-skills/tag-organize-cli)
Your own site
<a href="https://agentmods.dev/skills/wpsnote/wpsnote-skills/tag-organize-cli"><img src="https://agentmods.dev/badge/skills/wpsnote/wpsnote-skills/tag-organize-cli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tag-organize-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/wpsnote/wpsnote-skills/tag-organize-cli"><img src="https://agentmods.dev/badge/skills/wpsnote/wpsnote-skills/tag-organize-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.03917
Opus 5.5 $0.00054 $0.01567
Sonnet 5.5 $0.00027 $0.00783
Haiku 4.5 $0.00013 $0.00392

Measured 1mo ago against content hash 377cacdf5f62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tag-organize-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tag-organize-cli/SKILL.md · 291 lines

How it starts

The opening of the file, as written. The whole thing — 291 lines — stays where its author put it; the contents beside it link to each section on GitHub.

笔记标签整理核心原则与流程(CLI 版)

CLI 工具适配

启动本 Skill 的第一步,先检查连接状态:

wpsnote-cli status --json

如果命令不存在或返回连接失败,停止执行并告知用户需要先安装并打开 WPS 笔记、在「设置」→「AI 实验室」中开通能力,然后重新运行 wpsnote-cli status --json 确认。

所有 WPS 笔记操作直接在系统命令行中执行 wpsnote-cli;复杂参数一律通过 --json-args 传入,所有需要结构化结果的命令加 --json。

wpsnote-cli manage-tags --note_id "<id>" --json-args '{"add":["工作/项目"],"remove":["旧标签"]}' --json
MCP 语义 CLI 命令
get_note_stats({ detailed: true }) wpsnote-cli stats --detailed true --json
find_tags() wpsnote-cli tags --json
search_notes({ tags }) wpsnote-cli find --json-args '{"tags":["标签名"]}' --json
get_note_info({ limit, page }) wpsnote-cli info --json-args '{"page":1,"page_size":50}' --json
manage_note_tags({ note_id }) wpsnote-cli manage-tags --note_id <id> --json
manage_note_tags({ note_id, add/remove }) wpsnote-cli manage-tags --note_id <id> --json-args '{"add":["新标签"],"remove":["旧标签"]}' --json
get_note_outline({ note_id }) wpsnote-cli outline --note_id <id> --json
read_note({ note_id }) wpsnote-cli read --note_id <id> --json
read_blocks({ note_id, block_ids }) wpsnote-cli read-blocks --json-args '{"note_id":"...","block_ids":["..."]}' --json

标签整理写入只使用 wpsnote-cli manage-tags。read、outline、read-blocks 只用于理解内容,不用于改标签。


核心原则

整理标签不是在执行一套标准方法论,而是在服务一个具体的人。没有统一的「正确」分类方式,一切决策以用户的实际需求为准。

整理的价值只来自三个方向,不能带来其中任何一项的改动都不值得做:

  • 提升使用效率:减少维护负担,降低分类焦虑
  • 提升检索效率:让用户更快找到目标内容
  • 带来新的知识连接视角:发现原来看不到的关联

不要在任务开始时反问用户「你想整理什么范围、怎么整理」。用户找 AI 来整理,本身就意味着他不想自己做这些判断。AI 的职责是主动给出具体方案,让用户做选择题,而不是问答题。


操作安全约束

当前阶段只做打标。 笔记标签是文件级独立对象,通过专用命令 wpsnote-cli manage-tags 增删改。

硬性规则,每次操作都必须遵守:

  1. 修改标签只用 wpsnote-cli manage-tags:
    • 查询某笔记当前标签:wpsnote-cli manage-tags --note_id <id> --json
    • 添加:wpsnote-cli manage-tags --note_id <id> --json-args '{"add":["工作/项目"]}' --json
    • 删除:wpsnote-cli manage-tags --note_id <id> --json-args '{"remove":["旧标签"]}' --json
    • 重命名 / 合并:在同一次调用中组合 remove + add

Read the full file on GitHub · 291 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 291 lines · 134 tokens per session scan A 377cacdf5f62

Subscribe to this mod's changes

tag-organize-cli is a skill published in the GitHub repository wpsnote/wpsnote-skills (183 stars, last pushed yesterday), licensed MIT. It adds 134 tokens to every session and 3,917 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dsh-onboarding

Guidance for helping someone use DeepSeek Harness, a local runtime for coding agents, for the first time. It explains the runtime, profiles, workspace, permissions, and how extensions are discovered.

pingfanfan/hello-dsh · 60 tokens

query

Answer questions about the wiki by searching, reading, and synthesizing relevant scraps with [[Title]] citations. Use this when the user wants to query the wiki, ask what they have written about a topic, compare scraps, find related notes, or pull a synthesized overview from existing scraps.

boykush/scraps · 61 tokens

scratch

Organize knowledge from an agent session into a scratchpad — a folder of files plus a scratchpad.json manifest. Use when a task generates notes, snippets, command output, diagrams, or artifacts worth keeping together for a session/activity.

NikiforovAll/scratchpad · 49 tokens

clip

Pin an answer from this conversation to Mycelium, verbatim. Use only when the user explicitly invokes $clip or asks to clip or pin an answer to Mycelium.

krapie/mycelium · 38 tokens

redfox-subscribe

A central menu for managing subscriptions to scheduled content updates, such as account tracking, AI digests, industry reports, and trending-topic reports. It routes each request to the specific source that performs the subscription.

redfox-data/redfox-community-dsh · 140 tokens

anywrite

Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.

sendralt/agentic-awesome-skills · 37 tokens