Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

tigris-s3-migration底格里斯河 s3 迁移

Agent Skill

tigris-s3-migration 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

499

周安装

20

GitHub Stars

2

下载量

162
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tigris-s3-migration(底格里斯河 s3 迁移)
来源仓库:https://github.com/tigrisdata/skills
仓库路径:skills/tigris-s3-migration
安装命令:
npx skills add https://github.com/tigrisdata/skills --skill tigris-s3-migration
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tigrisdata/skills --skill tigris-s3-migration

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在需要围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 可结合来源仓库和原始 README 核验具体用法,支持 Codex、Claude 等宿主环境。
  • 安装命令:npx skills add https://github.com/tigrisdata/skills --skill tigris-s3-migration。
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写操作。

SKILL.md

Migrate to Tigris from S3/GCS/Azure

Migrate your object storage to Tigris with zero downtime. Tigris is S3-compatible, so most apps need only an endpoint and credential swap. Shadow buckets enable transparent migration without moving data upfront.

Prerequisites

Before doing anything else, install the Tigris CLI if it's not already available:

tigris help || npm install -g @tigrisdata/cli

If you need to install it, tell the user: "I'm installing the Tigris CLI (@tigrisdata/cli) so we can work with Tigris object storage."

Migration Strategies

StrategyDowntimeBest For
Shadow bucketZeroProduction apps — Tigris reads from S3 on miss, backfills automatically
Bulk copyBriefSmall datasets, clean cutover
Incremental syncZeroLarge datasets, gradual migration

Shadow Bucket (Recommended)

Tigris reads from your existing S3 bucket on cache miss and gradually backfills data. No upfront data movement needed.

# Create a Tigris bucket that shadows your S3 bucket
tigris buckets create my-app-uploads \
  --shadow-source s3://my-existing-s3-bucket \
  --shadow-region us-east-1 \
  --shadow-access-key AKIA_YOUR_AWS_KEY \
  --shadow-secret-key YOUR_AWS_SECRET

How it works:

  1. Requests go to Tigris
  2. If the object exists in Tigris, it's served directly
  3. If not, Tigris fetches it from S3, serves it, and caches it
  4. Over time, all frequently accessed objects migrate automatically
  5. Background backfill copies remaining objects

After migration completes:

# Verify object counts match
tigris ls t3://my-app-uploads --recursive | wc -l
aws s3 ls s3://my-existing-s3-bucket --recursive | wc -l

# Remove shadow source (makes Tigris the sole source)
tigris buckets update my-app-uploads --remove-shadow

Bulk Copy

For smaller datasets or when you want a clean cutover:

# Copy all objects from S3 to Tigris
tigris cp s3://my-existing-bucket t3://my-app-uploads -r

# Or use AWS CLI pointed at Tigris
AWS_ENDPOINT_URL_S3=https://t3.storage.dev \
AWS_ACCESS_KEY_ID=tid_xxx \
AWS_SECRET_ACCESS_KEY=tsec_yyy \
aws s3 sync s3://my-existing-bucket s3://my-app-uploads

From Google Cloud Storage

gsutil -m cp -r gs://my-gcs-bucket /tmp/migration/
tigris cp /tmp/migration/ t3://my-app-uploads/ -r

From Azure Blob Storage

az storage blob download-batch -d /tmp/migration/ -s my-container
tigris cp /tmp/migration/ t3://my-app-uploads/ -r

SDK Code Changes

Read the resource file for your language to see before/after migration examples:

  • Node.js / TypeScript — Read ./resources/sdk-nodejs.md for AWS SDK → Tigris SDK migration
  • Go — Read ./resources/sdk-go.md for AWS SDK → Tigris SDK migration
  • Python — Read ./resources/sdk-python.md for boto3 → tigris-boto3-ext migration
  • Ruby — Read ./resources/sdk-ruby.md for aws-sdk-s3 endpoint swap
  • PHP — Read ./resources/sdk-php.md for aws-sdk-php endpoint swap

Environment Variable Changes

# Before (AWS)
AWS_ACCESS_KEY_ID=AKIA...
AWS_SECRET_ACCESS_KEY=...
AWS_REGION=us-east-1
S3_BUCKET=my-bucket

# After (Tigris)
AWS_ACCESS_KEY_ID=tid_xxx
AWS_SECRET_ACCESS_KEY=tsec_yyy
AWS_ENDPOINT_URL_S3=https://t3.storage.dev
AWS_REGION=auto
S3_BUCKET=my-bucket  # bucket name can stay the same

For frameworks with specific Tigris env vars:

TIGRIS_STORAGE_ACCESS_KEY_ID=tid_xxx
TIGRIS_STORAGE_SECRET_ACCESS_KEY=tsec_yyy
TIGRIS_STORAGE_ENDPOINT=https://t3.storage.dev
TIGRIS_STORAGE_BUCKET=my-bucket

Verification Checklist

  • Object count matches between source and Tigris
  • Spot-check files: download a few and verify content/checksums
  • Test presigned URL generation (endpoint must point to Tigris)
  • Test CORS if using browser uploads (reconfigure on Tigris bucket)
  • Test all upload/download code paths in staging
  • Update CDN origin if using CloudFront/similar (point to Tigris)
  • Update DNS if using custom domains

Rollback Strategy

  1. Keep source bucket read-only during migration (don't delete data)
  2. Run both systems in parallel during verification
  3. Only delete source data after confirming Tigris works fully
  4. If using shadow bucket, removing the shadow source is the point of no return

Common Mistakes

MistakeFix
Forgot to update presigned URL endpointPresigned URLs must use Tigris endpoint, not S3
CORS not configured on TigrisRe-create CORS rules: tigris buckets cors set
Region hardcoded to us-east-1Use auto for Tigris
path_style not setAdd force_path_style: true (Ruby/Rails) or use_path_style_endpoint: true (PHP)
Custom domain DNS still points to S3Update CNAME to point to Tigris

Related Skills

  • file-storage — CLI setup and SDK reference
  • tigris-security-access-control — CORS and access key setup

Official Documentation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.42%
按下载量换算57

Claude

31.97%
按下载量换算52

Cursor

19.2%
按下载量换算31

Gemini CLI

9.95%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills