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

message-injector

harukaon 제작

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

요약

OpenClaw plugin that prepends custom text to every user message before it reaches the agent.

설명

이 스킬이 하는 일

A workspace extension for OpenClaw that prepends custom text to every user message before the agent processes it. Uses the `before_agent_start` hook to inject text at the Gateway level, making it impossible for the agent to bypass. Works across all channels.

Unlike system prompt edits that vary per session or client, this injects at the Gateway level so the instruction applies universally regardless of which channel or client is used.

사용 시점

  • Force memory search before every agent reply
  • Inject current project context into each conversation turn
  • Enforce safety rules like confirming before file deletion
  • Add persistent reminders without modifying each prompt manually
  • Maintain consistent persona or language instructions across sessions

예시 워크플로

입력

User asks: 'Delete the old logs folder'

에이전트
  1. 1

    before_agent_start hook fires on incoming message

  2. 2

    Plugin reads prependText from config: '[RULE: Always verify file paths before deletion. Never run rm -rf without confirmation.]'

  3. 3

    prependContext prepends the rule to the user message

  4. 4

    Agent receives combined message: rule + original user request

  5. 5

    Agent processes message with injected constraint in context

출력

Agent responds by asking for confirmation before proceeding with deletion

요구 사항

  • OpenClaw Gateway installed and running

설치

clawhub install harukaon/message-injector

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

링크