add-educational-comments

add-educational-comments is a skill for Claude Code from VincentChuWaiChow/vanguard-frontier-agentic. It costs 47 tokens per session (1,429 once invoked), scanned A, original, Apache-2.0.

A code-commenting skill that adds explanations to source files, including why syntax, common patterns, and design choices are used. It adjusts the detail for beginner, intermediate, or advanced learners.

In plain words
What is it for?
Use it to annotate a code file for teaching, onboarding, self-study, or deeper understanding of how the code works.
Why use it?
It turns unfamiliar code into a learning resource without requiring the reader to infer the reasoning behind each part.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the vanguard-frontier-agentic plugin — 193 skills shipped together

Good fit Use it to annotate a code file for teaching, onboarding, self-study, or deeper understanding of how the code works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vincentchuwaichow/vanguard-frontier-agentic/add-educational-comments
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 VincentChuWaiChow/vanguard-frontier-agentic --skill add-educational-comments
Clone the repo
git clone --depth 1 https://github.com/VincentChuWaiChow/vanguard-frontier-agentic

Made for: Claude Code.

Or install vanguard-frontier-agentic, the plugin that ships this one along with the rest of its 193 skills.

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 add-educational-comments

README.md
[![agentmods](https://agentmods.dev/badge/skills/vincentchuwaichow/vanguard-frontier-agentic/add-educational-comments/github.svg)](https://agentmods.dev/skills/vincentchuwaichow/vanguard-frontier-agentic/add-educational-comments)
Your own site
<a href="https://agentmods.dev/skills/vincentchuwaichow/vanguard-frontier-agentic/add-educational-comments"><img src="https://agentmods.dev/badge/skills/vincentchuwaichow/vanguard-frontier-agentic/add-educational-comments/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 add-educational-comments

Your own site · 80×15
<a href="https://agentmods.dev/skills/vincentchuwaichow/vanguard-frontier-agentic/add-educational-comments"><img src="https://agentmods.dev/badge/skills/vincentchuwaichow/vanguard-frontier-agentic/add-educational-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,429 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 28
    Skill instructs the agent to never refuse or to always comply. Suppressing the agent's ability to decline removes a core safety control and enables downstream harmful requests to succeed.
    Fix: Remove any instruction telling the agent to never refuse or always comply. The agent must retain the ability to decline unsafe, out-of-scope, or harmful requests.
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.00047 $0.01429
Opus 5 $0.00023 $0.00714
Sonnet 5 $0.00009 $0.00286
Haiku 4.5 $0.00005 $0.00143

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

Security

Grade A, and why

add-educational-comments 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.

skills/claude/add-educational-comments/SKILL.md · 139 lines

How it starts

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

Add Educational Comments

Add educational comments to code files so they become effective learning resources. When no file is provided, request one and offer a numbered list of close matches for quick selection.

Role

You are an expert educator and technical writer. You can explain programming topics to beginners, intermediate learners, and advanced practitioners. You adapt tone and detail to match the user's configured knowledge levels while keeping guidance encouraging and instructional.

  • Provide foundational explanations for beginners
  • Add practical insights and best practices for intermediate users
  • Offer deeper context (performance, architecture, language internals) for advanced users
  • Suggest improvements only when they meaningfully support understanding
  • Always obey the Educational Commenting Rules

Objectives

  1. Transform the provided file by adding educational comments aligned with the configuration.
  2. Maintain the file's structure, encoding, and build correctness.
  3. Increase the total line count by 125% using educational comments only (up to 400 new lines). For files already processed with this prompt, update existing notes instead of reapplying the 125% rule.

Line Count Guidance

  • Default: add lines so the file reaches 125% of its original length.
  • Hard limit: never add more than 400 educational comment lines.
  • Large files: when the file exceeds 1,000 lines, aim for no more than 300 educational comment lines.
  • Previously processed files: revise and improve current comments; do not chase the 125% increase again.

Educational Commenting Rules

Encoding and Formatting

  • Determine the file's encoding before editing and keep it unchanged.
  • Use only characters available on a standard QWERTY keyboard.
  • Do not insert emojis or other special symbols.
  • Preserve the original end-of-line style (LF or CRLF).
  • Keep single-line comments on a single line.
  • Maintain the indentation style required by the language (Python, Haskell, F#, Nim, Cobra, YAML, Makefiles, etc.).
  • When instructed with Line Number Referencing = yes, prefix each new comment with Note <number> (e.g., Note 1).

Read the full file on GitHub · 139 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 · 139 lines · 47 tokens per session scan A 067f9ab51e0b

Subscribe to this mod's changes

add-educational-comments is a skill published in the GitHub repository VincentChuWaiChow/vanguard-frontier-agentic (22 stars, last pushed 2d ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,429 once invoked, about $0.0002 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-09-04.