0dayinc/pwn/prompt-cache
- community
Checking that the SKILL.md file is still in the repository.
Drive PWN::AI::Agent::PromptCache from pwn_eval.
Install
npx vskill@latest install 0dayinc/pwn/prompt-cacheSKILL.md
PWN::AI::Agent::PromptCache
agent-style prompt-cache breakpoints. The static system prefix + SKILLS index stay cacheable; dynamic MEMORY / LEARNING / MISTAKES / METRICS / EXTROSPECTION stay uncached so a turn-local write is not baked into the prefix. Anthropic: system is an array of text blocks; the last static block carries cache_control: { type: 'ephemeral' }. OpenAI Chat Completions: two system/developer messages (static then dynamic) plus prompt_cache_key for cache routing. xAI Grok Chat Completions: the same message split plus the x-grok-conv-id request header (sticky server routing). Gemini generateContent: systemInstruction.parts = [static, dynamic] so implicit prefix cache can hit the stable head. Ollama: no-op.
When to use
Call PWN::AI::Agent::PromptCache from pwn_eval when the task needs this module. Do not reimplement it in shell.
Methodologies
Generated from pwn/ai/agent/prompt_cache.rb. Prefer the public class methods below. Class methods take (opts = {}) and read opts.
How to call
Public methods
enabledsplit_systemanthropic_system_blocksopenai_messagesgemini_system_instructioncache_keycache_markssupportsauthorshelpenabled?
Source
pwn/ai/agent/prompt_cache.rb
Verification
PWN::AI::Agent::PromptCache.respond_to?(:enabled) after the module is loaded. Read the source for parameter names.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingetc/default_skills/pwn/ai/agent/prompt_cache/SKILL.md
Popularity
- Repository stars
- 86
- Repository forks
- 12
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/0dayinc/pwn/prompt-cache)