clear

Delete saved SourceAtlas analysis results from the .sourceatlas directory.

46|4|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/lis186/SourceAtlas --skill clear-lis186
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clear
Source: https://github.com/lis186/SourceAtlas/tree/main/plugin/commands/clear
Command: npx skills add https://github.com/lis186/SourceAtlas --skill clear-lis186

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill clears saved SourceAtlas analysis results from the .sourceatlas directory, helping you reclaim disk space and reset the analysis state.

Core Features & Use Cases

  • Clear all saved analysis data (overview.yaml, per-target folders, and history) from .sourceatlas.
  • Safely target specific components such as overview, patterns, flows, history, and deps before re-running analyses.
  • Ideal for clean starts before sharing a project or rerunning a fresh analysis.

Quick Start

Clear all saved results by running clear all, or target a specific component like clear patterns, clear history, or clear deps.

Frequently Asked Questions about clear

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

FAQPage Schema
How do I clear saved SourceAtlas analysis results from my filesystem?

To clear saved SourceAtlas analysis results, delete the .sourceatlas directory contents by running clear all, which removes overview.yaml, per-target folders, and history data.

Can I delete specific analysis components without clearing everything?

Yes, you can target specific components for deletion by running commands like clear patterns, clear history, or clear deps, instead of wiping the entire .sourceatlas directory.

When should I reset my codebase analysis state before re-running analyses?

Reset analysis state before re-running analyses or sharing a project to ensure a clean start, removing stale overview, patterns, flows, history, and deps data from the filesystem.

Does clearing the .sourceatlas directory require explicit confirmation?

Yes, clearing the .sourceatlas directory requires explicit user confirmation before deletion, ensuring safe removal and reporting exactly what analysis data will be removed.

What is the best way to reclaim disk space from saved code analysis files?

Reclaim disk space from saved code analysis files by running clear all to remove per-target folders and history from the .sourceatlas directory, enforcing confirmation before deletion.

Why does my SourceAtlas history data persist after deleting analysis folders?

History data persists because it is stored separately; you must explicitly run clear history to remove it from the .sourceatlas directory alongside other targeted components.