memory-management

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Memory Management

内存管理

This skill implements a two-layer memory system for SEO and GEO projects, maintaining a hot cache for active context and cold storage for detailed historical data. It automatically promotes frequently referenced items and demotes stale data, ensuring optimal context loading and efficient project memory.
该Skill为SEO和GEO项目实现了双层内存系统,为活跃上下文维护hot cache,为详细历史数据维护cold storage。它会自动升级频繁引用的条目并降级陈旧数据,确保上下文加载优化及项目内存高效利用。

When to Use This Skill

何时使用该Skill

  • Setting up memory structure for a new SEO project
  • After completing audits, ranking checks, or performance reports
  • When starting a new campaign or optimization initiative
  • When project context needs updating (new keywords, competitors, priorities)
  • When you need to look up historical data or project-specific terminology
  • After 30+ days of work to clean up and archive stale data
  • When context retrieval feels slow or cluttered
  • 为新SEO项目搭建内存结构
  • 完成审计、排名检查或绩效报告后
  • 启动新营销活动或优化举措时
  • 需要更新项目上下文(新关键词、竞争对手、优先级)时
  • 需要查阅历史数据或项目特定术语时
  • 开展工作30天后清理归档陈旧数据时
  • 上下文检索缓慢或杂乱时

What This Skill Does

该Skill的功能

  1. Hot Cache Management: Maintains CLAUDE.md (~100 lines) with active context that's always loaded
  2. Cold Storage Organization: Structures detailed archives in memory/ subdirectories
  3. Context Lookup: Implements efficient lookup flow from hot cache to cold storage
  4. Promotion/Demotion: Moves items between layers based on reference frequency
  5. Glossary Maintenance: Manages project-specific terminology and shorthand
  6. Update Triggers: Refreshes memory after audits, reports, or ranking checks
  7. Archive Management: Time-stamps and archives old data systematically
  1. Hot Cache管理:维护CLAUDE.md(约100行),存储始终加载的活跃上下文
  2. Cold Storage组织:在memory/子目录中构建详细归档结构
  3. 上下文查询:实现从hot cache到cold storage的高效查询流程
  4. 升级/降级机制:根据引用频率在两层间移动条目
  5. 术语表维护:管理项目特定术语及简写
  6. 更新触发:审计、报告或排名检查后刷新内存
  7. 归档管理:为旧数据添加时间戳并系统化归档

How to Use

使用方法

Initialize Memory Structure

初始化内存结构

Set up SEO memory for [project name]
Initialize memory structure for a new [industry] website optimization project
Set up SEO memory for [project name]
Initialize memory structure for a new [industry] website optimization project

Update After Analysis

分析后更新

Update memory after ranking check for [keyword group]
Refresh hot cache with latest competitor analysis findings
Update memory after ranking check for [keyword group]
Refresh hot cache with latest competitor analysis findings

Query Stored Context

查询存储的上下文

What are our hero keywords?
Show me the last ranking update date for [keyword category]
Look up our primary competitors and their domain authority
What are our hero keywords?
Show me the last ranking update date for [keyword category]
Look up our primary competitors and their domain authority

Promotion and Demotion

升级与降级

Promote [keyword] to hot cache
Archive stale data that hasn't been referenced in 30+ days
Promote [keyword] to hot cache
Archive stale data that hasn't been referenced in 30+ days

Glossary Management

术语表管理

Add [term] to project glossary: [definition]
What does [internal jargon] mean in this project?
Add [term] to project glossary: [definition]
What does [internal jargon] mean in this project?

Data Sources

数据源

See CONNECTORS.md for tool category placeholders.
With ~~SEO tool + ~~analytics + ~~search console connected: Automatically populate memory from historical data: keyword rankings over time, competitor domain authority changes, traffic metrics, conversion data, backlink profile evolution. The skill will fetch current rankings, alert on significant changes, and update both hot cache and cold storage.
With manual data only: Ask the user to provide:
  1. Current target keywords with priority levels
  2. Primary competitors (3-5 domains)
  3. Key performance metrics and last update date
  4. Active campaigns and their status
  5. Any project-specific terminology or abbreviations
Proceed with memory structure creation using provided data. Note in CLAUDE.md which data requires manual updates vs. automated refresh.
有关工具类别占位符,请参阅CONNECTORS.md
连接~~SEO tool + ~~analytics + ~~search console后: 从历史数据自动填充内存:关键词排名变化、竞争对手域名权重变更、流量指标、转化数据、反向链接档案演变。该Skill将获取当前排名,对重大变化发出警报,并同时更新hot cache和cold storage。
仅使用手动数据时: 请用户提供:
  1. 带优先级的当前目标关键词
  2. 主要竞争对手(3-5个域名)
  3. 关键绩效指标及最后更新日期
  4. 活跃营销活动及其状态
  5. 任何项目特定术语或缩写
使用提供的数据创建内存结构。在CLAUDE.md中注明哪些数据需要手动更新、哪些可自动刷新。

Instructions

操作说明

When a user requests SEO memory management:
当用户请求SEO内存管理时:

1. Initialize Memory Structure

1. 初始化内存结构

For new projects, create the following structure:
markdown
undefined
对于新项目,创建以下结构:
markdown
undefined

Directory Structure

目录结构

project-root/ ├── CLAUDE.md # Hot cache (~100 lines) └── memory/ ├── glossary.md # Project terminology ├── keywords/ │ ├── hero-keywords.md # Top priority keywords │ ├── secondary-keywords.md # Medium priority │ ├── long-tail-keywords.md # Long-tail opportunities │ └── historical-rankings.csv # Dated ranking data ├── competitors/ │ ├── primary-competitors.md # Top 3-5 competitors │ ├── [competitor-domain].md # Individual reports │ └── analysis-history/ # Dated analyses ├── audits/ │ ├── technical/ # Technical SEO audits │ ├── content/ # Content audits │ └── backlink/ # Backlink audits ├── content-calendar/ │ ├── active-calendar.md # Current quarter │ ├── published-content.md # Performance tracking │ └── archive/ # Past calendars └── reports/ ├── monthly/ # Monthly reports ├── quarterly/ # Quarterly reports └── campaign/ # Campaign-specific reports
undefined
project-root/ ├── CLAUDE.md # Hot cache (~100 lines) └── memory/ ├── glossary.md # 项目术语 ├── keywords/ │ ├── hero-keywords.md # 高优先级关键词 │ ├── secondary-keywords.md # 中优先级关键词 │ ├── long-tail-keywords.md # 长尾关键词机会 │ └── historical-rankings.csv # 带日期的排名数据 ├── competitors/ │ ├── primary-competitors.md # 前3-5名竞争对手 │ ├── [competitor-domain].md # 独立报告 │ └── analysis-history/ # 带日期的分析报告 ├── audits/ │ ├── technical/ # 技术SEO审计 │ ├── content/ # 内容审计 │ └── backlink/ # 反向链接审计 ├── content-calendar/ │ ├── active-calendar.md # 当前季度 │ ├── published-content.md # 绩效跟踪 │ └── archive/ # 过往日历 └── reports/ ├── monthly/ # 月度报告 ├── quarterly/ # 季度报告 └── campaign/ # 营销活动特定报告
undefined

2. Hot Cache (CLAUDE.md) Structure

2. Hot Cache(CLAUDE.md)结构

Create or update CLAUDE.md with this template:
markdown
undefined
使用以下模板创建或更新CLAUDE.md:
markdown
undefined

[Project Name] - SEO Memory (Hot Cache)

[项目名称] - SEO内存(Hot Cache)

Last Updated: [Date] Project Status: [Active/Maintenance/Growth]
最后更新时间:[日期] 项目状态:[活跃/维护/增长]

Active Target Keywords (Top 10-20)

活跃目标关键词(前10-20个)

Hero Keywords (Priority 1)

核心关键词(优先级1)

KeywordCurrent RankTarget RankVolumeStatus
[keyword 1]#[X]#[Y][vol][tracking/optimizing/achieved]
[keyword 2]#[X]#[Y][vol][tracking/optimizing/achieved]
关键词当前排名目标排名搜索量状态
[keyword 1]#[X]#[Y][vol][跟踪中/优化中/已达成]
[keyword 2]#[X]#[Y][vol][跟踪中/优化中/已达成]

Secondary Keywords (Priority 2)

次要关键词(优先级2)

KeywordCurrent RankTarget RankVolumeStatus
[keyword 1]#[X]#[Y][vol][tracking/optimizing/achieved]
Full keyword database: memory/keywords/
关键词当前排名目标排名搜索量状态
[keyword 1]#[X]#[Y][vol][跟踪中/优化中/已达成]
完整关键词数据库:memory/keywords/

Primary Competitors (Top 3-5)

主要竞争对手(前3-5个)

  1. [Competitor 1] (DA: [X])
    • Main strengths: [brief]
    • Our position vs. them: [ahead/behind/competitive]
  2. [Competitor 2] (DA: [X])
    • Main strengths: [brief]
    • Our position vs. them: [ahead/behind/competitive]
Detailed analyses: memory/competitors/
  1. [Competitor 1](DA: [X])
    • 核心优势:[简述]
    • 我们的相对位置:[领先/落后/竞争]
  2. [Competitor 2](DA: [X])
    • 核心优势:[简述]
    • 我们的相对位置:[领先/落后/竞争]
详细分析报告:memory/competitors/

Current Optimization Priorities

当前优化优先级

  1. [Priority 1] - [Brief description]
    • Status: [not started/in progress/completed]
    • Expected impact: [high/medium/low]
    • Deadline: [date]
  2. [Priority 2] - [Brief description]
    • Status: [not started/in progress/completed]
    • Expected impact: [high/medium/low]
    • Deadline: [date]
  1. [优先级1] - [简述]
    • 状态:[未开始/进行中/已完成]
    • 预期影响:[高/中/低]
    • 截止日期:[日期]
  2. [优先级2] - [简述]
    • 状态:[未开始/进行中/已完成]
    • 预期影响:[高/中/低]
    • 截止日期:[日期]

Key Metrics Snapshot

关键指标快照

Last Metrics Update: [Date]
MetricCurrentPreviousChangeTarget
Organic Traffic[X][X][+/-X%][target]
Avg. Position[X][X][+/-X][target]
Total Keywords Ranking[X][X][+/-X][target]
Page 1 Rankings[X][X][+/-X][target]
Domain Authority[X][X][+/-X][target]
Total Backlinks[X][X][+/-X%][target]
Historical data: memory/reports/
指标最后更新时间:[日期]
指标当前值上期值变化目标值
自然流量[X][X][+/-X%][目标值]
平均排名[X][X][+/-X][目标值]
排名关键词总数[X][X][+/-X][目标值]
首页排名数量[X][X][+/-X][目标值]
域名权重[X][X][+/-X][目标值]
总反向链接数[X][X][+/-X%][目标值]
历史数据:memory/reports/

Active Campaigns

活跃营销活动

[Campaign Name 1]

[营销活动名称1]

  • Duration: [Start date] - [End date]
  • Goal: [Specific goal]
  • Status: [planning/active/completed]
  • Progress: [X]%
  • Key activities: [brief list]
  • 周期:[开始日期] - [结束日期]
  • 目标:[具体目标]
  • 状态:[规划中/活跃/已完成]
  • 进度:[X]%
  • 核心活动:[简要列表]

[Campaign Name 2]

[营销活动名称2]

  • Duration: [Start date] - [End date]
  • Goal: [Specific goal]
  • Status: [planning/active/completed]
  • Progress: [X]%
  • Key activities: [brief list]
Campaign archives: memory/reports/campaign/
  • 周期:[开始日期] - [结束日期]
  • 目标:[具体目标]
  • 状态:[规划中/活跃/已完成]
  • 进度:[X]%
  • 核心活动:[简要列表]
营销活动归档:memory/reports/campaign/

Quick Reference Notes

快速参考笔记

  • [Important note 1]
  • [Important note 2]
  • [Important note 3]
For project terminology, see: memory/glossary.md
undefined
  • [重要笔记1]
  • [重要笔记2]
  • [重要笔记3]
项目术语请参阅:memory/glossary.md
undefined

3. Glossary Structure (memory/glossary.md)

3. 术语表结构(memory/glossary.md)

markdown
undefined
markdown
undefined

[Project Name] - SEO Glossary

[项目名称] - SEO术语表

Purpose: Project-specific terminology, brand terms, internal jargon, and abbreviations.
Last Updated: [Date]
用途:项目特定术语、品牌术语、内部行话及缩写。
最后更新时间:[日期]

Brand Terms

品牌术语

TermFull NameContext
[abbreviation][full name][when/how it's used]
术语全称上下文
[缩写][全称][使用场景/方式]

Product Names

产品名称

Internal NamePublic NameCategory
[code name][market name][product type]
内部名称公开名称类别
[代号][市场名称][产品类型]

Custom Segments

自定义细分

Segment NameDefinitionKeyword Count
Hero KWsTop 10 revenue-driving keywords10
Quick WinsLow-difficulty, high-value targets25
Brand DefenseBrand + modifier combinations15
细分名称定义关键词数量
Hero KWs前10个驱动营收的关键词10
Quick Wins低难度、高价值目标25
Brand Defense品牌+修饰词组合15

Competitor Shorthand

竞争对手简写

ShorthandFull DomainNotes
Comp Acompetitor-a.comMain competitor, [industry]
Comp Bcompetitor-b.comNiche competitor, [specialty]
简写完整域名说明
Comp Acompetitor-a.com主要竞争对手,[行业]
Comp Bcompetitor-b.com细分领域竞争对手,[专长]

Project Acronyms

项目缩写

AcronymFull TermDefinition
[ABC][Full term][What it means in this project]
缩写全称定义
[ABC][全称][在本项目中的含义]

Internal Jargon

内部行话

PhraseMeaningExample Usage
[phrase][definition]"Check rankings for [phrase]"
短语含义使用示例
[短语][定义]"检查[短语]的排名"

Historical Context

历史上下文

  • Project started: [Date]
  • Major algorithm updates affecting us: [List with dates]
  • Site migrations/redesigns: [List with dates]
  • Key milestones: [List with dates]

This glossary helps decode project shorthand and maintain consistency across reports and communications.
undefined
  • 项目启动时间:[日期]
  • 影响我们的主要算法更新:[带日期的列表]
  • 网站迁移/改版:[带日期的列表]
  • 关键里程碑:[带日期的列表]

本术语表用于解读项目简写,确保报告及沟通的一致性。
undefined

4. Context Lookup Flow

4. 上下文查询流程

When a user references something unclear, follow this lookup sequence:
Step 1: Check CLAUDE.md (Hot Cache)
  • Is it in active keywords?
  • Is it in primary competitors?
  • Is it in current priorities or campaigns?
Step 2: Check memory/glossary.md
  • Is it defined as project terminology?
  • Is it a custom segment or shorthand?
Step 3: Check Cold Storage
  • Search memory/keywords/ for historical data
  • Search memory/competitors/ for past analyses
  • Search memory/reports/ for archived mentions
Step 4: Ask User
  • If not found in any layer, ask for clarification
  • Log the new term in glossary if it's project-specific
Example lookup:
markdown
User: "Update rankings for our hero KWs"

Step 1: Check CLAUDE.md → Found "Hero Keywords (Priority 1)" section
Step 2: Extract keyword list from hot cache
Step 3: Execute ranking check
Step 4: Update both CLAUDE.md and memory/keywords/historical-rankings.csv
当用户提及不明确的内容时,遵循以下查询顺序:
步骤1:检查CLAUDE.md(Hot Cache)
  • 是否在活跃关键词中?
  • 是否在主要竞争对手中?
  • 是否在当前优先级或营销活动中?
步骤2:检查memory/glossary.md
  • 是否被定义为项目术语?
  • 是否为自定义细分或简写?
步骤3:检查Cold Storage
  • 在memory/keywords/中搜索历史数据
  • 在memory/competitors/中搜索过往分析报告
  • 在memory/reports/中搜索归档提及内容
步骤4:询问用户
  • 如果在任何层级中未找到,请用户澄清
  • 如果是项目特定术语,将其添加到术语表
查询示例:
markdown
用户:"更新我们的hero keywords排名"

步骤1:检查CLAUDE.md → 找到"核心关键词(优先级1)"部分
步骤2:从hot cache提取关键词列表
步骤3:执行排名检查
步骤4:同时更新CLAUDE.md和memory/keywords/historical-rankings.csv

5. Promotion Logic

5. 升级逻辑

Promote to Hot Cache when:
  1. Keyword promotion triggers:
    • Keyword referenced in 3+ conversations within 7 days
    • Keyword showing significant movement (5+ position change)
    • Keyword targeted in new active campaign
    • Keyword suddenly driving traffic spike
  2. Competitor promotion triggers:
    • Competitor mentioned in 3+ recent analyses
    • Competitor showing aggressive SEO activity
    • Competitor launching competing content
  3. Metric promotion triggers:
    • Metric requested frequently for reporting
    • Metric showing anomalous behavior
    • Metric tied to active priority/campaign
Promotion action:
markdown
1. Add item to relevant section in CLAUDE.md
2. Add note: "Promoted [date] - [reason]"
3. Keep detailed data in cold storage
4. Set reminder to review in 30 days
升级至Hot Cache的触发条件:
  1. 关键词升级触发条件:
    • 7天内被引用3次以上的关键词
    • 排名变化超过5位的关键词
    • 新活跃营销活动瞄准的关键词
    • 突然带来流量激增的关键词
  2. 竞争对手升级触发条件:
    • 近期分析中被提及3次以上的竞争对手
    • 表现出激进SEO活动的竞争对手
    • 推出竞品内容的竞争对手
  3. 指标升级触发条件:
    • 报告中频繁请求的指标
    • 表现出异常行为的指标
    • 与活跃优先级/营销活动绑定的指标
升级操作:
markdown
1. 将条目添加到CLAUDE.md的对应部分
2. 添加备注:"于[日期]升级 - [原因]"
3. 详细数据保留在cold storage中
4. 设置30天后的复查提醒

6. Demotion Logic

6. 降级逻辑

Demote to Cold Storage when:
  1. Keyword demotion triggers:
    • Not referenced in 30+ days
    • Target rank achieved and stable for 60+ days
    • Keyword no longer in active strategy
    • Keyword replaced by higher-priority target
  2. Competitor demotion triggers:
    • No significant activity in 60+ days
    • Fell out of top 5 competitors by relevance
    • No longer targeting same keywords
  3. Campaign demotion triggers:
    • Campaign completed 30+ days ago
    • Campaign cancelled or postponed indefinitely
Demotion action:
markdown
1. Remove from CLAUDE.md
2. Archive full data in memory/[category]/archive/
3. Add line to CLAUDE.md: "Last reviewed [category]: [date]"
4. Keep 1-line summary if historically significant
降级至Cold Storage的触发条件:
  1. 关键词降级触发条件:
    • 30天未被引用
    • 达成目标排名并稳定60天以上
    • 不再属于活跃策略的关键词
    • 被更高优先级目标取代的关键词
  2. 竞争对手降级触发条件:
    • 60天无重大活动
    • 掉出相关性前5的竞争对手行列
    • 不再瞄准相同关键词
  3. 营销活动降级触发条件:
    • 营销活动完成30天以上
    • 营销活动被取消或无限期推迟
降级操作:
markdown
1. 从CLAUDE.md中移除
2. 将完整数据归档到memory/[类别]/archive/
3. 在CLAUDE.md中添加一行:"[类别]最后复查时间:[日期]"
4. 如果具有历史重要性,保留1行摘要

7. Update Triggers

7. 更新触发机制

After specific events, update memory systematically:
After Ranking Check:
markdown
1. Update CLAUDE.md → Hero Keywords table (current ranks)
2. Append to memory/keywords/historical-rankings.csv
3. Note any keywords with significant movement
4. Update "Last Metrics Update" date in CLAUDE.md
5. If hero keyword moves ±5 positions, create alert note
After Competitor Analysis:
markdown
1. Update CLAUDE.md → Primary Competitors section (DA, position vs. them)
2. Save full report to memory/competitors/analysis-history/YYYY-MM-DD-analysis.md
3. Update individual competitor files if detailed findings
4. Note new competitor strategies in hot cache
After Audit (Technical/Content/Backlink):
markdown
1. Save full report to memory/audits/[type]/YYYY-MM-DD-[audit-name].md
2. Extract top 3-5 action items → CLAUDE.md Current Optimization Priorities
3. Update Key Metrics Snapshot if audit includes metrics
4. Create campaign entry if audit spawns new initiative
After Monthly/Quarterly Report:
markdown
1. Save report to memory/reports/[period]/YYYY-MM-report.md
2. Update all metrics in CLAUDE.md Key Metrics Snapshot
3. Review hot cache → demote stale items
4. Update campaign statuses
5. Archive completed campaigns
在特定事件后,系统化更新内存:
排名检查后:
markdown
1. 更新CLAUDE.md → 核心关键词表格(当前排名)
2. 追加到memory/keywords/historical-rankings.csv
3. 记录排名变化显著的关键词
4. 更新CLAUDE.md中的"指标最后更新时间"
5. 如果核心关键词排名变化±5位,创建警报备注
竞争对手分析后:
markdown
1. 更新CLAUDE.md → 主要竞争对手部分(DA、相对位置)
2. 将完整报告保存到memory/competitors/analysis-history/YYYY-MM-DD-analysis.md
3. 如果有详细发现,更新单个竞争对手文件
4. 在hot cache中记录新的竞争对手策略
审计后(技术/内容/反向链接):
markdown
1. 将完整报告保存到memory/audits/[类型]/YYYY-MM-DD-[审计名称].md
2. 提取前3-5个行动项 → CLAUDE.md的当前优化优先级
3. 如果审计包含指标,更新关键指标快照
4. 如果审计催生新举措,创建营销活动条目
月度/季度报告后:
markdown
1. 将报告保存到memory/reports/[周期]/YYYY-MM-report.md
2. 更新CLAUDE.md关键指标快照中的所有指标
3. 复查hot cache → 降级陈旧条目
4. 更新营销活动状态
5. 归档已完成的营销活动

8. Archive Management

8. 归档管理

Monthly Archive Routine:
markdown
1. Review CLAUDE.md for items not referenced in 30 days
2. Move stale items to appropriate cold storage
3. Create monthly snapshot: memory/snapshots/YYYY-MM-CLAUDE.md
4. Compress old historical-rankings.csv (keep only last 90 days in main file)
5. Update glossary with new terms from the month
Quarterly Archive Routine:
markdown
1. Review entire cold storage structure
2. Compress files older than 6 months
3. Create quarterly summary report
4. Update project timeline in glossary
5. Audit all active campaigns → archive completed ones
月度归档流程:
markdown
1. 复查CLAUDE.md中30天未被引用的条目
2. 将陈旧条目移至对应cold storage
3. 创建月度快照:memory/snapshots/YYYY-MM-CLAUDE.md
4. 压缩旧的historical-rankings.csv(主文件仅保留最近90天数据)
5. 将当月新增术语添加到术语表
季度归档流程:
markdown
1. 复查整个cold storage结构
2. 压缩6个月以上的文件
3. 创建季度摘要报告
4. 更新术语表中的项目时间线
5. 审计所有活跃营销活动 → 归档已完成的活动

9. Cross-Skill Memory Integration

9. 跨Skill内存集成

This skill coordinates with other SEO skills:
When keyword-research runs:
  • Add discovered keywords to memory/keywords/
  • Promote top opportunities to CLAUDE.md if high-value
  • Update glossary if new terminology emerges
When rank-tracker runs:
  • Update historical-rankings.csv
  • Refresh CLAUDE.md Hero Keywords table
  • Flag significant movements for hot cache notes
When competitor-analysis runs:
  • Update competitor files in memory/competitors/
  • Refresh CLAUDE.md Primary Competitors section
  • Add new competitors if they outrank current top 5
When content-gap-analysis runs:
  • Store full findings in memory/audits/content/
  • Promote gap opportunities to CLAUDE.md priorities
  • Update content calendar with recommended topics
When seo-content-writer produces content:
  • Log to memory/content-calendar/published-content.md
  • Track target keyword and publish date
  • Set reminder to check performance in 30 days
该Skill与其他SEO Skill协同工作:
当keyword-research运行时:
  • 将发现的关键词添加到memory/keywords/
  • 如果是高价值机会,升级到CLAUDE.md
  • 如果出现新术语,更新术语表
当rank-tracker运行时:
  • 更新historical-rankings.csv
  • 刷新CLAUDE.md的核心关键词表格
  • 为hot cache备注标记排名重大变化
当competitor-analysis运行时:
  • 更新memory/competitors/中的竞争对手文件
  • 刷新CLAUDE.md的主要竞争对手部分
  • 如果新竞争对手超过当前前5名,添加到列表
当content-gap-analysis运行时:
  • 将完整发现存储到memory/audits/content/
  • 将差距机会升级到CLAUDE.md的优先级
  • 用推荐主题更新内容日历
当seo-content-writer生成内容时:
  • 记录到memory/content-calendar/published-content.md
  • 跟踪目标关键词及发布日期
  • 设置30天后的绩效检查提醒

Validation Checkpoints

验证检查点

Structure Validation

结构验证

  • CLAUDE.md exists and is under 150 lines (aim for ~100)
  • memory/ directory structure matches template
  • glossary.md exists and is populated with project basics
  • All historical data files include timestamps in filename or metadata
  • CLAUDE.md已存在且行数不超过150行(目标约100行)
  • memory/目录结构与模板匹配
  • glossary.md已存在并填充项目基础信息
  • 所有历史数据文件的文件名或元数据包含时间戳

Content Validation

内容验证

  • CLAUDE.md "Last Updated" date is current
  • Every keyword in hot cache has current rank, target rank, and status
  • Every competitor has domain authority and position assessment
  • Every active campaign has status percentage and expected completion date
  • Key Metrics Snapshot shows "Previous" values for comparison
  • CLAUDE.md的“最后更新时间”为当前日期
  • hot cache中的每个关键词都有当前排名、目标排名和状态
  • 每个竞争对手都有域名权重和位置评估
  • 每个活跃营销活动都有状态进度和预计完成日期
  • 关键指标快照显示用于对比的“上期值”

Lookup Validation

查询验证

  • Test lookup flow: reference a term → verify it finds it in correct layer
  • Test promotion: manually promote item → verify it appears in CLAUDE.md
  • Test demotion: manually archive item → verify removed from CLAUDE.md
  • Glossary contains all custom segments and shorthand used in CLAUDE.md
  • 测试查询流程:引用一个术语 → 验证在正确层级找到
  • 测试升级:手动升级条目 → 验证出现在CLAUDE.md中
  • 测试降级:手动归档条目 → 验证从CLAUDE.md中移除
  • 术语表包含CLAUDE.md中使用的所有自定义细分和简写

Update Validation

更新验证

  • After ranking check, historical-rankings.csv has new row with today's date
  • After competitor analysis, analysis-history/ has dated file
  • After audit, top action items appear in CLAUDE.md priorities
  • After monthly report, metrics snapshot reflects new data
  • 排名检查后,historical-rankings.csv添加了带当日日期的新行
  • 竞争对手分析后,analysis-history/中出现带日期的文件
  • 审计后,前几项行动项出现在CLAUDE.md的优先级中
  • 月度报告后,指标快照反映新数据

Example

示例

User: "Update rankings for our hero keywords"
Assistant:
markdown
I'll update rankings for your hero keywords. Let me check the hot cache for the list.

[Reads CLAUDE.md, finds Hero Keywords section:]
- keyword research tools (currently #15, target #5)
- best seo software (currently #23, target #10)
- free backlink checker (currently #8, target #3)
- content optimization guide (currently #12, target #5)
- technical seo audit (currently #18, target #8)

[If ~~SEO tool connected: runs automated ranking check]
[If manual: asks user for current rankings]

---
用户:"更新我们的核心关键词排名"
助手
markdown
我将为您更新核心关键词排名。让我先查看hot cache中的列表。

[读取CLAUDE.md,找到核心关键词部分:]
- keyword research tools(当前排名#15,目标#5)
- best seo software(当前排名#23,目标#10)
- free backlink checker(当前排名#8,目标#3)
- content optimization guide(当前排名#12,目标#5)
- technical seo audit(当前排名#18,目标#8)

[若已连接~~SEO tool:运行自动排名检查]
[若手动操作:询问用户当前排名]

---

Ranking Update - December 15, 2024

排名更新 - 2024年12月15日

KeywordPreviousCurrentChangeTargetStatus
keyword research tools#15#12↑3#5Improving ⭐
best seo software#23#24↓1#10Stable
free backlink checker#8#6↑2#3Near target ⭐⭐
content optimization guide#12#11↑1#5Improving
technical seo audit#18#16↑2#8Improving
关键词上期排名当前排名变化目标排名状态
keyword research tools#15#12↑3#5优化中 ⭐
best seo software#23#24↓1#10稳定
free backlink checker#8#6↑2#3接近目标 ⭐⭐
content optimization guide#12#11↑1#5优化中
technical seo audit#18#16↑2#8优化中

Notable Changes

重大变化说明

  • free backlink checker moved to #6 (only 3 positions from target!)
  • keyword research tools gained 3 positions (strong movement)
  • All other keywords showing stable or positive movement
  • free backlink checker 升至#6(距离目标#3仅差3位!)
  • keyword research tools 上升3位(增长显著)
  • 其他所有关键词均呈现稳定或正向增长

Updated Files

更新的文件

  1. CLAUDE.md → Hero Keywords table updated with current ranks
  2. memory/keywords/historical-rankings.csv → New row added:
    2024-12-15,keyword research tools,12,best seo software,24,free backlink checker,6,...
  1. CLAUDE.md → 核心关键词表格已更新当前排名
  2. memory/keywords/historical-rankings.csv → 添加新行:
    2024-12-15,keyword research tools,12,best seo software,24,free backlink checker,6,...

Recommendations

建议

  1. Push additional content/backlinks to "free backlink checker" pages to hit #3 target
  2. Investigate why "keyword research tools" suddenly gained 3 positions (replicate success)
  3. Monitor "best seo software" for any negative trends
Hot cache refreshed. Next ranking check recommended: December 22, 2024.

---

**User**: "What does 'quick wins' mean in our project?"

**Assistant**:

```markdown
Let me look that up in the project memory.

[Step 1: Check CLAUDE.md → not found]
[Step 2: Check memory/glossary.md → found!]

From your project glossary:

**Quick Wins**
- **Definition**: Low-difficulty, high-value target keywords
- **Keyword Count**: 25 keywords
- **Context**: This segment includes keywords where you can achieve page 1 rankings within 30-60 days due to low competition, despite having decent search volume

According to your memory files, your current quick wins are stored in:
`memory/keywords/long-tail-keywords.md` (tagged with "quick-win" label)

Would you like me to show you the current list of quick win keywords?

User: "Set up memory for a new e-commerce site selling outdoor gear"
Assistant:
markdown
I'll set up the two-layer memory system for your outdoor gear e-commerce site.
  1. 为"free backlink checker"页面推送更多内容/反向链接,以达成#3的目标
  2. 调查"keyword research tools"突然增长3位的原因(复制成功经验)
  3. 监控"best seo software"的负面趋势
Hot cache已刷新。建议下次排名检查时间:2024年12月22日。

---

**用户**:"在我们的项目中,'quick wins'是什么意思?"

**助手**:

```markdown
让我在项目内存中查询该术语。

[步骤1:检查CLAUDE.md → 未找到]
[步骤2:检查memory/glossary.md → 找到!]

来自您的项目术语表:

**Quick Wins**
- **定义**:低难度、高价值目标关键词
- **关键词数量**:25个
- **上下文**:该细分包含竞争度低但搜索量可观的关键词,您可在30-60天内达成首页排名

根据内存文件,当前的quick wins存储在:
`memory/keywords/long-tail-keywords.md`(标记有"quick-win"标签)

是否需要为您展示当前的quick wins关键词列表?

用户:"为销售户外装备的新电商网站搭建内存系统"
助手
markdown
我将为您的户外装备电商网站搭建双层内存系统。

Creating Directory Structure

创建目录结构

[Creates: memory/glossary.md, memory/keywords/, memory/competitors/, etc.]
[创建:memory/glossary.md, memory/keywords/, memory/competitors/等]

CLAUDE.md (Hot Cache) - Initial Setup

CLAUDE.md(Hot Cache)- 初始设置

I'll need some information to populate the hot cache:
  1. Target Keywords: What are your top 10 hero keywords? (e.g., "hiking backpacks", "camping tents", "outdoor clothing")
  2. Primary Competitors: Who are your top 3-5 competitors? (e.g., rei.com, backcountry.com, moosejaw.com)
  3. Current Metrics (if available):
    • Domain authority?
    • Current organic traffic?
    • Any existing rankings?
  4. Active Initiatives:
    • Are you launching a new category?
    • Running a content campaign?
    • Focusing on any specific product line?
  5. Project Terminology:
    • Any internal product names or abbreviations?
    • How do you segment your keyword strategy?
Please provide what you have, and I'll create your initial CLAUDE.md and glossary. We can start with basics and enrich as we gather more data.

Once you provide this information, I'll generate:
  • CLAUDE.md with your initial hot cache
  • memory/glossary.md with project terminology
  • memory/keywords/ structure with placeholder files
  • memory/competitors/ with initial competitor list
  • memory/content-calendar/active-calendar.md for Q1 2025
After setup, you can use commands like:
  • "Update rankings for hero keywords"
  • "Add new competitor [domain]"
  • "Promote [keyword] to hot cache"
  • "Archive campaigns from Q3 2024"
undefined
我需要一些信息来填充hot cache:
  1. 目标关键词:您的前10个核心关键词是什么? (例如:"hiking backpacks", "camping tents", "outdoor clothing")
  2. 主要竞争对手:您的前3-5个主要竞争对手是谁? (例如:rei.com, backcountry.com, moosejaw.com)
  3. 当前指标(若有):
    • 域名权重?
    • 当前自然流量?
    • 现有排名?
  4. 活跃举措
    • 您是否要推出新类别?
    • 是否在开展内容营销活动?
    • 是否聚焦特定产品线?
  5. 项目术语
    • 任何内部产品名称或缩写?
    • 您如何细分关键词策略?
请提供您已有的信息,我将创建初始的CLAUDE.md和术语表。我们可以先搭建基础,后续再补充更多数据。

您提供信息后,我将生成:
  • 包含初始hot cache的CLAUDE.md
  • 包含项目术语的memory/glossary.md
  • 带占位文件的memory/keywords/结构
  • 包含初始竞争对手列表的memory/competitors/
  • 2025年第一季度的memory/content-calendar/active-calendar.md
设置完成后,您可使用以下命令:
  • "更新核心关键词排名"
  • "添加新竞争对手[域名]"
  • "将[关键词]升级到hot cache"
  • "归档2024年第三季度的营销活动"
undefined

Advanced Features

高级功能

Smart Context Loading

智能上下文加载

Load full context for [campaign name]
Retrieves hot cache + all cold storage files related to campaign.
Load full context for [campaign name]
检索与营销活动相关的hot cache + 所有cold storage文件。

Memory Health Check

内存健康检查

Run memory health check
Audits memory structure: finds orphaned files, missing timestamps, stale hot cache items, broken references.
Run memory health check
审计内存结构:查找孤立文件、缺失时间戳的文件、陈旧hot cache条目、无效引用。

Bulk Promotion/Demotion

批量升级/降级

Promote all keywords ranking in top 10 to hot cache
Demote all completed campaigns from Q3 2024
Promote all keywords ranking in top 10 to hot cache
Demote all completed campaigns from Q3 2024

Memory Snapshot

内存快照

Create memory snapshot for [date/milestone]
Takes point-in-time copy of entire memory structure for major milestones (site launches, algorithm updates, etc.).
Create memory snapshot for [date/milestone]
为重大里程碑(网站上线、算法更新等)创建整个内存结构的时间点副本。

Cross-Project Memory

跨项目内存

Compare memory with [other project name]
Identifies keyword overlaps, competitor intersections, and strategy similarities across multiple projects.
Compare memory with [other project name]
识别多个项目间的关键词重叠、竞争对手交集及策略相似性。

Tips for Success

成功技巧

  1. Keep hot cache lean - CLAUDE.md should never exceed 150 lines. If it grows larger, aggressively demote.
  2. Date everything - Every file in cold storage should have YYYY-MM-DD in filename or prominent metadata.
  3. Update after every significant action - Don't let memory drift from reality. Update immediately after ranking checks, audits, or reports.
  4. Use glossary liberally - If you find yourself explaining a term twice, add it to glossary.
  5. Review hot cache weekly - Quick scan to ensure everything there is still relevant and active.
  6. Automate where possible - If ~~SEO tool or ~~search console connected, set up automatic updates to historical-rankings.csv.
  7. Archive aggressively - Better to have data in cold storage and not need it than clutter hot cache.
  8. Link between layers - CLAUDE.md should always reference where detailed data lives ("Full data: memory/keywords/").
  9. Timestamp changes - When updating CLAUDE.md, always update "Last Updated" date.
  10. Use memory for continuity - If you switch between different analysis sessions, memory ensures nothing is forgotten.
  1. 保持hot cache精简 - CLAUDE.md绝不能超过150行。若行数过多,果断降级条目。
  2. 为所有内容添加日期 - cold storage中的每个文件都应在文件名或显眼元数据中包含YYYY-MM-DD。
  3. 重大操作后立即更新 - 不要让内存与实际情况脱节。排名检查、审计或报告后立即更新。
  4. 充分使用术语表 - 如果您发现自己两次解释同一个术语,将其添加到术语表。
  5. 每周复查hot cache - 快速扫描确保所有内容仍具相关性且处于活跃状态。
  6. 尽可能自动化 - 如果已连接SEO tool或search console,设置自动更新historical-rankings.csv。
  7. 果断归档 - 宁可将数据存在cold storage中用不上,也不要让hot cache杂乱不堪。
  8. 在层级间建立链接 - CLAUDE.md应始终注明详细数据的存储位置("完整数据:memory/keywords/")。
  9. 为变更添加时间戳 - 更新CLAUDE.md时,务必更新"最后更新时间"。
  10. 利用内存保持连续性 - 如果您在不同分析会话间切换,内存可确保不会遗漏任何信息。

Related Skills

相关Skill

  • rank-tracker - Provides ranking data to update memory
  • competitor-analysis - Generates competitor reports for storage
  • keyword-research - Discovers keywords to add to memory
  • performance-reporter - Creates reports that trigger memory updates
  • content-gap-analysis - Identifies optimization priorities for hot cache
  • seo-content-writer - Logs published content to memory calendar
  • content-quality-auditor - Audit results stored in memory for tracking
  • rank-tracker - 提供排名数据以更新内存
  • competitor-analysis - 生成竞争对手报告用于存储
  • keyword-research - 发现可添加到内存的关键词
  • performance-reporter - 创建触发内存更新的报告
  • content-gap-analysis - 识别可升级到hot cache的优化优先级
  • seo-content-writer - 将已发布内容记录到内存日历
  • content-quality-auditor - 审计结果存储到内存中用于跟踪