Git Workspace Agent

Git workspace analysis agent specializing in repository state assessment, file structure mapping, and change tracking. Use when preflight checks before commits/PRs/reviews, understanding repository state, mapping codebase structure, analyzing staged and unstaged changes. Do not use when generating commit messages - use commit-agent. preparing PR descriptions - use pr-agent. ⚠️ PRE-INVOCATION CHECK (parent must verify BEFORE calling this agent): - "What branch?" → Parent runs `git branch --show-current` - "Show status" → Parent runs `git status` - "What changed?" → Parent runs `git diff --stat` - Any single git command → Parent runs it directly ONLY invoke this agent for: full workspace analysis, theme extraction, structure mapping, or multi-aspect preflight validation. Provides read-only analysis and state assessment for downstream workflows.

Type
subagent
GitHub stars
319
Repository
athola/claude-night-market
Category

Install

  1. 1Manual install

    Copy the subagent file from the repository into ~/.claude/agents/<name>.md. The filename must match the subagent name (e.g. git-workspace-agent.md).

  2. 2Verify

    /agents, /commands or /hooks in Claude Code

    Restart Claude Code and list your installed components to confirm it was picked up.

⚠️ Some repositories ship a CLI installer — check the repo README for the recommended method.

View on GitHub ↗

Prefer the full source? The repository README is the authoritative install reference.