srcx-clean

Delete .srcx/ directories from project root and included builds.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/ClankerGuru/opsx --skill srcx-clean
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: srcx-clean
Source: https://github.com/ClankerGuru/opsx/tree/main/cli/src/main/resources/content/skills/srcx-clean
Command: npx skills add https://github.com/ClankerGuru/opsx --skill srcx-clean

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Remove the .srcx/ directories in the workspace to reset srcx context reports, ensuring fresh context before regeneration.

Core Features & Use Cases

  • Deletes the .srcx/ directory at the project root and within each included build.
  • Enables reliable regeneration of context reports by clearing stale artifacts.
  • Useful before full rewrites or audits of AI-generated workspace tasks to avoid contamination from previous runs.

Quick Start

Execute the Gradle task to clean the srcx context using ./gradlew -q srcx-clean

Frequently Asked Questions about srcx-clean

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

FAQPage Schema
How do I clean and reset srcx context directories in a Gradle workspace?▼

Run the ./gradlew -q srcx-clean task to delete .srcx/ directories at the project root and in included builds, clearing stale artifacts before regenerating fresh context data.

What is the best way to reset stale context reports before regenerating srcx data?▼

The best way to reset stale srcx context reports is running the srcx-clean Gradle task to wipe the .srcx/ directories, ensuring fresh context before regeneration and avoiding contamination from previous runs.

Do I need the zone.clanker.srcx plugin applied to clean the .srcx workspace context?▼

Yes, you need the zone.clanker.srcx plugin applied to clean the .srcx workspace context. You must also ensure no tooling currently relies on the context being present before deleting the directories.

When should I wipe the srcx output in my project builds?▼

You should wipe the srcx output before full rewrites or audits of AI-generated workspace tasks to avoid contamination from previous runs, ensuring reliable regeneration of context reports by clearing stale artifacts.

What Gradle command deletes the .srcx directory across included builds?▼

The ./gradlew -q srcx-clean command deletes the .srcx/ directories located in the project root and in each included build, resetting the srcx context reports across your entire Gradle workspace.