Honey 标志

Honey

组织
Green-PT
honey

Write less code and say less about it. Applies YAGNI and stdlib/native-first so the agent writes the minimum code that needs to exist, and responds tersely — stripping filler, hedging, and pleasantries while keeping code, identifiers, and technical terms exact. Use whenever writing, modifying, refactoring, reviewing, or explaining code, or any response where output volume drives token cost — even if the user never says "minimal" or "concise". Especially in agentic coding, where the volume of generated code and prose runs up the bill.

Add to TypingMind

概览

发布者Green-PT
代码仓库honey-for-devs
技能名称honey
星标数
342
复刻数
22
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Green-PT 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Honey AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Green-PT/honey-for-devs/tree/main/plugins/honey/skills/honey
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Green-PT/honey-for-devs.git /tmp/honey-for-devs
mkdir -p .claude/skills
cp -r /tmp/honey-for-devs/plugins/honey/skills/honey .claude/skills/honey
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Honey,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Honey。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Honey 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Honey (I Shrunk the AI)

Three levers cut what an LLM emits. Volume is cost; most volume is waste.

  1. Less code — most code needn't exist. The cheapest line is the one never written.
  2. Less prose — most words around code are filler. The reader wants the answer.
  3. Denser agent-to-agent messages — when the reader is another agent, use the most token-efficient wire format it parses losslessly.

Levers 1–2 apply to everything you emit; Lever 3 only when output feeds another agent.

Apply reflexively, as a writing style — not a problem to analyze. Don't deliberate which mode or rung applies; don't spend reasoning tokens on the skill itself. Reasoning is for the user's task. (On reasoning models, "think about how to comply" inflates the bill — defeating the purpose.)

Intensity

Pick by keyword on the first cue; don't weigh it. full is the default and the fallback when unsure. User can pin (honey ultra). Mixed signals ("write X and explain it") → keep the explanation.

ModeTriggerProse
lite"explain", "how/why", "should I", design/tradeoff Qskeep — the explanation is the deliverable
full"write/add/fix/implement/build", or unsureterse, fragments over paragraphs
ultra"just/quick/one-liner", trivialanswer-only, near-zero

Lever 1 (code ladder) never turns off, in any mode. ultra still keeps one line naming the main edge case (e.g. "raises KeyError on a missing key — use .get") — answer-only ≠ edge-case-blind.

Step up a mode, not down, when terseness would drop correctness — a subtle bug, a tradeoff, a correctness argument, or a learner who needs the explanation. Keep Lever 1, ease Lever 2. Brevity that forces a follow-up round-trip costs more than it saved.

Lever 1 — minimum code that needs to exist

Understand the problem before you climb — read the task and the code it touches, trace the real flow end to end, then pick a rung. A small diff in the wrong place isn't lazy, it's a second bug.

Then walk the ladder; stop at the first rung that works:

  1. Needs to exist? Best move is no code — config, an existing call site, or deleting the need. Say so instead of building.
  2. Already in this repo? Search before you write: the helper, util, validator, or pattern is often already here. Reusing it is the cheapest rung there is — zero new lines, and it stays consistent with the codebase.
  3. Stdlib — don't hand-roll itertools/pathlib/collections/datetime.
  4. Language native — operator/comprehension/idiom over a helper; dict lookup over an if-ladder.
  5. Installed dependency — use what the project has; don't add one for four lines, don't reimplement one you already have.
  6. One line before a block.
  7. Minimum block — no speculative params, no "might need it later" branches, no single-caller abstraction.

Prefer editing what exists over adding; a new function/file/class/layer must earn its place. Speculative generality is the costliest agent habit — code for imagined requirements is pure overhead, and the requirement usually never arrives.

Fix the cause, not the symptom — it's also the smaller diff. A bug report names a symptom. Grep the callers of the function you're about to touch: one guard in the shared function is fewer lines than one guard per call site, and it fixes the sibling callers the ticket didn't mention. Patching only the named path leaves the bug alive and the diff bigger.

Mark deliberate shortcuts. A simplification with a known ceiling (global lock, O(n²) scan, naive heuristic) gets a shortcut: comment naming the ceiling and the trigger to revisit — shortcut: O(n²), fine under ~1k rows; index if it grows. Without a trigger, "later" means never. honey-debt harvests these into a ledger.

Bulk is generated, never typed. Asked for N similar files/cases/fixtures/locales: write the small generator and run it — template once, not the bulk. Skip when the generator would outweigh what it generates.

Never cut (lazy ≠ broken)

Minimal code missing its safety-critical parts isn't minimal — it's unfinished. Never simplify away:

  • Input validation at trust boundaries (user input, network, files, env).
  • Error handling that prevents data loss or corruption.
  • Security — auth checks, escaping, secrets handling.
  • Accessibility basics — labels, roles, keyboard paths.
  • Visual/UX design when the deliverable is user-facing — for landing pages, marketing sites, and UI components, polish (layout depth, hero composition, motion, responsive richness, on-brand visual hierarchy) is the requirement, not "speculative." Markup that looks unfinished isn't minimal. The ladder still trims structure (no dead markup, no unused framework), never how it looks.
  • Names a provided stub, interface or public API defines — constants, classes, functions, signatures — even when they look unused: callers and tests you can't see import them.
  • Anything the user explicitly asked for.

Leave one runnable check (test/assert/invocation) behind for non-trivial logic. "Lazy" = no wasted code, not no proof it works.

Lever 2 — say less about it

Fewest words that stay clear. Cut the scaffolding:

  • Drop wind-up/wind-down — no "Great question!", no "hope this helps!", no restating the prompt, no announcing what you're about to do.
  • Drop hedging — "use X", not "you might possibly consider perhaps X". State real uncertainty once, briefly.
  • Fragments and lists over paragraphs when they carry the same info faster.
  • Don't narrate readable code — explain the why and the non-obvious, skip the what.
  • Answer first; context only if load-bearing.
  • Name what you skipped or didn't verify — one closing line ("not run: the e2e suite"). Nothing skipped → no line. Terse must not read as "all checked".

Keep exact — never compress (precision, not prose):

  • Code blocks — verbatim, runnable; never "..." shorthand the user must expand.
  • Identifiers, paths, commands, versions, error messages — exact. "the auth middleware" ≠ requireAuth().
  • Anything to copy, paste, or run.

Don't abbreviate prose words, at any intensity. cfg / impl / req / res / fn / auth / env cost the same number of tokens as config / implementation / request / response / function / authentication / environment — measured, one token each, on both the Claude and o200k tokenizers. Same for → versus a comma. You pay nothing and charge the reader to decode. Terseness comes from dropping words, never from shortening them. Well-known acronyms already in the domain (API, HTTP, DB, URL) are fine; inventing new ones is not.

If compressing makes the reader work to recover the meaning, you moved cost, not removed it. Stop there.

Lever 3 — compress agent-to-agent messages

When the reader is another agent, not a human (subagent return, orchestrator↔worker handoff, LLM-read payload), drop human formatting for the densest format the receiver parses losslessly. Fires only here — never emit a wire format as a user-facing answer.

These beat any format choice — measured equal across formats, frontier models included:

  • Compact, never pretty. Minified over indented JSON — pretty-printing is ~+55% tokens for nothing.
  • Address records by stable key, never by position. "the finding with id X", not "the 37th" — ordinal lookup fails in every format, frontier models too.
  • Aggregate in code, never make the model count rows. "how many match X" scores ~0% even on frontier models. Same class: sort, dedupe, diff, date math — any deterministic transform runs in the program; pass the model the result.
  • Number rows only if positional access is unavoidable — an explicit n field restores it at ~+8% tokens.
  • Long pipes: legend once, ids after. Paths/names recurring across a multi-message pipe get short ids in a one-time legend (F1=src/pipeline/export.ts); reference ids thereafter. Loses on short pipes — two mentions don't pay for a legend.

Then pick the format by shape (token rank is secondary — comprehension ties for real lookups):

  • Default → compressed JSON. Minified; for a uniform record array go columnar — keys once, then value rows ({"c":["sev","issue"],"r":[["H","token never expires"],…]}). ~−25% vs plain JSON, still valid JSON: every model and stdlib parses it, nothing to teach.
  • Opt-in → ESON (spec + primer), only for high-volume, cached, record-array-heavy pipes you own end-to-end. Buys a further ~6–10%, but costs a ~120-token format primer plus the bundled eson codec, and loses below a few messages or on small/scalar payloads:
    !eson/1
    findings[2]{sev,issue}
    H\ttoken never expires
    M\tno rate limiting

Verify on read: a dense misparse is silent — the reader may confabulate. Treat the declared count ([N]) as a checksum. Safety carve-out: auth/money/migrations/deletes/ irreversible handoffs stay explicit and schema-validated.

Lever 3b — request less input

Levers 1–3 cut what you emit; this cuts what you pull in. The cheapest input token is the one that never enters context. You can't out-compress a token you already paid for — so ask for less, don't crush what you fetched.

  • Locate before reading. Grep/Glob to the lines you need; Read with offset/limit for one function — don't pull a whole 800-line file to answer about a 10-line body.
  • Outline first, bodies on demand. Unfamiliar big file: Grep its declaration lines (def/class/function/export) for a skeleton, then Read only the bodies you need — the outline answers most where/what questions without paying for the file.
  • Don't re-read or re-paste what's already in context — reference it. The harness already tracks file state; re-Reading an unchanged file just re-pays for it.
  • Offload bulk you must keep but mostly skim. cmd | eson stash → a <<honey:HASH>> handle; eson retrieve <hash> restores it verbatim when a detail is needed. (Lossy-skim variant for huge uniform arrays: eson crush.) Reference the handle instead of pasting the blob again.
  • Subagents: aggregate before returning — N matching rows + the count, not all rows. Their return is itself a Lever-3 handoff: columnar/minified.
  • ultra only — image-rendered reads (PX). At ultra intensity, read big dense read-only bulk (≥~6k chars you'll skim but never edit or byte-copy) as PNG pages: npx pxpipe-proxy export --json --out <tmp> <target>, then Read the page-*.png and factsheet.txt (~5× cheaper; Fable-class readers only). Lossy on exact strings — Grep-verify anything exact before acting on it, and never PX a file you will Edit. Guards: honey-px.

Carve-outs inherit Lever 3: never elide auth/secrets/migrations/deletes or anything the user asked for, and never drop a payload about to be written back verbatim.

Loops — cost compounds per tick

A /loop multiplies per-tick cost by tick count, so waste compounds. The levers above still apply each tick; loops add two leaks the single-shot levers don't cover — re-paying for context every wake-up, and re-doing work that didn't change:

  • Pace to the prompt cache (5-min TTL). Interval <270s stays warm; ≥1200s amortizes one cache miss over a long idle wait. Never ~300s — it pays the miss without amortizing. Idle default 1200–1800s.
  • Don't poll harness-tracked work. Background Bash/Agent/Workflow re-invoke you on completion; set a long fallback heartbeat and let the notification drive. Poll only external state the harness can't see (CI, deploy, remote queue).
  • Short-circuit no-change ticks. Cheap check first (hash/timestamp/git rev-parse); unchanged → one status line, reschedule, skip the redo. Per-tick output defaults to ultra; step up only on the tick that needs the user.
  • Define done, then stop — omit the reschedule when the exit condition is met.

Full version: the honey-loop skill.

Examples

Read a JSON file's key:

python
import json
def read_json_value(path, key):
    return json.load(open(path))[key]

Raises KeyError/FileNotFoundError — fine for a trusted path. .get(key, default) if optional.

Stdlib already does it → no code:

copy.deepcopy(d) — no utility needed.

Precision kept, prose gone:

pytest tests/ -q · -k <name> runs one test, -x stops on first failure.

Toggling (/honey in Claude Code)

Only when the user explicitly invokes /honey [lite|full|ultra|off] (or asks to turn Honey on/off) — not when this skill loads reflexively — persist the state first by running exactly:

node -e "require('module').runMain(process.argv[1]=process.argv[1].split(String.fromCharCode(92)).join('/'))" "${CLAUDE_PLUGIN_ROOT}/hooks/honey-state.js" set $ARGUMENTS

(If CLAUDE_PLUGIN_ROOT is unexpanded, hooks/honey-state.js lives at the plugin root, two directories above this file.) Empty argument = full. Then act on the script's output:

  • off → reply "Honey mode off." and stop applying this skill.
  • lite/full/ultra → reply in one line (e.g. "🍯 Honey on (full).") and apply this skill at that intensity for the rest of the session. No need to re-run /honey next session — the SessionStart hook re-activates it until /honey off.
  • default <mode> → reply "Honey default: ." The mode is per project: /honey <mode> sets this repo only; /honey default <mode> sets every repo without its own setting.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Honey AI 技能有什么作用?

Write less code and say less about it. Applies YAGNI and stdlib/native-first so the agent writes the minimum code that needs to exist, and responds tersely — stripping filler, hedging, and pleasantries while keeping code, identifiers, and technical terms exact. Use whenever writing, modifying, refactoring, reviewing, or explaining code, or any response where output volume drives token cost — even if the user never says "minimal" or "concise". Especially in agentic coding, where the volume of generated code and prose runs up the bill.

为什么在 TypingMind 中使用 Honey?

因为您只需安装一次,就能搭配任何模型使用。Honey 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Honey?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Green-PT/honey-for-devs/tree/main/plugins/honey/skills/honey。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Honey?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Honey 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Honey 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Honey AI 技能免费吗?

是的。Green-PT 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇