Loading...
Loading...
Manages a two-layer memory system (hot cache + cold storage) for SEO/GEO project context, tracking keywords, competitors, metrics, and campaign status with intelligent promotion/demotion.
npx skill4agent add aaron-he-zhu/seo-geo-claude-skills memory-managementSet up SEO memory for [project name]Initialize memory structure for a new [industry] website optimization projectUpdate memory after ranking check for [keyword group]Refresh hot cache with latest competitor analysis findingsWhat are our hero keywords?Show me the last ranking update date for [keyword category]Look up our primary competitors and their domain authorityPromote [keyword] to hot cacheArchive stale data that hasn't been referenced in 30+ daysAdd [term] to project glossary: [definition]What does [internal jargon] mean in this project?See CONNECTORS.md for tool category placeholders.
## 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# [Project Name] - SEO Memory (Hot Cache)
**Last Updated**: [Date]
**Project Status**: [Active/Maintenance/Growth]
## Active Target Keywords (Top 10-20)
### Hero Keywords (Priority 1)
| Keyword | Current Rank | Target Rank | Volume | Status |
|---------|--------------|-------------|--------|--------|
| [keyword 1] | #[X] | #[Y] | [vol] | [tracking/optimizing/achieved] |
| [keyword 2] | #[X] | #[Y] | [vol] | [tracking/optimizing/achieved] |
### Secondary Keywords (Priority 2)
| Keyword | Current Rank | Target Rank | Volume | Status |
|---------|--------------|-------------|--------|--------|
| [keyword 1] | #[X] | #[Y] | [vol] | [tracking/optimizing/achieved] |
_Full keyword database: memory/keywords/_
## Primary Competitors (Top 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/_
## 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]
## Key Metrics Snapshot
**Last Metrics Update**: [Date]
| Metric | Current | Previous | Change | Target |
|--------|---------|----------|--------|--------|
| 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/_
## Active Campaigns
### [Campaign Name 1]
- **Duration**: [Start date] - [End date]
- **Goal**: [Specific goal]
- **Status**: [planning/active/completed]
- **Progress**: [X]%
- **Key activities**: [brief list]
### [Campaign Name 2]
- **Duration**: [Start date] - [End date]
- **Goal**: [Specific goal]
- **Status**: [planning/active/completed]
- **Progress**: [X]%
- **Key activities**: [brief list]
_Campaign archives: memory/reports/campaign/_
## Quick Reference Notes
- [Important note 1]
- [Important note 2]
- [Important note 3]
_For project terminology, see: memory/glossary.md_# [Project Name] - SEO Glossary
**Purpose**: Project-specific terminology, brand terms, internal jargon, and abbreviations.
**Last Updated**: [Date]
## Brand Terms
| Term | Full Name | Context |
|------|-----------|---------|
| [abbreviation] | [full name] | [when/how it's used] |
## Product Names
| Internal Name | Public Name | Category |
|---------------|-------------|----------|
| [code name] | [market name] | [product type] |
## Custom Segments
| Segment Name | Definition | Keyword Count |
|--------------|------------|---------------|
| Hero KWs | Top 10 revenue-driving keywords | 10 |
| Quick Wins | Low-difficulty, high-value targets | 25 |
| Brand Defense | Brand + modifier combinations | 15 |
## Competitor Shorthand
| Shorthand | Full Domain | Notes |
|-----------|-------------|-------|
| Comp A | competitor-a.com | Main competitor, [industry] |
| Comp B | competitor-b.com | Niche competitor, [specialty] |
## Project Acronyms
| Acronym | Full Term | Definition |
|---------|-----------|------------|
| [ABC] | [Full term] | [What it means in this project] |
## Internal Jargon
| Phrase | Meaning | Example 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._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.csv1. 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 days1. 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 significant1. 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 note1. 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 cache1. 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 initiative1. 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 campaigns1. 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 month1. 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 onesI'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]
---
## Ranking Update - December 15, 2024
| Keyword | Previous | Current | Change | Target | Status |
|---------|----------|---------|--------|--------|--------|
| keyword research tools | #15 | #12 | ↑3 | #5 | Improving ⭐ |
| best seo software | #23 | #24 | ↓1 | #10 | Stable |
| free backlink checker | #8 | #6 | ↑2 | #3 | Near target ⭐⭐ |
| content optimization guide | #12 | #11 | ↑1 | #5 | Improving |
| technical seo audit | #18 | #16 | ↑2 | #8 | Improving |
### 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
### 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,...`
### 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.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?I'll set up the two-layer memory system for your outdoor gear e-commerce site.
## Creating Directory Structure
[Creates: memory/glossary.md, memory/keywords/, memory/competitors/, etc.]
## CLAUDE.md (Hot Cache) - Initial Setup
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"Load full context for [campaign name]Run memory health checkPromote all keywords ranking in top 10 to hot cacheDemote all completed campaigns from Q3 2024Create memory snapshot for [date/milestone]Compare memory with [other project name]