编程

agentdots-sync

试用

Use when users ask to sync, restore, apply, back up, push, or roll back local agent instructions, rules, or skills for Codex, Claude Code, OpenCode, Grok Build, CodeBuddy Code, WorkBuddy, or another Agent Skills-compatible platform.

它能做什么

Use when users ask to sync, restore, apply, back up, push, or roll back local agent instructions, rules, or skills for Codex, Claude Code, OpenCode, Grok Build, CodeBuddy Code, WorkBuddy, or another Agent Skills-compatible platform.

技能文档

agentdots-sync

Safely synchronize explicitly selected local agent assets with a Git remote. This Skill copies files; it does not translate AGENTS.md, CLAUDE.md, platform rules, or configuration formats into one another.

Platform selection

Use --platform to select safe defaults. Run --list-platforms when the platform or defaults are uncertain. Built-in profiles cover codex, claude-code, opencode, grok-build, codebuddy-code, workbuddy, and custom; aliases such as claude, grok, and codebuddy resolve to canonical names.

WorkBuddy and custom require an explicit --root; custom also requires one or more --asset. For project-level assets, override both --root and --asset rather than assuming that global and project layouts match. Use this Skill only where the agent can access the local filesystem and execute Python; browser-only chat surfaces cannot synchronize local configuration directories.

Safety contract

Default to read-only inspection. Before a write, replacement, rollback, or push:

  1. Resolve the canonical platform, direction, local root, backup directory, remote, branch, and every selected asset.
  2. Show those exact targets and obtain explicit authorization for this run. “Sync it” is not permission to choose a direction or overwrite files.
  3. Execute only the approved command with --yes. Stop on any Git, validation, lock, or permission failure.

Never use cross-platform defaults to copy one platform's instruction file over another platform's differently named file. If the user wants format conversion, treat that as a separate transformation task.

Resolve the script from this loaded Skill's actual directory. Replace `` below with that absolute path.

Workflow

python3 /scripts/sync.py --list-platforms
python3 /scripts/sync.py --platform  --doctor
python3 /scripts/sync.py --platform  --plan
python3 /scripts/sync.py --platform  --apply --plan --remote  --branch 

After the user approves the exact plan, use one mutation mode:

python3 /scripts/sync.py --platform  --restore --yes --remote  --branch 
python3 /scripts/sync.py --platform  --apply --yes --remote  --branch 
python3 /scripts/sync.py --platform  --push --yes --remote  --branch  --message 
python3 /scripts/sync.py --platform  --rollback --yes

Repeat --asset to override profile assets. Use --root or --backup-dir only when the resolved profile defaults do not match the user's real layout.

--apply and --restore back up existing selected local assets before replacement. A first apply with no existing selected asset has nothing to back up. Rollback protects current requested assets, then restores only the requested intersection recorded in the selected backup manifest. Push stages only selected paths and never force-pushes.

Stop conditions

Never install or authenticate Git tooling, create or guess repositories or branches, resolve conflicts automatically, synchronize a home directory, bypass target validation, remove an unverified lock, or run concurrent mutations against the same root.

相关技能

Use when preserving, searching, reviewing, or exporting user-owned agent memory across OpenClaw, Codex, Claude, OpenCode, Hermes, Qoder, Obsidian, and Git. Inputs are local memory/chat stores and handoff summaries; outputs are Obsidian sources, memory indexes, context/profile packs, skill inventorie

8 次安装1 星标

Audit and converge local skills across Codex, Claude, OpenClaw, OpenCode, workspace skills, and shared agent libraries; compute a hygiene score, classify sha...

16 次安装

Use this skill when you need to publish, fetch, search, list, share, or watch AgentFiles artifacts from Codex, Claude Code, OpenClaw, or other agent runtimes...

17 次安装

Delegate coding, repository analysis, file edits, test runs, or code review to the local Codex CLI without embedding an OpenAI API key. This skill was created to work with ChatGPT/Codex enterprise accounts that may not have the same level of API access. Invokes codex exec with existing ChatGPT/Codex CLI authentication and returns Codex's final output.

6 次安装1 星标