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/baek-labs/hames/source-command-subpushnpx skills add baek-labs/hames --skill source-command-subpushgit clone --depth 1 https://github.com/baek-labs/hamesWhat 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.00033 | $0.01273 |
| Opus 5 | $0.00016 | $0.00636 |
| Sonnet 5 | $0.00007 | $0.00255 |
| Haiku 4.5 | $0.00003 | $0.00127 |
Grade A, and why
source-command-subpush 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 2d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
source-command-subpush
Use this skill when the user asks to run the migrated source command subpush.
Command Template
/subpush
서브모듈 작업 후 "서브모듈 push → Hames gitlink bump 커밋" 2단 흐름을 자동화한다.
Hames 루트 push는 포함하지 않는다 — 그것은 /save의 역할이다.
사용법
A. 서브모듈 안에서 커밋까지 끝낸 경우:
/subpush <submodule_path>
예: /subpush my-submodule
B. 워킹트리 변경분 통째로 커밋 + 흐름 전체 실행:
/subpush <submodule_path> "<commit message>"
예: /subpush my-submodule "feat: add new content"
사전 조건
- CWD가 Hames 루트(
{{HAMES_ROOT}})여야 한다. <submodule_path>는 Hames 기준 상대경로 (예:my-submodule-a,my-submodule-b).- 격리 도메인은 이 커맨드 대상이 아니다.
부정형 결론 안전장치 (전 단계 공통)
이 스킬의 모든 단계에서 "변경 없음 / 이미 동기화됨 / 커밋할 내용 없음 / gitlink 변경 없음" 같은 부정형 결론을 내리기 전:
- 직전에 실행한 검증 명령의 raw 출력을 화면에 그대로 표시 (요약·재해석 금지).
- raw 출력이 진짜로 비어있을 때만 부정형 결론을 낸다.
- raw 출력에 1줄이라도 있으면 다음 단계로 진행.
특히 Step 3의 ahead/behind 카운트, Step 4의 git status --short <submodule_path> 출력은 결정 직전에 raw로 박아둔다.
실행 순서
Step 1 — 인자 검증
- 사용자 인자 첫 토큰이 비어있으면 "서브모듈 경로를 입력해주세요" 후 중단.
- 해당 경로가
.gitmodules에 등록돼 있는지 확인:
없으면 "서브모듈이 아닙니다" 출력 후 중단.git config --file .gitmodules --get-regexp path | grep -F "<submodule_path>"
Step 2 — (모드 B인 경우만) 서브모듈 안에서 커밋
cd <submodule_path>
git add -A
git status --short # 사용자에게 변경 내역 확인 출력
git commit -m "<commit message>"
- 변경분이 없으면 "커밋할 내용 없음" 출력 후 Step 3로 진행 (push만 시도).
Step 3 — 서브모듈 push
cd <submodule_path> # 이미 안에 있으면 생략
git rev-list --left-right --count '@{u}...HEAD' 2>/dev/null
- ahead가 0이면 "이미 동기화됨, push 생략" 출력 후 Step 4로.
- ahead가 1 이상이면:
git push - upstream이 설정 안 돼 있으면(
fatal: no upstream) 사용자에게 보고하고 중단.
Step 4 — Hames 루트로 복귀 후 gitlink 상태 확인
cd {{HAMES_ROOT}}
git status --short <submodule_path>
M <submodule_path>이 보이면 gitlink 갱신 필요 → Step 5.- 출력 없으면 "gitlink 변경 없음" 출력 후 종료.
Step 5 — gitlink 커밋 (Hames push 없음)
git add <submodule_path>
git commit -m "chore: bump <submodule_path> gitlink"
- push는 하지 않는다. Hames 루트 push가 필요하면
/save를 별도로 실행한다.
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.
- 2d ago First seen · 114 lines · 33 tokens per session scan A fa6896076917
source-command-subpush is a skill published in the GitHub repository baek-labs/hames (5 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 1,273 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.
Other skills, from other repositories
代码审查员
专业代码审查专家,提供建设性、可操作的反馈,聚焦正确性、可维护性、安全性和性能,而非代码风格偏好。.
release-gate-loop
发版前自动验证闸门——V 验证 + F 修复循环(verdict FAIL → F 改代码 → 跑 audit → V 重验),最大 3 轮直到 PASS。纯只读验证 + 最小修复。.
fresh-eyes-loop
发布后独立质量循环——A/B 双盲 12 视角 fresh-eyes 审查 + 修复 + 验证,每轮新 session 保证零上下文,连续 2 轮无 P0/P1 即停。.
sofagent-fde
前线部署与知识工程专家。梳理企业业务流、识别 AI 节点、构建 ontology 本体数据、交付离场。 部署完成后转为持续优化模式(sustain),自动读 audit 报告趋势生成优化报告。 不写应用代码——把企业业务规则、组织架构、系统边界转译成 sofagent 的数据层和约束层。.
sofagent-audit
收到用户任务后,不要自己执行——用 Bash tool 把任务交给 DeepAgents 编排引擎:.
sofagent
FDE Skill——帮 FDE(前线部署工程师)更好完成企业 AI 落地的方法论 Skill。约束 Agent 行为、审计每次变更、沉淀经验。 底层实现叫约束层——一个层四种能力:注入·审计·回溯·进化。FORGE 自迭代工具链是内部开发工具。 内置持续优化模式(sustain),自动读 audit 报告趋势生成优化报告。.