tiger-cli: Instructions file for Claude Code

CLAUDE.md

tiger-cli CLAUDE.md is an instructions file for Claude Code from timescale/tiger-cli. It costs 13,767 tokens per session, scanned A, original, Apache-2.0.

A repository instruction file that tells a coding agent how to refer to Tiger Data products and how to build the Tiger CLI.

In plain words
What is it for?
Use it when writing documentation, code comments, CLI messages, or changing and building the Tiger CLI.
Why use it?
It keeps names and user-facing text consistent while giving the agent the project's approved development commands.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 tiger-cli CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/timescale/tiger-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/timescale/tiger-cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13,767 This file is loaded in full into every session.
When invoked 13,767 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.13767 $0.13767
Opus 5.5 $0.05507 $0.05507
Sonnet 5.5 $0.02753 $0.02753
Haiku 4.5 $0.01377 $0.01377

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

Security

Grade A, and why

tiger-cli 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 yesterday.

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 · 374 lines

How it starts

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

Tiger CLI

Overview

Tiger CLI is a Go command-line interface for managing Tiger Cloud database services, built on Cobra and Viper. The same binary also runs Tiger MCP (tiger mcp start), a Model Context Protocol server that exposes service management and database operations as tools for AI assistants. CLI commands and MCP tools share their business logic through internal/common.

Naming

Use the official product names in all user-facing text (documentation, code comments, CLI output, error messages):

  • Company: Tiger Data (two words, with space)
  • Cloud platform: Tiger Cloud (never "TigerData Cloud" or "TigerData Cloud Platform")
  • CLI tool: Tiger CLI
  • MCP server: Tiger MCP
  • API: Tiger Cloud API (never "TigerData API")

Repository Structure

  • cmd/ - Binary entry points.
    • cmd/tiger/ - The main CLI binary. Sets up signal handling (SIGINT/SIGTERM cancel the command context), delegates to cmd.Execute(), and maps a common.ExitCodeError found anywhere in the returned error chain to the process exit code.
    • cmd/generate-docs/ - Renders the CLI reference in docs/cli/ from the command tree. Runs under go generate (see CLI Reference Docs).
  • internal/ - All core application logic (non-public Go packages).
    • internal/cmd/ - Cobra command implementations for all CLI commands (auth, project, service, db, config, mcp, skills, feedback, version, upgrade, completion). Each command lives in its own file, named to match the command in snake_case (see Command Architecture). root.go holds the root command, global flags, and command tree construction; files ending in _helper.go contain cross-group helpers rather than commands.
    • internal/api/ - API client layer. Includes the OpenAPI-generated REST client (client.go, types.go), the shared HTTP client (client_util.go), and a generated mock of the client interface for testing (mocks/). Never edit the generated files by hand — see Code Generation.
    • internal/config/ - Configuration management. Handles config file loading (via Viper), the Config struct and its write helpers, and credential storage (keyring with a file fallback in the config directory).
    • internal/common/ - Shared business logic used by both CLI commands and MCP tools: the per-invocation App (config + API client), database password generation and storage (keyring, pgpass), wait/polling operations and the spinner, connection detail helpers (including read replicas), service readiness checks, query execution, log fetching, and error handling with exit codes.
    • internal/mcp/ - The Model Context Protocol (MCP) server. Each MCP tool lives in its own file, named to match the tool (see MCP Server). server.go holds server initialization, tool registration, and lifecycle management; proxy.go forwards tools from a remote documentation MCP server; capabilities.go backs mcp list/mcp get.
    • internal/analytics/ - Usage analytics tracking with sensitive-data redaction.
    • internal/util/ - Small general-purpose utilities with minimal dependencies: formatting, validation, context-aware stdin reading, JSON/YAML serialization, terminal detection.
    • internal/version/ - Version checking and update notifications.
  • pkg/ - Public Go packages. Contains mcpinstall, an API for installing MCP server configurations into AI coding assistants and editors, exposed as thin aliases over the mcp install logic in internal/cmd. Changes to install behavior are part of this package's public surface.
  • docs/ - Documentation. development.md is the development guide (building from source, testing, contributing).
    • docs/cli/ - The generated CLI reference, one Markdown file per command. Never edited by hand (see CLI Reference Docs).
  • scripts/ - Build and installation scripts (install.sh, install.ps1, completions generation) and the integration test runner (test-integration.sh).
  • openapi.yaml - OpenAPI spec for the Tiger Cloud API, from which the API client is generated. It is a verbatim copy synced from the API's own spec and is never edited here (see Code Generation).
  • .github/ - GitHub Actions CI/CD workflows for testing (test.yml) and releases (release.yml).
  • .goreleaser.yaml - GoReleaser configuration for building and publishing releases.
  • Dockerfile - The container image published to ghcr.io/timescale/tiger-cli, which defaults to running tiger mcp start.
  • docker-compose.yaml - Builds and runs that image locally.
  • server-template.json - MCP registry manifest template. The release workflow substitutes the version into it to produce server.json and publishes that to the MCP registry.

Read the full file on GitHub · 374 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. yesterday Changed · +5 lines · +41 tokens per session f127eb3e00e4
  2. 3d ago Changed · +55 tokens per session 16096a039ec7
  3. 4d ago Changed · -10 tokens per session 6d5485a5849c
  4. 5d ago Changed · +32 tokens per session 841acd540b3b
  5. 12d ago Changed · +1 lines · +324 tokens per session d1aad8b607cd
  6. 15d ago Changed · +6 lines · +293 tokens per session c11946cf35d4
  7. 17d ago Changed · +5 tokens per session 42097528a52c
  8. 23d ago Changed · +1 lines · +146 tokens per session 0e0699d296fc
  9. 24d ago Changed · +3 lines · +174 tokens per session c5a1a01b8ed2
  10. 25d ago First seen · 358 lines · 12,707 tokens per session scan A e14e792d48e6

Subscribe to this mod's changes

tiger-cli CLAUDE.md is an instructions file published in the GitHub repository timescale/tiger-cli (127 stars, last pushed yesterday), licensed Apache-2.0. It adds 13,767 tokens to every session, about $0.0551 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

tiger-cli CLAUDE.md compared with instructions from other repositories

tiger-cli CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tiger-cli CLAUDE.mdtimescale/tiger-cliInstructions file127yesterdayApache-2.0A13,767Claude Code
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
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot