Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/jerrylalala/compound-engineering/sync-targetsnpx skills add Jerrylalala/compound-engineering --skill sync-targetsgit clone --depth 1 https://github.com/Jerrylalala/compound-engineeringWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jerrylalala/compound-engineering/sync-targets)<a href="https://agentmods.dev/skills/jerrylalala/compound-engineering/sync-targets"><img src="https://agentmods.dev/badge/skills/jerrylalala/compound-engineering/sync-targets.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00535 |
| Opus 5 | $0.00000 | $0.00267 |
| Sonnet 5 | $0.00000 | $0.00107 |
| Haiku 4.5 | $0.00000 | $0.00053 |
Grade C, and why
sync-targets scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
test -f ~/.gemini/settings.json && echo "settings.json exists" Enumerates other installed skillsmediumAgent snooping
Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.
ls ~/.codex/skills/ | head -5 What it actually says
sync-targets
将本地 compound-engineering 插件同步安装到 Codex CLI 和 Gemini CLI。
使用场景
当用户说以下内容时触发此技能:
- "同步到 Gemini"
- "同步到 Codex"
- "安装到 Gemini 和 Codex"
- "更新 Gemini 配置"
- "sync to targets"
执行流程
1. 确认当前仓库
确认当前工作目录是 compound-engineering 仓库:
# 验证插件目录存在
ls plugins/compound-engineering/.claude-plugin/plugin.json
2. 同步到 Codex
注意:此操作只同步 3 个 Codex 兼容入口 workflow skill(brainstorm/plan/review),不安装整个插件。
powershell -ExecutionPolicy Bypass -File scripts/sync-codex-workflows.ps1
输出位置: ~/.codex/skills/workflows-{brainstorm,plan,review}/
3. 安装到 Gemini
bun run src/index.ts install plugins/compound-engineering --to gemini --output ~
输出位置: ~/.gemini/
4. 验证安装
# 检查 Codex
ls ~/.codex/skills/ | head -5
# 检查 Gemini
ls ~/.gemini/skills/ | head -5
test -f ~/.gemini/settings.json && echo "settings.json exists"
一键命令(Windows 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
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 73 lines · 0 tokens per session scan C fd1be79dfa0d
sync-targets is a skill published in the GitHub repository Jerrylalala/compound-engineering (5 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 535 tokens. A static security scan graded it C with 2 findings (reads agent configuration directories, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…