hive: Command for Claude Code

.claude/commands/update-hive.md

update-hive is a command for Claude Code from hazelcast/hive. It costs 0 tokens per session (1,456 once invoked), scanned A, original, Apache-2.0.

A set of instructions for upgrading the @hazelcast/ui design system from version 3 to version 4 while keeping older components available.

In plain words
What is it for?
It guides updates to components, styles, public exports, stories, and tests in a TypeScript UI library.
Why use it?
It helps manage breaking changes without forcing every user of the design system to migrate at once. Older components remain available while newer versions are adopted gradually.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is hazelcast/hive's own configuration. It tells Claude Code how to work on hive itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hive configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/mykolafant/Desktop/projects/hive.

Reuse

Borrowing it

Nothing to install: this file belongs to hazelcast/hive. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hazelcast/hive/master/.claude/commands/update-hive.md
Clone the repo
git clone --depth 1 https://github.com/hazelcast/hive

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 update-hive

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/hazelcast/hive/update-hive"><img src="https://agentmods.dev/badge/commands/hazelcast/hive/update-hive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,456 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.00000 $0.01456
Opus 5.5 $0.00000 $0.00582
Sonnet 5.5 $0.00000 $0.00291
Haiku 4.5 $0.00000 $0.00146

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

Security

Grade A, and why

update-hive 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.

.claude/commands/update-hive.md · 135 lines

How it starts

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

Hive Library Update — v4

You are helping update the @hazelcast/ui design system from v3 to v4.

Library context

  • Package: @hazelcast/ui at /Users/mykolafant/Desktop/projects/hive
  • Components: src/components/ — each component has its own .tsx + .module.scss (being replaced with .module.css)
  • Legacy components: src/old/ — preserved v3 versions, exported via @hazelcast/ui/old
  • Public API: everything exported from src/index.ts
  • Legacy API: everything exported from src/old/index.ts (subpath @hazelcast/ui/old)
  • Stories: __stories__/<Component>.stories.tsx
  • Tests: __tests__/<Component>.test.tsx
  • Styles: global tokens/constants in styles/

Backward-compat model

v4 is designed for gradual client migration. When a component changes in a breaking way:

  • The old version is preserved in src/components/old/ and exported from @hazelcast/ui/old
  • The new version lives in src/components/ and is exported from @hazelcast/ui (the main entry)
  • Clients can temporarily import from @hazelcast/ui/old to stay unblocked, then migrate at their own pace
  • Old components are deprecated (not deleted). They will be removed in v5.

This means there are no hard removal deadlines in v4 — only deprecations.

v4 rules

SCSS → CSS

  • All *.module.scss files must be migrated to *.module.css
  • Replace @use/@forward with standard CSS custom properties
  • Move shared design tokens to CSS variables in styles/ (not SCSS variables/mixins)
  • Update all import styles from './Foo.module.scss' → import styles from './Foo.module.css'

Updating an existing component (breaking change)

  1. Read the current component file (src/components/<Name>.tsx) and its SCSS module
  2. Copy the current (old) version to src/components/old/<Name>.tsx — do not modify it
  3. Also copy its SCSS module to src/components/old/<Name>.module.scss — do not modify it
  4. Add the old component to src/old/index.ts (create this file if it doesn't exist yet — see structure below)
  5. Now update src/components/<Name>.tsx with the new v4 changes
  6. Migrate src/components/<Name>.module.scss → src/components/<Name>.module.css with the new styles
  7. Update the story in __stories__/ to reflect the new API
  8. Update the test in __tests__/ — keep tests passing
  9. Log the change in docs/migration-v4.md

Read the full file on GitHub · 135 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 First seen · 135 lines · 0 tokens per session scan A 30f1a374bb25

Subscribe to this mod's changes

update-hive is a command published in the GitHub repository hazelcast/hive (19 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,456 tokens. 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

update-hive compared with commands from other repositories

update-hive next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
update-hivehazelcast/hiveCommand19yesterdayApache-2.0A0Claude Code
seed-componentdaangn/seed-designCommand1.2ktodayApache-2.0A12Claude Code
gen-videoAdityaraj0421/naksha-studioCommand35319d agoMITA56Claude Code
verifyManavarya09/design-extractCommand4.8kyesterdayMITA31Claude Code
design-tutorialAdityaraj0421/naksha-studioCommand35319d agoMITA28Claude Code
ux-auditAdityaraj0421/naksha-studioCommand35319d agoMITA27Claude Code
ux-motionLaith0003/ux-skillCommand964d agoMITA104Claude Code