workspace-digest

workspace-digest is a skill for Claude Code, Codex from cloudflare/agents. It costs 40 tokens per session (242 once invoked), scanned A, original, MIT.

A workspace file scanner that creates a short inventory of files saved in the assistant’s shared workspace. It reports notable files, file sizes, and the total amount of data.

In plain words
What is it for?
Use it to get a file digest, count and size summary, or inventory of a selected workspace folder before opening specific files.
Why use it?
It answers what is stored in the workspace without requiring you to inspect folders one by one. You can also limit the scan to a subdirectory.

Skill for Claude CodeCodex ✓ vendor

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

Good fit Use it to get a file digest, count and size summary, or inventory of a selected workspace folder before opening specific files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cloudflare/agents/workspace-digest
About the project

Cloudflare Agents is a framework for building persistent, stateful AI agents on Cloudflare Durable Objects, where each agent has its own state, storage, and lifecycle. Developers use it to create agents with real-time communication, scheduling, model calls, MCP, workflows, and other server-side capabilities. The catalogue entries provide agent, skill, MCP, and instruction components for this framework.

cloudflare/agents · 5,845 stars · on GitHub · developers.cloudflare.com

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 cloudflare/agents --skill workspace-digest
Clone the repo
git clone --depth 1 https://github.com/cloudflare/agents

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudflare/agents/workspace-digest"><img src="https://agentmods.dev/badge/skills/cloudflare/agents/workspace-digest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 242 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.00040 $0.00242
Opus 5.5 $0.00016 $0.00097
Sonnet 5.5 $0.00008 $0.00048
Haiku 4.5 $0.00004 $0.00024

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

Security

Grade A, and why

workspace-digest 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/digest.ts), 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.

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.

examples/assistant/agents/assistant/agents/my-assistant/skills/workspace-digest/SKILL.md · 27 lines

What it actually says

Workspace Digest

Produce a concise inventory of the files saved in this assistant's shared workspace (the same workspace every chat under this user shares).

Process

  1. Run scripts/digest.ts to scan the workspace and build a file inventory. Pass { "dir": "/some/path" } to scope the scan to a subdirectory.
  2. Summarize the result for the user: how many files, the notable ones, and the total size.
  3. Offer to open or read any specific file the user is interested in.

The TypeScript script is function-style (export default run(input, ctx)). It reads the workspace through ctx.workspace (read-only) and a formatting hint bundled alongside the skill via ctx.files.

Output format

Keep the digest short - a markdown list of files with sizes, plus a one-line summary. Only print the full listing if the user asks for it.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 27 lines · 40 tokens per session scan A cabb88258971

Subscribe to this mod's changes

workspace-digest is a skill published in the GitHub repository cloudflare/agents (5,845 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 242 once invoked, about $0.0002 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

one

Use the One CLI (one) to interact with 3rd-party platforms — Gmail, Slack, Stripe, Notion, etc. through their APIs. One handles auth, request building, and execution. TRIGGER when: Interact with ANY 3rd-party platform or external service (e.g., "send an email", "create a Shopify order", "find a HubSpot contact", "post…

withoneai/cli · 250 tokens

awaken

Awaken gives a non-intelligent system a usable voice without pretending the underlying system became sentient. The real move is to wrap a thermostat, spreadsheet, legacy database, shell script, or crusty internal tool in a conversational or agent-like interface that exposes what it can already do. Good Awaken work…

Hmbown/Wizards-of-the-Ghosts · 107 tokens

dimension-door

Dimension Door is the quick-switch spell: branch to branch, environment to environment, project to project. It is not a migration and it is not discovery. It assumes both endpoints are known, prepared, and close enough in shape that you can step across with only the context you actually need.

Hmbown/Wizards-of-the-Ghosts · 61 tokens

mage-hand

Use this skill for small, careful remote manipulations where dexterity matters more than force.

Hmbown/Wizards-of-the-Ghosts · 21 tokens

heroism

In D&D, Heroism grants temporary hit points and immunity to fear — you do not become stronger, you become harder to stop. The real-world version is the preparation ritual: the pre-presentation pep talk, the pre-launch checklist that calms the team, the structured confidence-building exercise before a difficult…

Hmbown/Wizards-of-the-Ghosts · 85 tokens

sleep

Sleep = temporary, reversible suspension with guaranteed state preservation. The target stops acting but wakes up intact. No data loss, no corruption, no permanent change.

Hmbown/Wizards-of-the-Ghosts · 33 tokens