사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/momhq/mom --skill mom-fold시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Invoking this skill is the user's request to wrap up. Proceed with the flow below immediately — do not ask the user to confirm they want to fold.
Folding reads the events captured since the last fold and synthesizes them into the project's markdown vault under .mom/vault/. It is the end-of-session step that turns raw captured turns into navigable memory.
Preflight
Check that mom is on PATH:
command -v momIf it is missing, tell the user MOM is not installed and ask permission to install it:
MOM is not installed. Install it now with Homebrew?
brew install momhq/tap/mom
Source: https://github.com/momhq/momIf the user agrees, run that command. If the user declines, stop. Do not install MOM without explicit permission.
Confirm a project is bound — capture and fold only work for a bound directory:
test -f .mom-project.yamlIf it is missing, the directory is unbound and nothing has been captured. Tell the user to bind first with /mom-project, then stop.
Run
mom vault foldFolding is incremental — it only processes events newer than the last watermark — and uses an LLM engine, so it can take a moment. When it finishes, run:
mom vault statusand report a one-line summary: the new watermark offset, files written, and last fold time.
Rules
- Do not pass an
--engineflag unless the user explicitly asked for a specific engine. - If
mom vault foldreports there is nothing new, say so — folding again is a safe no-op. - Never edit files under
.mom/vault/by hand from this skill; folding owns them. - CLI flag surface — never invent flags. Before using any flag on any
momsubcommand, run<subcommand> --helpand confirm the flag appears. If it is not listed, do not use it.
Postflight (version hint)
Any mom ... command may print a banner to stderr like:
MOM 0.40.1 available. Run `brew upgrade mom` or `mom self-update`If you see that line, finish the task first, then add one short line at the end of your reply suggesting the upgrade. Do not run the upgrade yourself.


