source-command-sync

A synchronisation command that copies the canonical Codex skills to an Antigravity mirror and aligns selected Codex hook configuration files.

In plain words
What is it for?
It is for synchronising skills, removing orphaned mirror files, checking hook command sets and repository paths, and previewing changes with a dry run.
Why use it?
It reduces differences between the main skill files and their mirror, and reports missing, extra, or invalid files before they cause inconsistent behaviour.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/baek-labs/hames/source-command-sync
Any agent
npx skills add baek-labs/hames --skill source-command-sync
Clone the repo
git clone --depth 1 https://github.com/baek-labs/hames

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00031 $0.00579
Opus 5 $0.00015 $0.00290
Sonnet 5 $0.00006 $0.00116
Haiku 4.5 $0.00003 $0.00058

Measured yesterday against content hash 69d9b302f698, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

source-command-sync scanned grade A with 0 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 yesterday.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.codex/skills/source-command-sync/SKILL.md · 55 lines

What it actually says

source-command-sync

Use this skill when the user asks to run the migrated source command sync.

Command Template

/sync

사용법: /sync (인수 없음) / /sync --dry-run

역할

슬래시 커맨드를 SKILL.md 형식으로 사용하는 Codex 정본과 Antigravity 미러를 동기화한다. 또한 Codex hook surface인 .codex/hooks.json.codex/config.toml의 managed hook command set을 repo-root 기반 경로로 동기화한다.

  • 단일 소스: .codex/skills/ (Codex App/CLI 공용 정본)
  • 미러 타겟: .agent/skills/ (Antigravity)
  • Codex hook surface: .codex/hooks.json, .codex/config.toml (최신 파일을 source hint로 보고 동일 command set으로 정규화)

.claude/commands/*.md는 형식이 달라 본 sync 대상 아님 — 별도 유지.

실행 순서

Step 1 — 인자 확인

  • 사용자 인자가 --dry-run 또는 dry-run이면 dry-run 모드 (실제 복사 없이 변경 예정 보고)
  • 인자 없으면 실제 동기화 실행

Step 2 — 동기화 실행

실제 동기화:

powershell -NoProfile -ExecutionPolicy Bypass -File arsenal/sync_skills.ps1

Dry-run:

powershell -NoProfile -ExecutionPolicy Bypass -File arsenal/sync_skills.ps1 -DryRun

Step 3 — 결과 보고

  • 복사된 스킬 수, 제거된 orphan 수, 검증 결과(VERIFY PASS / VERIFY FAIL) 출력
  • Codex hook surface 변경 여부와 repo-local 경로 검증 결과 출력
  • VERIFY FAIL 시 어느 디렉토리에 diff 있는지 보고 후 수동 확인 요청

주의

  • 스킬 편집은 항상 .codex/skills/에서만 진행. 그 후 /sync 호출하여 .agent/skills/ 미러 갱신
  • 실수로 .agent/skills/에 직접 편집한 경우, /sync 실행 시 그 변경분이 덮어쓰여짐
  • .codex/hooks.json.codex/config.toml은 포맷이 다르므로 파일 전체를 복사하지 않고, managed hook command만 동기화한다. Agent registry는 유지한다.
Changes

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.

  1. yesterday First seen · 55 lines · 31 tokens per session scan A 69d9b302f698

Subscribe to this mod's changes

source-command-sync is a skill published in the GitHub repository baek-labs/hames (5 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 579 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

代码审查员

专业代码审查专家,提供建设性、可操作的反馈,聚焦正确性、可维护性、安全性和性能,而非代码风格偏好。.

KongFangXun/sofagent · 40 tokens

release-gate-loop

发版前自动验证闸门——V 验证 + F 修复循环(verdict FAIL → F 改代码 → 跑 audit → V 重验),最大 3 轮直到 PASS。纯只读验证 + 最小修复。.

KongFangXun/sofagent · 59 tokens

fresh-eyes-loop

发布后独立质量循环——A/B 双盲 12 视角 fresh-eyes 审查 + 修复 + 验证,每轮新 session 保证零上下文,连续 2 轮无 P0/P1 即停。.

KongFangXun/sofagent · 58 tokens

sofagent-fde

前线部署与知识工程专家。梳理企业业务流、识别 AI 节点、构建 ontology 本体数据、交付离场。 部署完成后转为持续优化模式(sustain),自动读 audit 报告趋势生成优化报告。 不写应用代码——把企业业务规则、组织架构、系统边界转译成 sofagent 的数据层和约束层。.

KongFangXun/sofagent · 93 tokens

sofagent-audit

收到用户任务后,不要自己执行——用 Bash tool 把任务交给 DeepAgents 编排引擎:.

KongFangXun/sofagent · 43 tokens

sofagent

FDE Skill——帮 FDE(前线部署工程师)更好完成企业 AI 落地的方法论 Skill。约束 Agent 行为、审计每次变更、沉淀经验。 底层实现叫约束层——一个层四种能力:注入·审计·回溯·进化。FORGE 自迭代工具链是内部开发工具。 内置持续优化模式(sustain),自动读 audit 报告趋势生成优化报告。.

KongFangXun/sofagent · 108 tokens