← 返回 Skills 市场
chameleon-nexus

Geo Cycle Autopilot

作者 chameleon-nexus · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install geo-cycle-autopilot
功能描述
GEO 周期自动协同 — 读龙虾密钥,自动导出范文/执行深度仿写并导出,上报待群发状态。供 QClaw 每日定时任务加载,无需用户说「开始优化任务」。
使用说明 (SKILL.md)

GEO 周期自动协同(Autopilot)

主路径:由用户在 QClaw 配置每日定时(本项目不实现 cron),定时仅加载本 skill。

前置(本 skill 可独立运行,不依赖 geo-opt-coordinator)

读取密钥

  1. 依次读取 ~/.qclaw/geo-api-key~/.openclaw/geo-api-key;存在且非空则使用
  2. 若不存在或为空:向用户索要 GEO API Key,提示在 SaaS 账户设置 → 龙虾密钥 创建,并保存:
    echo -n "\x3C用户提供的key>" > ~/.qclaw/geo-api-key
    
  3. 用户说「更换 key / 重置 key」时:删除上述文件后重新索要
GEO_KEY=$(cat ~/.qclaw/geo-api-key 2>/dev/null || cat ~/.openclaw/geo-api-key 2>/dev/null)
BASE="https://ai.gaobobo.cn"

验证密钥(业务请求前必做)

curl -s -X POST "$BASE/api/geo/verify-key" \
  -H "Authorization: Bearer $GEO_KEY"
  • 返回 code: 0 且 message 含「验证通过」→ 继续下文
  • HTTP 401/403 或 code != 0立即停止,告知用户密钥无效或已吊销,请到 SaaS 重新创建并更新本机 key 文件
  • 不要在未验证通过时调用 optimization / export 等接口

其他前置

  • QClaw web_fetch 可用
  • SaaS 智能优化任务已开启 OpenClaw 协同 与(若需仿写)深度仿写

本机目录约定

~/.qclaw/geo-exports/{brand}_{product}_C{cycle}/fanwen/fanwen.zip
~/.qclaw/geo-exports/{brand}_{product}_C{cycle}/fangxie/fangxie.zip

Windows:%USERPROFILE%\.qclaw\geo-exports\...

1. 拉取任务

curl -s "$BASE/api/geo/optimization/tasks" -H "Authorization: Bearer $GEO_KEY"

对每个 items[] 读取 tasklatestCycleopenclawActions勿向用户索要 OPT-ID)。

2. 范文:导出并上报

openclawActions.needsFanwenExport == true

OPT_ID="\x3Ctask.taskId 内部用>"
CYCLE=\x3ClatestCycle.cycleNumber>
BRAND="\x3Ctask.brandName>"
PRODUCT="\x3Ctask.productName>"
DIR="$HOME/.qclaw/geo-exports/${BRAND}_${PRODUCT}_C${CYCLE}/fanwen"
mkdir -p "$DIR"
curl -fsSL -o "$DIR/fanwen.zip" \
  "$BASE/api/geo/optimization/$OPT_ID/cycles/$CYCLE/export/fanwen.zip" \
  -H "Authorization: Bearer $GEO_KEY"
curl -s -X POST "$BASE/api/geo/optimization/$OPT_ID/cycles/$CYCLE/mass-publish-export" \
  -H "Authorization: Bearer $GEO_KEY" -H "Content-Type: application/json" \
  -d "{\"branch\":\"fanwen\",\"local_path_hint\":\"$DIR\"}"

openclawActions.fanwenStatus 已为 completed 且本地已有 fanwen.zip,跳过。

3. 仿写:抓信源 → 成稿 → 导出 → 上报

openclawActions.needsFangxieRun == true

  1. GET .../diagnosis/imitate-sources?optimization_task_id=$OPT_ID&cycle_number=$CYCLE
  2. 对 Top1–3 URL 仅用 web_fetch(url) 取正文(勿用 Firecrawl)
  3. POST .../article/generate-deep-imitate(见 geo-deep-imitate)
  4. 轮询 GET .../article/{CG-id},间隔 ≥30s,直至 status=completed

openclawActions.needsFangxieExport == true(或上一步刚完成):

DIR_FX="$HOME/.qclaw/geo-exports/${BRAND}_${PRODUCT}_C${CYCLE}/fangxie"
mkdir -p "$DIR_FX"
curl -fsSL -o "$DIR_FX/fangxie.zip" \
  "$BASE/api/geo/optimization/$OPT_ID/cycles/$CYCLE/export/fangxie.zip" \
  -H "Authorization: Bearer $GEO_KEY"
curl -s -X POST "$BASE/api/geo/optimization/$OPT_ID/cycles/$CYCLE/mass-publish-export" \
  -H "Authorization: Bearer $GEO_KEY" -H "Content-Type: application/json" \
  -d "{\"branch\":\"fangxie\",\"local_path_hint\":\"$DIR_FX\"}"

openclawActions.fangxieStatus == not_enabled 时跳过仿写分支。

4. 结束

不向用户展示 OPT-ID。可输出内部摘要:品牌、产品、范文状态、仿写状态(读 latestCycle.cycleStepResults.massPublishopenclawActions.fanwenStatusLabel / fangxieStatusLabel)。

群发提醒由 geo-mass-publish-check 定时或紧随其后执行。

约束

  • 不触发 Celery 优化周期;不替代服务端范文生成
  • 群发用本机 融媒宝 + 已导出 Word/ZIP,勿加载 geo-social-publish
安全使用建议
Install only if you are comfortable with a scheduled agent reading a locally stored GEO API key, contacting ai.gaobobo.cn and source URLs, writing export ZIPs under your home directory, and updating GEO task status automatically. Prefer using a restricted/revocable API key and protect or replace the plaintext key file with a safer credential mechanism if available.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The described behavior is coherent with the stated autopilot purpose: fetch GEO tasks, export ZIP files, perform deep-imitate workflow steps, and report readiness status.
Instruction Scope
The skill is intended for daily unattended loading and acts across returned tasks, including remote requests, content generation, exports, and status updates, without clear per-run limits or confirmation.
Install Mechanism
The artifact is a single markdown skill with no executable install script, dependencies, or hidden package installation; it declares only web_fetch as a required tool.
Credentials
Network calls to the GEO SaaS, web_fetch of source URLs, and local ZIP writes under ~/.qclaw are disclosed and mostly purpose-aligned, but they are meaningful side effects.
Persistence & Privilege
The skill instructs the agent to solicit a GEO API key, write it to ~/.qclaw/geo-api-key in plaintext, reuse it later, and delete/recreate it on reset, with no secure-storage or file-permission guidance.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install geo-cycle-autopilot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /geo-cycle-autopilot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of GEO 周期自动协同(geo-cycle-autopilot) skill. - Reads and verifies 龙虾密钥 (GEO API Key) automatically; prompts user if missing or invalid. - Automatically fetches GEO 优化任务,批量导出范文和深度仿写 ZIP 文件,无需用户交互或命令触发。 - 按需拉取仿写信源、调用 web_fetch 提取正文,产出深度仿写后导出 ZIP。 - 标准本地路径保存所有导出文件,自动上报待群发状态,支持 QClaw 每日定时加载。 - 不暴露任务 ID,仅输出品牌、产品、及当前自动协同状态摘要。
元数据
Slug geo-cycle-autopilot
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Geo Cycle Autopilot 是什么?

GEO 周期自动协同 — 读龙虾密钥,自动导出范文/执行深度仿写并导出,上报待群发状态。供 QClaw 每日定时任务加载,无需用户说「开始优化任务」。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。

如何安装 Geo Cycle Autopilot?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install geo-cycle-autopilot」即可一键安装,无需额外配置。

Geo Cycle Autopilot 是免费的吗?

是的,Geo Cycle Autopilot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Geo Cycle Autopilot 支持哪些平台?

Geo Cycle Autopilot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Geo Cycle Autopilot?

由 chameleon-nexus(@chameleon-nexus)开发并维护,当前版本 v1.0.0。

💬 留言讨论