कंटेंट पर जाएँ
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 या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक