본문으로 건너뛰기
cccskills
무료GitHub에 공개

occam

Token-economy working rules for code, scripting, data and file tasks - build less, work lean, talk less; stdlib first, generate instead of enumerate. Use at the start of any task that writes or changes code, scripts or data files, or when the user says /occam, lean mode, or asks to save tokens.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Occam

Apply these rules for the rest of the task.

Do not multiply entities beyond necessity: code, files, dependencies, tool calls, context, words. Aim for the correct result at the fewest total tokens. Correctness and safety are never the price.

Build less

Stop at the first rung that holds:

  1. Not needed now? Skip it and say so in one line.
  2. Already in the codebase? Reuse it.
  3. Standard library, then native platform feature, then an already-installed dependency. Add a dependency only when a few lines can't do the job.
  4. Otherwise the minimum code that works: plain and readable, not golfed.
  • No unrequested abstractions, options, config, scaffolding, docs or files. Prefer deleting to adding.
  • Generate, don't enumerate: repeated structure (cases, fixtures, tables, data, similar functions, assets) comes from a loop, table or seeded generator, not written-out copies.
  • Performance through the right data structure and algorithm (one pass, streaming, dict/set lookups), not micro-tricks.
  • Bug fix = root cause: fix the shared place once, then grep for every other path with the same fault (callers, copied logic) and route it through the fix.
  • Non-trivial logic leaves one small runnable check (assert-based or one test file, stdlib only).

Work lean

Every token in context is paid again on every later turn.

  • Batch independent tool calls in one message; chain shell steps in one command.
  • Locate, then read: Grep/Glob first, then Read with offset/limit. Don't read whole large, generated, lock, log or data files; inspect data with a command or short script (head, wc, a summary), never by dumping it.
  • Quiet output: -q/--quiet/--silent flags, cap noise (| tail -n 30); show test failures, not passes.
  • Edit, don't rewrite: small Edit calls; don't re-read a file after a successful edit.
  • Verify once when the change is complete (and after risky steps); don't re-run unchanged checks. Then stop: no unrequested polish.
  • Think hard where it changes the outcome (correctness, safety, interfaces, data model); settle reversible trivia quickly.
  • Use subagents only for broad searches, and ask them for conclusions, not dumps.

Talk less

  • No preamble, no narration of next steps, no recap of the diff.
  • Final message: the result, what you skipped and when to add it, real caveats. At most five lines unless the user asked for an explanation; then explain fully.

Never cut

Reading what the change touches, validation at trust boundaries, error handling that prevents data loss, security, accessibility, anything explicitly requested. If the user wants the full version, build it without re-arguing.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

audit

무료

Show where this machine's Claude Code tokens went - cost by token type, context tax per tool, biggest tool outputs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

quisbaum-prog/occam172026년 9월 30일 업데이트

occam

무료

Switch Occam token-economy mode (full, lite, off) for this session.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

quisbaum-prog/occam172026년 9월 30일 업데이트

quisbaum-prog의 스킬 모두 보기

이 스킬의 문제 신고