cooldeck CLAUDE.md

cooldeck CLAUDE.md is an instructions file for coding agents from Resetnak/cooldeck. It costs 1,426 tokens per session, scanned A, original, MIT.

Repository instructions for CoolDeck, a keyboard-focused terminal dashboard for Coolify, a platform for deploying applications. They document the Go project structure, commands, and checks required before a pull request.

In plain words
What is it for?
Use them when modifying CoolDeck, running its tests or linters, updating terminal snapshots, building it, or preparing a pull request.
Why use it?
They give coding agents the project's expected commands and rules so changes can be checked consistently across supported systems.

Instructions file

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.

agentmods
npx agentmods add instructions/resetnak/cooldeck/claude-md
Clone the repo
git clone --depth 1 https://github.com/Resetnak/cooldeck

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 cooldeck CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/resetnak/cooldeck/claude-md.svg)](https://agentmods.dev/instructions/resetnak/cooldeck/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/resetnak/cooldeck/claude-md"><img src="https://agentmods.dev/badge/instructions/resetnak/cooldeck/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,426 This file is loaded in full into every session.
When invoked 1,426 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01426 $0.01426
Opus 5 $0.00713 $0.00713
Sonnet 5 $0.00285 $0.00285
Haiku 4.5 $0.00143 $0.00143

Measured 4d ago against content hash 08dbfa9adc02, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cooldeck 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 4d 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 · 113 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

CoolDeck - a keyboard-first terminal dashboard (Bubble Tea / Charm v2) for Coolify. Single Go module, github.com/resetnak/cooldeck, Go 1.26.6+, no CGO.

Commands

make check               # fmt-check + vet + lint + test + build - run before every PR
make build               # -> bin/cooldeck, injects version/commit/date ldflags
make run                 # go run ./cmd/cooldeck --demo
make test-race
make test-update-golden  # UPDATE_GOLDEN=1 go test ./... - refresh TUI snapshots
make lint                # staticcheck + golangci-lint, pinned to the CI versions
make bench               # benchmarks in internal/tui/views
make vuln                # govulncheck

Single test / single case:

go test ./internal/tui/ -run TestGoldenViews/dashboard-wide -v
go test ./internal/coolify/ -run TestSplitDeployments
go test ./internal/tui/ -run TestGoldenViews -update   # -update flag == UPDATE_GOLDEN=1

CI additionally runs golangci-lint (config .golangci.yml, v2 schema, curated linter set) on Linux and the full test matrix on ubuntu/macos/windows. -race is skipped on Windows.

Architecture

Layered so the same use cases back the TUI, the MCP server, and any future CLI subcommand:

cmd/cooldeck → internal/cli (cobra, flags, config load, service construction)
             → internal/tui (Bubble Tea model + views; presentation only)
             → internal/mcpserver (MCP tools over stdio; `cooldeck mcp`)
             → internal/app (Service interface = the use cases)
               ├── internal/app/demo    deterministic fake Service
               └── internal/coolify     HTTP client + DTO → domain mapping
             → internal/domain, config, credentials, logging, platform, version

docs/architecture.md has the full picture; docs/decisions/ holds seven ADRs (Go+Charm v2, direct REST instead of MCP, domain/DTO split, credential storage, responsive layout, MCP server, fleet-tail concurrency).

Read the full file on GitHub · 113 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. 4d ago First seen · 113 lines · 1,426 tokens per session scan A 08dbfa9adc02

Subscribe to this mod's changes

cooldeck CLAUDE.md is an instructions file published in the GitHub repository Resetnak/cooldeck (23 stars, last pushed 2d ago), licensed MIT. It adds 1,426 tokens to every session, about $0.0071 per session on Opus 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.