wise-code-comments

wise-code-comments is a skill for Claude Code from e1024kb/wise-claude. It costs 132 tokens per session (995 once invoked), scanned A, original, MIT.

A writing guide for code comments and docstrings, which are notes inside source code that explain facts or constraints to future readers.

In plain words
What is it for?
Use it whenever you add, edit, or review a code comment, docstring, or inline note.
Why use it?
It prevents comments from becoming vague, repetitive, outdated, or filled with jargon. It gives comments consistent rules across programming languages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the wise plugin — 41 skills, 13 agents, 3 hooks shipped together

Good fit Use it whenever you add, edit, or review a code comment, docstring, or inline note.

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

Made for: Claude Code.

Or install wise, the plugin that ships this one along with the rest of its 41 skills, 13 agents, 3 hooks.

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 wise-code-comments

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/e1024kb/wise-claude/wise-code-comments"><img src="https://agentmods.dev/badge/skills/e1024kb/wise-claude/wise-code-comments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 995 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.00132 $0.00995
Opus 5.5 $0.00053 $0.00398
Sonnet 5.5 $0.00026 $0.00199
Haiku 4.5 $0.00013 $0.00100

Measured 2mo ago against content hash 682016e3a6c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wise-code-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 2mo 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.

plugins/wise/skills/wise-code-comments/SKILL.md · 122 lines

How it starts

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

Code-comment standards

Before executing, follow model fallback for unavailable models or delegation routes, including in autonomous procedures.

At every skill start, identify your main/child role and the current client and GUI/TUI question tools, then read and follow the question lifecycle. Keep asynchronous prompts open until answered; this rule does not authorize questions in autonomous or otherwise prompt-free procedures.

Standing contract for every code comment and docstring wise writes, in any language. No slash command - it is auto-consulted whenever comments are written or edited.

The rules (MUST)

  1. ELI5 wording. Write so a developer new to the codebase understands the comment on first read. Plain words, short sentences, the simplest domain term that carries the fact. No jargon a newcomer would have to look up when a common word works.

  2. Concise. One comment states one fact, once. If the comment can lose a word without losing the fact, lose the word. A comment that restates what the line below obviously does is deleted, not shortened.

  3. Present-tense facts only. Describe what the code does or what constraint it obeys now. The comment must stay true when read in isolation years later by someone with no access to the project's history.

  4. No history. Never explain how the code came to be: no ticket numbers as narrative ("in PROJ-12345 we refactored this to ..."), no "previously this used X", no "changed to fix the bug where ...", no "now correctly handles ...". History lives in commit messages, PR descriptions, and tickets.

  5. No author-to-reviewer talk. A comment never justifies the change to whoever is reading the diff ("this is safe because we already validated above"). If the fact matters to every future reader, state the fact itself; otherwise put it in the PR.

Read the full file on GitHub · 122 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. 2mo ago Changed · +4 lines 682016e3a6c5
  2. 2mo ago Changed · +5 lines 21ffde9514e2
  3. 3mo ago First seen · 113 lines · 132 tokens per session scan A a80a4626635f

Subscribe to this mod's changes

wise-code-comments is a skill published in the GitHub repository e1024kb/wise-claude (4 stars, last pushed 8d ago), licensed MIT. It adds 132 tokens to every session and 995 once invoked, about $0.0005 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-08-31.

Related

wise-code-comments compared with skills from other repositories

wise-code-comments next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wise-code-commentse1024kb/wise-claudeSkill48d agoMITA132Claude Code
vigil-instrumenttonone-ai/tononeSkill843d agoMITA61Claude Code
monday-planninggtapps/hermitdSkill87yesterdayMITA18Claude Code
test-rungtapps/claude-code-hermitSkill872d agoMITA35Claude Code
pave-envtonone-ai/tononeSkill843d agoMITA57Claude Code
apex-skillifytonone-ai/tononeSkill843d agoMITA41Claude Code
generate-clipDojoCodingLabs/remotion-superpowersSkill1941mo agoMITA32Claude Code