360 Secure SkillHub
360 安全技能中心

geo-update

用于把已安装的 SEO+GEO 技能与 seogeo CLI 升级到最新发布版:先报告当前版本与检测到的目标工具,再查询发布版本做比较,随后经外部分发脚本升级二进制并重装技能,最后验证版本与技能数量。更新不改动用户状态文件(漂移基线、线索、成本台账、接口配置),被自定义过的技能文件会被覆盖。

asale-ai
热度 12.95
最近更新 2026-08-12 22:32:24
分类:开发依赖:代码执行 / 读写文件 / 第三方 API应用场景:DevOps / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add geo-update
Metadata
name
geo-update
description
Update the installed SEO + GEO skills and the seogeo CLI to the latest release. Reports the installed version, the latest published version, what changed, and reinstalls the skill set across every detected agent tool. Use when the user says "update geo", "update skills", "upgrade seogeo", "aggiorna", or asks whether a newer version exists.
license
MIT
allowed-tools
["Bash","Read"]
metadata
{"category":"geo"}

Update the SEO + GEO toolkit

The skills and the seogeo binary version together. Updating means upgrading the binary, then reinstalling the skills that ship inside it.


Step 1 — Report the current state

seogeo --version
seogeo install --list --json

install --list prints every supported agent tool, whether it is detected on this machine, and where its skills live. Show the user the installed version and the detected targets before changing anything.

If seogeo is not found, the toolkit is not installed. Point the user at the install command rather than trying to repair the installation:

curl -fsSL https://raw.githubusercontent.com/asale-ai/seo-geo-skill/main/install.sh | sh

Step 2 — Check for a newer release

curl -fsSL https://api.github.com/repos/asale-ai/seo-geo-skill/releases/latest \
  | grep '"tag_name"'

Compare against seogeo --version. If they match, tell the user they are current and stop — do not reinstall for no reason.


Step 3 — Upgrade the binary

The install script is idempotent and replaces the binary in place:

curl -fsSL https://raw.githubusercontent.com/asale-ai/seo-geo-skill/main/install.sh | sh

On Windows PowerShell:

irm https://raw.githubusercontent.com/asale-ai/seo-geo-skill/main/install.ps1 | iex

The script verifies the release checksum before installing. If verification fails it aborts without touching the existing binary — report the failure verbatim and stop.


Step 4 — Reinstall the skills

The new binary carries the new skills:

seogeo install --target all

This writes to every agent tool detected on the machine (Claude Code, Codex CLI, Gemini CLI, OpenCode, and any AGENTS.md-based agent) and skips the ones that are not present. To target one tool:

seogeo install --target claude
seogeo install --target codex

Preview without writing:

seogeo install --target all --dry-run --json

Step 5 — Verify

seogeo --version
seogeo commands --json | head -20
seogeo install --list

Confirm the version advanced and that the skill count matches what install --list reports. Tell the user which tools were updated and remind them that Claude Code picks up new skills on the next session start.


What is preserved

Updating never touches user state. These survive an upgrade:

State Location
Drift baselines ~/.cache/seogeo/drift/baselines.db
CRM prospects <data dir>/seogeo/prospects.json
DataForSEO cost ledger <data dir>/seogeo/dataforseo-costs.json
Google API config ~/.config/seogeo/google-api.json
Backlink API config ~/.config/seogeo/backlinks-api.json

Skill files are overwritten. If the user edited a bundled skill, tell them to copy it to a new name before updating.