Skip to content
Back to skills

Workspace Audit

ASecurity

Audit all git repos under ~/dev for dirty state, unpushed commits, exposed .env files, and tracked context files (CLAUDE.md, AGENTS.md, GEMINI.md). Use when the user wants to know if their workspace is clean, before a deploy, or when something feels off. Triggers on "audit workspace", "check repos", "anything unpushed", "is my workspace clean", "check for dirty repos", "any exposed secrets".

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
securitygobashgitsecurity

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add aibot88/sec_skill_store --skill workspace-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Workspace Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Workspace Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aibot88-workspace-audit/badge)](https://www.skillsdirectory.com/skills/aibot88-workspace-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: workspace-audit
description: Audit all git repos under ~/dev for dirty state, unpushed commits, exposed .env files, and tracked context files (CLAUDE.md, AGENTS.md, GEMINI.md). Use when the user wants to know if their workspace is clean, before a deploy, or when something feels off. Triggers on "audit workspace", "check repos", "anything unpushed", "is my workspace clean", "check for dirty repos", "any exposed secrets".
compatibility: Designed for Claude Code on WSL. Requires git, find, and repos under ~/dev.
allowed-tools: Bash Read
---

# Workspace Audit

Scans all git repos under `~/dev` for issues that need attention. The script handles all detection — your job is to synthesize the output and tell the user what needs action.

## Step 1 — Collect

```bash
~/.claude/commands/workspace-audit/scripts/audit.sh
```

## Step 2 — Synthesize

Read the labeled sections and produce a concise report:

### Git Repos
List every `NEEDS ATTENTION` entry with its flags. Group by type:
- **DIRTY** — uncommitted changes
- **UNTRACKED** — files not in git
- **NO-REMOTE** — no origin configured
- **AHEAD:N** — commits not pushed

Clean repos don't need a mention unless the user asks.

### Security Checks
Report any `EXPOSED:` .env files or `TRACKED:` context files immediately — these are high-priority.

### Disk Usage
Report `~/dev/` total size.

### Summary
- N repos clean, N repos need attention
- If `STATUS: CLEAN` → tell the user everything looks good
- If `STATUS: NEEDS ATTENTION` → list the top actions in priority order

Keep it tight. Flag security issues first, then unpushed work, then cosmetic.

Files in this skill

  • SKILL.md1.6 KB
  • source.json919 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.