Consolidation pipeline — turn noisy raw episodes into durable knowledge
(Agentic GraphRAG Ch4, Example 4-5 + Example 4-13). Four steps: cluster
related episodes by topic, summarize each cluster into one consolidated
fact, create the consolidated node, and maintain a provenance chain back
to the source episodes so "how do you know that?" is answerable. Clusters
below a minimum size (default 3) are skipped — not enough examples to
generalize. Adds the sleep-time-compute discipline: run consolidation
during idle periods, never on the synchronous response path, and
pre-compute inferences that anticipate likely queries. Use when an agent
accumulates redundant, overlapping experiences that must compress into
stable, queryable patterns. NOT for one-shot agents (nothing to
consolidate), NOT for the response hot path (consolidation is a
background/idle job), NOT for facts that must stay individually
addressable (consolidation merges them).
Consolidation pipeline — turn noisy raw episodes into durable knowledge
(Agentic GraphRAG Ch4, Example 4-5 + Example 4-13). Four steps: cluster
related episodes by topic, summarize each cluster into one consolidated
fact, create the consolidated node, and maintain a provenance chain back
to the source episodes so "how do you know that?" is answerable. Clusters
below a minimum size (default 3) are skipped — not enough examples to
generalize. Adds the sleep-time-compute discipline: run consolidation
during idle periods, never on the synchronous response path, and
pre-compute inferences that anticipate likely queries. Use when an agent
accumulates redundant, overlapping experiences that must compress into
stable, queryable patterns. NOT for one-shot agents (nothing to
consolidate), NOT for the response hot path (consolidation is a
background/idle job), NOT for facts that must stay individually
addressable (consolidation merges them).
Installation & variants
Download the repository, including the skill’s supporting files.
Define, review, or update SECURITY_MODEL.md files that tell security review tools a repository's threat model, trust boundaries, invariants, reportable finding classes, and exclusions. Use when asked to "write a security model", "threat model this repo for…
External research synthesis from Trail of Bits, SlowMist, ConsenSys, Immunefi, and Cyfrin. Use this for advanced audit methodology, Echidna/Medusa fuzzing setup, Slither custom detector writing, attack pattern deep dives, or the 4-phase learning roadmap.
Tests LLM applications for prompt injection vulnerabilities per OWASP LLM01:2025. Covers direct injection (user input manipulating model behavior) and indirect injection (external content containing hidden instructions). Auto-invoked when reviewing LLM applications that process external content, build…
skills/ai-security/prompt-injection/SKILL.md
Share a useful AI product
Tell people what it does. Our editors review each submission before publishing.
No comments yet