跳到正文
cccskills
免费在 GitHub 公开

geo-update

Pull the latest GEO-SEO skill updates from the upstream repository. Compares installed files against the latest release, shows what changed, and updates all skills, agents, scripts, and schema templates in place.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md5.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

GEO-SEO Update Skill

Purpose

Updates the locally installed GEO-SEO skills, agents, scripts, and schema templates to the latest version from the upstream repository. Shows a summary of what changed before and after the update.


Update Workflow

Step 1: Determine Installed Location

The GEO-SEO toolkit installs to these locations under ~/.codex/:

ComponentInstall Path
Main skill~/.codex/skills/geo/
Sub-skills~/.codex/skills/geo-*/
Agents~/.codex/agents/geo-*.toml
Scripts~/.codex/skills/geo/scripts/
Schema templates~/.codex/skills/geo/schema/
Hooks~/.codex/skills/geo/hooks/

Verify the installation exists by checking for ~/.codex/skills/geo/SKILL.md. If it does not exist, inform the user that GEO-SEO is not installed and suggest running the installer instead.

Step 2: Clone Latest from Upstream

TEMP_DIR=$(mktemp -d)
git clone --depth 1 https://github.com/bytefer/geo-seo-codex.git "$TEMP_DIR/repo"

If the clone fails, report the error and stop. Do not modify any installed files.

Step 3: Compare Installed vs Latest

Before copying files, generate a diff summary so the user knows what will change:

  1. For each component directory, compare the installed files against the cloned files using diff --recursive --brief.
  2. Categorise changes as:
    • New files — exist in upstream but not locally
    • Modified files — exist in both but differ
    • Removed files — exist locally but not in upstream (these are NOT deleted automatically)
  3. Present the summary to the user.

Step 4: Apply Updates

Copy files from the cloned repo over the installed locations:

CODEX_DIR="${CODEX_HOME:-${HOME}/.codex}"
SKILLS_DIR="${CODEX_SKILLS_DIR:-${CODEX_DIR}/skills}"
AGENTS_DIR="${CODEX_AGENTS_DIR:-${CODEX_DIR}/agents}"
INSTALL_DIR="${SKILLS_DIR}/geo"
VENV_DIR="${INSTALL_DIR}/.venv"
VENV_PY="${VENV_DIR}/bin/python"
SOURCE_DIR="$TEMP_DIR/repo"

# Main skill
mkdir -p "$INSTALL_DIR"
cp -R "$SOURCE_DIR/skills/geo/." "$INSTALL_DIR/"

# Sub-skills
for skill_dir in "$SOURCE_DIR/skills"/*/; do
    skill_name=$(basename "$skill_dir")
    [ "$skill_name" = "geo" ] && continue
    mkdir -p "$SKILLS_DIR/${skill_name}"
    cp -R "$skill_dir/." "$SKILLS_DIR/${skill_name}/"
done

# Agents
mkdir -p "$AGENTS_DIR"
for agent_file in "$SOURCE_DIR/agents/"*.toml; do
    [ -f "$agent_file" ] || continue
    cp "$agent_file" "$AGENTS_DIR/"
done

# Scripts
if [ -d "$SOURCE_DIR/scripts" ]; then
    mkdir -p "$INSTALL_DIR/scripts"
    cp -R "$SOURCE_DIR/scripts/." "$INSTALL_DIR/scripts/"
    chmod +x "$INSTALL_DIR/scripts/"*.py "$INSTALL_DIR/scripts/webapp/"*.py 2>/dev/null || true
fi

# Schema templates
if [ -d "$SOURCE_DIR/schema" ]; then
    mkdir -p "$INSTALL_DIR/schema"
    cp -R "$SOURCE_DIR/schema/." "$INSTALL_DIR/schema/"
fi

# Report templates
if [ -d "$SOURCE_DIR/templates" ]; then
    mkdir -p "$INSTALL_DIR/templates"
    cp -R "$SOURCE_DIR/templates/." "$INSTALL_DIR/templates/"
fi

# White-label support files
if [ -d "$SOURCE_DIR/white-label" ]; then
    mkdir -p "$INSTALL_DIR/white-label"
    cp -R "$SOURCE_DIR/white-label/." "$INSTALL_DIR/white-label/"
fi

# Hooks
if [ -d "$SOURCE_DIR/hooks" ] && [ "$(ls -A "$SOURCE_DIR/hooks" 2>/dev/null)" ]; then
    mkdir -p "$INSTALL_DIR/hooks"
    cp -R "$SOURCE_DIR/hooks/." "$INSTALL_DIR/hooks/"
    chmod +x "$INSTALL_DIR/hooks/"* 2>/dev/null || true
fi

Step 5: Update Python Dependencies

If requirements.txt exists in the upstream repo and differs from the installed version:

if [ ! -x "$VENV_PY" ]; then
    python3 -m venv "$VENV_DIR"
fi

"$VENV_PY" -m pip install --upgrade pip --quiet
"$VENV_PY" -m pip install -r "$SOURCE_DIR/requirements.txt" --quiet
cp "$SOURCE_DIR/requirements.txt" "$INSTALL_DIR/" 2>/dev/null || true

for f in "$INSTALL_DIR"/scripts/*.py "$INSTALL_DIR"/scripts/webapp/*.py; do
    [ -f "$f" ] || continue
    sed -i.bak "1s|^#!.*|#!${VENV_PY}|" "$f" && rm -f "${f}.bak"
    chmod +x "$f"
done

Report any failures but do not treat them as fatal.

Step 6: Clean Up

rm -rf "$TEMP_DIR"

Step 7: Report Results

Present a summary:

GEO-SEO Update Complete
=======================
New files:      [count]
Modified files: [count]
Unchanged:      [count]
Removed upstream (kept locally): [count]

Dependencies: [updated / unchanged / failed]

If there were removed files upstream, list them and suggest the user review whether to delete them manually.


Important Notes

  • Never delete locally installed files that no longer exist upstream. The user may have customised them. List them and let the user decide.
  • Never modify ~/.codex/config.toml or other user Codex configuration files — these are user configuration files, not part of the GEO-SEO toolkit.
  • If already up to date (no diff), report that and skip the copy step.
  • Restart notice: Remind the user that skill changes take effect in new Codex sessions. They should restart their session to use the updated skills.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

geo

免费

GEO-first SEO analysis tool. Optimizes websites for AI-powered search engines (ChatGPT, Claude, Perplexity, Gemini, Google AI Overviews) while maintaining traditional SEO foundations. Performs full GEO audits, citability scoring, AI crawler analysis, llms.txt generation, brand mention scanning, platform-specific optimization, schema markup, technical SEO, content quality (E-E-A-T), and client-ready GEO report generation. Use when user says "geo", "seo", "audit", "AI search", "AI visibility", "optimize", "citability", "llms.txt", "schema", "brand mentions", "GEO report", or any URL for analysis.

中文简介正在准备中。当前显示原文说明。

bytefer/geo-seo-codex122026年7月1日 更新

geo-audit

免费

Full website GEO+SEO audit with parallel agents first and skills fallback. Orchestrates a comprehensive Generative Engine Optimization audit across AI citability, platform analysis, technical infrastructure, content quality, and schema markup. Produces a composite GEO Score (0-100) with prioritized action plan.

中文简介正在准备中。当前显示原文说明。

bytefer/geo-seo-codex122026年7月1日 更新

Brand mention and authority scanner for AI visibility. Analyzes brand presence across platforms that AI models rely on for entity recognition and citation decisions. Produces a Brand Authority Score (0-100) with platform-specific recommendations.

中文简介正在准备中。当前显示原文说明。

bytefer/geo-seo-codex122026年7月1日 更新

AI citability scoring and optimization. Analyzes web page content to determine how likely AI systems (ChatGPT, Claude, Perplexity, Gemini) are to cite or quote passages from the page. Provides a citability score (0-100) with specific rewrite suggestions.

中文简介正在准备中。当前显示原文说明。

bytefer/geo-seo-codex122026年7月1日 更新

Monthly delta tracking and progress reporting for GEO clients. Compares two GEO audits (baseline vs. current), calculates score improvements across all categories, tracks action item completion, and generates a "here's your progress" client report. Use when user says "compare", "delta", "monthly report", "progress", "confronta", "progressi", "report mensile", or when running a monthly client check-in.

中文简介正在准备中。当前显示原文说明。

bytefer/geo-seo-codex122026年7月1日 更新

Content quality and E-E-A-T assessment for AI citability — evaluate experience, expertise, authoritativeness, trustworthiness, and content structure

中文简介正在准备中。当前显示原文说明。

bytefer/geo-seo-codex122026年7月1日 更新

查看 bytefer 的全部技能

报告此技能的问题