一键导入
prompt-cache-optimizer
审计并优化 LLM 提示缓存命中率、输入 token、延迟与调用成本。用于用户要求“优化缓存命中”“降低 token 成本”“审计 LLM 调用”“提示词缓存优化”“优化 AI 调用费用”,或需要为任意 agent profile 与应用代码建立可观测性和固定回归样本时。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
审计并优化 LLM 提示缓存命中率、输入 token、延迟与调用成本。用于用户要求“优化缓存命中”“降低 token 成本”“审计 LLM 调用”“提示词缓存优化”“优化 AI 调用费用”,或需要为任意 agent profile 与应用代码建立可观测性和固定回归样本时。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
822电子技术基础考研学习入口。用于湖南大学822专业课的新学、题型训练、错题回收、章节复盘、模电/数电进度推进。默认围绕“章节输入 -> 题型SOP -> 错题归因 -> 进度更新”的考研闭环执行。
822电子技术基础知识结构与章节复盘模块。用于模电/数电章节定位、前置知识判断、高频题型映射、学习顺序建议、章节卡片和进度骨架生成。
This skill handles note generation and updates for 考研数学 (Chinese graduate entrance math exam) preparation. Use it when users want to generate exam-oriented study notes from existing materials, update notes based on feedback, or create structured learning content with LaTeX formatting.
This skill handles note generation and updates for 考研数学 (Chinese graduate entrance math exam) preparation. Use it when users want to generate exam-oriented study notes from existing materials, update notes based on feedback, or create structured learning content with LaTeX formatting.
Create or retrofit reusable named workflow state machines for multi-step agent projects. Use when a project needs recoverable workflow state files, multiple workflow definitions, phase gates, restart-safe agent workflows, explicit skipped/blocked states, workflow routing rules, or reusable workflow templates across repositories.
自我学习阶段。回顾本次学习会话,记录学习心得和错误到 .learnings/,当文件超阈值时自动压缩去重,更新 RULES.md,促进系统持续改进。触发时机:用户审核通过 evaluate 产出并明确要求记录学习后,Phase 6。
| name | prompt-cache-optimizer |
| description | 审计并优化 LLM 提示缓存命中率、输入 token、延迟与调用成本。用于用户要求“优化缓存命中”“降低 token 成本”“审计 LLM 调用”“提示词缓存优化”“优化 AI 调用费用”,或需要为任意 agent profile 与应用代码建立可观测性和固定回归样本时。 |
以项目真实的提示构造、调用日志和回归样本为依据优化缓存;不要把缩短提示词或删除必要上下文误当成优化。
scripts/prompt-cache-bootstrap.sh 安装或检查规则、调用事件 schema 与回归样本模板。references/measurement.md。assets/llm-usage-event.schema.json 作为调用日志字段合同。assets/prompt-cache-regression-cases.json 创建脱敏、稳定的回归样本。git status --short before editing.bash scripts/prompt-cache-bootstrap.sh --check --platform both --target <target-project>
bash scripts/prompt-cache-bootstrap.sh --apply --platform both --target <target-project>
both with codex or claude.--platform none --agent name,agent_dir,entry_file.request_type, template_id, template_version, and model.references/measurement.md before adding telemetry or interpreting cache metrics.