Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add 0dayInc/pwn --skill indexgit clone --depth 1 https://github.com/0dayInc/pwnWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/0dayinc/pwn/index)<a href="https://agentmods.dev/skills/0dayinc/pwn/index"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/index/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/0dayinc/pwn/index"><img src="https://agentmods.dev/badge/skills/0dayinc/pwn/index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.00465 |
| Opus 5.5 | $0.00008 | $0.00186 |
| Sonnet 5.5 | $0.00004 | $0.00093 |
| Haiku 4.5 | $0.00002 | $0.00047 |
Grade A, and why
pwn-ai-memory-index scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
PWN::AI::Memory::Index
PWN::AI::Memory::Index is a lightweight local embedding index over PWN::AI::Memory (/.pwn/memory.json) so PromptBuilder can inject the N MOST-RELEVANT memories for the current request instead of the N newest. Embeddings prefer a direct Ollama /api/embed endpoint (PWN::Config::Env[:ai][:providers][:ollama][:embed_model], default 'nomic-embed-text'). When only Open WebUI is configured, embeddings go through its /ollama/api/embed proxy with the openwebui key/base_uri. Index layout (/.pwn/memory.idx): { "": { "sha": "", "vec": [Float,…] }, … } Rebuilds are incremental: only entries whose value-sha changed are (re)embedded, so a warm index costs one embed call (the query).
When to use
Call PWN::AI::Memory::Index from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/ai/memory/index.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::AI::Memory::Index.help
PWN::AI::Memory::Index.available?(opts)
Public methods
available?recall_semanticto_contextrefreshembedresetbm25authorshelp
Source
pwn/ai/memory/index.rb
Verification
PWN::AI::Memory::Index.respond_to?(:available?) after the
module is loaded. Read the source for parameter names.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 54 lines · 20 tokens per session scan A 1c58d67e9ed7
pwn-ai-memory-index is a skill published in the GitHub repository 0dayInc/pwn (102 stars, last pushed today), licensed MIT. It adds 20 tokens to every session and 465 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
pwn-ai-memory-index compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pwn-ai-memory-index0dayInc/pwn | Skill | 102 | today | MIT | A | 20 | Claude Code |
| xerjxerj-org/xerj | Skill | 23k | today | Apache-2.0 | A | 38 | Claude Code, Codex |
| difyznlgis/opengis-skills | Skill | 87 | yesterday | MIT | A | 115 | Claude Code, Codex |
| karpathy-llm-wikiAstro-Han/karpathy-llm-wiki | Skill | 2.9k | 4mo ago | MIT | A | 67 | Claude Code, Codex |
| aiznlgis/opengis-skills | Skill | 87 | yesterday | MIT | A | 105 | Claude Code, Codex |
| orchardcore-ai-memoryCrestApps/CrestApps.AgentSkills | Skill | 14 | 2d ago | MIT | A | 197 | Claude Code |
| memoriMemoriLabs/Memori | Skill | 18k | 2mo ago | none | A | 0 | Claude Code, Codex |