Skillpedia
النشر والسحابة (DevOps)58k · #3249

cli-anything-tigris

ما الذي تفعله

تتيح هذه المهارة لوكيل الذكاء الاصطناعي العمل مع Tigris، وهي خدمة تخزين ملفات سحابية تعمل مع أدوات بأسلوب S3. وهي مناسبة لمن يخزن ملفاته على الإنترنت ويريد أوامر بسيطة للرفع والتنزيل.

متى تستخدمها

  • ✓عندما تريد رفع ملف محلي إلى حاوية Tigris.
  • ✓عندما تحتاج إلى تنزيل ملف مخزن أو إنشاء رابط مؤقت لمشاركته.
  • ✓عندما تريد إنشاء مفتاح وصول محدود بحاوية تخزين معينة.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/HKUDS/CLI-Anything/blob/main/skills/cli-anything-tigris/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أريد رفع هذا التقرير إلى حاوية Tigris الخاصة بي، والحصول على رابط مؤقت لمشاركته.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يشغّل الوكيل أداة سطر الأوامر الرسمية لـ 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
آخر تحديث
21‏/9‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة