mo-tag

Instructions for using mocli, a command-line tool for viewing the authenticated user's note tags.

In plain words
What is it for?
Use it to list note tags, or to choose existing tags before applying them through the separate note-tag command.
Why use it?
It prevents unsupported tag operations and defines how to interpret command results and errors.

Skill for Claude CodeCodex

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.

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

Made for: Claude Code, Codex.

Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00063 $0.01284
Opus 5 $0.00032 $0.00642
Sonnet 5 $0.00013 $0.00257
Haiku 4.5 $0.00006 $0.00128

Measured 3d ago against content hash 58f67a4f2414, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mo-tag 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 3d 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/mo-tag/SKILL.md · 102 lines

How it starts

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

前置约束

CRITICAL — 先阅读 共享规则,其中包含 mocli 初始化、认证、输出解析以及安全规则

mocli tag - 墨问标签

本技能用于读取 当前认证用户 的标签列表。当前只支持获取我的笔记标签,不会创建、删除、重命名或绑定标签。

命令选择规则

  • 用户要“查看我的标签/获取我的标签/列出我的笔记标签/我有哪些标签”时,使用 mocli tag mine
  • 用户要“从已有标签里选出 X 个标签,再给某篇笔记打标签/改标签”时,先使用 mocli tag mine 获取候选标签,再结合 mo-notemocli note tag 完成写入。
  • 用户没有说明标签类型时,默认按笔记标签处理,即使用 --filter note 或省略 --filter
  • 用户要“给某篇笔记加标签/删除某篇笔记标签/覆盖某篇笔记标签”时,不使用本技能,改用 mo-notemocli note tag
  • 用户要“查看某个/某些标签下的笔记、按标签筛选笔记”时,不使用本技能,改用 mo-notemocli notes tagged;需要先从已有标签中挑选时,先用 mocli tag mine 获取候选标签的名称和 ID。
  • 用户要“创建一个空标签/重命名标签/删除标签本身”时,说明当前 CLI 暂不支持该能力,不要用 mocli tag mine 假装执行写入。

mocli tag mine [--filter]

本命令用于获取当前认证用户的标签列表。它是读取操作,不会修改任何笔记或标签。

可选参数:

  • --filter string:标签类型。当前只支持 note,表示我的笔记标签;不传时默认也是 note

使用原则

  • 默认执行 mocli tag mine 即可;只有需要显式表达过滤条件时才加 --filter note
  • 如果用户传入或要求非 note 的过滤条件,说明当前只支持 note,不要尝试其它值。
  • 执行后按共享规则解析顶层 codestatusreason;成功时展示 reply.tags,失败时展示 reasonmsgmeta.hints 等可执行信息。
  • 如果 reply.tags 为空,明确说明当前没有返回标签,不要编造标签名。

使用示例

  • 查看我的标签 mocli tag mine
  • 查看我的笔记标签 mocli tag mine --filter note

从已有标签中选择后给笔记打标签

当用户希望“从已有标签中选 X 个标签给某篇笔记打标签”时,按以下流程处理:

  • 先执行 mocli tag mine 获取已有标签候选。
  • 按用户要求筛选或展示候选标签;如果用户只说“选 X 个”,但没有给筛选规则,先展示候选并请用户确认具体标签,不要擅自挑选。
  • 用户确认标签后,切换到 mo-note 执行 mocli note tag。用户说“打上/追加这些标签”时用 --append;用户说“标签就设为这些/只保留这些”时用 --reset
  • 写入前仍需按 mo-note 规则确认目标笔记 ID、操作类型和最终标签列表。

示例流程:

mocli tag mine
mocli note tag --note-id note-123 --append "AI,产品思考"

输出示例

{
  "code": 0,
  "status": "OK",
  "reply": {
    "tags": [
      {
        "id": 11,
        "name": "AI"
      },
      {
        "id": 12,
        "name": "产品思考"
      }
    ]
  }
}

reply 字段说明

字段 类型 说明
tags array 当前认证用户的标签列表。当前只返回笔记标签。
tags[].id integer 标签 ID,可用于精确识别同名或后续接口扩展。
tags[].name string 标签名称,通常是展示给用户的主要字段。

Read the full file on GitHub · 102 lines

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. 3d ago First seen · 102 lines · 63 tokens per session scan A 58f67a4f2414

Subscribe to this mod's changes

mo-tag is a skill published in the GitHub repository mowenxd/cli (33 stars, last pushed 8d ago), licensed MIT. It adds 63 tokens to every session and 1,284 once invoked, about $0.0003 per session on Opus 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

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

lark-im

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。.

larksuite/cli · 140 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

reflect

Review recent work, find repeated workflow patterns, and suggest reusable skills, agents, commands, config changes, or playbooks. Use when the user asks to learn from past sessions, improve recurring workflows, or identify what should be turned into reusable agent instructions.

alvinunreal/oh-my-opencode-slim · 53 tokens

mochi-remind

Handle due reminders — notify the user with natural language and mark them done.

kirodotdev/KiroCrew · 20 tokens

organize-threads

猫猫辅助整理未分类 thread,分析标题和元数据,建议合适的标签。 Use when: 用户说"帮我整理"、"分类 thread"、点击整理按钮。 Not for: 删除/编辑标签本身。 Output: 按 thread 的标签建议列表。.

zts212653/clowder-ai · 65 tokens