본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

core-prompt-patcher

oki3505f 제작

Web & Frontend Development
297clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

**Dynamic SOUL.md-based persona injector** - Automatically syncs your workspace SOUL.md into OpenClaw's core system.

설명

이 스킬이 하는 일

Reads a workspace SOUL.md file and patches its contents into OpenClaw's compiled core system prompt. Tracks version changes and content hashes to avoid redundant writes. Survives OpenClaw updates that would otherwise overwrite the dist/ directory.

Patching the compiled JS directly means persona changes take effect immediately without forking or maintaining a separate OpenClaw build.

사용 시점

  • Reapplying persona after a global OpenClaw npm update
  • Pushing SOUL.md edits into the active system prompt without restarting
  • Verifying the current patch state before a demo or session
  • Force-repatching when prompt behavior feels off after an update
  • Automating persona sync in a post-install script

예시 워크플로

입력

User asks: Sync my SOUL.md to the core prompt

에이전트
  1. 1

    Reads SOUL.md from ~/.openclaw/workspace/SOUL.md

  2. 2

    Checks .patcher-state.json for current OpenClaw version and last SOUL.md hash

  3. 3

    Compares stored hash against current file hash to detect changes

  4. 4

    Locates injection point in OpenClaw's compiled JS

  5. 5

    Writes patched file and updates .patcher-state.json with new version and hash

출력

Core system prompt updated with current SOUL.md content; state file records the patch

요구 사항

  • OpenClaw installed globally via npm
  • SOUL.md file created at ~/.openclaw/workspace/SOUL.md

설치

clawhub install oki3505f/core-prompt-patcher

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크