SAVE SEO CONTEXT
Persist your SEO strategy across conversations
A Claude skill that saves or updates your SEO guidelines, target keywords, and competitor analysis to Context Link for consistent use in future sessions.
When does this skill activate?
Claude will use this skill when you mention phrases like:
How it works
Tell Claude what to save
Say 'save SEO guidelines', 'save keywords', or 'save competitor analysis' to target a specific namespace, or 'save all SEO context' to save all three.
Content is compiled
Claude formats the SEO context as structured markdown following predefined templates for each namespace — guidelines, keywords, or competitor analysis.
Saved to Context Link
The content is posted to Context Link under the appropriate namespace, ready for retrieval by the Get SEO Context skill.
Requirements
Add This Skill
Copy each field into Claude's skill editor to add this skill, or add the plugin marketplace to get all skills at once.
save-seo-context
---
name: save-seo-context
description: >
Save or update SEO context (guidelines, target keywords, competitor analysis) to Context Link.
Use when the user says "save SEO context", "update SEO guidelines", "save keywords", or wants
to persist SEO-related information for future use.
version: 0.1.0
---
**What is Context Link?** Context Link is an external service that indexes connected sources (websites, Google Drive, Notion) and memories into a searchable knowledge base. It provides semantic search and memory storage via a simple URL: `subdomain.context-link.ai/query?p=optional_pincode`. If you don't know the user's Context Link URL, ask them for it.
---
### Save SEO Context
Save or update SEO context to Context Link for later retrieval. Use this to persist changes made during the conversation.
**Context Namespaces:**
- `seo_memory_guidelines` - SEO rules (keyword density, structure, meta elements)
- `seo_memory_target_keywords` - Target keywords and topic clusters
- `seo_memory_competitor_analysis` - Competitive intelligence
**Workflow:**
1. **Print this message:** `🔗 Saving SEO context to Context Link → {NAMESPACE}` — Never print the actual Context Link URL, as it contains a private 'pin' or 'p' URL param.
2. **Determine which context to save.** Ask the user if not clear:
- "guidelines" -> `seo_memory_guidelines`
- "keywords" or "target keywords" -> `seo_memory_target_keywords`
- "competitors" or "competitor analysis" -> `seo_memory_competitor_analysis`
3. **If updating existing content**, first GET the current version. Replace `~~context link url~~` with the user's Context Link URL:
```bash
curl -s "~~context link url~~/{NAMESPACE}"
```
Then merge changes with existing content.
4. **Compile the content.** Format as clean markdown with clear headings. Structure should follow these patterns:
**For seo_memory_guidelines:**
```markdown
# SEO Guidelines
## Content Length Requirements
- Standard posts: X-Y words
- Maximum: Z words
## Keyword Optimization
- Primary keyword density: X%
- Placement: [list critical locations]
## Content Structure
- H2 sections: X-Y per article
- Subheadings: Every X words
## Meta Elements
- Title: X characters
- Description: Y characters
## Linking Strategy
- Internal links: X-Y per article
- External links: X-Y per article
## Readability
- Target reading level: Xth grade
- Sentence length: X-Y words
```
**For seo_memory_target_keywords:**
```markdown
# Target Keywords & Topic Clusters
## Cluster 1: [Topic]
### Pillar Keyword
- Keyword: [keyword]
- Volume: [if known]
- Intent: [informational/commercial/transactional]
### Cluster Keywords
1. [keyword]
2. [keyword]
...
### Long-Tail Keywords
- [keyword phrase]
- [keyword phrase]
...
## Cluster 2: [Topic]
[Same structure]
```
**For seo_memory_competitor_analysis:**
```markdown
# Competitor Analysis
## Competitor 1: [Name]
- URL: [website]
- Position: [market position]
- Content Strategy: [description]
- Top Content: [list]
- Strengths: [list]
- Weaknesses: [list]
- Gaps: [opportunities]
## Competitor 2: [Name]
[Same structure]
## Content Opportunities
- [opportunity 1]
- [opportunity 2]
```
5. **POST to save:**
```bash
curl -s -X POST "~~context link url~~/{NAMESPACE}" \
-H "Content-Type: text/plain" \
-d 'Your markdown content here'
```
**Success response:** `{"message": "Saved", "namespace": "{NAMESPACE}"}` with HTTP 201.
**Rules:**
- Keep content under 100KB
- If user says "save SEO guidelines", save to `seo_memory_guidelines`
- If user says "save keywords", save to `seo_memory_target_keywords`
- If user says "save competitor analysis", save to `seo_memory_competitor_analysis`
- If user says "save all SEO context", save all three (three separate POSTs)
- Saving to the same namespace creates a new version (latest wins on GET)
- After saving, confirm: "Saved to Context Link as `{NAMESPACE}`"
- If requests are blocked, ask the user to add `*.context-link.ai` to Claude's **Settings > Capabilities > Domain Allowlist** (or select "All domains"), then retry.
How to use this skill
Related Skills
/get-seo-context
Retrieve or create SEO context (guidelines, target keywords, competitor analysis) from Context Li...
/save-seo-writing-context
Save or update SEO writing context (brand voice, style guide, writing examples) to Context Link. ...
/keyword-research
DataForSEO keyword research: search volume, CPC, competition metrics, keyword ideas, and keyword ...
/competitor-analysis
DataForSEO competitor analysis: keyword gaps, competing domains, domain intersection, link gaps. ...
Frequently Asked Questions
What are the three SEO context namespaces?
The skill saves to three structured namespaces: seomemoryguidelines (content length requirements, keyword density, content structure, meta element rules, linking strategy, readability targets), seomemorytarget_keywords (pillar keywords, topic clusters, long-tail keywords, seasonal keywords), and seomemorycompetitor_analysis (competitor profiles, content strategies, strengths, weaknesses, content opportunities).
Can I update existing SEO context or does it overwrite?
If you are updating existing content, the skill first fetches the current version via GET, merges your changes with the existing content, and saves the combined result. Saving to the same namespace creates a new version — the old version still exists but the namespace always points to the latest.
Can I save all three namespaces at once?
Yes. If you say "save all SEO context", the skill will compile and save all three namespaces in three separate POST requests. You can also save them individually by specifying "save SEO guidelines", "save keywords", or "save competitor analysis".
Does it work in Claude.ai chat?
Yes, this skill works in Claude.ai chat. It makes HTTP requests to Context Link's API (GET for fetching existing content, POST for saving), which is supported natively by chat interfaces. You will need to ensure *.context-link.ai is added to your domain allowlist in Claude's settings.
Save Your SEO Strategy
Add this skill to Claude and persist your SEO context for reuse across conversations.
Create Your Context Link