Skip to content
Research
Command

/km-update

Knowledge Manager 업데이트 — upstream pull + vault 경로 재적용

BOOST
From plugin
km
24810 skills2 agents10 commands
Install
> /plugin marketplace add treylom/knowledge-manager
> /plugin install km@knowledge-manager

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/km-update

Context preview

What this command does when you run it.

Knowledge Manager 업데이트 — upstream pull + vault 경로 재적용

Command definition

km-update.md
description: Knowledge Manager 업데이트 — upstream pull + vault 경로 재적용
allowed-tools: Bash

/km-update — Knowledge Manager 업데이트

배포 repo의 최신 버전을 받고, 기존 vault 설정을 자동으로 재적용합니다.

실행

bash scripts/km-update.sh

동작 순서

1. skip-worktree 설정된 파일들의 잠금 해제 2. placeholder 템플릿으로 복원 (`git checkout HEAD`) 3. `git pull origin <current-branch>` 로 upstream 업데이트 4. `scripts/configure-vault-paths.sh` 재실행 5. skip-worktree 재설정

주의사항

  • km-config.json 이외의 파일을 수동 편집했다면 stash 또는 commit 후 실행
  • vault 경로를 **변경**하고 싶다면 `/km-update` 대신 `/knowledge-manager-setup` 재실행
  • `/km-update` 실행 전 권장: `git status` 로 예상치 못한 로컬 변경 확인

에러 대응

| 에러 | 원인 | 해결 | |---|---|---| | "Uncommitted changes detected" | skip-worktree 바깥에서 수동 편집함 | `git stash` 또는 `git commit` 후 재실행 | | "Merge conflict" | upstream이 치환 구간을 수정했음 | `git mergetool` 또는 수동 해결 후 `bash scripts/configure-vault-paths.sh` | | "km-config.json not found" | setup 미실행 | `/knowledge-manager-setup` 먼저 실행 |

Ships withkm

📖 English documentation is available at the bottom of this page. 읽은 글·영상·PDF를 Obsidian 노트로 정리해 주고, 나중에 그 노트를 찾아 주는 Claude Code 플러그인이에요. 링크 하나를 건네면 요약·태그·관련 노트 연결까지 마친 노트가 vault(볼트 — Obsidian 이 노트를 모아 두는 폴더)에 저장되고, 궁금할 땐 /km:search 한 줄로 되찾습니다.

Get the whole plugin

Other commands on km.

interview
Command

interview

지식관리 설계 상담 — 폴더·MOC·wiki 대상·스킬 추천을 KM-DESIGN 문서로

@treylom@treylomInstall Command
reform
Command

reform

대량 변형 — plan(dry-run) 기본, apply 명시 시 이동·프론트매터·링크 일괄 + git 스냅샷·롤백 · check = 링크 게이트

@treylom@treylomInstall Command