Skip to content
Back to skills

Knowledge Recall

ASecurity

At the start of a task, pull the org's common knowledge and the relevant prior session memory so the work is informed by history — approved patterns, and past findings, fixes, decisions and waivers for this app or weakness. Use when beginning any build, review, scan, or ship on an app or area the team has touched before.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 25, 2026
ai-agentsrustgosqlbackendsecurity

Works with

  • mcp

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add Asterguard/asterguard-skills --skill knowledge-recall --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Knowledge Recall?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Knowledge Recall
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asterguard-knowledge-recall/badge)](https://www.skillsdirectory.com/skills/asterguard-knowledge-recall)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: knowledge-recall
description: At the start of a task, pull the org's common knowledge and the relevant prior session memory so the work is informed by history — approved patterns, and past findings, fixes, decisions and waivers for this app or weakness. Use when beginning any build, review, scan, or ship on an app or area the team has touched before.
---

# Knowledge Recall

Start a task already knowing what the team knows. The common knowledge and the shared memory live in
the AsterVault gateway (governed, team-shared); this skill pulls the few high-signal records for *this*
task so the agent doesn't re-learn what's already settled.

## When to Activate

- At the **start** of any build / review / scan / remediation on a known app or area.
- When the engineer asks "what do we know about X" / "how have we handled Y before".
- Before proposing a fix — recall the approved pattern and any prior decision/waiver.

## Core Concepts

- **Three sources, one gateway, source-tagged:** `knowledge.*` (apps/weaknesses/controls/graph +
  approved patterns), `memory.recall` (prior decisions/findings/fixes/reviews/waivers + documented
  actions), and `knowledge.recall_packs` (curated runbooks/playbooks/personas — shared, cross-tenant).
  Results carry a **precedence**: *tenant overlay › team recall › curated packs › SSOT* — what **we**
  decided beats what **we** did beats how the field handles it beats the canonical fact.
- **Just-in-time, not a dump:** pull the handful of records relevant to the current context and
  reference them — never stuff the whole corpus into the window.
- **Scoped:** by app / team / weakness / topic, so recall is precise, not noise.

## Method

1. Determine the context: app, area/files, the weaknesses in play, the task kind (build/review/fix).
2. `memory.recall(context, scope)` → prior outcomes for this app/weakness ("last time this app touched
   PII we required tokenization; `CVE-2026-X` was waived because …"). Each carries provenance.
3. `knowledge.patterns(context)` → the approved patterns to follow (how the org does auth, egress, data
   handling for this situation).
4. `knowledge.recall_packs(query / family / role)` → curated runbooks, playbooks and personas for this
   kind of situation — *how the field handles it*. Especially valuable on a cold app with no prior of our
   own (day-zero context); ranked **below** our own memory, and advisory, never authoritative.
5. `knowledge.query(...)` for specific facts: the control that mitigates a weakness, the app's graph.
6. Surface a short, relevant brief that steers the work, citing provenance (session/PR/commit) and
   **tagging each item's source** so the reader knows *we decided* vs *we did* vs *the field suggests*.

## Practical Guidance

- **Reference, don't inline** — load content just-in-time; keep the window for the task.
- **Scope tightly** — this app/team; a global pull is noise and leaks cross-team context.
- **Trust but verify** — memory reflects *past* state; confirm a recalled fact against the current code
  before acting on it.
- **A recalled waiver/decision is context, not authorization** — surface it; the human still decides.

## Integration

- every skill — recall seeds the work (the approved pattern, the prior fix)
- memory-capture — the counterpart that wrote these records
- security-engineer — recall is the first step of the pipeline, before scanning
- AsterVault `knowledge.query` / `knowledge.patterns` / `memory.recall` / `knowledge.recall_packs`
- **Backend (gateway-side):** recall reads from whichever store the gateway is wired to — **SQLite**
  (single box) or **Postgres** (team-shared, durable). The skill is identical either way; see
  `../../docs/MCP_WIRING.md`.

## References

- [AsterVault MCP tools](../weakness-graph/references/astervault-tools.md)
- [Two-sided architecture](../../docs/ARCHITECTURE.md)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.