cli-mastery

cli-mastery is a skill for Claude Code, Codex from boshi-xixixi/TraeSkill. It costs 52 tokens per session (537 once invoked), scanned A, original, MIT.

An interactive course for learning the GitHub Copilot command-line tool, which lets you use Copilot from a terminal. It provides lessons, quizzes, challenges, and a reference guide.

In plain words
What is it for?
Use it to study Copilot CLI commands, test your knowledge, practise scenarios, or look up commands and settings.
Why use it?
It gives you a structured way to learn terminal commands and concepts instead of piecing them together from scattered documentation.

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/boshi-xixixi/traeskill/cli-mastery
Any agent
npx skills add boshi-xixixi/TraeSkill --skill cli-mastery
Clone the repo
git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill

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 cli-mastery

README.md
[![agentmods](https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/cli-mastery.svg)](https://agentmods.dev/skills/boshi-xixixi/traeskill/cli-mastery)
Your own site
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/cli-mastery"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/cli-mastery.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 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.00052 $0.00537
Opus 5 $0.00026 $0.00269
Sonnet 5 $0.00010 $0.00107
Haiku 4.5 $0.00005 $0.00054

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

Security

Grade A, and why

cli-mastery 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 4d 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.

.trae/Skills/.agents/skills/cli-mastery/SKILL.md · 44 lines

What it actually says

Copilot CLI Mastery

UTILITY SKILL — interactive Copilot CLI trainer. INVOKES: ask_user, sql, view USE FOR: "cliexpert", "teach me the Copilot CLI", "quiz me on slash commands", "CLI cheat sheet", "copilot CLI final exam" DO NOT USE FOR: general coding, non-CLI questions, IDE-only features

Routing and Content

Trigger Action
"cliexpert", "teach me" Read next references/module-N-*.md, teach
"quiz me", "test me" Read current module, 5+ questions via ask_user
"scenario", "challenge" Read references/scenarios.md
"reference" Read relevant module, summarize
"final exam" Read references/final-exam.md

Specific CLI questions get direct answers without loading references. Reference files in references/ dir. Read on demand with view.

Behavior

On first interaction, initialize progress tracking:

CREATE TABLE IF NOT EXISTS mastery_progress (key TEXT PRIMARY KEY, value TEXT);
CREATE TABLE IF NOT EXISTS mastery_completed (module TEXT PRIMARY KEY, completed_at TEXT DEFAULT (datetime('now')));
INSERT OR IGNORE INTO mastery_progress (key,value) VALUES ('xp','0'),('level','Newcomer'),('module','0');

XP: lesson +20, correct +15, perfect quiz +50, scenario +30. Levels: 0=Newcomer 100=Apprentice 250=Navigator 400=Practitioner 550=Specialist 700=Expert 850=Virtuoso 1000=Architect 1150=Grandmaster 1500=Wizard. Max XP from all content: 1600 (8 modules × 145 + 8 scenarios × 30 + final exam 200).

When module counter exceeds 8 and user says "cliexpert", offer: scenarios, final exam, or review any module.

Rules: ask_user with choices for ALL quizzes/scenarios. Show XP after correct answers. One concept at a time; offer quiz or review after each lesson.

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. 4d ago First seen · 44 lines · 52 tokens per session scan A d3e4194d69f9

Subscribe to this mod's changes

cli-mastery is a skill published in the GitHub repository boshi-xixixi/TraeSkill (259 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 537 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

practice-cognition

触发:当你提出了方案、假设或判断,需要通过实践验证、试错迭代或复盘升级认知时调用;常见信号包括 experiment、prototype、validate、iterate、feedback loop。 English: Trigger when an idea, hypothesis, or plan must be tested in practice and improved through iteration. Use this skill to move from action to understanding and back to action in a spiral learning loop.

HughYau/qiushi-skill · 92 tokens

t-doc

Generate project tutorial documentation that reads like a human wrote it, not like AI output. Scans the codebase, extracts architecture/APIs/config/deployment details, and writes structured tutorial docs in the project's documentation target, preferring an existing docs-web site over docs/tutorials/. Use this skill…

timzaak/web-dev-skills · 149 tokens

mlops-industrialization

Convert notebook prototypes into a distributable Python package with a src layout, a domain/io/application split, and validated OmegaConf plus Pydantic configuration. Use when moving code out of notebooks or designing entrypoints.

MLOps-Courses/mlops-coding-skills · 48 tokens

yupi-skill

以"程序员鱼皮"的身份、口吻、思维方式回答问题。鱼皮是前腾讯全栈工程师、全网200万+粉丝的AI+编程知识博主、科技公司鱼鸢网络CEO、编程导航创始人。 当用户想要以鱼皮的视角获得编程学习建议、求职指导、项目选型、技术方向判断、创业经验、自媒体运营建议、AI编程实战指导时使用此技能。 也适用于用户明确要求"用鱼皮的风格"或"像鱼皮一样"回答的场景。 覆盖的典型问题包括:编程学习路线、简历怎么写、要不要接某个offer、该学什么技术、怎么做开源、怎么做自媒体、AI时代程序员怎么办、创业踩过哪些坑。.

liyupi/yupi-skill · 192 tokens

gan-zhong-xue

在你干真实开发时(边干边挖:搞懂 AI 正在做的这步,掌控方向)或干完提交后(事后挖: 回头搞懂一个甩手没懂的改动),就地陪你走一轮"先让你猜、再揭示、逼到原理"的回合制, 把黑盒变成你真懂、能复述、能迁移的东西。治的是 vibe-coding 的病:交付物在增加, 理解没跟上。触发词:"干中学"、"帮我搞懂 AI 正在做的这步"、"我刚才那段没懂"、 "这个 commit 我说不清"、"帮我真正搞懂刚才做的";掌舵(任务中途):"等等这步我没懂"、 "为什么这么改"、"这步我没跟上"。 English triggers: "learning by doing", "help me actually understand what…

ly8427/gan-zhong-xue · 288 tokens

ai-assessment-scale

Evaluate AI contribution in software projects using the AI Assessment Scale (AIAS) v2 5-level framework. Adapt the education-focused framework for transparent project documentation across development stages.

mastepanoski/claude-skills · 40 tokens