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.
npx agentmods add skills/mowenxd/cli/mo-authnpx skills add mowenxd/cli --skill mo-authgit clone --depth 1 https://github.com/mowenxd/cliWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00052 | $0.01038 |
| Opus 5 | $0.00026 | $0.00519 |
| Sonnet 5 | $0.00010 | $0.00208 |
| Haiku 4.5 | $0.00005 | $0.00104 |
Grade A, and why
mo-auth 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
前置约束
CRITICAL — 先阅读 共享规则,其中包含 mocli 初始化、认证、输出解析以及安全规则
mocli auth - 墨问 Auth 认证
本技能提供墨问 Auth 认证的能力,指导你如何通过 mocli auth 完成 API Key 的配置与更新、获取当前的配置信息、获取 API Key 对应的账户,在墨问平台上的 Profile 信息。
使用原则
- 用户提供新的 API Key 或要求初始化认证时,使用
mocli auth init --apik <api-key>。 - 用户明确要求更换、覆盖、重新配置 API Key 时,使用
mocli auth init --apik <api-key> --force。 - 用户要查看当前认证状态时,使用
mocli auth info;用户还要查看账号资料时,使用mocli auth info --profile。 - 所有响应展示都必须隐藏 API Key。即使
mocli返回的是脱敏值,也不要额外复述完整密钥。 - 其它命令返回
reason=AUTH时,引导用户重新提供 API Key,并使用init --force更新。
mocli auth init --apik [--force]
初始化 API Key。可选参数 --force 用于更换(覆盖)已有 API Key。该命令会写入本地认证配置,执行前需要确认用户确实要初始化或覆盖。
使用示例
- 我的墨问 apikey 是 , 帮我完成认证/初始化
mocli auth init --apik xxxxxx - 我的墨问 apikey 换了,帮我更新一下
mocli auth init --apik xxxxxx --force
mocli auth info [--profile]
获取当前认证配置。可选参数 --profile 用于额外获取当前 API Key 对应账户在墨问平台上的 Profile(用户信息)。
使用示例
- 查看我的墨问认证信息
mocli auth info - 查看我的墨问认证信息并返回我的用户资料
mocli auth info --profile
输出示例
{
"code": 0,
"status": "OK",
"reply": {
"auth": {
"api_key": "hx3jrU31xxs**********0BVvUm4ytQK",
"mo_uid": "KBqt7yiVrXBa9DJIJuUm3"
},
"profile": {
"uid": "KBqt7yiVrXBa9DJIJuUm3",
"name": "精卫鸟zzz🇨🇳",
"intro": "in culpa nostrud",
"regist_at": 1662465648,
"member": {
"is_member": true,
"plans": {
"pro": {
"type": "pro",
"status": 64,
"expire_at": 1852446600011
}
}
}
}
}
}
reply 字段说明
| 字段 | 类型 | 说明 | 引用字段 |
|---|---|---|---|
auth |
object | 认证信息 | AuthInfo - 认证信息 |
profile |
object | 用户在墨问平台上的 Profile(用户信息) | UserInfo - 用户信息 |
展示注意事项
auth.api_key属于敏感信息。展示认证状态时只说明“已配置”或展示脱敏片段,不要输出完整密钥。auth.mo_uid可展示,用于帮助用户确认当前认证账号。- 如果
profile存在,可展示profile.name、profile.uid、profile.intro、会员状态等非敏感信息。 - 如果命令失败且
reason=AUTH,不要继续调用需要认证的命令;先提示用户重新初始化 API Key。
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.
- 2d ago First seen · 92 lines · 52 tokens per session scan A 9361bcffc2a2
mo-auth is a skill published in the GitHub repository mowenxd/cli (33 stars, last pushed 8d ago), licensed MIT. It adds 52 tokens to every session and 1,038 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…