envoic

envoic is a skill for Claude Code, Codex from mahimailabs/envoic. It costs 101 tokens per session (748 once invoked), scanned A, original, MIT.

A tool workflow for finding, checking, and cleaning Python environments, JavaScript dependencies, and development files that use disk space.

In plain words
What is it for?
Checking broken or stale environments, finding large folders, recovering disk space, and removing safe build or test artifacts.
Why use it?
It helps identify what is taking up space and reduces the risk of deleting useful files by requiring scans, dry runs, and confirmation before cleanup.

Skill for Claude CodeCodex

Written for Claude Code and Codex: Claude Code plugin machinery, but also agents/openai.yaml present. Also seen: mentions Codex.

Part of the envoic plugin — 1 skill shipped together

Good fit Checking broken or stale environments, finding large folders, recovering disk space, and removing safe build or test artifacts.

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

Made for: Claude Code, Codex.

Or install envoic, the plugin that ships this one along with the rest of its 1 skill.

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 envoic

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mahimailabs/envoic/envoic"><img src="https://agentmods.dev/badge/skills/mahimailabs/envoic/envoic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 748 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.
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.00101 $0.00748
Opus 5 $0.00051 $0.00374
Sonnet 5 $0.00020 $0.00150
Haiku 4.5 $0.00010 $0.00075

Measured 12d ago against content hash 618ea3da223d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

envoic 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 12d 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.

skills/envoic/SKILL.md · 90 lines

How it starts

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

envoic - Environment Scanner and Cleanup Skill

Use envoic to discover and safely clean Python virtual environments, node_modules, and development artifacts.

Quick Start

uvx envoic scan .
uvx envoic manage . --dry-run
npx envoic scan . --deep

If uvx is unavailable, install Python package with pip install envoic. If npx is unavailable, install JS package with npm install -g envoic.

Primary Workflows

1) Onboarding Health Check

  1. Run uvx envoic info .venv (or npx envoic info node_modules).
  2. If environment is broken or stale, propose delete-and-recreate steps.

2) Disk Space Recovery

  1. Run uvx envoic scan <root> --deep and/or npx envoic scan <root> --deep.
  2. Identify largest stale candidates.
  3. Run manage --dry-run, then actual cleanup only after confirmation.

3) Build/Test Artifact Cleanup

  1. Scan project root.
  2. Prefer deleting SAFE artifacts first.
  3. Warn for CAREFUL artifacts.

Safety Contract

  1. Always scan before delete.
  2. Prefer --dry-run before destructive operations.
  3. Never delete lock files or project manifest files.
  4. Require explicit user confirmation for non-dry-run cleanup.

See full policy in references/safety.md.

Verified Trigger Phrases

  • "Find and remove stale virtualenvs"
  • "Clean old node_modules and caches"
  • "I hit ENOSPC, free up disk from dev artifacts"
  • "Audit environment sprawl in this workspace"
  • "Check if this .venv is broken"
  • "List largest build artifacts"
  • "Dry-run cleanup plan for Python and JS"
  • "Find dangling venv symlinks"
  • "Clean test/build caches safely"
  • "Generate JSON report for stale environments"

References

  • Full command catalog: references/commands.md
  • Safety and risk tiers: references/safety.md
  • Troubleshooting and fallbacks: references/troubleshooting.md

Tool-Specific Surface Files

  • Codex: .agents/skills/envoic/SKILL.md (symlink/copy of this skill)
  • Cursor: .cursorrules (generated adapter)
  • Copilot: .github/copilot-instructions.md (generated adapter)
  • Claude: .claude-plugin/plugins.yaml (generated adapter)

Read the full file on GitHub · 90 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. 12d ago First seen · 90 lines · 101 tokens per session scan A 618ea3da223d

Subscribe to this mod's changes

envoic is a skill published in the GitHub repository mahimailabs/envoic (6 stars, last pushed 2mo ago), licensed MIT. It adds 101 tokens to every session and 748 once invoked, about $0.0005 per session on Opus 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-31.