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

usewhisper-autohook

alinxus 제작

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

요약

Auto-hook tools for OpenClaw: query Whisper Context before every generation, ingest after every turn.

설명

이 스킬이 하는 일

Auto-hook wrapper for OpenClaw that queries Whisper Context before each agent generation and ingests the completed turn after. Defaults to delta compression and caching to minimize token use. Works with any stable user_id/session_id pair, with Telegram as the primary target.

Delta compression with locally persisted context hashes prevents re-sending unchanged memory on every turn, so token use stays lower than with full-history approaches.

사용 시점

  • Persisting user context across Telegram bot sessions
  • Recalling past decisions without replaying full chat history
  • Injecting compressed long-term memory into agent prompts
  • Reducing token costs on high-volume conversational agents
  • Running a memory proxy for frameworks that always send full conversation history

예시 워크플로

입력

User asks: What did we decide about the project timeline last week?

에이전트
  1. 1

    Calls get_whisper_context with user_id, session_id, and the current query

  2. 2

    Receives compressed context string from Whisper Context API

  3. 3

    Prepends context to the prompt as 'Relevant long-term memory: ...'

  4. 4

    Generates response using the injected memory

  5. 5

    Calls ingest_whisper_turn to store the user and assistant messages

출력

Agent responds using past context; the turn is stored for future recall

요구 사항

  • Whisper Context API key from usewhisper.dev (WHISPER_CONTEXT_API_KEY)

설치

clawhub install alinxus/usewhisper-autohook

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

링크