apply-comments

apply-comments is a skill for Claude Code from shennawardana23/skillme. It costs 52 tokens per session (1,340 once invoked), scanned A, a copy of apply-comments, Apache-2.0.

A task guide for processing comments left by the open-slide inspector. These comments are notes attached to specific elements in slide source code, such as requests to change text or colour.

In plain words
What is it for?
It helps find comment markers, decode their notes, update the targeted JSX elements, and clean up the processed comments.
Why use it?
It turns pending review notes into edits and removes the markers, while requiring the slide-authoring rules to be followed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the skillme plugin — 148 skills, 2 commands shipped together

Good fit It helps find comment markers, decode their notes, update the targeted JSX elements, and clean up the processed comments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shennawardana23/skillme/apply-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 shennawardana23/skillme --skill apply-comments
Clone the repo
git clone --depth 1 https://github.com/shennawardana23/skillme

Made for: Claude Code.

Or install skillme, the plugin that ships this one along with the rest of its 148 skills, 2 commands.

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 apply-comments

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shennawardana23/skillme/apply-comments"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/apply-comments.svg" alt="Reviewed on agentmods" width="80" 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 1,340 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 100% copy Near-identical to another mod 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.00052 $0.01340
Opus 5.5 $0.00021 $0.00536
Sonnet 5.5 $0.00010 $0.00268
Haiku 4.5 $0.00005 $0.00134

Measured 9d ago against content hash 3444ad9c5312, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apply-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 9d 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.

Origin

This is a copy

100% identical to apply-comments — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/apply-comments/SKILL.md · 83 lines

How it starts

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

Apply slide comments

The open-slide editor has an inspector tool that lets the user click on a rendered page element and attach a textual comment (e.g. "make this red", "change to 'Open Slide Rocks'"). Each comment is persisted as an in-source JSX marker inside slides/<slideId>/index.tsx.

Your job: read those markers, perform the described edits, and delete the markers.

Before making any page edit, consult the slide-authoring skill — it is the technical reference for how slides/<id>/index.tsx is structured (canvas, type scale, palette, assets, file contract). A comment like "make this bigger" or "change the accent colour" should be applied in a way that stays consistent with those rules.

Marker format

{/* @slide-comment id="c-<8hex>" ts="<ISO>" text="<base64url(JSON)>" */}
  • Always sits on its own line as the first child inside the JSX element it refers to (i.e. between that element's opening > and its other children). The marker is dropped into its target, not floated above it.

  • text is base64url-encoded JSON: {"note": "...", "hint"?: "..."}.

  • Detection regex (authoritative — use exactly this):

    /\{\/\*\s*@slide-comment\s+id="(c-[a-f0-9]+)"\s+ts="([^"]+)"\s+text="([A-Za-z0-9_\-]+={0,2})"\s*\*\/\}/g
    

Procedure

  1. Identify the target slide(s).

    • If the user names one (getting-started, q2-roadmap, etc.), work on that single slides/<slideId>/index.tsx.
    • If they say "all" or don't specify, scan every slides/*/index.tsx. Process each slide one at a time.
  2. Read the file and find all markers.

    • Run the regex above against the whole file.
    • For each match, base64url-decode text and JSON.parse it to get { note, hint? }.
    • Record each hit as { id, lineIndex (0-based), note, hint }.
    • If there are no markers, tell the user and stop.
  3. Understand each comment in context.

    • The targeted JSX element is the enclosing element of the marker — i.e. read upward from the marker line until you reach the unclosed JSX opening tag whose body the marker lives in. That element is the target. (For self-closing elements like <img />, the inspector hoists the marker to the nearest non-self-closing ancestor; in that case the comment usually refers to a child of the enclosing element rather than the enclosing element itself — use the note text to disambiguate.)
    • Read enough surrounding code (parent element, sibling elements, inline styles) to apply the change faithfully. A comment inside a <div> with an inline background style usually refers to that element's styling, for example.
    • If the note is ambiguous, do the smallest reasonable interpretation and mention the assumption in your summary.

Read the full file on GitHub · 83 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. 9d ago First seen · 83 lines · 52 tokens per session scan A 3444ad9c5312

Subscribe to this mod's changes

apply-comments is a skill published in the GitHub repository shennawardana23/skillme (3 stars, last pushed 10d ago), licensed Apache-2.0. It adds 52 tokens to every session and 1,340 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to apply-comments, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

visual-design

Guides and reviews visual design and brand identity for web and React Native UI — color, typography, hierarchy, and named style directions — deferring contrast math and a11y mechanics to /ux. Triggers on "make this look good", "visual design", "style direction", "does this look generic", "/visual-design".

mthines/agent-skills · 70 tokens

custom-icons

Create or refine custom icon assets as native or traced SVGs and transparent PNG/WebP files. Use when the user asks for a bespoke icon or cohesive icon set, wants an image traced into a clean vector, or needs a detailed or 3D icon with transparency.

JKc66/custom-icons-skill · 57 tokens

animations

Authors performant CSS-first web animations and picks the right feedback for an interaction — transitions, View Transitions, scroll-driven motion, Motion for React, reduced motion, and perceived performance. Triggers on "animate this", "hover effect", "feel faster", "skeleton loader", "/animations".

mthines/agent-skills · 61 tokens

ux

Reviews and plans UX for web and React Native (Expo) UIs: walks the user's real path through the code, checks what each control actually does, then goes deep on accessibility (WCAG 2.2) and microcopy. Never recommends a dark pattern. Triggers on "ux review", "ux audit", "check accessibility", "is this accessible"…

mthines/agent-skills · 90 tokens

logo-designer

Design and iterate on logos using SVG. Use this skill when the user asks to "create a logo", "design a logo", "make me a logo", "iterate on this logo", "logo for my project", or discusses logo design, branding icons, or wordmarks.

sutchan/Agent-Skills-Hub · 61 tokens

wp-patterns

A workflow for creating and updating WordPress block patterns, which are reusable layouts made from the block editor's content blocks. It also reviews their registration, accessibility, translations, and safe use of theme design settings.

sutchan/Agent-Skills-Hub · 84 tokens