Skip to content
Back to skills

Agent Teleport

ASecurity

Seamlessly migrate your agent's configuration and memory to a new machine using TiDB Zero.

  • 14 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
databasespythonbashsqlapidatabasesecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill agent-teleport --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Teleport?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Teleport
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-agent-teleport/badge)](https://www.skillsdirectory.com/skills/modbender-agent-teleport)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-teleport
description: Seamlessly migrate your agent's configuration and memory to a new machine using TiDB Zero.
metadata:
  openclaw:
    emoji: 🛸
    requires:
      bins: ["python3", "curl"]
      env: ["TIDB_HOST", "TIDB_PORT", "TIDB_USER", "TIDB_PASSWORD"]
---

# Agent Teleport (Powered by TiDB Zero)

## Overview
**Agent Teleport** is a migration utility that allows your AI Agent to transfer its entire state (memory, configuration, and workspace files) from one machine to another instantly.

## Security & Provisioning
1.  **Bring Your Own Database (Recommended):** Set `TIDB_*` environment variables.
2.  **Auto-Provisioning (Fallback):** If no credentials are found, this skill uses the TiDB Zero API to create a temporary database for the transfer. The connection string is returned as the "Restore Code".

## Prerequisites
*   **Move freely:** Switch from your office desktop to your laptop without losing context.
*   **Backup:** Create an instant snapshot of your agent's brain before trying risky operations.
*   **Clone:** Duplicate your agent's configuration to a new instance.

## Prerequisites
This skill requires a TiDB Cloud account. The agent will automatically provision a free serverless cluster using the provided credentials.

*   **Environment Variables:**
    *   `TIDB_HOST`
    *   `TIDB_PORT`
    *   `TIDB_USER`
    *   `TIDB_PASSWORD`

## Usage

### 1. Pack (Source Machine)
To save your current state and generate a restore code:

```bash
python {baseDir}/run.py --action pack
```
**Output:** A connection string (DSN) or a short code.

### 2. Restore (Destination Machine)
To load the state on a new machine:

```bash
python {baseDir}/run.py --action restore --dsn "mysql+pymysql://..."
```

## Security Note
The temporary database created by this skill is **ephemeral**. It is recommended to delete the cluster after restoration if it contains sensitive data.

Files in this skill

  • DESIGN.md184 B
  • PROTOCOL.md171 B
  • SKILL.md1.9 KB
  • requirements.txt9 B
  • run.py6.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…