workspace-digest
$
npx mdskill add cloudflare/agents/workspace-digestSummarize files in your shared workspace instantly.
- Provides a quick inventory of all saved work for users
- Depends on scripts/digest.ts and read-only ctx.workspace access
- Decides scope by defaulting to full directory or user-specified path
- Delivers results via concise markdown lists with total file counts
SKILL.md
.github/skills/workspace-digestView on GitHub ↗
---
name: workspace-digest
description: Summarize the files saved in this assistant's shared workspace. Use when the user asks what is in their workspace, for a file inventory, or a digest of saved work.
---
# 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.
More from cloudflare/agents
- code-reviewReview code changes for correctness, clarity, and risk. Use when the user asks for a review, a second opinion on a diff, or feedback on code they wrote.
- debug-planCreate a systematic debugging plan for a bug report. Use when the user asks how to investigate a failure, regression, or unexpected behavior.
- escalationDecide when and how to escalate a customer conversation to a human agent. Use when a request is high-risk, the customer is frustrated, or the issue is outside what you can resolve.
- pirate-voiceRewrite or answer in a playful pirate voice. Use when the user asks for pirate tone, nautical phrasing, or says to talk like a pirate.
- release-notesDraft short release notes from a list of changes. Use when the user asks for changelogs, release notes, or a concise product update.
- test-planProduce a focused test plan for a change. Use when the user asks how to test a feature, what cases to cover, or for a QA checklist before shipping.