zipai-optimizer
Ultra-dense token optimizer skill for prompt caching, log pruning, AST-based inspection, and minified JSON payloads.
Skill by nous-hermeshub
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nous-hermeshub-zipai-optimizer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/zipai-optimizer
What's inside
- Skill name
zipai-optimizer- Description
- Ultra-dense token optimizer skill for prompt caching, log pruning, AST-based inspection, and minified JSON payloads.
- License
- MIT
- Instructions
- 66 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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.
---
## Limitations
- **Brainstorming:** disable during creative/open-ended design phases.
- **Grep Blindness:** key context may fall outside filter boundaries.
- **Overshadowing:** aggressive pruning may drop micro-variables in long sessions.From nous-hermeshub/hermes-community-hub, MIT.
More from nous-hermeshub/hermes-community-hub
- 0.497score
mcp-builder-ms
nous-hermeshub
Use this skill when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
m365-agents-dotnet
nous-hermeshub
Microsoft 365 Agents SDK for .NET.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
codex-fable5
nous-hermeshub
Apply Fable-inspired discipline to Codex work: inspect first, track goals and findings, ground conclusions in evidence, verify before completion, and adapt…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
mcp-builder
nous-hermeshub
Create MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
multi-advisor
nous-hermeshub
Conselho de especialistas — consulta multiplos agentes do ecossistema em paralelo para analise multi-perspectiva de qualquer topico.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
hosted-agents
nous-hermeshub
Build background agents in sandboxed environments.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
accint-solve
nous-hermeshub
Route agent work through AccInt's MCP memory loop: retrieve prior outcomes, resolve frames, and close commitments with evidence.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
lambda-lang
nous-hermeshub
Native agent-to-agent language for compact multi-agent messaging.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
open-dynamic-workflows
nous-hermeshub
Plan, orchestrate, and adversarially verify parallel AI coding agents with a dynamic multi-agent workflow engine.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
multi-agent-task-orchestrator
nous-hermeshub
Route tasks to specialized AI agents with anti-duplication, quality gates, and 30-minute heartbeat monitoring
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
langgraph
nous-hermeshub
Expert in LangGraph - the production-grade framework for building
SkillCFreshness: C★ 1Claude Code +9 - 0.488score
m365-agents-ts
nous-hermeshub
Microsoft 365 Agents SDK for TypeScript/Node.js.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 18, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nous-hermeshub
- 0.497score
mcp-builder-ms
nous-hermeshub
Use this skill when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
lambda-lang
nous-hermeshub
Native agent-to-agent language for compact multi-agent messaging.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
codex-fable5
nous-hermeshub
Apply Fable-inspired discipline to Codex work: inspect first, track goals and findings, ground conclusions in evidence, verify before completion, and adapt…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
hosted-agents
nous-hermeshub
Build background agents in sandboxed environments.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
accint-solve
nous-hermeshub
Route agent work through AccInt's MCP memory loop: retrieve prior outcomes, resolve frames, and close commitments with evidence.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
m365-agents-dotnet
nous-hermeshub
Microsoft 365 Agents SDK for .NET.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
zipai-optimizer skill. Agent Mart. https://agentmart.dev/skills/nous-hermeshub-zipai-optimizer (last updated 2026-10-24)