skills/agent-system-update/SKILL.md
업스트림 변경 중 안전한 것만 반영하고, 충돌 파일은 건드리지 않거나 백업 후 적용한다
npx skillsauth add southglory/system-agents-template agent-system-updateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/agent-system-update 명령이 수행하는 작업.
인자 없이 호출하면 아무것도 쓰지 않고 계획만 출력한다.
python bot/agent_system_updater.py update
출력 예:
Planned safe updates (3):
bot/turn-bot.py
skills/check-chatroom/SKILL.md
bot/discord_lib/storage.py
⚠ 1 user-modified files ALSO changed upstream:
agents/recruiter/CLAUDE.md
These are SKIPPED. Inspect them with `... diff <path>` and
re-run with --include-conflicts to adopt upstream anyway.
Dry-run only. Re-run with --apply to make the changes.
--apply안전한 업데이트만(= untouched + upstream-changed) 실제로 덮어쓴다. 사용자가 수정한 파일(user-modified)은 기본적으로 건드리지 않는다.
python bot/agent_system_updater.py update --apply
template.sha, plugins[].sha 필드도 현재 업스트림 값으로 전진--include-conflicts사용자가 수정했는데 업스트림도 바뀐 파일을 강제로 업스트림으로 맞추고 싶으면:
python bot/agent_system_updater.py update --apply --include-conflicts
각 충돌 파일은 덮어쓰기 전 <file>.bak.<unix-ts> 로 백업된다. 나중에 복구하거나 수동 병합 기준으로 쓸 수 있다.
local=untouched + upstream=changed — 내가 건드리지 않았고 업스트림만 바뀜. 충돌 없이 교체.local=user-modified + upstream=changed — 양쪽 다 바뀜. --include-conflicts가 있어야만 적용.same 또는 user-modified+unchanged. 조용히 넘김.update가 건드리지 않음 (향후 --restore-missing 옵션 고려).1. manifest + 업스트림 clone
2. compare() 로 diff 리스트 생성
3. dry-run: 계획만 출력
4. --apply: 안전한 항목 적용 + 매니페스트 sha 갱신
5. --include-conflicts: 위에 + 충돌 항목도 .bak 백업 후 덮어쓰기
/agent-system-diff로 내용을 본 뒤 사용자가 수동으로 해결.upstream=removed 항목은 현재 리포트만 하고 로컬 파일을 지우진 않음. 중요한 파일을 실수로 잃을 위험을 피하기 위함.shutil.copy2만 사용. 대다수 프로젝트에 충분.git, Python 3.10+ (stdlib만)manifest not found — install.sh로 먼저 설치한 적이 없는 프로젝트.failed to clone ... — 네트워크 또는 레포 URL 변경.tools
에이전트 간 채팅방에 메시지를 보낸다. 인자로 채팅방 이름을 받는다.
business
이번 턴의 작업 결과를 관련 채팅방에 자동으로 공유한다.
tools
새 에이전트를 영입한다. 문답을 통해 역할을 정의하고 필요한 파일을 자동 생성한다.
tools
현재 에이전트의 턴을 종료한다.