/pluggedin:memory-capture-shockfrom pluggedin
Records critical failures (data loss, production incidents, security breaches, cascade failures) into permanent shock memory that never decays and always appears in memory-resume briefs. Includes PII scrubbing guidance.
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.
CRITICAL IMPORTANCE: Shocks are permanent. They never decay. They are always surfaced in memory-resume briefs. Use this ring for incidents that must never be forgotten — even years later.
Do NOT use for ordinary bugs or recoverable errors — those go to longterm.
SHOCK: <short name, e.g., "prod-db-truncate-2026-03">
SEVERITY: critical | high
DATE: <YYYY-MM-DD>
WHAT HAPPENED:
<exact description of what failed and how>
BLAST RADIUS:
<what was affected: data, users, systems, duration>
ROOT CAUSE:
<why it happened>
HOW TO DETECT:
<early warning signs, monitoring alerts that would catch this>
HOW TO PREVENT:
<exact guard rails: checks, flags, confirmations required before the action>
RECOVERY:
<how it was recovered from, or "not recoverable">
pluggedin_memory_observe with:
sessionUuid: current session UUIDobservationType: failure_patterncontent: the full shock textoutcome: "failure"metadata: {"ring": "shocks", "severity": "critical", "shock_name": "<name>"}This skill fires automatically when critical failure keywords are detected:
SHOCK: accidental-db-migrate-direct-2026-01
SEVERITY: critical
DATE: 2026-01-15
WHAT HAPPENED:
Applied Drizzle migration directly with raw SQL ALTER TABLE on prod database
instead of using pnpm db:migrate. Foreign key constraint dropped silently.
Downstream queries started failing 20 minutes later.
BLAST RADIUS:
~200 API requests failed over 45 minutes. No data loss but
3 tables had inconsistent FK state requiring manual repair.
ROOT CAUSE:
Bypassed pnpm db:migrate workflow to "save time". Direct SQL has no
rollback trail and no idempotency check.
HOW TO DETECT:
DB query errors on FK-constrained tables after schema change.
Monitor: constraint_violations metric in pg_stat_user_tables.
HOW TO PREVENT:
ALWAYS use pnpm db:generate then pnpm db:migrate.
NEVER run raw ALTER TABLE on prod.
Add pre-commit hook that rejects .sql files in migration runs.
RECOVERY:
Manual FK reconstruction from schema.ts definitions.
Full process took 2 hours.
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
npx claudepluginhub veriteknik/pluggedin-plugin --plugin pluggedin15 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-solutionCapture a hard-won solution into long-term memory after trial-and-error resolution. Use when a problem was solved after ≥1 failed attempts — records what failed, what worked, and why./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.Other plugins' skills for the same job