New to Claude Skills? Learn how to install them →

hkuds on GitHub

Tigris CLI Wrapper

Free

Simplify Tigris object storage interactions for AI agents.

by hkuds46.9k stars on hkuds/cli-anything
1 views
Updated Aug 3, 2026
Get this skill

Free · Opens the source repo

What Tigris CLI Wrapper does

The Tigris CLI Wrapper provides a streamlined command-line interface for managing Tigris object storage, making it easier for developers and AI agents to interact with Tigris's features. By wrapping the official tigris CLI, this tool allows users to access all Tigris primitives such as buckets, objects, snapshots, and IAM functionalities through a single, agent-friendly interface. The CLI supports JSON output for seamless integration with AI agents, ensuring that data can be easily parsed and utilized in automated workflows.

To use the Tigris CLI Wrapper, users must first install the underlying Tigris CLI and authenticate using browser OAuth. Once set up, commands can be executed to manage buckets, upload and download objects, create presigned URLs, and handle access keys. The wrapper also offers an interactive REPL mode for users who prefer a more hands-on approach to managing their Tigris resources. This makes it particularly useful for developers looking to integrate Tigris storage into their applications or workflows.

This skill is particularly beneficial for teams working with AI agents that require efficient access to object storage. With features like scoped access keys and support for snapshots, users can ensure that their data management is both secure and organized. The Tigris CLI Wrapper is designed for those who need a reliable way to interact with Tigris's capabilities without diving deep into the complexities of the underlying CLI commands.

When to use it

Use this skill when you need to manage Tigris object storage efficiently through a command-line interface, especially in automated workflows.

When not to use it

This skill is not suitable for managing non-Tigris storage solutions or if you're looking for a generic S3 endpoint tool.

What you can build with it

Automating Data Uploads

Use the Tigris CLI Wrapper to automate the process of uploading files to Tigris buckets in a CI/CD pipeline.

Interactive Data Management

Leverage the REPL mode to interactively manage your Tigris storage while developing applications.

Scoped Access for AI Agents

Create scoped access keys for AI agents to ensure secure and isolated access to specific Tigris buckets.

How to install Tigris CLI Wrapper

View source

1. Install with the skills CLI

npx skills add hkuds/cli-anything/cli-anything-tigris --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by hkuds

cli-anything-tigris

A stateless command-line interface for Tigris object storage. Wraps the official tigris CLI so every Tigris primitive (snapshots, IAM, scoped credentials, OAuth) is reachable through a single agent-friendly entry point with --json everywhere.

Scope

This harness is for the official Tigris CLI only. It shells out to the tigris binary and assumes Tigris auth through tigris login or Tigris access keys. It is not a generic S3 endpoint tool, and it does not manage MinIO, Cloudflare R2, AWS S3, or arbitrary S3-compatible endpoints.

Installation

# 1. Install the underlying Tigris CLI
npm install -g @tigrisdata/cli
# or:
brew install tigrisdata/tap/tigris

# 2. Authenticate (browser OAuth)
tigris login

# 3. Install this harness
pip install cli-anything-tigris

Prerequisites:

  • Python 3.10+
  • tigris CLI on PATH (the binary's alias is t3)

Usage

Basic Commands

# Show help
cli-anything-tigris --help

# Start interactive REPL
cli-anything-tigris

# Whoami (JSON output for agents)
cli-anything-tigris --json auth whoami

# List buckets
cli-anything-tigris --json bucket list

# Upload a local file
cli-anything-tigris --json object put --bucket my-bucket --key path/to/file.txt --file ./local.txt

# Download an object
cli-anything-tigris --json object get --bucket my-bucket --key path/to/file.txt --output ./out.txt

# Server-side copy
cli-anything-tigris --json object cp t3://my-bucket/src.txt t3://my-bucket/dst.txt

# Take a snapshot
cli-anything-tigris --json snapshot take my-bucket --name baseline-v1

# Delete a bucket; --yes is required
cli-anything-tigris --json bucket delete --name old-bucket --yes

# Create a scoped access key for an agent run
cli-anything-tigris --json access-key create my-agent-key
cli-anything-tigris --json access-key assign tid_AaBb --bucket my-bucket --role Editor

# Rotate or delete access keys; --yes is required
cli-anything-tigris --json access-key rotate tid_AaBb --yes
cli-anything-tigris --json access-key delete tid_AaBb --yes

# Presigned download URL (1 hour)
cli-anything-tigris --json presign get --bucket my-bucket --key path/to/file.txt --expires 3600

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL with tab-completion and history.

Command Groups

auth

OAuth-based authentication.

CommandDescription
loginBrowser OAuth login (tigris login)
logoutLog out of current session
whoamiPrint authenticated user / org

bucket

Bucket CRUD.

CommandDescription
listList all buckets
create --name NAMECreate a bucket
delete --name NAME --yesDelete an empty bucket (--yes required)
info NAMEGet bucket info

object

Object operations (wraps tigris ls/cp/rm/stat).

CommandDescription
list --bucket B [--prefix P] [--limit N]List objects
put --bucket B --key K (--file F | --text T)Upload an object
get --bucket B --key K --output FDownload an object
delete --bucket B --key KDelete an object
info --bucket B --key KObject metadata (HEAD / stat)
cp SRC DST [-r]Copy. Accepts t3:// or tigris:// URIs.

presign

Time-limited URLs.

CommandDescription
get --bucket B --key K [--expires SEC]Presigned download URL
put --bucket B --key K [--expires SEC]Presigned upload URL

snapshot

Point-in-time bucket snapshots — a Tigris-specific primitive.

CommandDescription
list BUCKETList snapshots for a bucket
take BUCKET [--name N]Take a snapshot

access-key

Scoped programmatic credentials — combine with snapshot for per-agent isolation.

CommandDescription
listList all access keys
create NAMECreate a new access key (secret shown ONCE)
get KEY_IDShow key details
delete KEY_ID --yesPermanently delete a key (--yes required)
assign KEY_ID --bucket B --role RScope a key to a bucket + role
rotate KEY_ID --yesRotate a key's secret (--yes required)

iam

Policies and organization users.

CommandDescription
policy listList IAM policies
policy create NAME --document FILECreate a policy from a JSON file
user listList org users
user invite EMAIL [--role R]Invite a user

Output Formats

All commands support dual output modes:

  • Human-readable (default): tables, colors, formatted text
  • Machine-readable (--json): JSON envelope (or upstream CLI's --format json output, echoed verbatim)

For AI Agents

When using this CLI programmatically:

  1. Always pass --json for parseable output.
  2. Check return codes — 0 for success, non-zero for errors.
  3. Read stderr for error messages.
  4. object cp accepts t3://bucket/key or tigris://bucket/key URIs; server-side copies (t3 → t3) skip the round trip entirely.
  5. presign returns a URL on stdout in human mode; in JSON mode it's the url field.
  6. For destructive work: bucket deletion, access-key deletion, and access-key rotation require explicit --yes; take a snapshot of the target bucket first, then do the work, then either keep the snapshot or discard.
  7. For per-agent isolation: access-key create + access-key assign --bucket B --role Editor to mint a key scoped to one bucket; revoke with access-key delete when the agent run ends.

Why Tigris

  • Globally distributed. Data placed close to wherever it's read.
  • No egress fees. Agents pulling artifacts from anywhere don't incur per-region bandwidth charges.
  • Snapshots + scoped credentials. Primitives generic S3-compatible providers don't ship — the foundation for per-agent isolation.
  • S3-compatible. Useful alongside S3-aware tools, but this harness itself is not a generic S3/MinIO/R2/AWS endpoint manager.

Version

1.0.0

Frequently asked questions about Tigris CLI Wrapper

Similar skills