Skill registry
Agent infrastructurePublic skills

Session Memory Management

Typed session state — store/retrieve context, replay snapshots, resume interrupted workflows, and redact sensitive data when done.

What this skill teaches

A reusable playbook for a specific kind of work.

An MCP server tells an agent which actions are available. A skill adds the judgment around those actions: how to recognize the job, which sequence to follow, what to avoid, and how to decide that the result is complete.

Manage session state and memory — store/retrieve typed data, replay snapshots, resume interrupted workflows, and redact sensitive information. Use when persisting context, resuming workflows, recalling previous data, managing cross-session memory, or cleaning up sensitive state.

Architecture

How Session Memory Management guides an ADK-Rust agent.

The skill stays readable and portable because it contains instructions rather than service credentials or business data. ADK-Rust supplies it to the agent, the agent chooses from its reviewed tool boundary, and the connected MCP server performs the authenticated operation.

01

User request

The agent receives a goal expressed in ordinary language.

02

Session Memory Management skill

Matches intent, supplies the decision guide, and narrows the tool boundary.

03

ADK-Rust agent

Plans the workflow and streams each meaningful step through the runtime.

04

mcp-session-memory

Executes authenticated operations against the system that owns the capability.

05

Verified result

The skill's completion rules shape the evidence returned to the user.

Portable instructions: SKILL.md · Capability boundary: mcp-session-memory · Allowed tools: 10

Decision guide

How the agent turns a request into the right action.

These routes come directly from the skill instructions. They help the model recognize intent and select a focused tool or workflow instead of improvising across the entire capability surface.

01

"remember", "store", "save"?

store_memory

02

"recall", "what was", "last time"?

retrieve_memory / list_memory_refs

03

"resume", "pick up where", "continue"?

resume_session / create_replay_snapshot

04

"forget", "delete", "redact"?

delete_memory / redact_memory

05

"session", "events", "history"?

get_session_state / list_session_events

Proven workflows

Repeatable sequences for useful outcomes.

A workflow joins several tool calls into a task the user actually recognizes. The skill explains the sequence and the intended result while ADK-Rust streams the agent's progress through the shared runtime.

011 calls

Store

Persist typed data with TTL

021-2 calls

Recall

Retrieve by key/scope

032 calls

Resume

Snapshot → validate → continue

041 calls

Redact

Remove sensitive data

Tool boundary

The skill may use 10 documented tools.

This allowlist is declared by the skill. It keeps the agent focused on the actions needed for this job while mcp-session-memory retains responsibility for authentication, validation, and the connected system.

get_session_state
list_session_events
retrieve_memory
store_memory
update_memory
delete_memory
redact_memory
list_memory_refs
create_replay_snapshot
resume_session

Working rules

What the agent should do.

  • Set TTL on all stored state (prevent unbounded growth)
  • Validate freshness before resuming workflows
  • Redact sensitive data (PII, credentials) after use
  • Scope memory access (agents only see their own data)

Operating boundaries

What the agent should avoid.

  • Never store credentials in session memory (use vault)
  • Don't resume without checking if external state changed
  • Don't keep memory indefinitely without TTL

Install and connect

Add the skill beside the capability it expects.

Install the repository where your ADK-Rust skill loader can discover it, connect mcp-session-memory, and confirm the declared tools are available before asking the agent to use the workflow.

Install the skill
git clone https://github.com/zavora-ai/skill-session-memory-management.git \
  ~/.skills/skills/session-memory-management
ADK-Rust loading shape
let skills = SkillLoader::from_dir("~/.skills/skills").await?;
let skill = skills.load("session-memory-management").await?;

let agent = LlmAgentBuilder::new("agent")
    .instruction(skill.instructions())
    .tools(skill.allowed_tools(toolset)?)
    .build()?;

The repository's compatibility statement: Requires mcp-session-memory server connected.

Official documentation

Read the complete skill package.

The repository remains authoritative for its exact instructions, examples, helper scripts, assets, MCP requirements, license, and later updates.

Source record

Repository metadata for this skill entry.

View public repository ↗
License
Apache-2.0
Allowed tools
10
References
3
Revision
2e68156d71be
Updated
May 31, 2026