redis-tui: Instructions file for Claude Code

CLAUDE.md

redis-tui CLAUDE.md is an instructions file for Claude Code from davidbudnick/redis-tui. It costs 1,773 tokens per session, scanned A, original, MIT.

Repository instructions for redis-tui, a Go terminal application that lets people browse, edit, monitor, and manage Redis databases interactively.

In plain words
What is it for?
Use them when building, testing, formatting, linting, benchmarking, checking coverage, or running the full local CI process for redis-tui.
Why use it?
They explain the project structure, coding rules, and required checks so changes fit the codebase and are tested before being pushed.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is davidbudnick/redis-tui's own configuration. It tells Claude Code how to work on redis-tui 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 redis-tui configures →

Reuse

Borrowing it

Nothing to install: this file belongs to davidbudnick/redis-tui. 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/davidbudnick/redis-tui/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/davidbudnick/redis-tui

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 redis-tui CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/davidbudnick/redis-tui/claude-md/github.svg)](https://agentmods.dev/instructions/davidbudnick/redis-tui/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/davidbudnick/redis-tui/claude-md"><img src="https://agentmods.dev/badge/instructions/davidbudnick/redis-tui/claude-md/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 redis-tui CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/davidbudnick/redis-tui/claude-md"><img src="https://agentmods.dev/badge/instructions/davidbudnick/redis-tui/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,773 This file is loaded in full into every session.
When invoked 1,773 The same file — it is already loaded in full.
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.01773 $0.01773
Opus 5.5 $0.00709 $0.00709
Sonnet 5.5 $0.00355 $0.00355
Haiku 4.5 $0.00177 $0.00177

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

Security

Grade A, and why

redis-tui CLAUDE.md 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 3d 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.md · 107 lines

How it starts

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

CLAUDE.md

Project Overview

Redis TUI Manager — a terminal user interface for managing Redis databases, built with Go and Bubble Tea. Alternative to redis-cli with interactive browsing, editing, monitoring, and advanced operations.

Build & Test Commands

make build        # Build binary to bin/redis-tui
make test         # Run tests: go test -v ./...
make bench        # Hot-path benchmarks (key scans, preview fetches, rendering)
make test-cover   # Tests with coverage report
make lint         # Run go vet
make fmt          # Format code with go fmt
make run          # Build and run the application (make start is an alias)
make dev-deps         # Install goreleaser
make test-cover-check # Tests + fail if any function < 100% coverage
make ci           # Full local pipeline — run before every push

Run make ci before every push. It is the local stand-in for GitHub Actions: gofmt + go vet + go test -race with 100% function coverage, gosec, govulncheck, cross-compile for linux/darwin/windows, compile tests as GOOS=windows, and the Ubuntu 26.04 cross-device update repro (needs Docker). Do not push until it is green. CI also runs that same suite on Ubuntu, macOS, and Windows hosts — Unix-only tests must skip or stay portable on Windows.

CI runs go test -v -race -coverprofile=coverage.out ./... — always ensure tests pass with -race. CI enforces 100% statement coverage per function — any new code must include tests.

Architecture

main.go                    # Entry point, CLI flag parsing, config init
internal/
  cmd/                     # Bubble Tea command factories (return tea.Cmd)
  ui/                      # Bubble Tea UI (Model/Update/View pattern)
  redis/                   # Redis client wrapper (standalone + cluster)
  types/                   # Shared type definitions and messages
  db/                      # Config persistence (~/.config/redis-tui/config.json)
  service/                 # Interfaces (ConfigService, RedisService) and DI container
  testutil/                # Test helpers and mock implementations

Read the full file on GitHub · 107 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. 3d ago Changed dd5491af3b61
  2. 2mo ago First seen · 107 lines · 1,773 tokens per session scan A 3f04a43c7296

Subscribe to this mod's changes

redis-tui CLAUDE.md is an instructions file published in the GitHub repository davidbudnick/redis-tui (54 stars, last pushed 3d ago), licensed MIT. It adds 1,773 tokens to every session, about $0.0071 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

redis-tui CLAUDE.md compared with instructions from other repositories

redis-tui CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
redis-tui CLAUDE.mddavidbudnick/redis-tuiInstructions file543d agoMITA1,773Claude Code
plan-forge caching.instructions.mdsrnichols/plan-forgeInstructions file64d agoMITA733GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot