# Sync Targets

> A Claude skill from Jerrylalala/compound-engineering.

- **Type:** Skill
- **Install:** `agentstack add skill-jerrylalala-compound-engineering-sync-targets`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Jerrylalala](https://agentstack.voostack.com/s/jerrylalala)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Jerrylalala](https://github.com/Jerrylalala)
- **Source:** https://github.com/Jerrylalala/compound-engineering/tree/main/plugins/compound-engineering/skills-custom/sync-targets

## Install

```sh
agentstack add skill-jerrylalala-compound-engineering-sync-targets
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# sync-targets

将本地 compound-engineering 插件同步安装到 Codex CLI 和 Gemini CLI。

## 使用场景

当用户说以下内容时触发此技能：
- "同步到 Gemini"
- "同步到 Codex"
- "安装到 Gemini 和 Codex"
- "更新 Gemini 配置"
- "sync to targets"

## 执行流程

### 1. 确认当前仓库

确认当前工作目录是 `compound-engineering` 仓库：

```bash
# 验证插件目录存在
ls plugins/compound-engineering/.claude-plugin/plugin.json
```

### 2. 同步到 Codex

**注意**：此操作只同步 3 个 Codex 兼容入口 workflow skill（brainstorm/plan/review），不安装整个插件。

```powershell
powershell -ExecutionPolicy Bypass -File scripts/sync-codex-workflows.ps1
```

输出位置: `~/.codex/skills/workflows-{brainstorm,plan,review}/`

### 3. 安装到 Gemini

```bash
bun run src/index.ts install plugins/compound-engineering --to gemini --output ~
```

输出位置: `~/.gemini/`

### 4. 验证安装

```bash
# 检查 Codex
ls ~/.codex/skills/ | head -5

# 检查 Gemini
ls ~/.gemini/skills/ | head -5
test -f ~/.gemini/settings.json && echo "settings.json exists"
```

## 一键命令（Windows PowerShell）

```powershell
powershell -ExecutionPolicy Bypass -File scripts/sync-to-targets.ps1
```

## 参数说明

| 参数 | 说明 |
|------|------|
| `-GeminiHome` | Gemini 输出目录，默认 `$HOME` |
| `-CodexOnly` | 只安装到 Codex |
| `-GeminiOnly` | 只安装到 Gemini |

## 注意事项

- 此操作面向维护者本机同步，会覆盖目标位置的同名插件配置
- Gemini CLI 需要 `.gemini/skills/*/SKILL.md`；有命令或 MCP 时还会写入 `.gemini/commands/*.toml` 和 `.gemini/settings.json`
- Codex CLI 需要 `.codex/skills/*/SKILL.md`；完整 CLI 安装还会写入 `.codex/prompts/*.md` 和 `.codex/AGENTS.md`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Jerrylalala](https://github.com/Jerrylalala)
- **Source:** [Jerrylalala/compound-engineering](https://github.com/Jerrylalala/compound-engineering)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-jerrylalala-compound-engineering-sync-targets
- Seller: https://agentstack.voostack.com/s/jerrylalala
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
