Workspace Digest
Productivityworkspace-digestWorkspace Digest is an Agent Skill for productivity published in the cloudflare/agents repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/cloudflare/agents/blob/HEAD/examples/assistant/agents/assistant/agents/my-assistant/skills/workspace-digest/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/workspace-digest, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- Run
scripts/digest.tsto scan the workspace and build a file inventory. Pass{ "dir": "/some/path" }to scope the scan to a subdirectory. - Summarize the result for the user: how many files, the notable ones, and the total size.
- 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.