workspace-tools

workspace-tools is a skill for Claude Code, Codex from ithinkihaveacat/dotfiles. It costs 181 tokens per session (8,060 once invoked), scanned E, original, Apache-2.0.

A workspace configuration toolkit for coding agents. It manages agent skills, command permission rules, Git hooks, and .envrc settings without storing those workspace settings in version control.

In plain words
What is it for?
Use it to install and track agent skills, apply Git hook profiles, configure allow/deny/ask rules for Claude Code or Antigravity, and maintain direnv blocks in .envrc files.
Why use it?
It keeps local agent setup consistent while preventing machine-specific configuration from being committed with the project. It also provides explicit control over which commands agents may run.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; runs codex exec.

Good fit Use it to install and track agent skills, apply Git hook profiles, configure allow/deny/ask rules for Claude Code or Antigravity, and maintain direnv blocks in .envrc files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ithinkihaveacat/dotfiles/workspace-tools
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 ithinkihaveacat/dotfiles --skill workspace-tools
Clone the repo
git clone --depth 1 https://github.com/ithinkihaveacat/dotfiles

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-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/workspace-tools/github.svg)](https://agentmods.dev/skills/ithinkihaveacat/dotfiles/workspace-tools)
Your own site
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/workspace-tools"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/workspace-tools/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-tools

Your own site · 80×15
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/workspace-tools"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/workspace-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan E 4 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00181 $0.08060
Opus 5.5 $0.00072 $0.03224
Sonnet 5.5 $0.00036 $0.01612
Haiku 4.5 $0.00018 $0.00806

Measured yesterday against content hash 5bf4f58052ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade E, and why

workspace-tools scanned grade E with 4 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (resources/hooks/node/change_detector.sh, tests/common.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

`sudo gem install`, `npm install -g`, `pip install --user` and

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`~/.gemini/config/config.json` (`jetski-web` under

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

1. **Survey the catalog:** Run `skill catalog --json` to inspect all available skills in a single call (JSON Lines). Each record includes frontmatter

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

permission cmd add --deny "rm -rf" # block command outright
skills/workspace-tools/SKILL.md · 653 lines

How it starts

The opening of the file, as written. The whole thing — 653 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workspace Tools

This skill configures a workspace for agent-assisted development without version control ever seeing the configuration. It consists of four tools:

  1. hook: The git hook manager. Synchronizes git hooks to match AGENT_REQUIRED_HOOKS (profiles agent, node, gerrit), managing them via trampoline stubs in .git/hooks/.
  2. skill: The workspace manager. Installs and tracks skills as untracked symlinks, automatically adapting to the environment (Git, Perforce, session artifact directories, or unmanaged directories; more via plugins). It is fully deterministic and dependency-free: it also enumerates what is installable (skill catalog) and manages remote plugin caching, but never calls a model to decide what a workspace needs — see Choosing Skills (Workspace vs. Session).
  3. permission: The permission manager. Maintains allow/deny/ask rules for every detected local agent (workspace-local for Claude Code and Codex, user-wide for Antigravity), including pre-approving the safe commands declared by installed skills.
  4. envrc: The configuration manager. Manages marker-delimited blocks in .envrc files for direnv integration.

Alongside them, the runtime installers node-install, ruby-install, and python-install install per-user Node.js and Ruby versions (and check for uv) that envrc blocks activate per directory, together with a workspace-local place for the project's packages and command-line tools; see Language Environments.

For Git repositories, hook apply, skill add --defaults, and permission apply run automatically on git clone via the global template's post-checkout hook.

Gotchas

  • Agent shells usually do not load direnv. A command run in the workspace still sees the system runtime unless it goes through direnv exec . <command>; the .envrc blocks below only take effect that way, or in an interactive shell with the direnv hook.
  • Install a project's tools into its environment, never user-wide or system-wide unless the user asks for that. gem install --user-install, sudo gem install, npm install -g, pip install --user and uv tool install give every project one shared version, ignore the version the project pins, and user-level bin directories are often not on PATH, so the tool goes missing again in the next shell. See Installing Project Tools.
  • If the workspace environment cannot be set up, stop and ask. A missing ruby-build or uv, or a failed runtime build, is not a reason to fall back to a user-wide install or the system runtime: report what failed and let the user decide.

Read the full file on GitHub · 653 lines

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. yesterday Changed · +23 lines 5bf4f58052ea
  2. 3d ago Changed · +6 lines a2a2889937aa
  3. 4d ago Changed · +28 lines a1b57dece9c6
  4. 6d ago Changed · +67 lines · +17 tokens per session scan D → E bdfcc1b6f52c
  5. 10d ago Changed · +4 lines 2443b4136454
  6. 12d ago Changed · +75 lines · +63 tokens per session a6b141313200
  7. 14d ago Changed · +36 lines · +19 tokens per session 2d6df41ecd32
  8. 17d ago Changed · +16 lines · +4 tokens per session b62f35d47251
  9. 22d ago Changed · +21 lines c46d9633e88c
  10. 26d ago First seen · 377 lines · 78 tokens per session scan D 6ddb417f6d96

Subscribe to this mod's changes

workspace-tools is a skill published in the GitHub repository ithinkihaveacat/dotfiles (48 stars, last pushed today), licensed Apache-2.0. It adds 181 tokens to every session and 8,060 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it E with 4 findings (asks for root, reads agent configuration directories, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.

Related

Other skills, from other repositories

mbo-plan

Plan a new objective end-to-end in this repo's docs/mbo Management-By-Objective system — turn a GitHub issue or a gss draft-PR worktree into consistent design/spec/plan artifacts and track it in docs/mbo/index.md. Use this whenever the user wants to START planning or designing a new feature, skill, CLI, or service…

sfc-gh-eraigosa/dotfiles · 260 tokens

herdr

Use when the user mentions herdr or is working inside a herdr pane and wants to save/restore a pane layout, change herdr's theme, prefix or other preferences on this host only, start or check on an agent in another herdr pane, add, turn off or open a herdr plugin (file viewer, keybindings), or asks why the herdr…

sfc-gh-eraigosa/dotfiles · 91 tokens

wispr-flow-debug

Debug and test the Wispr Flow AutoHotkey dictation triggers (Copilot key + extra keys) from WSL by deploying macos.ahk to the Windows Desktop, reloading AutoHotkey, and reading the debug log. Use when an activation/trigger key isn't starting/stopping dictation, when the overlay clicks land wrong, or when verifying a…

sfc-gh-eraigosa/dotfiles · 87 tokens

google-docs

Integration for interacting with Google Docs and Google Workspace using the 'gws' CLI.

sfc-gh-eraigosa/dotfiles · 21 tokens

pr-list

List GitHub Pull Requests in a Discord-friendly format with status icons, blockquotes, and direct links. Use when the user asks for "pr list", "list PRs", "open pull requests", or a chat-ready summary of PRs for a repository.

sfc-gh-eraigosa/dotfiles · 56 tokens

sync-forks

Check how many of your GitHub forks are out of date and sync them.

sfc-gh-eraigosa/dotfiles · 20 tokens