apply-comments

apply-comments is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 52 tokens per session (1,629 once invoked), scanned A, original, Apache-2.0.

A skill for applying comments left by the open-slide inspector inside slide source files. It interprets each comment, makes the requested page edit, and removes the processed marker.

In plain words
What is it for?
Use it to process inspector comments that change slide text, colour, size, layout, or other page details.
Why use it?
It turns visual feedback such as “make this red” into source-code changes without requiring the user to locate and edit the JSX themselves. It also keeps the source free of completed comment markers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to process inspector comments that change slide text, colour, size, layout, or other page details.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/apply-comments/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/apply-comments)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/apply-comments"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/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/cafe3310/public-agent-skills/apply-comments"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/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,629 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.00052 $0.01629
Opus 5.5 $0.00021 $0.00652
Sonnet 5.5 $0.00010 $0.00326
Haiku 4.5 $0.00005 $0.00163

Measured 2d ago against content hash 79599a46f9a0, 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 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.

skills/openslide/subskills/apply-comments/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 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 a comment mode that lets the user click a rendered page element, or drag across a region of the page, 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)>" */}
  • Sits 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. Newly written markers get a line of their own; older ones may share a line with the content that follows them.

  • text is base64url-encoded JSON: {"note": "...", "hint"?: "...", "rect"?: {"x", "y", "w", "h"}, "page"?: n}.

    • rect is present when the comment was left on a dragged region rather than on an element. Values are pixels on the 1920×1080 page canvas, measured from the page's top-left corner. The marker still sits inside the deepest element that contains the region, but the note refers to what is inside that region — possibly several children, or only part of the enclosing element.
    • page is the 0-based index (into the default export array) of the page the comment was left on.
  • 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.

Read the full file on GitHub · 87 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. 2d ago First seen · 87 lines · 52 tokens per session scan A 79599a46f9a0

Subscribe to this mod's changes

apply-comments is a skill published in the GitHub repository cafe3310/public-agent-skills (256 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 1,629 once invoked, about $0.0002 per session on Opus 5.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-11-05.

Related

apply-comments compared with skills from other repositories

apply-comments next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apply-commentscafe3310/public-agent-skillsSkill256yesterdayApache-2.0A52Claude Code, Codex
google-fonts-curatorflc1125/skillsSkill39yesterdayMITA61Claude Code, Codex
preview-svgveelenga/preview-skillsSkill918d agoMITA107Claude Code
android-ui-engineeringGuillemRoca/agent-skills-androidSkill51mo agoMITA52Claude Code
android-accessibilityGuillemRoca/agent-skills-androidSkill51mo agoMITA35Claude Code
design-taste-frontendfirstsun-dev/skillsSkill54d agononeA61Claude Code, Codex
imagegen-frontend-mobilefirstsun-dev/skillsSkill54d agononeA126Claude Code, Codex