跳到正文
cccskills
免费在 GitHub 公开

cli-anything-tigris

Manage files and storage buckets in Tigris through its official CLI. Agents can upload and download objects, generate temporary sharing URLs, take snapshots, and manage access keys and permissions with structured JSON output.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

集成工具AWS
查看安装方法

适用场景

  • Upload, download, and copy files in Tigris
  • Create temporary upload or download links
  • Take a bucket snapshot before making changes
  • Give an agent access to a specific bucket

包含的文件(1)

  • SKILL.md6.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build and improve Python command interfaces for GUI applications with OpenClaw. The skill guides source analysis, command design, testing, and packaging, including interactive sessions and structured JSON output for agents.

中文简介正在准备中。当前显示英语简介。

  • Build a command interface for a GUI application
  • Add missing commands to an existing interface
  • Test workflows against the actual application
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Use Codex to build Python command-line tools for applications with graphical interfaces. Analyze source code, add commands, test against the actual software, validate packaging and documentation, and discover tools already generated or installed.

中文简介正在准备中。当前显示英语简介。

  • Build a command-line tool from application source code
  • Extend an existing tool with more commands
  • Test behavior against the actual application
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Use Reasonix to build or improve a Python command-line interface for existing software. The workflow covers source analysis, interactive commands, JSON output, tests, documentation, and installation checks using the software’s own backend where possible.

中文简介正在准备中。当前显示英语简介。

  • Build command-line access to a GUI application
  • Add missing features to an existing command-line interface
  • Test commands against the actual software backend
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Inspect and edit 3MF files for 3D printing. Detect cylindrical holes, change their diameters, repair mesh issues, and compare files while preserving BambuStudio and PrusaSlicer metadata when repacking the edited file.

中文简介正在准备中。当前显示英语简介。

  • Detect cylindrical holes and check their diameters
  • Resize selected holes to a target diameter
  • Repair degenerate faces and duplicate vertices
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Manage AdGuard Home network filtering from the command line. Update blocklists, register devices, configure DNS rules that map names to addresses, and inspect query logs and statistics through the AdGuard Home REST API.

中文简介正在准备中。当前显示英语简介。

  • Adding and refreshing ad-blocking filter lists
  • Mapping local domain names to IP addresses
  • Registering devices and managing fixed address assignments
HKUDS/CLI-Anything5.5万2026年9月22日 更新

Generate slides, documents, websites, and diagrams from natural language prompts through AnyGen OpenAPI. Manage reference uploads, check generation progress, and download finished files using commands with structured output for AI agents.

中文简介正在准备中。当前显示英语简介。

  • Generate slides or documents from written instructions
  • Upload reference files for a generation task
  • Check generation progress and download finished files
HKUDS/CLI-Anything5.5万2026年9月22日 更新

查看 HKUDS 的全部技能

报告此技能的问题