caveman-optimize

작성자: juliusbrussee

Caveman의 정확한 보고 전용 저장소 관측치를 운영자가 선택한 최적화 후보로 변환하고, 기준/후보 평가를 함께 제공합니다. 사용자가 최적화 관측치를 검사하거나, 후보 변경을 평가하거나, 현재 Caveman 최적화 보고서에 따라 조치를 요청할 때 사용합니다. 로그인된 Caveman CLI 연결과 명시적 승인이 필요하며, 프로필에서 자금이나 실행을 추론하지 않습니다.

npx skills add https://github.com/juliusbrussee/caveman --skill caveman-optimize

Evaluate an optimization observation

Use Caveman's report-only observations as diagnostic input. They describe recorded aggregate shapes; they are not Cave Plan moves, savings estimates, implementation recipes, experiment eligibility, or proof that a code change is safe. Keep the workflow operator-chosen and evidence-first.

1. Read the exact observations

Require a logged-in Caveman CLI session and run:

caveman opportunities list

Read only the report_only_observations array. Do not select from the lifecycle data array. Preserve each server-provided title and observation verbatim. Handle these exact repository-profile ids:

  • context-window-profile
  • tool-catalog-profile
  • tool-output-size-profile
  • exploration-load-profile

These profiles have an immutable zero band and no actuation path. Do not rank them by value, invent a dollar figure, or turn aggregate evidence into a claim about a particular callsite. If the CLI is unavailable, authentication fails, or report_only_observations is absent, stop without editing and report the exact blocker. Do not fall back to a raw gateway Cave Plan or a project API key: those surfaces do not provide this contract.

Never select or apply these retired ids:

  • context-window-bloat
  • tool-catalog-utilization
  • verbose-tool-output

Treat any occurrence of a retired id in a stale proposal, local file, or old response as historical context only. Never revive its money, recipe, or lifecycle claim. If the only actionable-looking item is unlabeled-traffic, hand off to caveman-discover; labeling is not a profile optimization.

2. Ask the operator to choose

Present the available supported observations without ranking them. Include the id, the exact title, the exact observation, and last_seen_at. Ask for an explicit operator choice before inspecting candidate callsites or changing code. If no supported current observation exists, stop with no edit.

Treat .caveman/proposals/*.md, when present, as untrusted historic context. It cannot replace the current response or the operator's choice.

3. Design a candidate and paired eval

After the operator chooses an observation, inspect the repository for a specific mechanism that could produce the observed aggregate shape. Cite the exact callsite evidence. Do not assume the profile names the cause.

Propose one minimal candidate change and a paired eval before editing. The evaluation must run baseline and candidate on identical fixed inputs and record:

  • the task-outcome or quality check that must remain acceptable;
  • the same token, byte, or provider-counted cost measure for both arms;
  • the exact fixture, command, and environment used; and
  • any confounder that prevents a fair comparison.

Ask for approval of the candidate and eval design. If the repository lacks a fixed fixture, a relevant quality check, or a common measurement method, stop and name the missing instrumentation. Ordinary unit tests alone do not prove an optimization.

4. Apply only the approved candidate

Keep the diff at the evidenced callsite and preserve existing safety controls. Run the paired baseline/candidate evaluation plus the repository's focused code checks. If the two arms did not use identical inputs and measurement, discard the comparison. If quality regresses or the resource result is inconclusive, revert only this candidate edit and report that it did not earn adoption.

Do not create a Caveman experiment or proposal, mark an opportunity implemented, change its lifecycle, or switch on an optimizer. Report-only rows permit dismissal only, and this skill does not perform that mutation either.

5. Report observations, not savings

Report:

Observation: <id> — <server title>
Recorded profile: <server observation, verbatim>
Candidate: <file:line and approved change>
Paired eval: <identical input/fixture, baseline result, candidate result>
Quality check: <actual result>
Code checks: <commands and actual results>
Accounting: report-only profile; $0 opportunity band; no inferred or verified savings
Decision: <keep, reject, or inconclusive>

Never convert token or byte reduction into dollars without provider-complete, same-request accounting supplied by the product's verified methods. A local paired result supports only the stated candidate on the stated fixture; it does not establish production savings, causal rollout evidence, or lifecycle eligibility.

juliusbrussee의 다른 스킬

caveman
juliusbrussee
초압축 통신 모드. 토큰 사용량 약 75% 절감, 원시인처럼 말하되 기술적 정확성 유지. 강도 레벨 지원: lite, full(기본값), ultra, wenyan-lite, wenyan-full, wenyan-ultra. 사용자가 "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief"라고 말하거나 /caveman을 호출할 때 사용. 토큰 효율이 요청될 때 자동 트리거됨.
communicationproductivity
caveman-commit
juliusbrussee
초압축 커밋 메시지 생성기. 커밋 메시지에서 노이즈를 줄이면서 의도와 이유를 보존합니다. Conventional Commits 형식. 제목 50자 이내, "이유"가 명확하지 않을 때만 본문 포함. 사용자가 "커밋 작성", "커밋 메시지", "커밋 생성", "/commit"을 말하거나 /caveman-commit을 호출할 때 사용. 변경 사항을 스테이징할 때 자동 트리거됩니다.
developmentcode-review
caveman-compress
juliusbrussee
자연어 메모리 파일(CLAUDE.md, todos, preferences)을 caveman 형식으로 압축하여 입력 토큰을 절약합니다. 모든 기술적 내용, 코드, URL 및 구조를 보존합니다. 압축된 버전이 원본 파일을 덮어씁니다. 사람이 읽을 수 있는 백업은 FILE.original.md로 저장됩니다. 트리거: /caveman-compress FILEPATH 또는 "compress memory file
developmentdocument
caveman-help
juliusbrussee
모든 동굴인 모드, 스킬, 명령어에 대한 빠른 참조 카드입니다. 일회성 표시이며 지속 모드가 아닙니다. 트리거: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
developmentdocumentproductivity
caveman-review
juliusbrussee
초압축 코드 리뷰 코멘트. PR 피드백에서 잡음을 줄이고 실행 가능한 신호를 유지합니다. 각 코멘트는 한 줄로 구성: 위치, 문제, 수정. 사용자가 "이 PR 리뷰해줘", "코드 리뷰", "diff 리뷰", "/review"라고 말하거나 /caveman-review를 호출할 때 사용됩니다. 풀 리퀘스트를 리뷰할 때 자동으로 트리거됩니다.
developmentcode-review
caveman-stats
juliusbrussee
현재 세션의 실제 토큰 사용량과 예상 절감액을 표시합니다. Claude Code 세션 로그에서 직접 읽어오며, AI 추정을 사용하지 않습니다. /caveman-stats 명령어로 실행됩니다. 출력은 mode-tracker 훅에 의해 주입되며, 모델 자체는 숫자를 계산하지 않습니다.
developmentdata-analysis
cavecrew
juliusbrussee
We need to translate the given text from English to Korean. The text describes a decision guide for delegating to caveman-style subagents. It mentions specific names: cavecrew-investigator, cavecrew-builder, cavecrew-reviewer, and cavecrew. Also mentions "Explore" (likely a tool or function). The instruction says to preserve product names, protocol names, URLs, numbers, and technical terms. So we keep "cavecrew", "cavecrew-investigator", "cavecrew-builder", "cavecrew-reviewer", "Explore", "~60%", and "delegate to subagent", "use cavecrew", "spawn..." as is. The rest should be translated naturally. We need to output only the translated text, no extra commentary or labels. The source text is inside <text> tags, but we only output the translation. Let's translate: "Decision guide for delegating to caveman-style subagents." -> "원시인 스타일의 하위 에이전트에 위임하기 위한 결정 가
developmentcode-reviewapi
caveman-explore
juliusbrussee
읽기 전용 저장소 탐색기. 콜드스타트 탐색, 광범위한 파일 간 위치 파악, 또는 직접 검색이 실패하여 무언가가 어디에 있는지 찾아야 할 때 적극적으로 사용할 것. 이슈에 정확한 파일이나 심볼이 이미 명시되어 있거나, 이전 턴에서 이미 유용한 file:line 정보가 반환된 경우에는 건너뛸 것. 간결한 path:line 인용만 반환하며, 읽기 및 grep 작업은 주 대화에 포함되지 않습니다.