본문으로 건너뛰기
Skillpedia
프롬프트 및 LLM48k · #6239

zipai-optimizer

하는 일

이 에이전트는 정보를 처리할 때 AI가 더 효율적으로 일하도록 돕습니다. 불필요한 세부 사항을 덜어내고, 중요한 내용을 정리하며, AI의 응답을 더 짧고 직접적으로 만듭니다.

사용하는 경우

  • ✓AI가 더 빠르고 간결하게 답하기를 원할 때.
  • ✓파일이나 로그가 많아 AI가 핵심에 집중해야 하는 경우.
  • ✓긴 대화에서 AI의 ‘기억’ 사용량을 최적화하고 싶을 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/zipai-optimizer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/zipai-optimizer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“옵티마이저를 사용해 이 오류 로그를 요약하고 가장 중요한 정보만 뽑아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

불필요한 단어를 줄이고, 가장 중요한 부분에 집중하며, 데이터를 간결하게 구성하는 방식으로 작동합니다. 이렇게 하면 AI가 모든 것을 더 빠르게 처리할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

ZipAI: Context & Token Optimizer

When to Use

Use this skill when the request needs context-window-aware triage, prompt caching optimizations, concise technical output, ambiguity handling, or selective reading of logs, source files, JSON/YAML payloads, VCS output, or MCP tool results.

Rules

Rule 1 — Adaptive Verbosity (No Filler)

  • Fixes: technical only. ZERO filler (e.g., "Certainly", "I understand", "Here is", "Sure").
  • Analysis: full reasoning allowed.
  • Direct Ask: max 15 words in ultra-dense telegraphic style. Omit grammatical helper constructs.
  • Long Sessions: never re-summarize past thread context.
  • Reviews: use structured headers: [ISSUE], [SUGGESTION], [NITPICK].

Rule 2 — Ambiguity-First Execution

  • Ask exactly ONE question if 2+ interpretations exist. Never stack questions.
  • Default to minimal intervention for minor changes.
  • Scope ambiguous requests to narrowest boundary.

Rule 3 — Prompt Caching & Prefix Stability

  • Static-First Ordering: Structure prompts to place invariant components (system instructions, core rules, static tool schemas) at the top of the prompt.
  • Isolate Dynamic Context: Append dynamic and volatile elements (active conversation history, recently read file contents, CLI execution outputs) at the very end of the prompt to protect and reuse the cached prefix.
  • Prefix Integrity: Avoid interleaving new queries or dynamic variables inside static system blocks. Keep the static instructions strictly invariant.
  • Cached Files Reuse: Reuse already loaded file contents present in the conversation history; do not re-read files unless explicitly updated.

Rule 4 — Semantic Input Pruning & Log Compression

  • Traceback Extraction: When handling error or build outputs, parse and filter logs using grep/regex to extract only tracebacks, error statements, and a maximum of 3-5 lines of context around them. Strip all info logs, successful build tasks, and redundant progress messages.
  • Skeletal Code Viewing (AST): For large files (>300 lines), do not view the full file. Use grep -nE "^(class|def|async def|function|const|let|var).*=" (or language equivalents) to view class and function headers first, then target specific ranges with view_file.
  • Smart JSON/YAML Crusher: Minify structured inputs. Strip pretty-printing whitespaces, comments, and unused fields from JSON/YAML payloads before placing them in context. Convert large arrays to dense CSV or key-value listings if they are queried.

Rule 5 — Surgical & Compact Output

  • Local Replacements: Perform edits using surgical tools (str_replace or single-hunk diffs). Never reprint unchanged surrounding code or perform full-file reprints.
  • Batch Modifies: Consolidate multiple non-contiguous edits in a single file into a single multi-replace chunk operation, ordered from leaf dependencies upward.
  • Differential Output: Limit conversational responses to the exact modified blocks, avoiding conversational code repetition.

Rule 6 — Telegraphic Grammar & Density

  • Syntax Compression: Strip articles ("a", "an", "the"), redundant helper verbs ("to be", "to have", "do"), and politeness/softening modifiers ("please", "simply", "just", "easy").
  • Structure: Format output blocks into dense semantic mappings (key: val), short bullet lists, and compact tables. Avoid paragraphs of text.

Rule 7 — Token-Budget Reasoning (CoT Optimization)

  • Direct Mode: Skip long planning/thinking cycles for trivial, deterministic edits (typos, formatting, import adjustments).
  • Abbreviated Thoughts: Keep thought blocks compact. Never reprint code snippets or copy-paste file blocks inside thoughts. Reference files via path and lines (e.g. file.py#L12-18).

Negative Constraints

  • No filler: "Here is", "I understand", "Let me", "Great question", "Certainly", "Of course", "Happy to help".
  • No blind truncation of stacktraces or error logs.
  • No full-file reads on large files.
  • No re-reading files already in context.
  • No multi-question clarification dumps.
  • No silent bundling of unrelated changes.
  • No full git diff ingestion on large changesets — extract hunks only.
  • No git log beyond 20 entries unless a specific range is requested.
  • No full MCP object inspection when field-level access suffices.
  • No MCP mutations without prior read of current resource state.
  • No SHA reuse across sessions for file updates.

Example

User request:

…

자주 묻는 질문

AI가 왜 때때로 말을 너무 많이 하나요?

AI는 명확하게 하려고 추가 정보를 넣거나 빈 공간을 채우기 위해 말을 길게 할 수 있습니다. 이 에이전트는 AI가 더 직접적으로 말하고 군더더기를 피하도록 가르칩니다.

‘토큰’은 무엇을 뜻하나요?

토큰은 AI가 글을 이해하고 만들 때 사용하는 단어나 문자의 조각입니다. 토큰이 적을수록 처리가 빠르고 비용이 적게 듭니다.

코드 작성을 도와줄 수 있나요?

예, 관련 부분에만 집중해 AI가 코드를 더 효율적으로 분석하고 최적화하도록 도울 수 있습니다.

상세 정보

작성자의 원본 설명

Ultra-dense token optimizer skill for prompt caching, log pruning, AST-based inspection, and minified JSON payloads.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6239
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬