caveman

作者: microsoft

超壓縮回應風格,在保留技術準確性的同時減少輸出token數量,具備強度等級與自動清晰度安全規則。

npx skills add https://github.com/microsoft/hve-core --skill caveman

Caveman Skill

Overview

Caveman is an opt-in response style that reduces output verbosity while keeping technical content fully intact. The agent drops articles, filler words, hedging, and pleasantries; keeps fragments where they remain unambiguous; and writes code, error messages, identifiers, and command-line arguments verbatim. Use it when the user explicitly requests a terser response.

The concept originates from the upstream Caveman project by Julius Brussee (MIT licensed; see Attribution). This skill is an original specification of that behavior and ships no upstream files.

How the Mode Persists

Caveman has no out-of-band state store, daemon, or hook. Persistence relies entirely on the conversation transcript:

  • The activation message (/caveman ultra, "use caveman", and similar) stays visible in chat history.
  • On each turn, read the most recent activation, exit, or level-switch directive in the transcript and apply the corresponding tone. The latest matching directive wins.
  • The skill file is loaded on demand. Once the rules are in context, keep applying them without reloading. If context is trimmed and the rules drop out, reload caveman/SKILL.md the next time an active directive appears.
  • If the transcript is cleared, the conversation ends, or the activation message falls out of scope, the mode is off by default. The user re-invokes to turn it back on.

State lives in chat, not in a file. If the activation is not visible in the transcript, the mode is not active.

When to Use

Activate Caveman when the user asks for it directly:

  • "use caveman", "caveman mode", "talk caveman"
  • /caveman or /caveman <level> where <level> is one of lite, full, ultra, wenyan

Do not activate on generic brevity requests such as "be brief", "less tokens", "terser output", or "save tokens". Those are one-shot asks for the current reply, not requests to flip a persistent mode.

Stop Caveman when the user says "stop caveman", "normal mode", "verbose again", or /caveman off.

Intensity Levels

LevelBehavior
liteDrop filler and hedging. Keep articles and full sentences.
full (default)Drop articles. Sentence fragments allowed. Short synonyms.
ultraTelegraphic. One-word answers when sufficient. Arrows for flow.
wenyanClassical Chinese (文言) register layered on full compression.

If the user requests /caveman without a level, default to full. /caveman wenyan applies the wenyan register at full compression. Combine with another level for stronger compression, e.g. /caveman wenyan ultra.

Compression Rules

Always drop:

  • Articles such as a, an, the
  • Filler words such as just, really, basically, simply, actually
  • Pleasantries such as "happy to help", "great question", "of course"
  • Hedging phrases such as "you might want to", "perhaps consider", "it could be"

Always keep, exact and unmodified:

  • Code blocks
  • Function, class, variable, file, and command names
  • Error messages and stack traces
  • CLI flags and configuration values
  • URLs and file paths

Pattern: [thing] [action] [reason]. [next step].

Auto-Clarity Boundaries

Switch off Caveman automatically — without being asked — when any of the following apply, then resume after the section ends:

  • Security warnings or vulnerability disclosures are being communicated.
  • Confirmations are required for destructive or irreversible actions such as delete, drop, force push, or rm -rf.
  • Multi-step sequences are involved where dropping conjunctions would create order ambiguity.
  • Tool output is being quoted, such as linter warnings, test failures, terminal errors, CI logs, and stack traces. Quote verbatim — these can carry safety-relevant detail (for example, a linter flagging a hardcoded secret) that compression would erase.
  • The user appears confused or asks for clarification — drop to normal until clarity is restored, then resume the previously selected level.
  • Compression would make a technical instruction ambiguous.

Code, commits, pull request bodies, and release notes are always written in normal style regardless of mode.

Examples

Normal: "I'd be happy to help! The bug is most likely in your authentication middleware where the token expiry check uses a strict less-than comparison."

Caveman (full): "Bug in auth middleware. Token expiry check uses < not <=. Fix:"

Caveman (ultra): "Auth bug. < → <=. Fix:"

Limits

  • Caveman affects assistant prose only. It does not change generated code, commit messages, or PR descriptions.
  • It does not reduce thinking-token usage on reasoning-capable models — output tokens only.

Attribution

Concept based on the Caveman project (MIT license, Copyright (c) 2026 Julius Brussee). This SKILL.md is an original specification authored for hve-core; no upstream files are redistributed.

來自 microsoft 的更多技能

oss-growth
microsoft
開源增長駭客角色
agent-framework-azure-ai-py
microsoft
使用Microsoft Agent Framework Python SDK(agent-framework-azure-ai)构建Azure AI Foundry代理。适用于使用AzureAIAgentsProvider创建持久化代理、使用托管工具(代码解释器、文件搜索、网络搜索)、集成MCP服务器、管理对话线程或实现流式响应。涵盖函数工具、结构化输出和多工具代理。
development
airunway-aks-setup
microsoft
在AKS上設定AI Runway——從裸叢集到執行模型。涵蓋叢集驗證、控制器安裝、GPU評估、供應商設定及首次部署。時機:「設定AI Runway」、「上線AKS叢集」、「安裝AI Runway」、「airunway設定」、「部署模型至AKS」、「在AKS上進行GPU推論」、「在AKS上設定KAITO」、「在AKS上執行LLM」、「在AKS上使用vLLM」、「在AKS上設定模型服務」、「AI Runway控制器」。
devops
appinsights-instrumentation
microsoft
使用Azure Application Insights檢測Web應用程式的指南。提供遙測模式、SDK設定與組態參考。適用時機:如何檢測應用程式、App Insights SDK、遙測模式、什麼是App Insights、Application Insights指南、檢測範例、APM最佳實踐。
devops
applicationinsights-web-ts
microsoft
使用Application Insights JavaScript SDK(@microsoft/applicationinsights-web)為瀏覽器/Web應用程式進行檢測。適用於真實使用者監控(RUM)——頁面檢視、點擊、AJAX/fetch依賴、例外、自訂事件,以及與後端OpenTelemetry追蹤關聯的瀏覽器端GenAI代理追蹤。涵蓋SDK載入器指令碼與npm設定、框架擴充(React、React Native、Angular)、點擊分析、遙測初始化器,以及從瀏覽器發出的代理/工具/模型span的OTel GenAI語意慣例。
devops
azure-ai-anomalydetector-java
microsoft
使用適用於 Java 的 Azure AI 異常偵測器 SDK 建置異常偵測應用程式。在實作單變量/多變量異常偵測、時間序列分析或 AI 驅動監控時使用。
development
azure-ai-language-conversations-py
microsoft
使用 azure-ai-language-conversations Python SDK 實作對話語言理解(CLU)。當使用 ConversationAnalysisClient 分析對話意圖與實體、建置 NLP 功能,或將語言理解整合至應用程式時使用。
development
azure-ai-ml-py
microsoft
Azure Machine Learning SDK v2 for Python。用於機器學習工作區、作業、模型、資料集、計算資源與管線。 觸發詞:「azure-ai-ml」、「MLClient」、「workspace」、「model registry」、「training jobs」、「datasets」。
development