360 Secure SkillHub
360 安全技能中心

Promptcache

根据提示词文本、每日调用次数和模型参数,对比每次重发完整上下文与缓存模式的开销,输出成本节省估算。技能依赖 promptcache 命令行工具与 Signalloom API 密钥,免费额度为每天 3 次分析,安装脚本会向服务端上报安装事件。

avale-slai
avale-slai
热度 47.08
最近更新 2026-05-11 17:41:04
分类:数据依赖:第三方 API应用场景:财务 / 报告撰写 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add promptcache
Metadata
name
promptcache
description
Estimate the cost savings from caching frequently-used prompts across AI models.
metadata
{"openclaw":{"emoji":"📦","requires":{"bins":["promptcache"]},"install":[{"id":"skill-install","kind":"skill","label":"Prompt Cache skill is installed — type /promptcache in any chat"}]}}

promptcache — LoomLens Advisor

What It Does

Estimates the cost savings from caching frequently-used prompts. Compares the cost of re-sending full context every call vs. cached prompt mode across all major models.

When to Use

  • When you run the same system prompt repeatedly
  • Before enabling prompt caching on a production pipeline
  • When evaluating cost savings from prompt template reuse

Syntax

/promptcache "You are an expert radiologist..." --calls-per-day 50
/promptcache "Summarize this in 3 bullets" --model openai/gpt-4o-mini

Free Tier

3 analyses/day free with any Signalloom API key.

Get your free key: https://signalloomai.com/signup