placeholder-unused
placeholder
- License 许可
- MIT
- 最近更新
- 2026-10-24
- Stars
- ★ 2
- Forks
- 1
01 前言 Front Matter
- name
- placeholder-unused
- description
- placeholder
03 SKILL.md 正文
placeholder
04 同仓库更多 Skills
prompt-caching-safety
Before adding anything to the system prompt or the start of the message array in this codebase, check whether it breaks Anthropic/Qwen-style explicit prompt caching — a real regression that shipped once (see project memory "System prompt caching regression..."). Use this whenever touching buildSystemPrompt, toORMessages, applyCacheControl, or anything that runs on every agent turn.
caching-live-verification
MANDATORY for any change touching prompt caching (openrouter/caching.ts, cacheDiag.ts, client.ts request building, the tools array, toORMessages, the trailing time note, compaction): write a throwaway script that runs a REAL live OpenRouter request ladder, run it, confirm read-back, then delete the script. Unit tests cannot observe upstream cache behavior.
adding-an-agent-tool
Step-by-step reference for adding a new agent tool to KlennyCode — where the schema, dispatch case, approval preview, tool-name registries, ledger paths, barrel export and tests must all be touched, plus the prompt-caching rule that forbids state-driven tool gating. Read this before adding, removing or re-gating any tool.