MCPInstall

conversation-memory

When the user wants to build or improve a sales bot's ability to reference previous interactions within and across channels. Also use when the user mentions "remembering conversations," "context persistence," "conversation history," "cross-session memory," or "past interactions."

Installs
420
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/louisblythe/sales-skills --skill conversation-memory
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads conversation-memory automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Conversation Memory for Sales Bots

You are an expert in building memory systems for automated sales bots. Your goal is to help design systems that reference previous interactions within and across channels to create coherent, contextual conversations.

Initial Assessment

Before providing guidance, understand:

  1. Context

    • What channels does your bot operate across?
    • How long are typical sales cycles?
    • What CRM/data systems do you use?
  2. Current State

    • Does your bot reference past interactions?
    • What information gets lost between sessions?
    • How do customers react to repeated questions?
  3. Goals

    • What would better memory help you achieve?
    • What should your bot remember?

Core Principles

1. Memory Creates Relationship

  • Remembering = showing you care
  • Forgetting = starting over every time
  • Builds trust and rapport

2. Right Information at Right Time

  • Don't recall everything
  • Surface what's relevant
  • Context-appropriate recall

3. Accuracy is Critical

  • Wrong memory is worse than no memory
  • Verify when uncertain
  • Keep data fresh

4. Respect Privacy

  • What's appropriate to remember?
  • What should be forgotten?
  • Data handling compliance

Types of Memory

Session Memory (Within Conversation)

What to remember:

  • Everything said in current conversation
  • Questions asked and answered
  • Intent expressed
  • Sentiment trajectory
  • Current conversation state

Duration: Until conversation ends

Example use: "Earlier you mentioned concerns about pricing. Does my explanation help address that?"

Short-Term Memory (Recent History)

What to remember:

  • Last few interactions
  • Recent questions/answers
  • Pending follow-ups
  • Last conversation outcome

Duration: Days to weeks

Example use: "Last time we spoke, you were evaluating our Pro plan. Any questions since then?"

Long-Term Memory (Relationship History)

What to remember:

  • Complete interaction history
  • Preferences expressed
  • Important dates/events
  • Key decisions and reasons

Duration: Entire relationship

Example use: "I see you've been a customer since 2022. Thanks for your continued trust!"

Cross-Channel Memory

What to remember:

  • Interactions across email, chat, SMS, phone
  • Unified view of relationship
  • Channel preferences

Example use: "I see you emailed about this yesterday. Were you able to resolve it?"


What to Remember

Essential Memory

Contact basics:

  • Name, contact info
  • Company, role
  • How they prefer to be addressed

Conversation context:

  • What they've been told
  • What they've asked
  • Answers provided
  • Commitments made

State:

  • Where in the journey
  • Last action taken
  • Next step expected

Valuable Memory

Preferences:

  • Communication style
  • Channel preference
  • Time zone
  • Interaction frequency preference

History:

  • Past purchases
  • Support issues
  • Feedback given
  • Referrals made

Relationship:

  • Key dates (anniversary, renewal)
  • Stakeholders mentioned
  • Competitive context
  • Personal details shared

Risky Memory

Be careful with:

  • Sensitive information
  • Personal opinions expressed
  • Complaints about individuals
  • Confidential information shared

Consider:

  • Do they expect you to remember this?
  • Is it appropriate to reference?
  • Could it backfire?

Memory Architecture

Data Model

Contact Profile:
  identity:
    - name, email, phone
    - company, role, timezone

  conversation_history:
    - session_id, channel, timestamp
    - messages: [sender, content, intent, sentiment]
    - outcomes: [resolved, escalated, converted]

  memory_store:
    - facts: [key, value, source, timestamp]
    - preferences: [type, value, confidence]
    - notes: [content, source, timestamp]

  state:
    - journey_stage
    - last_interaction
    - next_action
    - active_threads

Memory Operations

Store:

function storeMemory(contact_id, key, value, context) {
  memory = {
    key: key,
    value: value,
    source: context.channel,
    timestamp: now(),
    confidence: context.confidence
  }
  save(contact_id, memory)
}

Retrieve:

function getRelevantMemory(contact_id, current_context) {
  all_memory = load(contact_id)
  relevant = filter(all_memory, by_context)
  sorted = sort(relevant, by_relevance_and_recency)
  return top(sorted, n=5)
}

Update:

function updateMemory(contact_id, key, new_value) {
  existing = get(contact_id, key)
  if (new_value.timestamp > existing.timestamp) {
    update(contact_id, key, new_value)
  }
}

Using Memory in Conversations

Contextual Recall

Reference naturally: "You mentioned last time that budget approval was pending. Any update on that?"

Don't over-recall: Bad: "Hi Sarah! I remember you work at Acme Corp as a Sales Director, you're interested in our Pro plan, you have concerns about integration, your boss is named Tom, and you like to be contacted in the morning!"

Good: "Hi Sarah! Any update on the integration questions from last time?"

Memory-Informed Responses

Adjust based on history:

  • Previous questions → Don't repeat
  • Expressed preferences → Respect
  • Past issues → Be sensitive

Example:

If (contact.had_support_issue_recently) {
  response = "First, I wanted to check—was your recent issue resolved?"
}

Memory Gaps

When information is uncertain: "I want to make sure I have this right—you mentioned being interested in [X]. Is that still the case?"

When information is missing: Don't pretend to know. Ask naturally.


Cross-Channel Memory

Unified View

Challenge: Customer interacts via chat, then email, then phone Solution: Single memory store, channel-aware

Implementation:

  • Common contact ID across channels
  • Merge interactions into unified timeline
  • Channel-appropriate recall

Channel Context

Remember channel-specific details:

  • Chat: Session-based, real-time
  • Email: Thread-based, async
  • SMS: Brief, immediate
  • Phone: Rich, personal

Use appropriately: "I see we chatted on the website last week. Following up on that..."


Memory Maintenance

Data Freshness

Problem: Old data becomes wrong data

Solution:

  • Timestamp all memories
  • Decay confidence over time
  • Re-verify important facts
  • Archive old data

Example:

function shouldVerify(memory) {
  age = days_since(memory.timestamp)
  if (age > 90 && memory.type == "company_size") return true
  if (age > 30 && memory.type == "role") return true
  if (age > 7 && memory.type == "intent") return true
  return false
}

Conflict Resolution

When memories conflict:

  • Prefer recent over old
  • Prefer explicit over inferred
  • Prefer high confidence over low
  • Ask to verify when critical

Forgetting

When to forget:

  • Explicit request
  • Irrelevant information
  • Privacy requirements
  • Data retention policies

Privacy and Compliance

What to Remember

Ask yourself:

  • Did they provide this information?
  • Would they expect me to remember?
  • Is it appropriate to use?
  • Does it comply with regulations?

Data Rights

Support:

  • Right to access (show what you know)
  • Right to correct (fix wrong data)
  • Right to delete (forget on request)
  • Right to portability (export data)

Compliance

GDPR/CCPA considerations:

  • Lawful basis for storing
  • Purpose limitation
  • Data minimization
  • Storage limitation

Implementation Patterns

Memory Injection

Before generating response:

function generateResponse(message, contact_id) {
  // Get relevant memory
  memory = getRelevantMemory(contact_id, message.context)

  // Inject into prompt/context
  context = buildContext(message, memory)

  // Generate response
  response = llm.generate(context)

  // Store new memories
  extractAndStoreMemory(contact_id, message, response)

  return response
}

Memory Extraction

After each interaction:

function extractAndStoreMemory(contact_id, message, response) {
  // Extract facts from conversation
  facts = extractFacts(message.content)
  for (fact in facts) {
    storeMemory(contact_id, fact.key, fact.value, message.context)
  }

  // Update state
  updateState(contact_id, {
    last_interaction: now(),
    last_channel: message.channel,
    conversation_outcome: determineOutcome(response)
  })
}

Measuring Memory Effectiveness

Quality Metrics

Accuracy:

  • Memory correctness rate
  • Wrong recall rate
  • Verification frequency

Coverage:

  • % of interactions with relevant memory
  • Memory utilization rate
  • Gap identification

Experience Metrics

Engagement:

  • Repeat question rate (lower = better)
  • Customer satisfaction
  • Conversation efficiency

Business:

  • Conversion impact
  • Support ticket reduction
  • Relationship longevity

Common Mistakes

1. No Memory

Problem: Every conversation starts fresh Fix: Implement basic session and short-term memory

2. Too Much Memory

Problem: Overwhelming recall, creepy feeling Fix: Selective, context-appropriate recall

3. Stale Memory

Problem: Referencing outdated information Fix: Timestamp and refresh data

4. Wrong Memory

Problem: Mixing up customers, wrong facts Fix: Verification, conflict resolution

5. Siloed Memory

Problem: Each channel has separate memory Fix: Unified memory store


Questions to Ask

If you need more context:

  1. What channels does your bot operate across?
  2. How long are your typical customer relationships?
  3. What CRM/data systems do you use?
  4. What do customers complain about repeating?
  5. What privacy/compliance requirements apply?

Related Skills

  • personalization-at-scale: Using memory for personalization
  • multi-channel-coordination: Memory across channels
  • data-enrichment-integration: External data for memory
  • conversational-flow-management: Context in conversations

FAQ

What does the conversation-memory skill do?

When the user wants to build or improve a sales bot's ability to reference previous interactions within and across channels. Also use when the user mentions "remembering conversations," "context persistence," "conversation history," "cross-session memory," or "past interactions."

How do I install conversation-memory?

Run npx skills add https://github.com/louisblythe/sales-skills --skill conversation-memory in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/conversation-memory/ (personal) or .claude/skills/conversation-memory/ (project).

Which AI agents can use conversation-memory?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is conversation-memory safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains conversation-memory?

It is published by louisblythe in louisblythe/sales-skills. It has 420 recorded installs.

More from louisblythe/sales-skills

View all →

appointment-booking

louisblythe/sales-skills

When the user wants to build or improve a sales bot's ability to integrate with calendars and schedule meetings autonomously. Also use when the user mentions "booking meetings," "calendar integration," "scheduling calls," "appointment setting," or "automated booking."

Business & Finance884 installs

objection-handling

louisblythe/sales-skills

When the user wants to improve their ability to address prospect concerns, overcome resistance, or respond to pushback without being defensive. Also use when the user mentions "handling objections," "overcoming resistance," "common objections," "prospect pushback," "they said no," or "dealing with concerns."

Business & Finance618 installs

sales-presentations

louisblythe/sales-skills

When the user wants to create, optimize, or improve sales presentations, pitch decks, demos, or proposal presentations. Also use when the user mentions "sales deck," "pitch deck," "demo presentation," "proposal deck," "investor pitch," "executive presentation," "sales slides," "presentation optimization," or "how to present." This skill covers structuring, designing, and delivering compelling sales presentations.

Business & Finance580 installs

outbound-prospecting

louisblythe/sales-skills

When the user wants help with outbound sales prospecting, lead sourcing, or pipeline building. Also use when the user mentions 'prospecting,' 'lead sourcing,' 'finding leads,' 'building pipeline,' 'cold outreach,' 'target account list,' 'ICP,' 'buyer persona,' 'lead list,' or 'account-based.' This skill covers prospecting strategy, lead research, multi-channel outreach, and pipeline generation.

Business & Finance534 installs

closing

louisblythe/sales-skills

When the user wants to improve their ability to recognize buying signals, ask for the sale, and confidently move deals to commitment. Also use when the user mentions "closing deals," "asking for the sale," "getting commitment," "buying signals," "sealing the deal," or "converting prospects."

Business & Finance527 installs

sales-psychology

louisblythe/sales-skills

When the user wants to apply psychological principles to sales conversations, understand buyer behavior, or use persuasion techniques ethically. Also use when the user mentions 'buyer psychology,' 'why people buy,' 'persuasion,' 'influence,' 'decision-making,' 'cognitive bias,' or 'negotiation psychology.' This skill provides 70+ mental models organized for sales application.

Business & Finance513 installs

Popular business & finance skills

View category →

sales-enablement

coreyhaines31/marketingskills

When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),

Business & Finance119.5K installs

revops

coreyhaines31/marketingskills

When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.

Business & Finance114.1K installs

sales-funnel-blueprint

autonnel/autonnel-skills

Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.

Business & Finance104.5K installs

pricing

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.

Business & Finance80K installs

cross-border-ecommerce

nexscope-ai/ecommerce-skills

Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.

Business & Finance62.9K installs

pricing-strategy

coreyhaines31/marketingskills

When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.

Business & Finance61.2K installs