소스 정보
- 저장소
- javimosch/open-claw-skills
- 최근 소스 활동
- 2026년 6월 6일 19:20
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/javimosch/open-claw-skills --skill tokenqrusher명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | tokenQrusher |
| description | Token optimization system for OpenClaw reducing costs 50-80% |
| version | 2.1.1 |
| author | qsmtco |
| license | MIT |
| homepage | https://github.com/qsmtco/tokenQrusher |
| metadata | {"openclaw":{"requires":{"bins":"[Truncated]"},"emoji":"💰"}} |
tokenQrusher reduces OpenClaw API costs by 50-80% through:
This is the simplified, production-ready core. Non-functional advisory components have been removed.
token-context)Event: agent:bootstrap
Filters which workspace files are loaded based on message complexity.
Config: ~/.openclaw/hooks/token-context/config.json
{
"enabled": true,
"logLevel": "info",
"dryRun": false,
"files": {
"simple": ["SOUL.md", "IDENTITY.md"],
"standard": ["SOUL.md", "IDENTITY.md", "USER.md"],
"complex": ["SOUL.md", "IDENTITY.md", "USER.md", "TOOLS.md", "AGENTS.md", "MEMORY.md", "HEARTBEAT.md"]
}
}
How it works:
context.bootstrapFiles to the filtered listSavings:
Rationale: Simple messages don’t need documentation, memory logs, or tool references. Only identity and personality are required.
token-heartbeat)Event: agent:bootstrap (for heartbeat polls)
Optimizes heartbeat check schedule to dramatically reduce API calls.
Config: ~/.openclaw/hooks/token-heartbeat/config.json
{
"enabled": true,
"intervals": {
"email": 7200,
"calendar": 14400,
"weather": 14400,
"monitoring": 7200
},
"quietHours": { "start": 23, "end": 8 }
}
How it works:
HEARTBEAT_OK when nothing needs checkingOptimization Table:
| Check | Default Interval | Optimized | Reduction |
|---|---|---|---|
| 60 min | 120 min | 50% | |
| Calendar | 60 min | 240 min | 75% |
| Weather | 60 min | 240 min | 75% |
| Monitoring | 30 min | 120 min | 75% |
Result: 48 checks/day → 12 checks/day (75% fewer API calls)
token-shared)Pure functions used by both hooks:
classifyComplexity(message) → complexity levelgetAllowedFiles(level, config) → file listisValidFileName(name) → path traversal protectionloadConfigCached(logFn) → 60s TTL config cachingThis skill does not call any external network endpoints. All operations are local to your machine.
Hooks run automatically:
token-context runs on every agent:bootstrap (every user message).token-heartbeat runs on heartbeat polls.
No manual intervention needed after enabling the hooks.By installing this skill, you trust that the code operates locally and does not transmit your workspace data. Review the open‑source implementation on GitHub before installing.
After installation, the tokenqrusher command is available.
tokenqrusher context <prompt>Recommends which context files should be loaded for a given prompt.
$ tokenqrusher context "hi"
Complexity: simple (confidence: 95%)
Files: SOUL.md, IDENTITY.md
Savings: 71%
tokenqrusher status [--verbose]Shows system status.
$ tokenqrusher status
=== tokenQrusher Status ===
Hooks:
✓ token-context (Filters context)
✓ token-heartbeat (Optimizes heartbeat)
tokenqrusher install [--hooks] [--all]Installs/enables hooks.
$ tokenqrusher install --hooks
✓ Enabled: token-context
✓ Enabled: token-heartbeat
All hook configs are JSON files stored in:
~/.openclaw/hooks/<hook-name>/config.json
You can edit these to customize behavior (e.g., adjust file lists, intervals, or quiet hours). Changes are reloaded after 60 seconds (config cache TTL).
| Operation | Latency | Memory |
|---|---|---|
| Context classification | <1 ms | <1 MB |
| Heartbeat check | <0.5 ms | <0.5 MB |
Negligible overhead per agent message.
# Check status
openclaw hooks list
# Should show "✓ ready" next to token-context and token-heartbeat
# Enable if missing
openclaw hooks enable token-context
openclaw hooks enable token-heartbeat
# Restart gateway
openclaw gateway restart
Config cache TTL is 60 seconds. Restart the gateway for immediate effect.
v2.1.0 removes non‑functional components. If upgrading:
Disable and remove old hooks:
openclaw hooks disable token-model
openclaw hooks disable token-usage
openclaw hooks disable token-cron
rm -rf ~/.openclaw/hooks/token-model
rm -rf ~/.openclaw/hooks/token-usage
rm -rf ~/.openclaw/hooks/token-cron
Update the skill:
clawhub update tokenQrusher
Re‑install remaining hooks:
tokenqrusher install --hooks
Restart gateway:
openclaw gateway restart
Removed commands: tokenqrusher model, budget, usage, optimize. They no longer exist.
MIT. See LICENSE file in repository.
Built with OpenClaw: https://github.com/openclaw/openclaw