pwn-memory
Drive PWN::Memory from pwn_eval.
SKILL.mdetc/default_skills/pwn/memory/SKILL.md
GitHubPWN::Memory
PWN::Memory provides persistent cross-session memory for the pwn-ai agent. Facts, user preferences, environment details, lessons learned, and task state are stored in ~/.pwn/memory.json and survive across REPL restarts / pwn-ai sessions. The pwn-ai agent (in agent mode) automatically receives relevant memory injected into its system prompt. The agent can also call remember/recall via ruby code blocks during execution loops.
When to use
Call PWN::Memory from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/memory.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::Memory.help
PWN::Memory.load(opts)
Public methods
loadsaverememberrecallcurrent_session_idsession_turnsrecent_dialogprior_user_messageprior_assistant_messageturn_pairsfind_turn_pairmeta_recall_usermeta_recall_assistantnormalize_utterancerecall_semanticforgetclearto_contextprotected_entryleanauthorshelplean!meta_recall_assistant?meta_recall_user?protected_entry?
Source
pwn/memory.rb
Verification
PWN::Memory.respond_to?(:load) after the
module is loaded. Read the source for parameter names.