{"id":"e10bad54-2390-4268-8b7b-a3564a41d1af","entityType":"agent","slug":"clawhub-gokuscraper-free-oracle-arm-skill","name":"free-oracle-arm-skill","canonicalUrl":"https://www.xpersona.co/agent/clawhub-gokuscraper-free-oracle-arm-skill","canonicalPath":"/agent/clawhub-gokuscraper-free-oracle-arm-skill","generatedAt":"2026-10-09T16:34:10.331Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T10:39:03.476Z","emptyReason":null},"description":"在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。 引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。 支持纯免费账号和 PAYG 账号。 Skill: free-oracle-arm-skill Owner: gokuscraper Summary: 在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。 引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。 支持纯免费账号和 PAYG 账号。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-07-25T07:23:54.750Z | auto - 首次发布：引导用户在 Oracle Cloud 免费账号上自动抢 Ampere A1 ARM 实例（抢机）全过程。 - 包含从环境准备、OCI CLI 配置、抢机脚本部署、微信通知设置，到实例备份与防回收的详细分步指导。 - 全程一次只问一个简单问题，适合非技术用户。 - 支持纯免费账号和 PAYG 账号；内含常见故障排查与参数调整","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.9K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s179rna5gt09hvsrk2zpqq3hfn8az75m:free-oracle-arm-skill","sourceUrl":"https://clawhub.ai/gokuscraper/free-oracle-arm-skill","homepage":"https://clawhub.ai/gokuscraper/skills/free-oracle-arm-skill","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/gokuscraper/free-oracle-arm-skill","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/gokuscraper/skills/free-oracle-arm-skill","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":69,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。 引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。 支持纯免费账号和 PAYG 账号。 Skill: free-oracle-arm-skill Owner: gokuscr"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T10:39:03.476Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T10:39:03.476Z","emptyReason":null},"stars":null,"forks":null,"downloads":2941,"packageName":null,"latestVersion":"0.1.0","tractionLabel":"2.9K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T10:39:03.476Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T10:39:03.476Z","lastCrawledAt":"2026-10-09T10:39:03.476Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T10:39:03.476Z","lastVerifiedAt":null,"highlights":[{"version":"0.1.0","createdAt":"2026-07-25T07:23:54.750Z","changelog":"- 首次发布：引导用户在 Oracle Cloud 免费账号上自动抢 Ampere A1 ARM 实例（抢机）全过程。 - 包含从环境准备、OCI CLI 配置、抢机脚本部署、微信通知设置，到实例备份与防回收的详细分步指导。 - 全程一次只问一个简单问题，适合非技术用户。 - 支持纯免费账号和 PAYG 账号；内含常见故障排查与参数调整说明。 - 提供全套命令行和对应网页操作提示，无需复杂格式和表格。","fileCount":11,"zipByteSize":107827}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s179rna5gt09hvsrk2zpqq3hfn8az75m:free-oracle-arm-skill","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T16:34:10.330Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-gokuscraper-free-oracle-arm-skill/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T10:39:03.476Z","emptyReason":null},"readme":"Skill: free-oracle-arm-skill\n\nOwner: gokuscraper\n\nSummary: 在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。 引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。 支持纯免费账号和 PAYG 账号。\n\nTags: latest:0.1.0\n\nVersion history:\n\nv0.1.0 | 2026-07-25T07:23:54.750Z | auto\n\n- 首次发布：引导用户在 Oracle Cloud 免费账号上自动抢 Ampere A1 ARM 实例（抢机）全过程。\n- 包含从环境准备、OCI CLI 配置、抢机脚本部署、微信通知设置，到实例备份与防回收的详细分步指导。\n- 全程一次只问一个简单问题，适合非技术用户。\n- 支持纯免费账号和 PAYG 账号；内含常见故障排查与参数调整说明。\n- 提供全套命令行和对应网页操作提示，无需复杂格式和表格。\n\nArchive index:\n\nArchive v0.1.0: 11 files, 107827 bytes\n\nFiles: assets (0b), assets/terminal-screenshot.jpg (114045b), assets/wechat-notification.jpg (12726b), LICENSE (1068b), README_EN.md (5690b), README.md (5548b), scripts (0b), scripts/grab_arm.sh (4407b), skill-card.md (3014b), SKILL.md (10673b), _meta.json (140b)\n\nFile v0.1.0:SKILL.md\n\n---\nname: free-oracle-arm-skill\ndescription: |\n  在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。\n  引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。\n  支持纯免费账号和 PAYG 账号。\n---\n\n# 甲骨文 ARM 抢机助手\n\n你是一个 Oracle Cloud Free Tier ARM 抢机助手。你引导用户一步步完成从环境准备到抢机成功的全流程。\n\n## 重要：对话规则\n\n**一次只问一个问题。** 不要一次性抛给用户多个问题。问一个 → 等回答 → 再问下一个。用户不是技术人员，问题要简单直接。\n\n**不要使用 Markdown 表格** 等复杂格式，纯文字对话即可。\n\n## 流程概述\n\n```\nStep 0: 了解用户情况 → 先问几个问题，再决定怎么走\nStep 1: 安装 OCI CLI + 配置 API\nStep 2: 部署抢机脚本\nStep 3: 配置微信通知（可选）\nStep 4: 后台运行\nStep 5: 抢到后的处理\nStep 6: 故障排查\n```\n\n## Step 0: 了解用户情况\n\n先别急着动手，先跟用户聊一下。**一次只问一个问题**，拿到答复再问下一个。\n\n### 0.1 有没有 Linux 服务器？\n\n> **你：** 你有能 SSH 连上去的 Linux 服务器吗？甲骨文账号注册后送的那台 E2.1.Micro 小机器也算。\n\n**用户说\"有\" → 去 0.2**\n**用户说\"没有\" → 引导注册甲骨文：**\n\n> **你：** 你需要先有一台 Linux 机器。如果你还没有注册甲骨文云，可以先去注册：\n> https://www.oracle.com/cloud/free/\n> 注册完成后会送一台 E2.1.Micro（1核1G）的免费实例，用那台就够了。\n>\n> 注册好了告诉我，我继续帮你弄。\n\n### 0.2 收集连接信息\n\n> **你：** 那台 Linux 机器的 IP 地址是什么？\n\n拿到 IP 后：\n\n> **你：** SSH 用户名是什么？（一般是 ubuntu 或 root）\n\n> **你：** 你的 SSH 私钥文件路径是什么？我要用它连上去。\n\n### 0.3 测试 SSH 连接\n\n拿到 IP、用户名、私钥路径后，先测试能不能连上：\n\n```bash\nssh -i 用户提供的私钥路径 -o StrictHostKeyChecking=no -o ConnectTimeout=10 用户名@IP \"echo connected && hostname\"\n```\n\n**连接成功** → 告诉用户已连上，进入 Step 1\n**连接失败** → 让用户检查 IP、用户名、私钥是否正确\n\n### 0.4 确认甲骨文账号信息\n\n> **你：** 你的甲骨文账号 Home Region（主区域）是哪里？比如东京、大阪、新加坡等。\n>\n> 如果不知道，登录甲骨文网页后看网址里有写 region=xxx，或者在右上角头像 → Tenancy 里能看到。\n\n> **你：** 你现在甲骨文控制台里有已经创建过的 ARM 实例吗？（不是那台 E2 小机，是 Ampere A1 的机器）\n\n**如果已有 ARM 实例** → 检查是否超过配额，超过则提醒用户不能再开。\n\n## Step 1: 安装 OCI CLI + 配置 API\n\n### 1.1 在目标机器上安装 OCI CLI\n\n```bash\n# Ubuntu/Debian\npip3 install oci-cli\n\n# 如果 pip3 未安装\nsudo apt-get update && sudo apt-get install -y python3-pip\npip3 install oci-cli\n\n# 添加 PATH\necho 'export PATH=$PATH:$HOME/.local/bin' >> ~/.bashrc\nsource ~/.bashrc\n```\n\n### 1.2 生成 API 密钥对\n\n```bash\nmkdir -p ~/.oci\nopenssl genrsa -out ~/.oci/oci_api_key.pem 2048\nopenssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem\nchmod 600 ~/.oci/oci_api_key.pem\n```\n\n让用户把生成的公钥内容（`cat ~/.oci/oci_api_key_public.pem`）复制出来。\n\n### 1.3 引导用户配置网页端\n\n让用户在甲骨文网页上操作：\n\n1. 点右上角头像 → **User Settings**（用户设置）\n2. 左侧菜单 → **API Keys** → **Add API Key**\n3. 选 \"Paste Public Key\"，粘贴上一步的公钥内容\n4. 点 \"Add\"\n5. 复制页面上显示的 **Fingerprint**（指纹）\n\n同时让用户复制两个 OCID：\n\n| 信息 | 位置 |\n|------|------|\n| **用户 OCID** | 头像 → User Settings → User Information |\n| **租户 OCID** | 头像 → Tenancy → Tenancy Information |\n\n### 1.4 写入 OCI CLI 配置文件\n\n```bash\ncat > ~/.oci/config << 'EOF'\n[DEFAULT]\nuser=用户提供的用户OCID\nfingerprint=用户提供的指纹\ntenancy=用户提供的租户OCID\nregion=用户的区域（如 ap-osaka-1）\nkey_file=~/.oci/oci_api_key.pem\nEOF\n\nchmod 600 ~/.oci/config\n```\n\n### 1.5 验证配置\n\n```bash\nexport PATH=$PATH:$HOME/.local/bin\noci iam region list --output table\n```\n\n如果看到区域列表，说明配置成功。\n\n## Step 2: 部署抢机脚本\n\n### 2.1 创建抢机脚本\n\n在目标机器上创建 `~/grab_arm.sh`，内容见本文档末尾附录。\n\n也可以从本 skill 附带的 `scripts/grab_arm.sh` 直接复制。\n\n### 2.2 获取关键参数\n\n需要先获取几个参数才能运行脚本：\n\n**子网 ID**\n```bash\nCOMPARTMENT_ID=$(oci iam tenancy get --tenancy-id $(grep tenancy ~/.oci/config | cut -d= -f2) --query \"data.id\" --raw-output)\noci network subnet list --compartment-id \"$COMPARTMENT_ID\" --query \"data[?contains(\\\"display-name\\\",'public')].id\" --raw-output\n```\n\n**Ubuntu ARM 镜像 ID**\n```bash\noci compute image list --compartment-id \"$COMPARTMENT_ID\" --operating-system \"Canonical Ubuntu\" --shape \"VM.Standard.A1.Flex\" --all --query \"data[?contains(\\\"display-name\\\",'24.04')] | [0].id\" --raw-output\n```\n\n**可用域**\n```bash\noci iam availability-domain list --compartment-id \"$COMPARTMENT_ID\" --query \"data[0].name\" --raw-output\n```\n\n### 2.3 配置脚本参数\n\n让用户编辑 `~/grab_arm.sh` 开头的变量：\n\n```bash\n# 核心参数（让用户根据实际情况填写）\nCOMPARTMENT_ID=\"...\"        # 租户OCID\nAVAILABILITY_DOMAIN=\"...\"  # 可用域\nSUBNET_ID=\"...\"            # 子网ID\nIMAGE_ID=\"...\"             # Ubuntu ARM 镜像ID\nSSH_KEY_FILE=\"$HOME/.ssh/arm_pub.key\"  # 用户自己生成的 SSH 公钥路径\n```\n\n### 2.4 配置 SSH 公钥\n\n让用户把自己的 SSH 公钥传到目标机器：\n\n```bash\n# 在本地执行（将本地公钥传到目标机器）\nscp ~/.ssh/id_rsa.pub ubuntu@目标IP:~/.ssh/arm_pub.key\n```\n\n或者让用户直接创建：\n```bash\n# 在目标机器上直接生成新的密钥对\nssh-keygen -t rsa -b 2048 -f ~/.ssh/arm_pub -N \"\"\ncp ~/.ssh/arm_pub.pub ~/.ssh/arm_pub.key\n```\n\n### 2.5 执行脚本测试\n\n先手动跑一次确认不报错：\n\n```bash\nbash ~/grab_arm.sh\n```\n\n如果输出 \"没货，60秒后重试...\" 说明脚本正常工作。按 `Ctrl+C` 停掉。\n\n## Step 3: 配置微信通知（可选）\n\n### 3.1 引导用户注册 Server酱\n\n1. 打开 https://sct.ftqq.com\n2. 微信扫码登录\n3. 复制 **SendKey**（以 SCT 开头）\n\n### 3.2 将 SendKey 写入脚本\n\n编辑 `~/grab_arm.sh`，将开头的 `SCT_KEY` 变量改为用户实际的 key：\n\n```bash\nSCT_KEY=\"SCT实际的值\"\n```\n\n### 3.3 测试通知\n\n```bash\ncurl -X POST \"https://sctapi.ftqq.com/${SCT_KEY}.send\" -d \"title=测试\" -d \"desp=通知配置成功\"\n```\n\n微信如果能收到消息，说明通知配置成功。\n\n## Step 4: 后台运行\n\n### 4.1 用 screen 保持后台运行\n\n```bash\n# 安装 screen（如果没有）\nsudo apt-get install -y screen\n\n# 创建 screen 会话\nscreen -dmS grab_arm bash ~/grab_arm.sh\n```\n\n### 4.2 查看进度\n\n```bash\n# 查看运行中的 screen 会话\nscreen -ls\n\n# 进入会话查看实时输出（Ctrl+A 再按 D 退出）\nscreen -r grab_arm\n```\n\n## Step 5: 抢到后的处理\n\n### 5.1 SSH 登录\n\n```bash\nssh -i 私钥路径 ubuntu@公网IP\n```\n\n首次登录后检查：\n- `df -h` — 确认磁盘大小是否跟设置的一致\n- `free -h` — 确认内存 12GB\n\n### 5.2 立即做全量备份\n\n引导用户在甲骨文网页上操作：\n1. Compute → Instances → 点实例名\n2. 左侧 **Boot Volume** → **Create Boot Volume Backup**\n3. Type 选 **Full**，名称随意\n4. 备份不计入 200GB 配额，5 个以内免费\n\n### 5.3 放行防火墙\n\n甲骨文 Ubuntu 镜像默认有 iptables 规则，只放行了 22 端口：\n\n```bash\n# 查看当前规则\nsudo iptables -L\n\n# 放行 80 和 443（如果跑 Web 服务）\nsudo iptables -I INPUT 6 -p tcp --dport 80 -j ACCEPT\nsudo iptables -I INPUT 6 -p tcp --dport 443 -j ACCEPT\n```\n\n同时需要在甲骨文网页上配置安全列表（VCN → Security List → 添加入站规则）。\n\n### 5.4 防闲置回收\n\n甲骨文对 Always Free 实例有闲置回收策略（连续 7 天低利用率会被回收）。\n\n建议至少跑一个长期服务（Docker、VPN、Web 服务等），或者安装保活工具：\n\n```bash\n# 简单保活：定时任务模拟轻负载\nsudo apt-get install -y stress-ng\ncrontab -e\n# 添加以下行，每 6 小时跑 5 分钟轻负载\n0 */6 * * * stress-ng --cpu 1 --timeout 300 --quiet\n```\n\n更好的方案：\n- 运行 Docker 容器跑 Web 服务\n- 配置 Tailscale / WireGuard VPN\n- 或者用 `lookbusy` 工具稳定消耗 10-15% CPU\n\n### 5.5 清理旧脚本\n\n抢到实例后，脚本会自动退出。可以清理 screen 会话：\n\n```bash\nscreen -X -S grab_arm quit\n```\n\n## Step 6: 故障排查\n\n### Out of host capacity\n- 这是最常见的错误，说明区域暂时没货\n- 脚本每 60 秒自动重试，不用管\n- 如果一直抢不到：降规格到 1C6G 先开，再扩到 2C12G\n- 或者升级 PAYG（绑定卡，免费额度内仍免费，但抢机优先级高很多）\n\n### TooManyRequests / rate limit\n- 请求太频繁被限速\n- 脚本已加入自动处理：被限速后等待 2 分钟再试\n\n### SSH 连不上新实例\n- 确认实例有公网 IP（实例详情页查看）\n- 确认 VCN 安全列表开放了 22 端口（0.0.0.0/0）\n- 确认 SSH 使用的是正确的私钥\n\n### LimitExceeded\n- 配额已满，说明你已经有一个 ARM 实例了\n- 去控制台检查已有实例\n\n### 实例创建后无法访问网络\n- 检查 VCN 安全列表入站规则是否放行了需要的端口\n- 检查 Ubuntu 系统防火墙（sudo iptables -L）\n\n## 附录：脚本参数说明\n\n`grab_arm.sh` 脚本支持以下参数调整：\n\n| 参数 | 含义 | 默认值 | 说明 |\n|------|------|--------|------|\n| OCPUS | CPU 核数 | 2 | Always Free 最大 2 |\n| MEMORY | 内存 GB | 12 | Always Free 最大 12 |\n| BOOT_SIZE | 引导卷大小 GB | 100 | 总配额 200GB |\n| INTERVAL | 重试间隔秒 | 60 | 推荐 60-120 |\n| DISPLAY_NAME | 实例名 | arm | 甲骨文控制台显示 |\n\n让用户根据自己需求调整。\n\n## 附录：grab_arm.sh 脚本内容\n\n脚本位于本 skill 的 `scripts/grab_arm.sh`。主要逻辑：\n\n1. 每 INTERVAL 秒尝试调用 `oci compute instance launch`\n2. 识别 Out of capacity → 继续重试\n3. 识别 TooManyRequests → 等 2 分钟\n4. 成功创建 → 通知用户（如果有 Server酱）→ 退出\n\n注意：脚本中的 OCID 占位符需要替换为用户实际的参数（租户OCID、子网ID、镜像ID等）。\n\nFile v0.1.0:README.md\n\n# Free Oracle ARM Skill\n\n[![简体中文](https://img.shields.io/badge/简体中文-red)](README.md)\n[![English](https://img.shields.io/badge/English-blue)](README_EN.md)\n[![License](https://img.shields.io/badge/License-MIT-yellow)](LICENSE)\n[![Free](https://img.shields.io/badge/free-永远免费-success)](https://github.com/gokuscraper/free-oracle-arm-skill)\n[![AI Agent](https://img.shields.io/badge/AI%20Agent-Skill-orange)](#)\n\n> **在 Oracle Cloud Free Tier 上自动抢 ARM 实例。** 引导你完成从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收的全流程。\n\n---\n\n## 这是什么？\n\n<p align=\"center\">\n  <img src=\"assets/terminal-screenshot.jpg\" alt=\"抢机脚本运行中，每60秒自动轮询\">\n  <br>\n  <em>抢机脚本自动运行，每60秒轮询一次，直到抢到为止</em>\n</p>\n\n<p align=\"center\">\n  <img src=\"assets/wechat-notification.jpg\" alt=\"Server酱微信推送通知\">\n  <br>\n  <em>抢到后通过 Server酱 实时推送到微信</em>\n</p>\n\n一个 **AI agent skill**，让 Claude Code、OpenClaw、Cursor、Codex、Gemini CLI 等 AI 助手具备自动抢 Oracle Cloud 免费 ARM 实例的能力。\n\nOracle Cloud 的 Always Free 层提供 Ampere A1（ARM）实例，目前免费额度为 **2 OCPU / 12 GB 内存 / 200 GB 存储**（2026年6月起新政策）。由于热门区域资源紧张，手动创建经常会遇到 `Out of host capacity`。\n\n---\n\n## 为什么用 Skill 而不是手动抢？\n\n| | 手动刷新网页 | 用这个 Skill |\n|---|---|---|\n| **耗时** | 需要盯着屏幕，24小时不敢关机 | 提交一次，AI 在后台自动跑 |\n| **技术要求** | 需要懂 OCI 控制台、SSH、Linux | 零基础，AI 每一步带着操作 |\n| **成功率** | 人不可能24小时守着，错过释放 | 每60秒自动重试，不放过任何机会 |\n| **通知** | 不知道什么时候抢到了 | 抢到后 Server酱 推送微信 |\n\n---\n\n## 工作原理\n\n```\n用户提供 Oracle 区域 + 配置信息\n      ↓\nAI 引导安装 OCI CLI + 配置 API 密钥\n      ↓\n部署 grab_arm.sh 到 Linux 服务器\n      ↓\n每 60 秒 → OCI API 查询可用容量 → 有？→ 创建实例 → Server酱 推送到微信\n                ↓ 无\n            等待 60 秒后重试\n```\n\n整个过程完全自动化，AI 会告诉你每一步的命令和操作。\n\n---\n\n## 为什么使用这个 Skill？\n\n- ✅ **全自动化** — AI 引导你一步步操作，不需要手动研究文档\n- ✅ **60秒轮询** — 脚本每隔60秒自动重试，不放过任何释放的容量\n- ✅ **微信通知** — 抢到后通过 Server酱 实时推送到微信\n- ✅ **防回收** — 内置 CPU 占用脚本，降低被 Oracle 回收的风险\n- ✅ **零基础友好** — 不需要 SSH 或 Linux 经验，AI 全程带着你操作\n\n---\n\n## 安装\n\n### OpenClaw（推荐）\n\n```bash\nclawhub install free-oracle-arm-skill\n```\n\n或在 OpenClaw 聊天室中搜索：\n\n> \"Install the free oracle arm skill from clawhub\"\n\n### Claude Code\n\n```bash\nnpx skills i gokuscraper/free-oracle-arm-skill\n```\n\n### 其他 AI 助手（Cursor、Codex、Gemini CLI、Windsurf）\n\n```bash\n# 通用安装器 — 自动识别你的 AI 助手\nnpx skills i gokuscraper/free-oracle-arm-skill\n```\n\n### openskills\n\n```bash\nnpx openskills install gokuscraper/free-oracle-arm-skill\n```\n\n### 手动\n\n将 `free-oracle-arm-skill/` 目录放入项目的 `.agents/skills/` 文件夹中。\n\n---\n\n## 使用方法\n\n加载 skill 后，AI 会自动引导你操作。你只需要根据 AI 的提示提供信息即可。**即使你完全不懂 Linux 或 SSH，AI 也会告诉你每一步该怎么做。**\n\n## 先决条件\n\n- 一个 [Oracle Cloud Free Tier](https://www.oracle.com/cloud/free/) 账号（免费注册）\n\n> 不需要任何技术基础。没有 Linux 机器？AI 会引导你用甲骨文赠送的免费实例。不会 SSH？AI 会教你。一切从零开始。\n\n## 项目结构\n\n```\nfree-oracle-arm-skill/\n├── SKILL.md              ← AI 指令文件\n├── README.md             ← 中文说明\n├── README_EN.md          ← English README\n└── scripts/\n    └── grab_arm.sh       ← 抢机脚本（可直接使用）\n```\n\n## 常见问题\n\n**问：一定要有 Linux 机器才能用吗？**\n\n是的。抢机脚本需要在 Linux 服务器上持续运行（每60秒轮询一次）。但如果你没有，AI 会引导你在甲骨文免费赠送的 E2.1.Micro 实例上操作。\n\n**问：需要安装 OCI CLI 吗？**\n\nAI 会自动引导你完成安装和配置，不需要提前准备。\n\n**问：我完全不懂 Linux 和 SSH，能用吗？**\n\n当然可以。这个 Skill 就是为零基础用户设计的。AI 会一步一步告诉你每一条命令、每一个操作该怎么做。\n\n**问：每次抢机需要多久？**\n\n不一定。热门区域（如大阪、首尔）可能需要几天甚至几周。冷门区域可能几分钟就抢到。脚本会一直重试直到成功。\n\n**问：抢到的 ARM 实例会被回收吗？**\n\nOracle 可能会回收长期空闲的 ARM 实例。脚本内置了轻量 CPU 占用功能，可以降低被回收的风险。\n\n**问：抢机脚本会消耗很多资源吗？**\n\n不会。脚本本身很轻量，只是每60秒调用一次 OCI API。CPU 占用脚本也非常轻量。\n\n---\n\n## License\n\nMIT\n\n---\n\n*Keywords: oracle cloud free tier arm instance grabber, 甲骨文免费ARM实例, 甲骨文云抢机, oci arm autograb, oracle always free arm script, AI skill oracle cloud, 甲骨文ARM脚本, free oracle vps grabber*\n\nFile v0.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn72v74qm7nk0w3wwvjf8b7x558ay0h9\",\n  \"slug\": \"free-oracle-arm-skill\",\n  \"version\": \"0.1.0\",\n  \"publishedAt\": 1784964234750\n}\n\nFile v0.1.0:README_EN.md\n\n# Free Oracle ARM Skill\n\n[![简体中文](https://img.shields.io/badge/简体中文-red)](README.md)\n[![English](https://img.shields.io/badge/English-blue)](README_EN.md)\n[![License](https://img.shields.io/badge/License-MIT-yellow)](LICENSE)\n[![Free](https://img.shields.io/badge/free-forever-success)](https://github.com/gokuscraper/free-oracle-arm-skill)\n[![AI Agent](https://img.shields.io/badge/AI%20Agent-Skill-orange)](#)\n\n> **Auto-grab Oracle Cloud Free Tier ARM instances.** A complete workflow covering environment setup, OCI CLI configuration, deploying the grabber script, WeChat notification, and post-creation backup & anti-reclaim steps.\n\n---\n\n## What Is This?\n\n<p align=\"center\">\n  <img src=\"assets/terminal-screenshot.jpg\" alt=\"Grabber script running, auto-polling every 60s\">\n  <br>\n  <em>The grabber script running on a Linux server, retrying every 60 seconds</em>\n</p>\n\n<p align=\"center\">\n  <img src=\"assets/wechat-notification.jpg\" alt=\"Server酱 WeChat push notification\">\n  <br>\n  <em>Real-time WeChat notification when an instance is created</em>\n</p>\n\nAn **AI agent skill** that empowers Claude Code, OpenClaw, Cursor, Codex, Gemini CLI, and other AI assistants with the ability to automatically grab Oracle Cloud Free Tier ARM instances.\n\nOracle Cloud's Always Free tier offers Ampere A1 (ARM) instances, currently at **2 OCPU / 12 GB RAM / 200 GB storage** (new policy since June 2026). Popular regions are often out of capacity, making manual creation nearly impossible.\n\n---\n\n## Why Use This Skill Instead of Doing It Manually?\n\n| | Manual (refresh the console) | With This Skill |\n|---|---|---|\n| **Time** | You stare at the screen 24/7 | Submit once, AI runs in background |\n| **Skill required** | OCI console, SSH, Linux | Zero experience needed, AI guides every step |\n| **Success rate** | Can't watch 24/7, miss releases | Auto-retry every 60s, never misses |\n| **Notification** | No way to know when you get one | Server酱 pushes to your WeChat |\n\n---\n\n## How It Works\n\n```\nUser provides Oracle region + configuration\n      ↓\nAI guides installing OCI CLI + configuring API keys\n      ↓\nDeploys grab_arm.sh to a Linux server\n      ↓\nEvery 60s → OCI API checks capacity → Available? → Create instance → WeChat notification\n                    ↓ Not available\n                Wait 60s, retry\n```\n\n---\n\n## Why Use This Skill?\n\n- ✅ **Fully automated** — AI guides you step by step, no need to research docs manually\n- ✅ **60s polling** — Retries automatically every 60 seconds, never misses released capacity\n- ✅ **WeChat notification** — Real-time push via Server酱 when you get an instance\n- ✅ **Anti-reclaim** — Built-in light CPU load to reduce risk of Oracle reclaiming your instance\n- ✅ **Beginner friendly** — No SSH or Linux experience needed, AI holds your hand the whole way\n\n---\n\n## Installation\n\n### OpenClaw (Recommended)\n\n```bash\nclawhub install free-oracle-arm-skill\n```\n\nOr search inside OpenClaw chat:\n\n> \"Install the free oracle arm skill from clawhub\"\n\n### Claude Code\n\n```bash\nnpx skills i gokuscraper/free-oracle-arm-skill\n```\n\n### Other AI Assistants (Cursor, Codex, Gemini CLI, Windsurf)\n\n```bash\n# Universal installer — auto-detects your AI assistant\nnpx skills i gokuscraper/free-oracle-arm-skill\n```\n\n### openskills\n\n```bash\nnpx openskills install gokuscraper/free-oracle-arm-skill\n```\n\n### Manual\n\nPlace the `free-oracle-arm-skill/` directory into your project's `.agents/skills/` folder.\n\n---\n\n## How to Use\n\nAfter loading the skill, the AI will guide you through the process. Just follow the prompts and provide the requested information. **Even if you know nothing about Linux or SSH, the AI will tell you exactly what to do at every step.**\n\n## Prerequisites\n\n- An [Oracle Cloud Free Tier](https://www.oracle.com/cloud/free/) account (free to sign up)\n\n> No technical background required. Don't have a Linux machine? The AI will guide you through using your free Oracle E2.1.Micro instance. Don't know SSH? The AI will teach you. Everything from scratch.\n\n## Project Structure\n\n```\nfree-oracle-arm-skill/\n├── SKILL.md              ← AI instruction file\n├── README.md             ← Chinese README\n├── README_EN.md          ← English README\n└── scripts/\n    └── grab_arm.sh       ← Grabber script (ready to use)\n```\n\n## FAQ\n\n**Q: Do I need a Linux machine to use this?**\n\nYes. The grabber script needs to run continuously on a Linux server (polls every 60s). But if you don't have one, the AI will guide you through setting it up on your free Oracle E2.1.Micro instance.\n\n**Q: Do I need OCI CLI installed?**\n\nThe AI will guide you through installation and configuration. Nothing to prepare in advance.\n\n**Q: I know nothing about Linux or SSH. Can I still use this?**\n\nAbsolutely. This skill is designed for beginners. The AI will walk you through every command and every step.\n\n**Q: How long does it take to grab an instance?**\n\nIt varies. Popular regions (Osaka, Seoul) may take days or weeks. Less popular regions may succeed in minutes. The script keeps retrying until it succeeds.\n\n**Q: Will Oracle reclaim my ARM instance?**\n\nOracle may reclaim long-idle ARM instances. The script includes a light CPU load feature to reduce the risk of reclaim.\n\n**Q: Does the grabber script consume a lot of resources?**\n\nNo. The script itself is very lightweight — it just calls the OCI API once every 60 seconds. The CPU load script is also very light.\n\n---\n\n## License\n\nMIT\n\n---\n\n*Keywords: oracle cloud free tier, arm instance grabber, oci arm autograb, oracle always free arm, free oracle vps, image to vector alternative, potrace alternative, auto tracer*\n\nFile v0.1.0:skill-card.md\n\n## Description:\n\nGuides an agent through configuring OCI access, deploying a polling script, optional WeChat notifications, and post-creation steps to obtain an Oracle Cloud Free Tier Ampere A1 ARM instance.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[gokuscraper](https://clawhub.ai/user/gokuscraper)\n\n### License/Terms of Use:\n\nMIT\n\n## Use Case:\n\nExternal developers and Oracle Cloud users use this skill to set up OCI CLI credentials, run guided shell commands, and operate a retry loop for creating an Always Free ARM instance. It also provides notification, backup, troubleshooting, and anti-idle guidance after an instance is created.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The workflow asks an agent to handle OCI credentials, API keys, OCIDs, and SSH access details.\n\nMitigation: Use a dedicated low-privilege OCI user or compartment, avoid sharing private keys or credential-adjacent values in chat, and keep credential files restricted to the minimum required permissions.\n\nRisk: The workflow includes SSH connectivity guidance and could weaken host verification if copied without review.\n\nMitigation: Keep SSH host-key verification enabled whenever possible and manually confirm host identity before using new connection details.\n\nRisk: The polling script can run long-lived cloud automation and repeatedly call OCI APIs.\n\nMitigation: Review the retry interval and stop procedure before background execution, monitor for rate limiting, and remove the screen session or process when it is no longer needed.\n\nRisk: The notification integration stores a ServerChan key in script configuration.\n\nMitigation: Store notification keys outside scripts where practical, restrict file permissions, and rotate the key if it is exposed.\n\nRisk: The anti-idle guidance may create persistent background load or cron behavior.\n\nMitigation: Enable anti-idle jobs only after reviewing provider terms and document how to disable or remove the cron job.\n\n## Reference(s):\n\n- [Server-resolved GitHub repository](https://github.com/gokuscraper/free-oracle-arm-skill)\n- [ClawHub skill page](https://clawhub.ai/gokuscraper/skills/free-oracle-arm-skill)\n- [Oracle Cloud Free Tier](https://www.oracle.com/cloud/free/)\n- [ServerChan notification service](https://sct.ftqq.com)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown guidance with inline shell commands and configuration snippets]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Guidance is conversational and prompts the user for one setup detail at a time.]\n\n## Skill Version(s):\n\n0.1.0 (source: ClawHub release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v0.1.0:LICENSE\n\nMIT License\n\nCopyright (c) 2026 GokuOpenLab\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","readmeExcerpt":"Skill: free-oracle-arm-skill Owner: gokuscraper Summary: 在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。 引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。 支持纯免费账号和 PAYG 账号。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-07-25T07:23:54.750Z | auto - 首次发布：引导用户在 Oracle Cloud 免费账号上自动抢 Ampere A1 ARM 实例（抢机）全过程。 - 包含从环境准备、OCI CLI 配置、抢机脚本部署、微信通知设置，到实例备份与防回收的详细分步指导。 - 全程一次只问一个简单问题，适合非技术用户。 - 支持纯免费账号和 PAYG 账号；内含常见故障排查与参数调整","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"Step 0: 了解用户情况 → 先问几个问题，再决定怎么走\nStep 1: 安装 OCI CLI + 配置 API\nStep 2: 部署抢机脚本\nStep 3: 配置微信通知（可选）\nStep 4: 后台运行\nStep 5: 抢到后的处理\nStep 6: 故障排查"},{"language":"bash","snippet":"ssh -i 用户提供的私钥路径 -o StrictHostKeyChecking=no -o ConnectTimeout=10 用户名@IP \"echo connected && hostname\""},{"language":"bash","snippet":"# Ubuntu/Debian\npip3 install oci-cli\n\n# 如果 pip3 未安装\nsudo apt-get update && sudo apt-get install -y python3-pip\npip3 install oci-cli\n\n# 添加 PATH\necho 'export PATH=$PATH:$HOME/.local/bin' >> ~/.bashrc\nsource ~/.bashrc"},{"language":"bash","snippet":"mkdir -p ~/.oci\nopenssl genrsa -out ~/.oci/oci_api_key.pem 2048\nopenssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem\nchmod 600 ~/.oci/oci_api_key.pem"},{"language":"bash","snippet":"cat > ~/.oci/config << 'EOF'\n[DEFAULT]\nuser=用户提供的用户OCID\nfingerprint=用户提供的指纹\ntenancy=用户提供的租户OCID\nregion=用户的区域（如 ap-osaka-1）\nkey_file=~/.oci/oci_api_key.pem\nEOF\n\nchmod 600 ~/.oci/config"},{"language":"bash","snippet":"export PATH=$PATH:$HOME/.local/bin\noci iam region list --output table"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: free-oracle-arm-skill\ndescription: |\n  在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。\n  引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。\n  支持纯免费账号和 PAYG 账号。\n---\n\n# 甲骨文 ARM 抢机助手\n\n你是一个 Oracle Cloud Free Tier ARM 抢机助手。你引导用户一步步完成从环境准备到抢机成功的全流程。\n\n## 重要：对话规则\n\n**一次只问一个问题。** 不要一次性抛给用户多个问题。问一个 → 等回答 → 再问下一个。用户不是技术人员，问题要简单直接。\n\n**不要使用 Markdown 表格** 等复杂格式，纯文字对话即可。\n\n## 流程概述\n\n```\nStep 0: 了解用户情况 → 先问几个问题，再决定怎么走\nStep 1: 安装 OCI CLI + 配置 API\nStep 2: 部署抢机脚本\nStep 3: 配置微信通知（可选）\nStep 4: 后台运行\nStep 5: 抢到后的处理\nStep 6: 故障排查\n```\n\n## Step 0: 了解用户情况\n\n先别急着动手，先跟用户聊一下。**一次只问一个问题**，拿到答复再问下一个。\n\n### 0.1 有没有 Linux 服务器？\n\n> **你：** 你有能 SSH 连上去的 Linux 服务器吗？甲骨文账号注册后送的那台 E2.1.Micro 小机器也算。\n\n**用户说\"有\" → 去 0.2**\n**用户说\"没有\" → 引导注册甲骨文：**\n\n> **你：** 你需要先有一台 Linux 机器。如果你还没有注册甲骨文云，可以先去注册：\n> https://www.oracle.com/cloud/free/\n> 注册完成后会送一台 E2.1.Micro（1核1G）的免费实例，用那台就够了。\n>\n> 注册好了告诉我，我继续帮你弄。\n\n### 0.2 收集连接信息\n\n> **你：** 那台 Linux 机器的 IP 地址是什么？\n\n拿到 IP 后：\n\n> **你：** SSH 用户名是什么？（一般是 ubuntu 或 root）\n\n> **你：** 你的 SSH 私钥文件路径是什么？我要用它连上去。\n\n### 0.3 测试 SSH 连接\n\n拿到 IP、用户名、私钥路径后，先测试能不能连上：\n\n```bash\nssh -i 用户提供的私钥路径 -o StrictHostKeyChecking=no -o ConnectTimeout=10 用户名@IP \"echo connected && hostname\"\n```\n\n**连接成功** → 告诉用户已连上，进入 Step 1\n**连接失败** → 让用户检查 IP、用户名、私钥是否正确\n\n### 0.4 确认甲骨文账号信息\n\n> **你：** 你的甲骨文账号 Home Region（主区域）是哪里？比如东京、大阪、新加坡等。\n>\n> 如果不知道，登录甲骨文网页后看网址里有写 region=xxx，或者在右上角头像 → Tenancy 里能看到。\n\n> **你：** 你现在甲骨文控制台里有已经创建过的 ARM 实例吗？（不是那台 E2 小机，是 Ampere A1 的机器）\n\n**如果已有 ARM 实例** → 检查是否超过配额，超过则提醒用户不能再开。\n\n## Step 1: 安装 OCI CLI + 配置 API\n\n### 1.1 在目标机器上安装 OCI CLI\n\n```bash\n# Ubuntu/Debian\npip3 install oci-cli\n\n# 如果 pip3 未安装\nsudo apt-get update && sudo apt-get install -y python3-pip\npip3 install oci-cli\n\n# 添加 PATH\necho 'export PATH=$PATH:$HOME/.local/bin' >> ~/.bashrc\nsource ~/.bashrc\n```\n\n### 1.2 生成 API 密钥对\n\n```bash\nmkdir -p ~/.oci\nopenssl genrsa -out ~/.oci/oci_api_key.pem 2048\nopenssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem\nchmod 600 ~/.oci/oci_api_key.pem\n```\n\n让用户把生成的公钥内容（`cat ~/.oci/oci_api_key_public.pem`）复制出来。\n\n### 1.3 引导用户配置网页端\n\n让用户在甲骨文网页上操作：\n\n1. 点右上角头像 → **User Settings**（用户设置）\n2. 左侧菜单 → **API Keys** → **Add API Key**\n3. 选 \"Paste Public Key\"，粘贴上一步的公钥内容\n4. 点 \"Add\"\n5. 复制页面上显示的 **Fingerprint**（指纹）\n\n同时让用户复制两个 OCID：\n\n| 信息 | 位置 |\n|------|------|\n| **用户 OCID** | 头像 → User Settings → User Information |\n| **租户 OCID** | 头像 → Tenancy → Tenancy Information |\n\n### 1.4 写入 OCI CLI 配置文件\n\n```bash\ncat > ~/.oci/config << 'EOF'\n[DEFAULT]\nuser=用户提供的用户OCID\nfingerprint=用户提供的指纹\ntenancy=用户提供的租户OCID\nregion=用户的区域（如 ap-osaka-1）\nkey_file=~/.oci/oci_api_key.pem\nEOF\n\nchmod 600 ~/.oci/config\n```\n\n### 1.5 验证配置\n\n```bash\nexport PATH=$PATH:$HOME/.local/bin\noci iam region list --output table\n```\n\n如果看到区域列表，说明配置成功。\n\n## Step 2: 部署抢机脚本\n\n### 2.1 创建抢机脚本\n\n在目标机器上创建 `~/grab_arm.sh`，内容见本文档末尾附录。\n\n也可以从本 skill 附带的 `scripts/grab_arm.sh` 直接复制。\n\n### 2.2 获取关键参数\n\n需要先获取几个参数才能运行脚本：\n\n**子网 ID**\n```bash\nCOMPARTMENT_ID=$(oci iam tenancy get --tenancy-id $(grep tenancy ~/.oci/config | cut -d= -f2) --query \"data.id\" --raw-output)\noci network su"},{"path":"README.md","content":"# Free Oracle ARM Skill\n\n[![简体中文](https://img.shields.io/badge/简体中文-red)](README.md)\n[![English](https://img.shields.io/badge/English-blue)](README_EN.md)\n[![License](https://img.shields.io/badge/License-MIT-yellow)](LICENSE)\n[![Free](https://img.shields.io/badge/free-永远免费-success)](https://github.com/gokuscraper/free-oracle-arm-skill)\n[![AI Agent](https://img.shields.io/badge/AI%20Agent-Skill-orange)](#)\n\n> **在 Oracle Cloud Free Tier 上自动抢 ARM 实例。** 引导你完成从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收的全流程。\n\n---\n\n## 这是什么？\n\n<p align=\"center\">\n  <img src=\"assets/terminal-screenshot.jpg\" alt=\"抢机脚本运行中，每60秒自动轮询\">\n  <br>\n  <em>抢机脚本自动运行，每60秒轮询一次，直到抢到为止</em>\n</p>\n\n<p align=\"center\">\n  <img src=\"assets/wechat-notification.jpg\" alt=\"Server酱微信推送通知\">\n  <br>\n  <em>抢到后通过 Server酱 实时推送到微信</em>\n</p>\n\n一个 **AI agent skill**，让 Claude Code、OpenClaw、Cursor、Codex、Gemini CLI 等 AI 助手具备自动抢 Oracle Cloud 免费 ARM 实例的能力。\n\nOracle Cloud 的 Always Free 层提供 Ampere A1（ARM）实例，目前免费额度为 **2 OCPU / 12 GB 内存 / 200 GB 存储**（2026年6月起新政策）。由于热门区域资源紧张，手动创建经常会遇到 `Out of host capacity`。\n\n---\n\n## 为什么用 Skill 而不是手动抢？\n\n| | 手动刷新网页 | 用这个 Skill |\n|---|---|---|\n| **耗时** | 需要盯着屏幕，24小时不敢关机 | 提交一次，AI 在后台自动跑 |\n| **技术要求** | 需要懂 OCI 控制台、SSH、Linux | 零基础，AI 每一步带着操作 |\n| **成功率** | 人不可能24小时守着，错过释放 | 每60秒自动重试，不放过任何机会 |\n| **通知** | 不知道什么时候抢到了 | 抢到后 Server酱 推送微信 |\n\n---\n\n## 工作原理\n\n```\n用户提供 Oracle 区域 + 配置信息\n      ↓\nAI 引导安装 OCI CLI + 配置 API 密钥\n      ↓\n部署 grab_arm.sh 到 Linux 服务器\n      ↓\n每 60 秒 → OCI API 查询可用容量 → 有？→ 创建实例 → Server酱 推送到微信\n                ↓ 无\n            等待 60 秒后重试\n```\n\n整个过程完全自动化，AI 会告诉你每一步的命令和操作。\n\n---\n\n## 为什么使用这个 Skill？\n\n- ✅ **全自动化** — AI 引导你一步步操作，不需要手动研究文档\n- ✅ **60秒轮询** — 脚本每隔60秒自动重试，不放过任何释放的容量\n- ✅ **微信通知** — 抢到后通过 Server酱 实时推送到微信\n- ✅ **防回收** — 内置 CPU 占用脚本，降低被 Oracle 回收的风险\n- ✅ **零基础友好** — 不需要 SSH 或 Linux 经验，AI 全程带着你操作\n\n---\n\n## 安装\n\n### OpenClaw（推荐）\n\n```bash\nclawhub install free-oracle-arm-skill\n```\n\n或在 OpenClaw 聊天室中搜索：\n\n> \"Install the free oracle arm skill from clawhub\"\n\n### Claude Code\n\n```bash\nnpx skills i gokuscraper/free-oracle-arm-skill\n```\n\n### 其他 AI 助手（Cursor、Codex、Gemini CLI、Windsurf）\n\n```bash\n# 通用安装器 — 自动识别你的 AI 助手\nnpx skills i gokuscraper/free-oracle-arm-skill\n```\n\n### openskills\n\n```bash\nnpx openskills install gokuscraper/free-oracle-arm-skill\n```\n\n### 手动\n\n将 `free-oracle-arm-skill/` 目录放入项目的 `.agents/skills/` 文件夹中。\n\n---\n\n## 使用方法\n\n加载 skill 后，AI 会自动引导你操作。你只需要根据 AI 的提示提供信息即可。**即使你完全不懂 Linux 或 SSH，AI 也会告诉你每一步该怎么做。**\n\n## 先决条件\n\n- 一个 [Oracle Cloud Free Tier](https://www.oracle.com/cloud/free/) 账号（免费注册）\n\n> 不需要任何技术基础。没有 Linux 机器？AI 会引导你用甲骨文赠送的免费实例。不会 SSH？AI 会教你。一切从零开始。\n\n## 项目结构\n\n```\nfree-oracle-arm-skill/\n├── SKILL.md              ← AI 指令文件\n├── README.md             ← 中文说明\n├── README_EN.md          ← English README\n└── scripts/\n    └── grab_arm.sh       ← 抢机脚本（可直接使用）\n```\n\n## 常见问题\n\n**问：一定要有 Linux 机器才能用吗？**\n\n是的。抢机脚本需要在 Linux 服务器上持续运行（每60秒轮询一次）。但如果你没有，AI 会引导你在甲骨文免费赠送的 E2.1.Micro 实例上操作。\n\n**问：需要安装 OCI CLI 吗？**\n\nAI 会自动引导你完成安装和配置，不需要提前准备。\n\n**问：我完全不懂 Linux 和 SSH，能用吗？**\n\n当然可以。这个 Skill 就是为零基础用户设计的。AI 会一步一步告诉你每一条命令、每一个操作该怎么做。\n"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn72v74qm7nk0w3wwvjf8b7x558ay0h9\",\n  \"slug\": \"free-oracle-arm-skill\",\n  \"version\": \"0.1.0\",\n  \"publishedAt\": 1784964234750\n}"},{"path":"README_EN.md","content":"# Free Oracle ARM Skill\n\n[![简体中文](https://img.shields.io/badge/简体中文-red)](README.md)\n[![English](https://img.shields.io/badge/English-blue)](README_EN.md)\n[![License](https://img.shields.io/badge/License-MIT-yellow)](LICENSE)\n[![Free](https://img.shields.io/badge/free-forever-success)](https://github.com/gokuscraper/free-oracle-arm-skill)\n[![AI Agent](https://img.shields.io/badge/AI%20Agent-Skill-orange)](#)\n\n> **Auto-grab Oracle Cloud Free Tier ARM instances.** A complete workflow covering environment setup, OCI CLI configuration, deploying the grabber script, WeChat notification, and post-creation backup & anti-reclaim steps.\n\n---\n\n## What Is This?\n\n<p align=\"center\">\n  <img src=\"assets/terminal-screenshot.jpg\" alt=\"Grabber script running, auto-polling every 60s\">\n  <br>\n  <em>The grabber script running on a Linux server, retrying every 60 seconds</em>\n</p>\n\n<p align=\"center\">\n  <img src=\"assets/wechat-notification.jpg\" alt=\"Server酱 WeChat push notification\">\n  <br>\n  <em>Real-time WeChat notification when an instance is created</em>\n</p>\n\nAn **AI agent skill** that empowers Claude Code, OpenClaw, Cursor, Codex, Gemini CLI, and other AI assistants with the ability to automatically grab Oracle Cloud Free Tier ARM instances.\n\nOracle Cloud's Always Free tier offers Ampere A1 (ARM) instances, currently at **2 OCPU / 12 GB RAM / 200 GB storage** (new policy since June 2026). Popular regions are often out of capacity, making manual creation nearly impossible.\n\n---\n\n## Why Use This Skill Instead of Doing It Manually?\n\n| | Manual (refresh the console) | With This Skill |\n|---|---|---|\n| **Time** | You stare at the screen 24/7 | Submit once, AI runs in background |\n| **Skill required** | OCI console, SSH, Linux | Zero experience needed, AI guides every step |\n| **Success rate** | Can't watch 24/7, miss releases | Auto-retry every 60s, never misses |\n| **Notification** | No way to know when you get one | Server酱 pushes to your WeChat |\n\n---\n\n## How It Works\n\n```\nUser provides Oracle region + configuration\n      ↓\nAI guides installing OCI CLI + configuring API keys\n      ↓\nDeploys grab_arm.sh to a Linux server\n      ↓\nEvery 60s → OCI API checks capacity → Available? → Create instance → WeChat notification\n                    ↓ Not available\n                Wait 60s, retry\n```\n\n---\n\n## Why Use This Skill?\n\n- ✅ **Fully automated** — AI guides you step by step, no need to research docs manually\n- ✅ **60s polling** — Retries automatically every 60 seconds, never misses released capacity\n- ✅ **WeChat notification** — Real-time push via Server酱 when you get an instance\n- ✅ **Anti-reclaim** — Built-in light CPU load to reduce risk of Oracle reclaiming your instance\n- ✅ **Beginner friendly** — No SSH or Linux experience needed, AI holds your hand the whole way\n\n---\n\n## Installation\n\n### OpenClaw (Recommended)\n\n```bash\nclawhub install free-oracle-arm-skill\n```\n\nOr search inside OpenClaw chat:\n\n> \"Install the free oracle arm skill from clawhub\"\n\n### Claude Code\n\n``"},{"path":"skill-card.md","content":"## Description:\n\nGuides an agent through configuring OCI access, deploying a polling script, optional WeChat notifications, and post-creation steps to obtain an Oracle Cloud Free Tier Ampere A1 ARM instance.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[gokuscraper](https://clawhub.ai/user/gokuscraper)\n\n### License/Terms of Use:\n\nMIT\n\n## Use Case:\n\nExternal developers and Oracle Cloud users use this skill to set up OCI CLI credentials, run guided shell commands, and operate a retry loop for creating an Always Free ARM instance. It also provides notification, backup, troubleshooting, and anti-idle guidance after an instance is created.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The workflow asks an agent to handle OCI credentials, API keys, OCIDs, and SSH access details.\n\nMitigation: Use a dedicated low-privilege OCI user or compartment, avoid sharing private keys or credential-adjacent values in chat, and keep credential files restricted to the minimum required permissions.\n\nRisk: The workflow includes SSH connectivity guidance and could weaken host verification if copied without review.\n\nMitigation: Keep SSH host-key verification enabled whenever possible and manually confirm host identity before using new connection details.\n\nRisk: The polling script can run long-lived cloud automation and repeatedly call OCI APIs.\n\nMitigation: Review the retry interval and stop procedure before background execution, monitor for rate limiting, and remove the screen session or process when it is no longer needed.\n\nRisk: The notification integration stores a ServerChan key in script configuration.\n\nMitigation: Store notification keys outside scripts where practical, restrict file permissions, and rotate the key if it is exposed.\n\nRisk: The anti-idle guidance may create persistent background load or cron behavior.\n\nMitigation: Enable anti-idle jobs only after reviewing provider terms and document how to disable or remove the cron job.\n\n## Reference(s):\n\n- [Server-resolved GitHub repository](https://github.com/gokuscraper/free-oracle-arm-skill)\n- [ClawHub skill page](https://clawhub.ai/gokuscraper/skills/free-oracle-arm-skill)\n- [Oracle Cloud Free Tier](https://www.oracle.com/cloud/free/)\n- [ServerChan notification service](https://sct.ftqq.com)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown guidance with inline shell commands and configuration snippets]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Guidance is conversational and prompts the user for one setup detail at a time.]\n\n## Skill Version(s):\n\n0.1.0 (source: ClawHub release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements befor"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。 引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。 支持纯免费账号和 PAYG 账号。 Skill: free-oracle-arm-skill Owner: gokuscraper Summary: 在 Oracle Cloud 免费账号上自动抢 ARM 实例（Ampere A1.Flex）的完整流程。 引导用户从环境准备、OCI CLI 配置、部署抢机脚本、微信通知，到抢到后的备份与防回收。 支持纯免费账号和 PAYG 账号。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-07-25T07:23:54.750Z | auto - 首次发布：引导用户在 Oracle Cloud 免费账号上自动抢 Ampere A1 ARM 实例（抢机）全过程。 - 包含从环境准备、OCI CLI 配置、抢机脚本部署、微信通知设置，到实例备份与防回收的详细分步指导。 - 全程一次只问一个简单问题，适合非技术用户。 - 支持纯免费账号和 PAYG 账号；内含常见故障排查与参数调整","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":994,"uniquenessScore":51,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T10:39:03.476Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T10:39:03.476Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T16:34:10.331Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}