/pluggedin:memory-capture-solutionfrom pluggedin
Records hard-won solutions into long-term memory after trial-and-error resolution. Captures what failed, what worked, and why for bugs, config issues, or API discoveries.
Ships in pluggedin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
SECURITY — Two-Layer Defence (PCI-DSS 4.0 · ISO/IEC 27001:2022 · GDPR · SOC 2)
Layer 1 (automatic): The hook script pipes all content through
pci-scrub.pybefore sending to the API. Catches: emails, API keys (OpenAI/Anthropic/AWS/GitHub/…), IPv4/IPv6, credit card numbers, national IDs (US SSN, UK NI, EU VAT, Aadhaar, …), connection string credentials, home paths, phone numbers.Layer 2 (YOU): Regex cannot catch everything. Before calling any memory tool, apply semantic judgment. Do NOT record:
- Person names, usernames, employee IDs → replace with
[PERSON]- Company / customer names →
[COMPANY]- Passwords, MFA codes, session tokens, cookies →
[REDACTED]- Health / medical data (HIPAA PHI) →
[REDACTED]- Financial account numbers, balances →
[REDACTED]- Precise location data (GPS, home address) →
[ADDRESS]- Anything business-confidential (pricing, contracts) →
[REDACTED]When in doubt, leave it out. Over-redaction is always preferable to a compliance violation.
Capture a hard-won solution into long-term memory so it is never re-discovered.
Do NOT use for trivial fixes that were obvious on first attempt.
Structure the observation as follows (fill in all sections):
PROBLEM: <1-2 sentences describing the symptom / error>
FAILED APPROACHES:
- <approach 1> → why it failed
- <approach 2> → why it failed
SOLUTION: <exact steps / code / config that fixed it>
WHY IT WORKS: <root cause explanation>
CONTEXT: <framework version, env, any relevant constraints>
pluggedin_memory_observe with:
sessionUuid: current session UUID (from session state)observationType: success_patterncontent: the structured text aboveoutcome: "success"metadata: {"ring": "longterm", "tags": ["solution", "<domain>"]}This skill fires automatically when:
error_pattern observation was recorded in this session ANDsuccess_pattern resolves the same tool/domainPROBLEM: Next.js 15 middleware throws "Cannot use import statement" at runtime
FAILED APPROACHES:
- Added "type": "module" to package.json → broke API routes
- Used require() syntax → TypeScript compilation error
SOLUTION: Use next.config.js `experimental.serverComponentsExternalPackages`
to exclude the problematic package from middleware bundling.
WHY IT WORKS: Next.js middleware runs in Edge runtime which has different
module resolution than Node.js. Excluding packages forces CommonJS fallback.
CONTEXT: Next.js 15.1.0, package: @some/[email protected]
Skip this skill if:
ls, checked a file, viewed a README)<private> block wraps the relevant content — respect user opt-outWhat SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/memory-capture-cross-referenceRecord a cross-reference when new functionality touches an existing system — ensures future work on the existing system considers the new dependency. Use after adding X to Y./memory-capture-plan-stepRecord completion of a step from a written implementation plan into fresh memory. Use after marking a plan item done — maintains task continuity across context compaction./memory-capture-procedureCapture a numbered implementation algorithm into procedures memory after completing a feature end-to-end. Use when a new feature/system was built — records the exact steps so the next similar build starts from this algorithm./memory-capture-shockRecord a critical failure — data loss, production incident, security breach, or cascade failure — into permanent shock memory. Shocks never decay and are always surfaced in memory-resume briefs./memory-extractionSmart observation capture - automatically identify and record important patterns, decisions, and insights during work. Use proactively during development sessions./memory-forgetDelete specific memories or clear memory categories. Use with caution - forgotten memories cannot be recovered.npx claudepluginhub veriteknik/pluggedin-plugin --plugin pluggedinOther plugins' skills for the same job