Opencode-Howto: Skill for Claude Code

.opencode/skills/self-assessment/SKILL.md

self-assessment is a skill for Claude Code, OpenCode from leihuang830102-hash/Opencode-Howto. It costs 78 tokens per session (2,403 once invoked), scanned A, original, MIT.

An interactive Chinese-language self-assessment for OpenCode, a coding agent. It checks your knowledge across several skill areas and suggests a learning order.

In plain words
What is it for?
Use it to take a quick or detailed skills check and get a personalised OpenCode learning path.
Why use it?
It helps you find gaps without guessing where to begin or what to study next.

Skill for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: mentions subagents; positional $N argument; mentions AGENTS.md.

This is leihuang830102-hash/Opencode-Howto's own configuration. It tells Claude Code and OpenCode how to work on Opencode-Howto itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Opencode-Howto configures →

Reuse

Borrowing it

Nothing to install: this file belongs to leihuang830102-hash/Opencode-Howto. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/leihuang830102-hash/Opencode-Howto/master/.opencode/skills/self-assessment/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/leihuang830102-hash/Opencode-Howto

Made for: Claude Code, OpenCode.

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 self-assessment

README.md
[![agentmods](https://agentmods.dev/badge/skills/leihuang830102-hash/opencode-howto/self-assessment.svg)](https://agentmods.dev/skills/leihuang830102-hash/opencode-howto/self-assessment)
Your own site
<a href="https://agentmods.dev/skills/leihuang830102-hash/opencode-howto/self-assessment"><img src="https://agentmods.dev/badge/skills/leihuang830102-hash/opencode-howto/self-assessment.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,403 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.00078 $0.02403
Opus 5 $0.00039 $0.01202
Sonnet 5 $0.00016 $0.00481
Haiku 4.5 $0.00008 $0.00240

Measured 7d ago against content hash fbaf95e455cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

self-assessment 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 7d 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.

.opencode/skills/self-assessment/SKILL.md · 275 lines

How it starts

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

Self-Assessment & Learning Path Advisor

这是一个完整的 OpenCode 交互式自测 skill,用来评估用户在 10 个能力域上的熟练度,并据此生成个性化学习路径。

Instructions

Step 1: 先让用户选择评估模式

使用 question tool 提供两个选项:

  • Quick Assessment:8 个问题,约 2 分钟,用于快速判断 Beginner / Intermediate / Advanced
  • Deep Assessment:5 轮问题,约 5 分钟,用于分别评估 10 个主题的掌握情况

如果用户选择 Quick Assessment,进入 Step 2A。
如果用户选择 Deep Assessment,进入 Step 2B。


Step 2A: Quick Assessment

使用两个多选问题完成快速自测,每个问题最多 4 个选项。

Question 1(header: Basics
Prompt: Part 1/2: Which of these OpenCode skills do you already have?

Options:

  1. Start OpenCode and chat — 我会运行 opencode 并进入对话
  2. Created/edited AGENTS.md — 我配置过项目或个人 memory
  3. Used 3+ slash commands — 例如 /help/compact/model
  4. Created custom command/skill — 写过 SKILL.md.opencode/commands/

Question 2(header: Advanced
Prompt: Part 2/2: Which of these advanced skills do you have?

Options:

  1. Configured an MCP server — 配置过 GitHub、数据库或其他外部数据源
  2. Set up hooks — 用 JS/TS 编写过插件模块,放到 .opencode/plugins/ 目录
  3. Created/used subagents — 使用过 .opencode/agents/
  4. Used print mode (opencode run) — 用过非交互模式或 CI/CD 集成

Quick 模式评分:

  • 0-2 项:Level 1 — Beginner
  • 3-5 项:Level 2 — Intermediate
  • 6-8 项:Level 3 — Advanced

进入 Step 3A 输出结果,并列出未勾选项作为短板。


Step 2B: Deep Assessment

Deep 模式共 5 轮,每轮 1 个多选问题,每题最多 4 个选项,每轮覆盖 2 个主题。

Round 1 — Slash Commands & Memory

Header: Commands
Prompt: Which of these have you done? Select all that apply.

Options:

  1. Created a custom slash command or skill — 写过带 frontmatter 的 SKILL.md.opencode/commands/ 文件
  2. Used dynamic context in commands — 用过 $ARGUMENTS$0/$1!command@file
  3. Set up project + personal memory — 同时配置过项目级和个人级 AGENTS.md
  4. Used memory hierarchy features — 理解层级优先级、用过 .opencode/rules/、path-specific rules 或 @import

Scoring:

  • 1-2 映射到 Slash Commands(0-2)
  • 3-4 映射到 Memory(0-2)
Round 2 — Skills & Hooks

Header: Automation

Options:

  1. Installed and used an auto-invoked skill — 使用过自动触发的 skill
  2. Controlled skill invocation behavior — 用过 disable-model-invocationuser-invocablecontext: fork
  3. Set up a tool.execute.before or tool.execute.after hook — 用 JS/TS 编写过插件事件处理器
  4. Used advanced hook features — 用过 30+ 插件事件(session.*, shell.env, tui.*)、custom tools、experimental.session.compacting

Read the full file on GitHub · 275 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. 7d ago First seen · 275 lines · 78 tokens per session scan A fbaf95e455cd

Subscribe to this mod's changes

self-assessment is a skill published in the GitHub repository leihuang830102-hash/Opencode-Howto (5 stars, last pushed 4mo ago), licensed MIT. It adds 78 tokens to every session and 2,403 once invoked, about $0.0004 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-31.

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

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens