本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)58k · #3249

cli-anything-tigris

できること

このスキルは、S3形式のツールと連携するクラウドファイルストレージTigrisを、AIエージェントが扱えるようにします。ファイルをオンラインに保存し、アップロードやダウンロードを簡単なコマンドで行いたい人向けです。

使う場面

  • ✓ローカルのファイルをTigrisのバケットにアップロードしたいとき。
  • ✓保存したファイルをダウンロードしたり、共有用の一時リンクを作ったりしたいとき。
  • ✓特定のストレージバケットに限定したアクセスキーを作りたいとき。

スキルのリンク

https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-tigris/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-tigris/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このレポートをTigrisのバケットにアップロードし、共有用の一時リンクを取得してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、公式のTigris コマンドラインツールを実行し、結果をJSONで返します。ツールには事前にサインインしておく必要があります。Tigris専用で、ほかのストレージサービスには対応していません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

Command Description
login Browser OAuth login (tigris login)
logout Log out of current session
whoami Print authenticated user / org

bucket

Bucket CRUD.

Command Description
list List all buckets
create --name NAME Create a bucket
delete --name NAME --yes Delete an empty bucket (--yes required)
info NAME Get bucket info

object

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

Command Description
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 F Download an object
delete --bucket B --key K Delete an object
info --bucket B --key K Object metadata (HEAD / stat)
cp SRC DST [-r] Copy. Accepts t3:// or tigris:// URIs.

presign

Time-limited URLs.

Command Description
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.

Command Description
list BUCKET List snapshots for a bucket
take BUCKET [--name N] Take a snapshot

access-key

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

Command Description
list List all access keys
create NAME Create a new access key (secret shown ONCE)
get KEY_ID Show key details
delete KEY_ID --yes Permanently delete a key (--yes required)
assign KEY_ID --bucket B --role R Scope a key to a bucket + role
rotate KEY_ID --yes Rotate a key's secret (--yes required)

iam

Policies and organization users.

Command Description
policy list List IAM policies
policy create NAME --document FILE Create a policy from a JSON file
`use
よくある質問

最初に何を設定する必要がありますか?

Tigris CLIのインストール、tigris loginコマンドでのサインイン、Python 3.10以降が必要です。

Amazon S3やCloudflare R2でも使えますか?

いいえ。このスキルはTigris専用で、ほかのS3互換サービスは管理しません。

スナップショットに対応していますか?

はい。スナップショットのコマンドがあり、Tigris CLIを通じて利用できます。

詳細

作者による元の説明

Command-line interface for Tigris object storage — wraps the official `tigris` CLI to expose buckets, objects, presigned URLs, snapshots, IAM, and scoped access keys to AI agents. Globally distributed, S3-compatible, no egress fees.

repo: HKUDS/CLI-Anything

人気

GitHubのスター
58k
ランキング
#3249
ライセンス
Apache-2.0
更新日
2026/9/21

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル