reset-sessions

Resets OpenClaw agent conversation sessions via gateway commands with optional agent filtering.

1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/pingshian0131/ai-agent-skill-collections-public --skill reset-sessions
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: reset-sessions
Source: https://github.com/pingshian0131/ai-agent-skill-collections-public/tree/main/openclaw/reset-sessions
Command: npx skills add https://github.com/pingshian0131/ai-agent-skill-collections-public --skill reset-sessions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to quickly clear the conversation history and context for OpenClaw agents, ensuring a fresh start for new interactions.

Core Features & Use Cases

  • Reset All Sessions: Clears the context for all agents simultaneously.
  • Reset Specific Agent: Resets the context for a single, named agent.
  • Use Case: When an agent's responses become irrelevant or repetitive, or when you need to start a completely new line of inquiry with an agent, use this skill to reset its memory.

Quick Start

Use the reset-sessions skill to clear all agent sessions.

Frequently Asked Questions about reset-sessions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clear context for an OpenClaw agent that is giving repetitive responses?▼

To clear context for an OpenClaw agent giving repetitive responses, you reset its conversation session. This clears the agent's memory and conversation history, ensuring a fresh start for new interactions and eliminating irrelevant conversational loops.

How do I reset conversation sessions for all OpenClaw agents simultaneously?▼

You can reset conversation sessions for all OpenClaw agents simultaneously by invoking the reset-sessions skill. It utilizes the `openclaw gateway call sessions.reset` command to clear the context for every active agent at once.

Can I reset the session for a specific OpenClaw agent ID instead of all agents?▼

Yes, you can reset the session for a specific OpenClaw agent ID instead of clearing all agents. The skill supports optional agent filtering to target and reset the context of a single, named agent.

When should I reset an OpenClaw agent's memory during debugging?▼

You should reset an OpenClaw agent's memory during debugging when you need to clear context and start a completely new line of inquiry. Resetting the session ensures previous conversation history does not influence current testing or troubleshooting.

Does resetting OpenClaw sessions require any specific gateway commands?▼

Resetting OpenClaw sessions requires the `openclaw gateway call sessions.list` and `openclaw gateway call sessions.reset` commands. The skill utilizes these gateway commands with optional agent filtering to manage and clear conversation contexts.