[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B114TT2ZWEET2CF8NM6XDD":3,"skill-same:01M7B114TT2ZWEET2CF8NM6XDD":100},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":14,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":59,"install":60,"resources":73},"01M7B114TT2ZWEET2CF8NM6XDD","memory-management",null,"Use when the user asks to \"remember project context\"; manages the SEO\u002FGEO memory lifecycle — hot-cache, active work, archive tiers, and privacy cleanup. Not for content or domain scoring — use the auditors. 项目记忆\u002F跨会话","aeroalgo\u002Fdev-hub","aeroalgo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F71006969?v=4","01M7B06910BBQC29R55C0V7XYW","Андрей","01M7B0691R77MY9Q3YXE7W683M",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: memory-management\ndescription: 'Use when the user asks to \"remember project context\"; manages the SEO\u002FGEO memory lifecycle — hot-cache, active work, archive tiers, and privacy cleanup. Not for content or domain scoring — use the auditors. 项目记忆\u002F跨会话'\nversion: \"9.9.10\"\nlicense: Apache-2.0\ncompatibility: \"Claude Code and compatible agent-skill hosts\"\nhomepage: \"https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\"\nwhen_to_use: \"Use when reviewing, archiving, or cleaning up campaign memory. Also when the user asks to check saved findings, manage hot cache, or archive old data.\"\nargument-hint: \"[review|archive|cleanup]\"\nmetadata:\n  author: aaron-he-zhu\n  version: \"9.9.10\"\n  geo-relevance: \"low\"\n  tags:\n    - seo\n    - geo\n    - project-memory\n    - context-management\n    - campaign-tracking\n    - session-context\n    - hot-cache\n    - 项目记忆\n    - プロジェクト記憶\n    - 프로젝트메모리\n    - memoria-proyecto\n  triggers:\n    - \"save SEO data\"\n    - \"remember this for next time\"\n    - \"what did we decide last time\"\n    - \"what do we know so far\"\n    - \"project status\"\n    - \"archive stale data\"\n    - \"purge personal data\"\n    - \"上次说了什么\"\n    - \"跨会话记忆\"\n---\n\n# Memory Management\nThis skill implements a three-tier memory system (HOT\u002FWARM\u002FCOLD) for SEO and GEO projects. HOT memory (80 lines max) loads automatically every session via the SessionStart hook. WARM memory loads on demand per skill. COLD memory is archived data queried only when explicitly requested. The skill manages the full lifecycle: capture, promote, demote, and archive.\n\n## What This Skill Does\n\nManages a three-tier memory lifecycle (HOT\u002FWARM\u002FCOLD) with automatic promotion, demotion, and archival. Also maintains open-loop tracking and cross-skill aggregation.\n\n## Quick Start\n\nStart with one of these prompts. Finish with a hot-cache update plan and a handoff summary using the repository format in [Skill Contract](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fskill-contract.md).\n\n### Initialize Memory Structure\n\n```\nSet up SEO memory for [project name]\n```\n\n```\nInitialize memory structure for a new [industry] website optimization project\n```\n\n### Update After Analysis\n\n```\nUpdate memory after ranking check for [keyword group]\n```\n\n```\nRefresh hot cache with latest competitor analysis findings\n```\n\n### Query Stored Context\n\n```\nWhat are our hero keywords?\n```\n\n```\nShow me the last ranking update date for [keyword category]\n```\n\n```\nLook up our primary competitors and their domain authority\n```\n\n### Promotion and Demotion\n\n```\nPromote [keyword] to hot cache\n```\n\n```\nArchive stale data that hasn't been referenced in 30+ days\n```\n\n### Glossary Management\n\n```\nAdd [term] to project glossary: [definition]\n```\n\n```\nWhat does [internal jargon] mean in this project?\n```\n\n## Skill Contract\n\n**Expected output**: a memory update plan, hot-cache changes, and a short handoff summary.\n\n- **Reads**: current campaign facts, new findings from other skills, approved decisions, and the shared [State Model](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fstate-model.md).\n- **Writes**: updates to `memory\u002Fhot-cache.md`, `memory\u002Fopen-loops.md`, `memory\u002Fdecisions.md`, and related `memory\u002F` folders. Manages WARM-to-COLD archival in `memory\u002Farchive\u002F`. **Auditor handoff archiving** (v7.1.0+): when triggered by a direct user request or an auditor's explicit \"Save these results?\" yes-response, append a structured block to `memory\u002Faudits\u002FYYYY-MM.md`. The Stop hook never initiates memory writes. See [Examples](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fexamples.md) for the exact archive block format and rules.\n- **Promotes**: durable strategy, blockers, terminology, entity candidates, and major deltas. Applies temperature lifecycle rules: promote to HOT on high reference frequency, demote on staleness.\n- **Done when**: the requested lifecycle action (capture\u002Fpromote\u002Fdemote\u002Farchive\u002Fquery\u002Fpurge) is applied, `memory\u002Fhot-cache.md` is within the 80-line \u002F 25KB limit, and the affected memory paths are reported back to the user.\n- **Primary next skill**: use the `Next Best Skill` below when the project memory baseline is ready for active work.\n\n### Handoff Summary\n\n> Emit the standard shape from [skill-contract.md §Handoff Summary Format](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fskill-contract.md).\n\n### Temperature Lifecycle Rules\n\n> See [Promotion & Demotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fpromotion-demotion-rules.md) for the full promotion\u002Fdemotion table and action procedures.\n\n### Hook Integration\n\nThis skill's behavior is reinforced by the library's prompt-based hooks:\n- **SessionStart**: loads `memory\u002Fhot-cache.md`, reminds of stale open loops; provides light-user guidance based on Quick Status when `next_action` items are available\n- **PostToolUse**: warns when `memory\u002Fhot-cache.md` exceeds the 80-line \u002F 25KB limit; enforces the auditor artifact-gate on `memory\u002Faudits\u002F` writes; offers an optional quality check after user-facing content edits\n- **Stop**: guarded allow-only completion check; returns `{\"ok\": true}`, honors `stop_hook_active`, never asks the user to save optional findings, and never initiates memory writes\n\n## Data Sources\n\nWith tools: auto-populate from ~~SEO tool, ~~analytics, ~~search console. Without tools: ask user for keywords, competitors, metrics, campaigns, and terminology. See [CONNECTORS.md](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002FCONNECTORS.md).\n\n## Decision Gates\n\n**Stop and ask the user when:**\n- A purge (Art 17 \u002F CCPA) is requested — present the matched files and the redaction-vs-delete choice, and only act on confirmed matches. Never auto-delete memory.\n- A `memory\u002Fdecisions.md` entry needed to answer a query has `approved_by: skill_inferred` or a missing field — surface it as ADVISORY and confirm before treating it as authoritative.\n- A referenced term is not found in any memory layer — ask for clarification rather than guessing.\n\n**Continue silently (never stop for):**\n- Routine promotion\u002Fdemotion that follows the temperature lifecycle rules.\n- Hot-cache trimming suggestions when over the 80-line \u002F 25KB limit (recommend, don't block).\n- Missing optional tool data when auto-populating — record what is available and proceed.\n\n## Instructions\n\nWhen a user requests SEO memory management:\n\n### 1. Initialize Memory Structure\n\nFor new projects, create the directory structure defined in the [State Model](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fstate-model.md). Key directories: `memory\u002F` (decisions, open-loops, glossary, entities, research, content, audits, monitoring).\n\n> **Templates**: [Hot Cache Template](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fhot-cache-template.md) · [Glossary Template](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fglossary-template.md)\n\n### 2. Context Lookup Flow\n\nWhen a user references something unclear, follow this lookup sequence:\n\n**Step 1: Check `memory\u002Fhot-cache.md` (hot cache)**\n- Is it in active keywords?\n- Is it in primary competitors?\n- Is it in current priorities or campaigns?\n\n**Step 2: Check memory\u002Fglossary.md**\n- Is it defined as project terminology?\n- Is it a custom segment or shorthand?\n\n**Step 3: Check Cold Storage**\n- Search `memory\u002Farchive\u002F` first for dated `YYYY-MM-DD-` archived files.\n- If the archive points to a source category, follow that trail back to `memory\u002Fresearch\u002F`, `memory\u002Faudits\u002F`, or `memory\u002Fmonitoring\u002F`.\n- Treat COLD findings as historical unless refreshed by the current session.\n\n**Step 4: Ask User**\n- If not found in any layer, ask for clarification\n- Log the new term in glossary if it's project-specific\n\n- **Decision provenance (v8.0.1+)**: when loading `memory\u002Fdecisions.md`, verify each entry has `approved_by: user`. Entries with `approved_by: skill_inferred` or missing field are treated as **ADVISORY** — surface to user before using as authoritative. Auditor-class skills (content-quality-auditor, domain-authority-auditor) MUST ignore non-user-approved decisions when determining verdict. See [skill-contract.md §Promotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fskill-contract.md).\n\nExample lookup: User asks \"Update rankings for our hero KWs\" → Step 1 finds \"Hero Keywords (Priority 1)\" in hot-cache → extract the keyword list → run the ranking check → update `memory\u002Fhot-cache.md` and `memory\u002Fmonitoring\u002Frank-history\u002FYYYY-MM-DD-ranks.csv`.\n\n### 3. Promotion & Demotion Logic\n\n> **Reference**: See [Promotion & Demotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fpromotion-demotion-rules.md) for detailed promotion\u002Fdemotion triggers (keywords, competitors, metrics, campaigns) and the action procedures for each.\n\n### 4. Update Triggers, Archive Management & Cross-Skill Integration\n\n> **Reference**: See [Update Triggers & Integration](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fupdate-triggers-integration.md) for the complete update procedures after ranking checks, competitor analyses, audits, and reports; monthly\u002Fquarterly archive routines; and integration points with all 8 connected skills (keyword-research, rank-tracker, competitor-analysis, content-gap-analysis, seo-content-writer, content-quality-auditor, domain-authority-auditor).\n\n### 5. Memory Hygiene Checks\n\nWhen invoked for review or cleanup:\n\n1. **Line count check**: Count lines in `memory\u002Fhot-cache.md`. If >80, list oldest entries for archival.\n2. **Byte check**: If hot-cache exceeds 25KB, warn and recommend trimming long entries.\n3. **Staleness scan**: List memory files older than 30 days that have not been referenced. Recommend archival for files >90 days.\n4. **Frontmatter audit**: Check that all memory files (except hot-cache.md) have `name`, `description`, and `type` in their frontmatter. Report any missing fields.\n\n### 6. Save Results\n\nAsk \"Save these results for future sessions?\" — if yes, write `YYYY-MM-DD-\u003Ctopic>.md` to `memory\u002F`. Add veto issues to `memory\u002Fhot-cache.md` only from auditor handoff or explicit user approval.\n\n## Examples, Advanced Features & Practical Limitations\n\n> **Reference**: See [Examples](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fexamples.md) for three complete examples (hero keyword rankings, glossary lookup, e-commerce project init), advanced features (smart context loading, memory health check, bulk promotion\u002Fdemotion, memory snapshot, cross-project memory), and practical limitations (concurrent access, cold storage retrieval, data freshness).\n\n## GDPR \u002F Privacy Compliance\n\n`memory\u002F` may store third-party personal data — entity names, founder bios, LinkedIn profiles, author\u002Fjournalist names surfaced by `entity-optimizer` or research skills. Under GDPR Art 4(1) (applies to **processing of personal data of EU\u002FEEA\u002FUK residents** regardless of where the controller is located), these qualify as \"personal data\". The user is the data controller. Non-EU users without EU\u002FEEA\u002FUK data subjects may still face analogous obligations under CCPA\u002FCPRA (California), PIPEDA (Canada), LGPD (Brazil), or other national regimes. **Not legal advice.**\n\n### Retention policy\n- WARM files: archive to `memory\u002Farchive\u002F` after 90 days unreferenced (default lifecycle)\n- COLD archive: never auto-deleted, but eligible for Art 17 erasure requests\n- All files: user MUST honor Art 17 requests from data subjects (individuals named in memory)\n\n### Deletion flow (Art 17 \u002F CCPA §1798.105)\nInvoke: `memory-management purge \u003Centity-name-or-slug>`\n\nThis skill then:\n1. Greps all files under `memory\u002F` (including `memory\u002Farchive\u002F`) for the entity name, slug, or domain\n2. Presents matches to user for confirmation\n3. Deletes or anonymizes confirmed matches across all surfaces:\n   - **Canonical**: `memory\u002Fhot-cache.md`, WARM notes, COLD\u002Farchive files, `memory\u002Fentities\u002F\u003Cslug>.md`, `memory\u002Fentities\u002Fcandidates.md`, audit aggregates, open loops\n   - **Archive body scan**: run `grep -F \"\u003Centity-name>\" memory\u002Farchive\u002F*.md` to catch the entity name regardless of frontmatter integrity (legacy or manually-moved files may lack clean frontmatter). If a malformed archive is touched by the purge, log it explicitly to `memory\u002Faudits\u002Fgdpr-purges.md` so a compliance audit can verify scope.\n4. Writes a tombstone to `memory\u002Fprivacy\u002Ftombstones.md` with redacted label, salted non-reversible fingerprint, date, scope, and `reingest_blocked: true`; never store the raw subject\n5. Logs the purge to `memory\u002Faudits\u002Fgdpr-purges.md` per the canonical schema in [GDPR Purge Log Template](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fgdpr-purge-log-template.md) (v9.9.9+) — required fields: `purge_id`, `date`, `redacted_label`, `fingerprint`, `scope.{canonical,archive}`, `action`, `action_detail`, `legal_basis`, `proof.{grep_count_before,grep_count_after}`, `reingest_blocked: true`, `audit_signature`. Auditor-verifiable structure: never raw subject; mechanical grep-count proof; cross-referenced to tombstone fingerprint.\n6. For auditor archives, redact subject identifiers while preserving score\u002Fstatus\u002Fproof metadata required for audit integrity\n\n### Lawful basis reminder\nBefore writing a third-party person to `memory\u002Fentities\u002F`, the user must have one lawful basis per GDPR Art 6 (where GDPR applies — see scope note above): `consent`, `legitimate_interest`, `contract`, or equivalent. Advisory — this skill does not enforce, and does not substitute for legal review.\n\n## Reference Materials\n\n- [Examples](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fexamples.md) — Worked examples, advanced features, practical limitations, and the auditor handoff archive block format & rules\n- [Promotion & Demotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fpromotion-demotion-rules.md) — Full promotion\u002Fdemotion table and action procedures\n- [Update Triggers & Integration](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fupdate-triggers-integration.md) — Update procedures, archive routines, and cross-skill integration points\n- [CORE-EEAT Content Benchmark](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fcore-eeat-benchmark.md) — Content quality scoring stored in memory\n- [CITE Domain Rating](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fcite-domain-rating.md) — Domain authority scoring stored in memory\n\n## Next Best Skill\n\nPrimary: [keyword-research](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fkeyword-research\u002FSKILL.md) — seed or refresh campaign strategy with current demand signals.\n","# Memory Management\nThis skill implements a three-tier memory system (HOT\u002FWARM\u002FCOLD) for SEO and GEO projects. HOT memory (80 lines max) loads automatically every session via the SessionStart hook. WARM memory loads on demand per skill. COLD memory is archived data queried only when explicitly requested. The skill manages the full lifecycle: capture, promote, demote, and archive.\n\n## What This Skill Does\n\nManages a three-tier memory lifecycle (HOT\u002FWARM\u002FCOLD) with automatic promotion, demotion, and archival. Also maintains open-loop tracking and cross-skill aggregation.\n\n## Quick Start\n\nStart with one of these prompts. Finish with a hot-cache update plan and a handoff summary using the repository format in [Skill Contract](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fskill-contract.md).\n\n### Initialize Memory Structure\n\n```\nSet up SEO memory for [project name]\n```\n\n```\nInitialize memory structure for a new [industry] website optimization project\n```\n\n### Update After Analysis\n\n```\nUpdate memory after ranking check for [keyword group]\n```\n\n```\nRefresh hot cache with latest competitor analysis findings\n```\n\n### Query Stored Context\n\n```\nWhat are our hero keywords?\n```\n\n```\nShow me the last ranking update date for [keyword category]\n```\n\n```\nLook up our primary competitors and their domain authority\n```\n\n### Promotion and Demotion\n\n```\nPromote [keyword] to hot cache\n```\n\n```\nArchive stale data that hasn't been referenced in 30+ days\n```\n\n### Glossary Management\n\n```\nAdd [term] to project glossary: [definition]\n```\n\n```\nWhat does [internal jargon] mean in this project?\n```\n\n## Skill Contract\n\n**Expected output**: a memory update plan, hot-cache changes, and a short handoff summary.\n\n- **Reads**: current campaign facts, new findings from other skills, approved decisions, and the shared [State Model](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fstate-model.md).\n- **Writes**: updates to `memory\u002Fhot-cache.md`, `memory\u002Fopen-loops.md`, `memory\u002Fdecisions.md`, and related `memory\u002F` folders. Manages WARM-to-COLD archival in `memory\u002Farchive\u002F`. **Auditor handoff archiving** (v7.1.0+): when triggered by a direct user request or an auditor's explicit \"Save these results?\" yes-response, append a structured block to `memory\u002Faudits\u002FYYYY-MM.md`. The Stop hook never initiates memory writes. See [Examples](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fexamples.md) for the exact archive block format and rules.\n- **Promotes**: durable strategy, blockers, terminology, entity candidates, and major deltas. Applies temperature lifecycle rules: promote to HOT on high reference frequency, demote on staleness.\n- **Done when**: the requested lifecycle action (capture\u002Fpromote\u002Fdemote\u002Farchive\u002Fquery\u002Fpurge) is applied, `memory\u002Fhot-cache.md` is within the 80-line \u002F 25KB limit, and the affected memory paths are reported back to the user.\n- **Primary next skill**: use the `Next Best Skill` below when the project memory baseline is ready for active work.\n\n### Handoff Summary\n\n> Emit the standard shape from [skill-contract.md §Handoff Summary Format](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fskill-contract.md).\n\n### Temperature Lifecycle Rules\n\n> See [Promotion & Demotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fpromotion-demotion-rules.md) for the full promotion\u002Fdemotion table and action procedures.\n\n### Hook Integration\n\nThis skill's behavior is reinforced by the library's prompt-based hooks:\n- **SessionStart**: loads `memory\u002Fhot-cache.md`, reminds of stale open loops; provides light-user guidance based on Quick Status when `next_action` items are available\n- **PostToolUse**: warns when `memory\u002Fhot-cache.md` exceeds the 80-line \u002F 25KB limit; enforces the auditor artifact-gate on `memory\u002Faudits\u002F` writes; offers an optional quality check after user-facing content edits\n- **Stop**: guarded allow-only completion check; returns `{\"ok\": true}`, honors `stop_hook_active`, never asks the user to save optional findings, and never initiates memory writes\n\n## Data Sources\n\nWith tools: auto-populate from ~~SEO tool, ~~analytics, ~~search console. Without tools: ask user for keywords, competitors, metrics, campaigns, and terminology. See [CONNECTORS.md](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002FCONNECTORS.md).\n\n## Decision Gates\n\n**Stop and ask the user when:**\n- A purge (Art 17 \u002F CCPA) is requested — present the matched files and the redaction-vs-delete choice, and only act on confirmed matches. Never auto-delete memory.\n- A `memory\u002Fdecisions.md` entry needed to answer a query has `approved_by: skill_inferred` or a missing field — surface it as ADVISORY and confirm before treating it as authoritative.\n- A referenced term is not found in any memory layer — ask for clarification rather than guessing.\n\n**Continue silently (never stop for):**\n- Routine promotion\u002Fdemotion that follows the temperature lifecycle rules.\n- Hot-cache trimming suggestions when over the 80-line \u002F 25KB limit (recommend, don't block).\n- Missing optional tool data when auto-populating — record what is available and proceed.\n\n## Instructions\n\nWhen a user requests SEO memory management:\n\n### 1. Initialize Memory Structure\n\nFor new projects, create the directory structure defined in the [State Model](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fstate-model.md). Key directories: `memory\u002F` (decisions, open-loops, glossary, entities, research, content, audits, monitoring).\n\n> **Templates**: [Hot Cache Template](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fhot-cache-template.md) · [Glossary Template](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fglossary-template.md)\n\n### 2. Context Lookup Flow\n\nWhen a user references something unclear, follow this lookup sequence:\n\n**Step 1: Check `memory\u002Fhot-cache.md` (hot cache)**\n- Is it in active keywords?\n- Is it in primary competitors?\n- Is it in current priorities or campaigns?\n\n**Step 2: Check memory\u002Fglossary.md**\n- Is it defined as project terminology?\n- Is it a custom segment or shorthand?\n\n**Step 3: Check Cold Storage**\n- Search `memory\u002Farchive\u002F` first for dated `YYYY-MM-DD-` archived files.\n- If the archive points to a source category, follow that trail back to `memory\u002Fresearch\u002F`, `memory\u002Faudits\u002F`, or `memory\u002Fmonitoring\u002F`.\n- Treat COLD findings as historical unless refreshed by the current session.\n\n**Step 4: Ask User**\n- If not found in any layer, ask for clarification\n- Log the new term in glossary if it's project-specific\n\n- **Decision provenance (v8.0.1+)**: when loading `memory\u002Fdecisions.md`, verify each entry has `approved_by: user`. Entries with `approved_by: skill_inferred` or missing field are treated as **ADVISORY** — surface to user before using as authoritative. Auditor-class skills (content-quality-auditor, domain-authority-auditor) MUST ignore non-user-approved decisions when determining verdict. See [skill-contract.md §Promotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fskill-contract.md).\n\nExample lookup: User asks \"Update rankings for our hero KWs\" → Step 1 finds \"Hero Keywords (Priority 1)\" in hot-cache → extract the keyword list → run the ranking check → update `memory\u002Fhot-cache.md` and `memory\u002Fmonitoring\u002Frank-history\u002FYYYY-MM-DD-ranks.csv`.\n\n### 3. Promotion & Demotion Logic\n\n> **Reference**: See [Promotion & Demotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fpromotion-demotion-rules.md) for detailed promotion\u002Fdemotion triggers (keywords, competitors, metrics, campaigns) and the action procedures for each.\n\n### 4. Update Triggers, Archive Management & Cross-Skill Integration\n\n> **Reference**: See [Update Triggers & Integration](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fupdate-triggers-integration.md) for the complete update procedures after ranking checks, competitor analyses, audits, and reports; monthly\u002Fquarterly archive routines; and integration points with all 8 connected skills (keyword-research, rank-tracker, competitor-analysis, content-gap-analysis, seo-content-writer, content-quality-auditor, domain-authority-auditor).\n\n### 5. Memory Hygiene Checks\n\nWhen invoked for review or cleanup:\n\n1. **Line count check**: Count lines in `memory\u002Fhot-cache.md`. If >80, list oldest entries for archival.\n2. **Byte check**: If hot-cache exceeds 25KB, warn and recommend trimming long entries.\n3. **Staleness scan**: List memory files older than 30 days that have not been referenced. Recommend archival for files >90 days.\n4. **Frontmatter audit**: Check that all memory files (except hot-cache.md) have `name`, `description`, and `type` in their frontmatter. Report any missing fields.\n\n### 6. Save Results\n\nAsk \"Save these results for future sessions?\" — if yes, write `YYYY-MM-DD-\u003Ctopic>.md` to `memory\u002F`. Add veto issues to `memory\u002Fhot-cache.md` only from auditor handoff or explicit user approval.\n\n## Examples, Advanced Features & Practical Limitations\n\n> **Reference**: See [Examples](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fexamples.md) for three complete examples (hero keyword rankings, glossary lookup, e-commerce project init), advanced features (smart context loading, memory health check, bulk promotion\u002Fdemotion, memory snapshot, cross-project memory), and practical limitations (concurrent access, cold storage retrieval, data freshness).\n\n## GDPR \u002F Privacy Compliance\n\n`memory\u002F` may store third-party personal data — entity names, founder bios, LinkedIn profiles, author\u002Fjournalist names surfaced by `entity-optimizer` or research skills. Under GDPR Art 4(1) (applies to **processing of personal data of EU\u002FEEA\u002FUK residents** regardless of where the controller is located), these qualify as \"personal data\". The user is the data controller. Non-EU users without EU\u002FEEA\u002FUK data subjects may still face analogous obligations under CCPA\u002FCPRA (California), PIPEDA (Canada), LGPD (Brazil), or other national regimes. **Not legal advice.**\n\n### Retention policy\n- WARM files: archive to `memory\u002Farchive\u002F` after 90 days unreferenced (default lifecycle)\n- COLD archive: never auto-deleted, but eligible for Art 17 erasure requests\n- All files: user MUST honor Art 17 requests from data subjects (individuals named in memory)\n\n### Deletion flow (Art 17 \u002F CCPA §1798.105)\nInvoke: `memory-management purge \u003Centity-name-or-slug>`\n\nThis skill then:\n1. Greps all files under `memory\u002F` (including `memory\u002Farchive\u002F`) for the entity name, slug, or domain\n2. Presents matches to user for confirmation\n3. Deletes or anonymizes confirmed matches across all surfaces:\n   - **Canonical**: `memory\u002Fhot-cache.md`, WARM notes, COLD\u002Farchive files, `memory\u002Fentities\u002F\u003Cslug>.md`, `memory\u002Fentities\u002Fcandidates.md`, audit aggregates, open loops\n   - **Archive body scan**: run `grep -F \"\u003Centity-name>\" memory\u002Farchive\u002F*.md` to catch the entity name regardless of frontmatter integrity (legacy or manually-moved files may lack clean frontmatter). If a malformed archive is touched by the purge, log it explicitly to `memory\u002Faudits\u002Fgdpr-purges.md` so a compliance audit can verify scope.\n4. Writes a tombstone to `memory\u002Fprivacy\u002Ftombstones.md` with redacted label, salted non-reversible fingerprint, date, scope, and `reingest_blocked: true`; never store the raw subject\n5. Logs the purge to `memory\u002Faudits\u002Fgdpr-purges.md` per the canonical schema in [GDPR Purge Log Template](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fgdpr-purge-log-template.md) (v9.9.9+) — required fields: `purge_id`, `date`, `redacted_label`, `fingerprint`, `scope.{canonical,archive}`, `action`, `action_detail`, `legal_basis`, `proof.{grep_count_before,grep_count_after}`, `reingest_blocked: true`, `audit_signature`. Auditor-verifiable structure: never raw subject; mechanical grep-count proof; cross-referenced to tombstone fingerprint.\n6. For auditor archives, redact subject identifiers while preserving score\u002Fstatus\u002Fproof metadata required for audit integrity\n\n### Lawful basis reminder\nBefore writing a third-party person to `memory\u002Fentities\u002F`, the user must have one lawful basis per GDPR Art 6 (where GDPR applies — see scope note above): `consent`, `legitimate_interest`, `contract`, or equivalent. Advisory — this skill does not enforce, and does not substitute for legal review.\n\n## Reference Materials\n\n- [Examples](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fexamples.md) — Worked examples, advanced features, practical limitations, and the auditor handoff archive block format & rules\n- [Promotion & Demotion Rules](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fpromotion-demotion-rules.md) — Full promotion\u002Fdemotion table and action procedures\n- [Update Triggers & Integration](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fcross-cutting\u002Fmemory-management\u002Freferences\u002Fupdate-triggers-integration.md) — Update procedures, archive routines, and cross-skill integration points\n- [CORE-EEAT Content Benchmark](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fcore-eeat-benchmark.md) — Content quality scoring stored in memory\n- [CITE Domain Rating](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Freferences\u002Fcite-domain-rating.md) — Domain authority scoring stored in memory\n\n## Next Best Skill\n\nPrimary: [keyword-research](https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills\u002Fblob\u002Fmain\u002Fresearch\u002Fkeyword-research\u002FSKILL.md) — seed or refresh campaign strategy with current demand signals.\n",{"name":5,"license":15,"version":24,"homepage":25,"metadata":26,"description":7,"when_to_use":51,"argument-hint":52,"compatibility":53},"9.9.10","https:\u002F\u002Fgithub.com\u002Faaron-he-zhu\u002Fseo-geo-claude-skills",{"tags":27,"author":39,"version":24,"triggers":40,"geo-relevance":50},[28,29,30,31,32,33,34,35,36,37,38],"seo","geo","project-memory","context-management","campaign-tracking","session-context","hot-cache","项目记忆","プロジェクト記憶","프로젝트메모리","memoria-proyecto","aaron-he-zhu",[41,42,43,44,45,46,47,48,49],"save SEO data","remember this for next time","what did we decide last time","what do we know so far","project status","archive stale data","purge personal data","上次说了什么","跨会话记忆","low","Use when reviewing, archiving, or cleaning up campaign memory. Also when the user asks to check saved findings, manage hot cache, or archive old data.","[review|archive|cleanup]","Claude Code and compatible agent-skill hosts","master","6afd82404843540f5a44d929a8738661d4ee1a46","harness\u002Fskills\u002Fmemory-management","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub","https:\u002F\u002Fgithub.com\u002Faeroalgo","2026-10-30 21:15:25",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add aeroalgo\u002Fdev-hub --skill memory-management",{"tool":66,"command":67},"bunx","bunx skills add aeroalgo\u002Fdev-hub --skill memory-management",{"tool":69,"command":70},"pnpm","pnpm dlx skills add aeroalgo\u002Fdev-hub --skill memory-management","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002FSKILL.md",true,[74,80,84,88,92,96],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fexamples.md","REFERENCE","参考文档",4314,"https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002Freferences\u002Fexamples.md",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fgdpr-purge-log-template.md",6181,"https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002Freferences\u002Fgdpr-purge-log-template.md",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fglossary-template.md",1368,"https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002Freferences\u002Fglossary-template.md",{"path":89,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fhot-cache-template.md",2482,"https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002Freferences\u002Fhot-cache-template.md",{"path":93,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fpromotion-demotion-rules.md",1286,"https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002Freferences\u002Fpromotion-demotion-rules.md",{"path":97,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fupdate-triggers-integration.md",2584,"https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fmemory-management\u002Freferences\u002Fupdate-triggers-integration.md",[101,109,117,124,131,138],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7B1WAEEY273S87Y9A8WT0EN","your-skill-name","Replace with a clear description of what this skill does. Use when \u003Cthe situations that should trigger it>.","CC-BY-4.0","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fyour-skill-name\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7B1W0HKXX2J9R6NSFBFPB12","websocket-engineer","Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with Redis, presence tracking, room management.","MIT","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fwebsocket-engineer\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":19},"01M7B1VXEW7V2QJWBYWTYGDZ4Z","web-security-review","Review web applications against the OWASP Top 10 for Web Applications (2021). Use when auditing web apps, reviewing server-side code, or assessing web frameworks for the classic OWASP Top 10 risks including injection, broken auth, and XSS.","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fweb-security-review\u002FSKILL.md",[],[],{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":19},"01M7B1V47JB0TAGPE3FJPG0F0V","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fvercel-react-view-transitions\u002FSKILL.md",[],[],{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":19},"01M7B1TZS9MNJKTKTFNPRCEB0C","vercel-react-native-skills","React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fvercel-react-native-skills\u002FSKILL.md",[],[],{"skillNo":139,"name":140,"nameZh":6,"description":141,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":19},"01M7B1TT4SA56VD9Z32HKBHGZK","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Faeroalgo\u002Fdev-hub\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[]]