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-savenpx skills add baek-labs/hames --skill source-command-savegit 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.00028 | $0.01157 |
| Opus 5 | $0.00014 | $0.00579 |
| Sonnet 5 | $0.00006 | $0.00231 |
| Haiku 4.5 | $0.00003 | $0.00116 |
Grade A, and why
source-command-save 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 — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
source-command-save
Use this skill when the user asks to run the migrated source command save.
Command Template
/save
Hames 루트의 모든 변경분(.gitignore 제외)을 한 번에 커밋하고 main에 push한다. 서브모듈이 이미 push된 상태라는 전제 위에서, 어떤 서브모듈이라도 unpushed/dirty 상태이면 즉시 멈춰 경고한다.
사용법
/save
인자 없음. 커밋 메시지는 자동 생성.
사전 조건
- CWD가 Hames 루트(
{{HAMES_ROOT}})여야 한다. - 현재 브랜치가
main이어야 한다.
실행 순서
Step 1 — 환경 검증
git rev-parse --show-toplevel
git branch --show-current
- 루트가 Hames 루트가 아니면 중단.
- 브랜치가
main이 아니면 "main 브랜치에서만 실행 가능" 출력 후 중단.
Step 2 — 서브모듈 안전 검증 (블로킹)
.gitmodules에 등록된 모든 서브모듈을 순회하며 두 항목을 확인한다. 하나라도 걸리면 즉시 중단하고 문제 서브모듈을 모두 모아 한 번에 보고한다.
git config --file .gitmodules --get-regexp path
각 서브모듈에 대해:
cd <submodule_path>
git status --porcelain
git rev-list --left-right --count '@{u}...HEAD'
차단 조건:
git status --porcelain출력이 비어있지 않다 → "더티 워킹트리"- ahead > 0 → "unpushed commit 있음"
- upstream 미설정 → "upstream 미설정"
차단 시 출력 형식:
서브모듈 안전 검증 실패. push 중단.
- <path1>: 더티 워킹트리
- <path2>: unpushed commit 3개
이후 사용자에게 /subpush <path> 또는 직접 정리 후 재실행 안내.
Step 3 — 루트 변경 유무 확인
부정형 결론 안전장치: 아래 명령의 raw 출력을 화면에 그대로 박은 뒤에만 결론을 낸다. "변경사항 없음"이라는 부정형 결론을 raw 출력 표시 없이 내릴 수 없다.
cd {{HAMES_ROOT}}
git status --porcelain --untracked-files=all
- raw 출력을 그대로(요약·재해석 금지) 사용자에게 표시.
- raw 출력이 진짜로 0줄일 때만 "변경사항 없음" 후 종료.
- 1줄이라도 있으면 Step 4로 (gitlink 변경이 있든 없든 무관).
Step 4 — 일괄 스테이징
git add -A
Step 5 — 자동 커밋 메시지 생성
git diff --cached --name-only로 스테이지 목록을 받아 다음 규칙으로 메시지 결정:
- 서브모듈 gitlink 1개뿐:
chore: bump <path> gitlink - 서브모듈 gitlink 2개 이상 + 루트 파일 변경 없음:
chore: bump gitlinks (<path1>, <path2>, ...) - 그 외 (루트 파일 포함 / 혼합 / 루트만):
chore: snapshot YYYY-MM-DD HH:MM(현지 시간)
git commit -m "<message>"
Step 6 — push
git push origin main
Step 7 — 검증 보고
git rev-list --left-right --count origin/main...HEAD
0 0이면 "save 완료 — " 한 줄.- 그 외엔 ahead/behind 숫자 + 다음 액션.
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 · 124 lines · 28 tokens per session scan A dfc15fbb16b3
source-command-save is a skill published in the GitHub repository baek-labs/hames (5 stars, last pushed 1mo ago), licensed MIT. It adds 28 tokens to every session and 1,157 once invoked, about $0.0001 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 报告趋势生成优化报告。.