> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Tokenjuice

`tokenjuice`는 명령이 이미 실행된 후 노이즈가 많은 `exec` 및 `bash`
도구 결과를 압축하는 선택적 외부 Plugin입니다.

명령 자체가 아니라 반환되는 `tool_result`를 변경합니다. Tokenjuice는
셸 입력을 다시 쓰거나, 명령을 다시 실행하거나, 종료 코드를 변경하지 않습니다.

현재 이는 Codex 앱 서버 하네스의 OpenClaw 임베디드 실행 및 OpenClaw 동적 도구에
적용됩니다. Tokenjuice는 OpenClaw의 도구 결과 미들웨어에 연결되어
출력이 활성 하네스 세션으로 돌아가기 전에 잘라냅니다.

## Plugin 활성화

한 번 설치합니다.

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw plugins install clawhub:@openclaw/tokenjuice
```

그런 다음 활성화합니다.

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw config set plugins.entries.tokenjuice.enabled true
```

동등한 명령:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw plugins enable tokenjuice
```

설정을 직접 편집하고 싶다면:

```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
{
  plugins: {
    entries: {
      tokenjuice: {
        enabled: true,
      },
    },
  },
}
```

## tokenjuice가 변경하는 것

* 노이즈가 많은 `exec` 및 `bash` 결과가 세션으로 다시 전달되기 전에 압축합니다.
* 원래 명령 실행은 그대로 둡니다.
* 정확한 파일 콘텐츠 읽기와 tokenjuice가 원본 그대로 두어야 하는 다른 명령을 보존합니다.
* 옵트인 상태를 유지합니다. 모든 곳에서 원문 그대로의 출력을 원하면 Plugin을 비활성화하세요.

## 작동 여부 확인

1. Plugin을 활성화합니다.
2. `exec`를 호출할 수 있는 세션을 시작합니다.
3. `git status`와 같은 노이즈가 많은 명령을 실행합니다.
4. 반환된 도구 결과가 원시 셸 출력보다 더 짧고 구조화되어 있는지 확인합니다.

## Plugin 비활성화

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw config set plugins.entries.tokenjuice.enabled false
```

또는:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw plugins disable tokenjuice
```

## 관련 항목

* [Exec 도구](/ko/tools/exec)
* [사고 수준](/ko/tools/thinking)
* [컨텍스트 엔진](/ko/concepts/context-engine)
