Skip to content
Agent Memory
Command

/reset

Hard reset to origin/main and clear the chat context.

BOOST
From plugin
opentrace
10916 skills6 agents16 commands1 MCP
Install
> /plugin marketplace add opentrace/opentrace
> /plugin install opentrace-oss@opentrace-oss

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/reset

Context preview

What this command does when you run it.

Hard reset to origin/main and clear the chat context.

Command definition

reset.md
name: reset
description: Hard reset to origin/main and clear the chat context.
allowed-tools: Bash

Reset the current worktree to match origin/main and clear conversation context.

Instructions

1. Fetch latest and hard reset

git fetch origin main
git checkout main
git reset --hard origin/main
git clean -fd

2. Clear context

After the reset completes, run `/clear` to wipe the conversation context.

Ships withopentrace

A knowledge graph that maps your codebase structure, service architecture, and system relationships — then exposes it all through MCP so AI tools can understand your systems. Index any repo, any size, in seconds.

Get the whole plugin

Other commands on opentrace.

build
Command

build

Build a knowledge graph over the current folder (or a path / GitHub URL). Runs the native OpenTrace pipeline: index → cluster →…