annotate

annotate is a skill for Claude Code from tranhieutt/software_development_department. It costs 47 tokens per session (879 once invoked), scanned A, original, MIT.

A tool for recording surprising API behavior, undocumented limitations, version-specific bugs, and practical workarounds in a project memory file.

In plain words
What is it for?
Use it after finding a non-obvious issue with a service, library, or integration, so the problem and its workaround are recorded with a date.
Why use it?
It prevents developers from rediscovering the same technical caveats in later sessions or by other team members.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it after finding a non-obvious issue with a service, library, or integration, so the problem and its workaround are recorded with a date.

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

Made for: Claude Code.

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 annotate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/annotate"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/annotate.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 879 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.00047 $0.00879
Opus 5.5 $0.00019 $0.00352
Sonnet 5.5 $0.00009 $0.00176
Haiku 4.5 $0.00005 $0.00088

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

Security

Grade A, and why

annotate 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 1mo 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.

.claude/skills/annotate/SKILL.md · 118 lines

How it starts

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

/annotate — Persist a Learned Lesson

You are adding a persistent annotation to the project's learned knowledge base. Annotations survive across sessions and auto-load when working with relevant services.

Arguments: $ARGUMENTS — format: <service> <description of gotcha/caveat>


Phase 1 — Parse the Annotation

Extract from $ARGUMENTS:

  • Service/Library: The specific service, library, or area (e.g., stripe, next.js, postgresql)
  • Annotation text: The gotcha, caveat, or learned lesson

If $ARGUMENTS is empty or unclear, ask:

"What service/library does this apply to, and what did you discover?"


Phase 2 — Format the Entry

Format the annotation as:

- [YYYY-MM-DD] <clear, specific description of the issue> — <workaround if applicable>

Good example:

- [2026-04-07] Stripe webhook signature verification requires raw body buffer, not parsed JSON. 
  Pass rawBody to stripe.webhooks.constructEvent() instead of req.body

Bad example:

- Stripe webhooks broken  ← too vague, no date, no solution

Apply this quality check before writing:

  • ✅ Specific enough to be actionable without additional research?
  • ✅ Includes the date?
  • ✅ Includes workaround if one exists?
  • ✅ Would a new developer understand this without context?

Phase 3 — Find or Create the Section

Read .claude/memory/annotations.md.

  1. Find the existing section that matches the service (case-insensitive)
  2. If no matching section exists, create one:
## <Service Name>

- [YYYY-MM-DD] <your annotation>
  1. If the section exists and has *(no annotations yet)*, replace that line with the entry.
  2. If the section exists with entries, append the new entry below the last one.

Phase 4 — Write and Confirm

Edit .claude/memory/annotations.md with the new entry.

Then confirm:

✅ Annotation saved to .claude/memory/annotations.md

Service: <service>
Entry: [YYYY-MM-DD] <annotation text>

This will auto-load in future sessions when working with <service>.

Read the full file on GitHub · 118 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. 1mo ago First seen · 118 lines · 47 tokens per session scan A c560acacb62e

Subscribe to this mod's changes

annotate is a skill published in the GitHub repository tranhieutt/software_development_department (73 stars, last pushed 5mo ago), licensed MIT. It adds 47 tokens to every session and 879 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-08-30.

Related

Other skills, from other repositories

calibrating

Use after a knowledge-work deliverable ships or gets human edits. Triggers on "that draft worked", "they rewrote half of it", "remember this for next time", or when the user returns with feedback on a shipped doc. Not for code retrospectives.

rohitgehe05/mindpowers · 58 tokens

bochi

A Japanese-speaking thinking and context assistant for the Mac command line. It helps with notes, light conversation, idea development, summaries, and routing deeper discussions to Discord.

fideguch/bochi · 281 tokens

cm-continuity

Working memory protocol — maintains context across sessions via CONTINUITY.md. Inspired by Loki Mode. Read at turn start, update at turn end. Captures mistakes and learnings to prevent repeating errors.

tody-agent/codymaster · 45 tokens

cm-continuity

Working memory protocol — maintains context across sessions via CONTINUITY.md. Inspired by Loki Mode. Read at turn start, update at turn end. Captures mistakes and learnings to prevent repeating errors.

tody-agent/codymaster · 45 tokens

cm-notebooklm

Sync high-value dev knowledge (skills, decisions, lessons) into Google NotebookLM for cloud recall, podcasts, and flashcards. Pairs with Dockit/deep-search. Use for NotebookLM, nlm, knowledge base, skill sync, or cross-machine AI memory.

tody-agent/codymaster · 60 tokens

cm-continuity

Working memory protocol — maintains context across sessions via CONTINUITY.md. Inspired by Loki Mode. Read at turn start, update at turn end. Captures mistakes and learnings to prevent repeating errors.

tody-agent/codymaster · 45 tokens