memory-management — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited memory-management (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Use AutoMem to maintain persistent context across Claude Code sessions.
Tool examples below use short names (recall_memory, store_memory); call them on whichever AutoMem MCP server is wired in (plugin installs namespace them as mcp__plugin_automem_memory__*, user-level servers as mcp__memory__*).
This skill teaches the current AutoMem playbook: Recall early, store durable outcomes, avoid session-summary noise.
tags: ["preference"], limit: 20, sort: "updated_desc"// Preferences first
recall_memory({
tags: ["preference"],
limit: 20,
sort: "updated_desc"
})
// Task context recall
recall_memory({
query: "authentication timeout PostgreSQL auth.ts retry logic",
tags: ["myapp"], // drop if ambiguous
time_query: "last 90 days",
limit: 30
})
// Debug similar errors (no tag gate — a hard gate hides cross-corpus fixes)
recall_memory({
query: "TimeoutError authentication request timed out",
limit: 20
})| Type | Importance | When to Store |
|---|---|---|
| Decision | 0.9 | Architecture, library choices, pattern decisions |
| Insight | 0.8 | Root cause discoveries, key learnings, bug fixes |
| Pattern | 0.7 | Reusable approaches, best practices |
| Preference | 0.6-0.8 | User config choices, style preferences |
| Context | 0.5-0.7 | Feature summaries, refactoring notes |
Content: "Brief title. Context and details. Impact/outcome."
Tags: [category, project-slug, language]
Type: Decision | Pattern | Insight | Preference | Style | Habit | ContextUse bare tags only. Do not add platform tags or date tags.
Decision:
store_memory({
content: "Chose PostgreSQL over MongoDB. Need ACID guarantees for transactions. Impact: Ensures data consistency.",
type: "Decision",
tags: ["decision", "myapp", "database"],
importance: 0.9,
confidence: 0.9,
metadata: {
alternatives_considered: ["MongoDB", "DynamoDB"],
deciding_factors: ["ACID", "relationships", "team_expertise"]
}
})Bug Fix:
store_memory({
content: "Auth timeout on slow connections. Root: Missing retry logic. Solution: Added exponential backoff with 3 retries.",
type: "Insight",
tags: ["bugfix", "solution", "myapp", "auth"],
importance: 0.8,
confidence: 0.85,
metadata: {
error_signature: "TimeoutError: Authentication request timed out",
solution_pattern: "exponential-backoff-retry",
files_modified: ["src/auth/client.ts"]
}
})User Preference:
store_memory({
content: "User prefers early returns over nested conditionals in validation code.",
type: "Preference",
tags: ["preference", "code-style"],
importance: 0.8,
confidence: 0.95
})Link related memories to build a knowledge graph:
associate_memories({
memory1_id: "related-memory-id",
memory2_id: "new-memory-id",
type: "INVALIDATED_BY", // or PREFERS_OVER, LEADS_TO, EXEMPLIFIES
strength: 0.9
})Prefer update_memory over near-duplicate stores when a fact changed in place.
When recalling memories, weave context seamlessly into responses. Avoid robotic phrases like "searching my memory database" and present memories as normal working context.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.