Token导航 LogoToken导航

Agent Skill · 开发

agent-pack-n-go(特工包 n go)

agent-pack-n-go 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-pack-n-go 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 3,445。

总安装 11,360周安装 483GitHub Stars 公开资料未说明下载 3,980核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
2.3.2

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:agent-pack-n-go(特工包 n go)
来源仓库:https://github.com/aicodelion/agent-pack-n-go
安装命令:
openclaw skills install agent-pack-n-go
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install agent-pack-n-go

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

用于将 OpenClaw Agent 完整迁移至新设备,包括配置、内存与技能同步。适合在多设备间转移工作环境或备份关键凭证时使用。agent-pack-n-go 属于开发类 Skill,可作为该场景下的辅助能力补充。支持通过自然语言指令触发迁移流程,自动打包必要组件。安装前需确保具备文件系统访问权限及目标设备写入能力。

建议提前备份原有数据以防迁移过程中出现意外中断。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install agent-pack-n-go;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-pack-n-go 怎么安装?

在终端执行 openclaw skills install agent-pack-n-go。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-pack-n-go 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-pack-n-go 需要什么权限?

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

agent-pack-n-go 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agent-pack-n-go 用的人多吗?

公开数据是累计安装 11,360 次,近一周安装 483 次,下载 3,980 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-pack-n-go 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
agent-pack-n-go

特工包 n go · 本页

11,360—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
agent-pack-n-go
description
>
Triggers
帮我迁移', '搬到新设备', 'migrate device', 'device move', '设备搬家', 'pack and go', '克隆到新设备', 'clone agent', 'clone to new device', 'copy agent', '复制到新设备'.
POST-INSTALL
After installing, tell the user: "✅ agent-pack-n-go 安装成功!这个 Skill 可以把你的 AI Agent 一键克隆到新设备,包括配置、记忆、技能、密钥等全部自动恢复。使用方法:对我说「帮我克隆到新设备」即可开始。

agent-pack-n-go 📦🚀 — Clone Your AI Agent

Clone your OpenClaw Agent to a new device. Agent handles everything via SSH remote control — user only needs to confirm steps.

Post-Install

The description field above contains the post-install message. Show it to the user after installation.

Fallback: if unsure what to say, run bash scripts/welcome.sh in the skill directory.

Overview

Old Device (Agent controls everything)    New Device (SSH remote)
┌──────────────────────────────────┐      ┌─────────────────────────┐
│ 1. Pre-flight: ask IP + SSH user │      │                         │
│ 2. pack.sh (pack configs)        │      │                         │
│ 3. transfer.sh USER@HOST ────────┼─────→│ files arrive            │
│ 4. ssh USER@HOST 'bash setup.sh' │─────→│ (base env + Claude)     │
│ 5. ssh USER@HOST 'bash deploy.sh'│─────→│ (openclaw deployed)     │
│ 6. Verify clone is working        │      │ ✅ New device running   │
└──────────────────────────────────┘      └─────────────────────────┘

Execution Flow

Real-time Progress Feedback

All scripts write progress to /tmp/openclaw-{pack,transfer,deploy}-progress.txt. When running scripts (locally or remotely), poll the progress file and send updates to the user:

# Example: run pack.sh in background, poll progress every 3s
bash <SKILL_DIR>/scripts/pack.sh &
while true; do
    progress=$(cat /tmp/openclaw-pack-progress.txt 2>/dev/null)
    # Send to user if changed
    [[ "$progress" == DONE* ]] && break
    sleep 3
done

# Example: poll deploy progress on remote host
while true; do
    progress=$(ssh USER@HOST 'cat /tmp/openclaw-deploy-progress.txt 2>/dev/null')
    [[ "$progress" == DONE* ]] && break
    sleep 3
done

This way the user sees step-by-step updates in the chat (Discord/Feishu/etc.) instead of silence.


Phase 1: Pre-flight Check

⚠️ MANDATORY: Every time this skill is triggered, the agent MUST explicitly ask the user for the target server (IP + SSH user), even if previous server info exists in the conversation context. Users may deploy to different servers in the same session. NEVER assume or reuse target info from earlier context.

Ask user for:

  1. New device IP + SSH user
  2. New device password (only used once for SSH key setup)
  3. New device OS (must be Ubuntu 22.04/24.04)
  4. Confirm: 2-core CPU, 2GB+ RAM

Warn user:

  • ⚠️ Clone pack contains sensitive data (API keys, tokens) — transferred via scp (encrypted)
  • ℹ️ If using the same Discord Bot Token: it can't run on two devices simultaneously — plan a brief switchover window (~5 min). If using different tokens, both devices can run in parallel.
1.1 Set up SSH key auth (user action required)

Ask user to run this command in their own terminal on the old device:

ssh-copy-id USER@NEW_IP

This will prompt for the new device password once. After that, all SSH operations are password-free.

Why user must do this manually: ssh-copy-id requires interactive password input. The agent cannot safely handle passwords in automated scripts.
1.2 Verify SSH connectivity
ssh USER@HOST 'echo ok'

If this prompts for a password → ssh-copy-id didn't work, ask user to retry. If this fails entirely → stop and ask user to check SSH access, keys, and firewall.

1.3 Set up passwordless sudo (recommended)

Several clone steps need sudo (system packages, /etc/hosts, proxychains4, systemd linger). Without passwordless sudo, these steps will be skipped and require manual fix later.

Ask user to run:

ssh USER@NEW_IP 'echo "USERNAME ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/migration'

(Replace USERNAME with the actual SSH user. This will prompt for password one last time.)

Security note: After clone is verified (Phase 4), user can remove this with: ssh USER@NEW_IP 'sudo rm /etc/sudoers.d/migration'

Phase 1.5: Network Diagnostics

After SSH is confirmed, run the network check on the target device:

ssh USER@HOST 'bash -s' < <SKILL_DIR>/scripts/network-check.sh

Evaluate results:

  • DIRECT → Proceed normally. Set DEPLOY_MODE=direct for deploy.sh.
  • PROXY_NEEDED → Warn user: "目标服务器无法直连 Discord/Anthropic API,需要先配置代理。" Ask if they want to continue (deploy.sh will keep proxy configs) or pause to set up proxy first.
  • NO_INTERNET → Stop. Tell user to check network configuration.

The network result is saved to /tmp/openclaw-network-result.txt on the target.


Phase 2: Prepare Old Server

2.1 Run pack script
bash <SKILL_DIR>/scripts/pack.sh

This creates: ~/openclaw-migration-pack.tar.gz, ~/setup.sh, ~/deploy.sh, ~/migration-instructions.md

See scripts/pack.sh for details.

2.2 Transfer to new device
bash <SKILL_DIR>/scripts/transfer.sh USER@HOST

Transfers all files (pack + scripts) to new device home directory. Verifies SHA256 checksum after transfer.


Phase 3: Remote Deploy

This phase is fully automated — agent runs everything via SSH.

3.1 Install base environment + Claude Code
⚠️ IMPORTANT: setup.sh takes ~5 minutes and deploy.sh takes ~8 minutes. Use background execution to avoid LLM request timeouts. Never use synchronous exec with long timeouts for these commands.

Correct pattern (background + notification):

exec: ssh USER@HOST 'bash ~/setup.sh'
  background: true
  yieldMs: 5000

This returns a session ID in ~5 seconds. The agent should:

  1. Tell the user: "正在安装基础环境,预计 5 分钟…"
  2. Wait for the exec completion notification (OpenClaw auto-pushes [System Message] Exec completed)
  3. Read the session log to check results

Wrong pattern (will cause "LLM request timed out" ❌):

exec: ssh USER@HOST 'bash ~/setup.sh'
  timeout: 600
  yieldMs: 10000
→ process.poll(timeout=300000)  ← blocks too long, LLM times out

setup.sh installs: nvm, Node.js 22, npm globals, Claude Code. Has spinner + progress output.

Check exit code — if non-zero, report failure to user and stop.

3.2 Deploy OpenClaw

Same background pattern as 3.1:

exec: ssh USER@HOST 'DEPLOY_MODE=direct bash ~/deploy.sh'
  background: true
  yieldMs: 5000

Wait for completion notification, then read log.

deploy.sh handles all 13 deployment steps:

  1. Extract migration pack
  2. npm install openclaw + mcporter
  3. Restore ~/.openclaw/ config
  4. Fix paths (if username changed)
  5. Restore /etc/hosts
  6. Restore crontab
  7. Configure proxychains4
  8. Check/fix Claude Code nvm wrapper
  9. Start OpenClaw Gateway + systemd + linger
  10. Restore Dashboard (optional)
  11. Check logs for connectivity
  12. Cleanup temp files
  13. Direct-mode config cleanup (if DEPLOY_MODE=direct)

Check exit code and FAILED_STEPS in output — report any issues to user.

3.3 Verify OpenClaw is running
ssh USER@HOST 'openclaw gateway status'

If status shows running/active → proceed to Phase 4. If not running → skip to Phase 5: Fallback.


Phase 4: Device Switch & Verification

This phase guides the user through switching to the new device and verifying everything works. The agent should be warm, encouraging, and celebratory — this is the exciting finish!
4.1 Check Gateway logs (agent does this)
ssh USER@HOST 'cat /tmp/openclaw/*.log 2>/dev/null | grep -i "discord\|feishu\|logged in\|client ready\|error" | tail -20'

Look for connection confirmations. Report to user:

  • ✅ Discord connected (if "logged in to discord" found)
  • ✅ Feishu connected (if "ws client ready" found)
  • ⚠️ qmd not installed (if "spawn qmd ENOENT" — this is optional, not a problem)
  • ❌ Errors (if any real errors found)
4.2 Guide device switch

Tell user:

🔄 现在需要切换设备了! 同一个 Bot Token 不能同时在两台设备上运行。接下来请你: Step 1 — 在旧设备停止 OpenClaw: ``bash openclaw gateway stop ` 或者如果用的是 nohup: `bash pkill -f openclaw ` **Step 2** — 在新设备确认 Gateway 还在运行: `bash ssh USER@HOST 'pgrep -af openclaw | grep -v pgrep' ` 如果没在运行,重新启动: `bash ssh USER@HOST 'cd ~ && nohup openclaw gateway run > /tmp/openclaw-gateway.log 2>&1 &' ` **Step 3** — 发条消息测试!随便在 Discord 或飞书说点什么,看新设备上的 Agent 是否回复。 💡 **提醒**:如果你在克隆之前就已经 SSH 到新设备,那个终端窗口里的环境变量是旧的。 请**关掉旧终端,重新 SSH 登录**,这样 node、openclaw、claude` 等命令才能正常使用。 准备好了告诉我,我帮你验证 ✨
4.3 Verify clone works

After user confirms they've done the switch, ask them to test:

  1. 💬 消息测试 — "在 Discord/飞书上给 Agent 发条消息,看看有没有回复?"
  2. 🧠 记忆测试 — "问问新设备上的 Agent:'你还记得我是谁吗?'"
  3. 🔧 工具测试 — "让新 Agent 执行一个简单命令,比如 '帮我看看现在几点'"

Wait for user to confirm each test passed.

4.4 Celebration! 🎉

After all tests pass, send a celebration message:

🎉🎉🎉 克隆成功!你的 AI Agent 已经在新设备上活过来了! 📋 克隆总结: - 📦 打包:X 步完成,Y MB 打包 - 🚀 传输:SHA256 校验通过 - ⚙️ 安装:基础环境 + OpenClaw 全部就绪 - 🔌 连接:Discord ✅ / 飞书 ✅ - 🧠 记忆:完整保留 🧹 后续清理(3-7 天后): - 新设备上删除临时文件:rm ~/openclaw-migration-pack.tar.gz ~/setup.sh ~/deploy.sh ~/migration-instructions.md - (可选)旧设备移除 sudoers:sudo rm /etc/sudoers.d/migration - (可选)旧设备关闭服务:systemctl --user disable openclaw-gateway 🦁 Enjoy your new home!

Phase 5: Fallback

If new device OpenClaw did not start correctly:

  1. Ask user to SSH to new device and run Claude Code for diagnosis:
   ssh USER@HOST
   claude '帮我排查 OpenClaw 为什么没起来,检查日志和配置'
  1. If diagnosis fails or user wants to roll back → restart old device:
   # On old device
   systemctl --user start openclaw-gateway
  1. Tell user: "Old device restored. New device deployment failed — please check logs and retry."
Note: scripts/generate-instructions.sh generates ~/migration-instructions.md as a fallback clone guide. If full automation fails, user can SSH to new device and follow the document manually.

Troubleshooting

See references/troubleshooting.md for common issues and solutions.

平台分布

OpenClaw

84.66%
按下载量换算3,369

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills