workspace-analyzer

workspace-analyzer is a skill for Claude Code, Codex from bonigarcia/context-engineering. It costs 21 tokens per session (142 once invoked), scanned A, original, Apache-2.0.

A workspace cleanup guide that finds temporary and backup files, checks the repository state, and handles only approved file changes.

In plain words
What is it for?
It is for locating files such as .tmp, .bak, and editor backups, deleting approved files, or organizing files by extension.
Why use it?
It helps prevent accidental deletion or movement of files by requiring a review before cleanup and a scan afterward.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for locating files such as .tmp, .bak, and editor backups, deleting approved files, or organizing files by extension.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bonigarcia/context-engineering/workspace-analyzer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bonigarcia/context-engineering --skill workspace-analyzer
Clone the repo
git clone --depth 1 https://github.com/bonigarcia/context-engineering

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workspace-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/bonigarcia/context-engineering/workspace-analyzer/github.svg)](https://agentmods.dev/skills/bonigarcia/context-engineering/workspace-analyzer)
Your own site
<a href="https://agentmods.dev/skills/bonigarcia/context-engineering/workspace-analyzer"><img src="https://agentmods.dev/badge/skills/bonigarcia/context-engineering/workspace-analyzer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workspace-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/bonigarcia/context-engineering/workspace-analyzer"><img src="https://agentmods.dev/badge/skills/bonigarcia/context-engineering/workspace-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00142
Opus 5.5 $0.00008 $0.00057
Sonnet 5.5 $0.00004 $0.00028
Haiku 4.5 $0.00002 $0.00014

Measured 1mo ago against content hash e4d2b34d4aa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workspace-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ch04/agent-skills/workspace-analyzer/SKILL.md · 14 lines

What it actually says

Workspace Analyzer

Instructions

  1. Use find or the platform equivalent to locate temporary files such as .tmp, .bak, and editor backup files.
  2. Run git status --short before making changes so tracked and untracked files are easy to distinguish.
  3. Present the findings to the user and wait for confirmation before deleting or moving anything.
  4. Delete only the approved files, then rerun the scan to verify the workspace is clean.
  5. When reorganizing files, group them by extension into clearly named folders and report every move.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 14 lines · 21 tokens per session scan A e4d2b34d4aa6

Subscribe to this mod's changes

workspace-analyzer is a skill published in the GitHub repository bonigarcia/context-engineering (171 stars, last pushed yesterday), licensed Apache-2.0. It adds 21 tokens to every session and 142 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Clockify Automation

Automate time tracking workflows in Clockify -- create and manage time entries, workspaces, and users through natural language commands.

openteams-lab/openteams · 29 tokens

connect-apps

Connect Claude to external apps like Gmail, Slack, GitHub. Use this skill when the user wants to send emails, create issues, post messages, or take actions in external services.

openteams-lab/openteams · 41 tokens

slack

Send, read, search, and manage Slack messages, channels, and reactions via Slack MCP server or API. TRIGGER: "slack", "send slack message", "check slack", "slack channel", "slack DM", "post to slack". DO NOT USE: for email (use Outlook Assistant), Discord, or Teams messages.

xg-gh-25/SwarmAI · 73 tokens

outlook-assistant

Manage Outlook inbox: triage, cleanup, send, and organization via aws-outlook-mcp server. TRIGGER: "check email", "email triage", "clean inbox", "email summary". NOT FOR: google-workspace use cases.

xg-gh-25/SwarmAI · 57 tokens

workspace-finder

Natural language file and content search within SwarmWS workspace. Find files by name, content, modification time, size, type, or git status. Returns structured results the agent can reference or act on. TRIGGER: "find files", "search workspace", "where is", "find all". NOT FOR: tavily-search, github-research use…

xg-gh-25/SwarmAI · 79 tokens

job-manager

Create, list, edit, pause, resume, and delete scheduled jobs in the Swarm Job System. Jobs run in the background via launchd — independently of chat sessions. Supports agent tasks (headless Claude CLI with MCP tools), signal pipeline jobs, and script execution. User jobs live in user-jobs.yaml; system jobs are…

xg-gh-25/SwarmAI · 106 tokens