mo-misc

mo-misc is a skill for Claude Code, Codex from mowenxd/cli. It costs 50 tokens per session (1,278 once invoked), scanned A, original, MIT.

A guide for uploading local files or files from public URLs to 墨问, a service that uses uploaded files as attachments for notes, comments, and other content. It returns a file ID that later commands can use to refer to the upload.

In plain words
What is it for?
Uploading images, audio files, or PDFs and obtaining their file IDs. Those IDs can then be included when creating or editing 墨问 notes, comments, or other content.
Why use it?
It removes the manual steps of uploading an attachment and finding the identifier needed by later 墨问 requests. It also documents which file types and size limits are accepted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Uploading images, audio files, or PDFs and obtaining their file IDs. Those IDs can then be included when creating or editing 墨问 notes, comments, or other content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mowenxd/cli/mo-misc
View source ↗ mowenxd/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 mowenxd/cli --skill mo-misc
Clone the repo
git clone --depth 1 https://github.com/mowenxd/cli

Made for: Claude Code, Codex.

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 mo-misc

README.md
[![agentmods](https://agentmods.dev/badge/skills/mowenxd/cli/mo-misc/github.svg)](https://agentmods.dev/skills/mowenxd/cli/mo-misc)
Your own site
<a href="https://agentmods.dev/skills/mowenxd/cli/mo-misc"><img src="https://agentmods.dev/badge/skills/mowenxd/cli/mo-misc/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 mo-misc

Your own site · 80×15
<a href="https://agentmods.dev/skills/mowenxd/cli/mo-misc"><img src="https://agentmods.dev/badge/skills/mowenxd/cli/mo-misc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,278 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.01278
Opus 5.5 $0.00020 $0.00511
Sonnet 5.5 $0.00010 $0.00256
Haiku 4.5 $0.00005 $0.00128

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

Security

Grade A, and why

mo-misc 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 2mo 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-misc/SKILL.md · 84 lines

How it starts

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

前置约束

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

mocli misc - 墨问通用工具

本技能指导你使用 mocli misc 完成通用辅助操作。当前主要能力是上传本地或远端文件,并获取后续可被笔记、评论或其它墨问接口引用的 file_id。

mocli misc upload [--file] [--url] [--filename]

本命令用于将本地文件或远端文件 URL 上传到墨问。上传成功后返回 reply.file_id,并尽量返回文件名、MIME、大小和 file_meta 等元信息。

使用时机

  • 用户明确要求“上传文件到墨问”“上传图片/音频/PDF”“把这个 URL 上传成墨问文件”时使用本命令。
  • 用户要创建或编辑笔记,并需要先获得图片、音频或 PDF 的 file_id 时,先使用本命令上传文件,再把返回的 file_id 用到后续内容构造中。
  • 用户只想引用一个已有公网 URL,且目标接口明确支持 URL 直链时,不要自动上传;只有需要墨问 file_id 时才上传。

可选参数

  • --file string:本地文件路径。与 --url 二选一,不能同时传。
  • --url string:远端文件 URL。与 --file 二选一,不能同时传。
  • --filename string:可选的上传文件名。用于服务端展示名和上传表单文件名;不传时,本地文件默认使用路径 basename,远端 URL 默认不强行推导。

使用原则

  • --file 和 --url 必须且只能提供一个;如果用户同时给了本地路径和 URL,先询问要上传哪一个。
  • 本地文件路径建议使用绝对路径,避免工作目录不一致导致找不到文件。
  • 不要添加 --filetype;CLI 会读取文件内容或远端响应前 512 字节,根据 MIME 自动识别类型。
  • 当前支持上传图片、音频和 PDF;HTML、纯文本、压缩包、视频或未知 MIME 会被拒绝。
  • 大小限制:图片小于 50MB,音频小于 200MB,PDF 小于 100MB。用户给出的文件明显超限时,先说明限制,不要盲目尝试。
  • 上传本地文件或远端 URL 都会向墨问服务端提交文件内容;如果文件可能包含隐私或敏感信息,执行前先确认用户确实要上传。
  • 对远端 URL,上传过程会由 CLI 下载该 URL 内容;如果 URL 需要登录态、临时签名或内网访问,可能失败,应提示用户提供可公开访问或当前环境可访问的链接。
  • 执行后按共享规则解析顶层 code、status、reason;成功时展示 reply.file_id,并根据任务需要使用 reply.file_type、reply.file_name、reply.file_mime、reply.file_size、reply.file_meta;失败时展示 reason、msg、meta.hints 等可执行信息。

使用示例

  • 上传本地图片 mocli misc upload --file /path/to/avatar.png
  • 上传本地 PDF 并指定展示名 mocli misc upload --file /path/to/report.pdf --filename "产品报告.pdf"
  • 上传远端图片 URL mocli misc upload --url "https://example.com/image.png" --filename "image.png"
  • 上传本地音频 mocli misc upload --file /path/to/audio.wav

输出示例

{
  "code": 0,
  "status": "OK",
  "reply": {
    "file_id": "F_uploaded",
    "file_type": "AUDIO",
    "file_name": "audio.mp3",
    "file_mime": "audio/mpeg",
    "file_size": 3790598,
    "file_meta": "{\"duration\":236.878367,\"format\":\"mp3\",\"format_name\":\"mp3\"}"
  }
}

Read the full file on GitHub · 84 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. 2mo ago First seen · 84 lines · 50 tokens per session scan A 8372b124348d

Subscribe to this mod's changes

mo-misc is a skill published in the GitHub repository mowenxd/cli (40 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 1,278 once invoked, about $0.0002 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

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

meta-web-to-pdf-briefing

Render a topic into a distributable PDF briefing in three steps: web search → bullet summary → styled PDF. Trigger when the user asks for a PDF briefing on a single topic.

opensquilla/opensquilla · 45 tokens

paper-reader

A reading assistant for computer-vision and deep-learning research papers. It can work with PDF files, arXiv papers, and papers stored in Zotero, a reference-management app.

huangkiki/dailypaper-skills · 135 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens