cdk-temp-folder-disk-bloat

Diagnose and clean AWS CDK temporary folder buildup on macOS.

Updated Nov 18, 2025
One-click install
npx skills add https://github.com/cajias/claude-skills --skill cdk-temp-folder-disk-bloat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cdk-temp-folder-disk-bloat
Source: https://github.com/cajias/claude-skills/tree/main/skills/cdk-temp-folder-disk-bloat
Command: npx skills add https://github.com/cajias/claude-skills --skill cdk-temp-folder-disk-bloat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps recover macOS disk space when AWS CDK operations create massive temp folder buildup in /private/var/folders, causing storage exhaustion and failed synth or deploy runs.

Core Features & Use Cases

  • Diagnosis: Identifies whether cdk.out temp accumulation is the real cause of low disk space.
  • Cleanup: Safely removes large collections of temporary CDK output folders after stopping active processes.
  • Prevention: Recommends workflow changes for Claude Code, including sequential CDK execution and consistent output directories.
  • Use Case: A developer running repeated CDK tests in Claude Code suddenly hits a full disk and uses this Skill to find, stop, and clean the runaway temp files.

Quick Start

Use the cdk-temp-folder-disk-bloat skill to diagnose the disk usage problem, clean up the accumulated CDK temp folders, and recommend prevention steps for my macOS project.

Frequently Asked Questions about cdk-temp-folder-disk-bloat

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

FAQPage Schema
Why does AWS CDK synth fill up my macOS disk space in /private/var/folders?

AWS CDK synth, deploy, and test workflows create temporary cdk.out directories in /private/var/folders that accumulate during repeated local development loops, eventually exhausting macOS disk space and causing failed runs.

How do I safely clean up cdk.out temp folders on macOS without breaking active deployments?

To clean up cdk.out temp folders safely, first inspect and stop active CDK processes, then remove the accumulated temporary directories from /private/var/folders to reclaim disk space without corrupting ongoing synth or deploy operations.

Can I run parallel AWS CDK synth commands in Claude Code without causing temp folder bloat?

Parallel subagent execution of AWS CDK in Claude Code accelerates temp folder bloat. Sequential CDK execution and consistent output directory configuration are recommended to prevent /private/var/folders from filling with cdk.out directories.

What is the best way to diagnose if cdk.out accumulation is causing my macOS low disk space?

Diagnosing cdk.out accumulation involves inspecting macOS disk usage in /private/var/folders to identify whether runaway AWS CDK temporary output from synth and deploy workflows is the actual cause of storage exhaustion.

How do I prevent AWS CDK temporary files from filling up disk space during local development loops?

Preventing AWS CDK temp file bloat requires workflow changes like sequential CDK execution, consistent output directory configuration, and regular cleanup of cdk.out folders after repeated local synth, deploy, and test cycles.