Read and write files in the shared session workspace. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

OfficialMITAuto-check passedDocuments & Office

Install Workspace

skills CLI
$ npx skills add aws-samples/sample-strands-agent-with-agentcore --skill workspace -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aws-samples/sample-strands-agent-with-agentcore workspace --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aws-samples/sample-strands-agent-with-agentcore.git skills-src && mkdir -p .claude/skills && cp -r skills-src/chatbot-app/agentcore/skills/workspace .claude/skills/workspace && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
workspace
GitHub stars
194
Token cost
~721 tokens
SKILL.md length
257 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

Read and write files in the shared session workspace. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

  • Documents & Office work in your project
  • SKILL.md covers Path Conventions, Usage, Notes and UI Guidance (from tools-config)
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Workspace is an agent skill from aws-samples/sample-strands-agent-with-agentcore, published by the product's own GitHub organization. Read and write files in the shared session workspace. Use this to access files created by any skill — code-agent outputs, office documents, images, and more. All within the same isolated session.

Its SKILL.md is about 720 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office. It works with Microsoft Excel and Microsoft PowerPoint. The repository describes itself as: Reference architecture for agentic AI chatbots with Strands Agents and Amazon Bedrock AgentCore. The licence is MIT.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “/workspace”

What it can do on your machine

Read from SKILL.md and the folder at commit 6dd9d13. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Workspace loads about 721 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 257 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~721

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aws-samples/sample-strands-agent-with-agentcore at commit 6dd9d13, republished under its MIT licence (© aws-samples). 257 words, ~721 tokens.

Download SKILL.mdSave it as .claude/skills/workspace/SKILL.md (or your agent's skills folder).
name
workspace
description
Read and write files in the shared session workspace. Use this to access files created by any skill — code-agent outputs, office documents, images, and more. All within the same isolated session.

Workspace

Provides unified read/write access to all files in the current session. The userId and sessionId are injected automatically — you only specify the logical path.

Path Conventions

PrefixWhat it accesses
uploads/<file>Files uploaded by the user
code-agent/<file>Files created by the code agent (auto-synced)
code-interpreter/<file>Files created in the Code Interpreter workspace
documents/powerpoint/<file>PowerPoint presentations
documents/word/<file>Word documents
documents/excel/<file>Excel spreadsheets
documents/image/<file>Images from other tools

Note: Files written under /mnt/workspace persist for the chat session, and user uploads are available under /mnt/workspace/inputs. Code Agent downloads session uploads into its own working directory when delegated.

Usage

See everything in the session:

workspace_list()
workspace_list("uploads/")
workspace_list("code-agent/")

Read a file the code agent created:

workspace_read("uploads/data.jsonl")           # uploaded structured data
workspace_read("code-agent/calculator.png")   # binary → base64
workspace_read("code-agent/report.md")        # text → string

Pass a file from one skill to another:

result = workspace_read("documents/excel/data.xlsx")   # encoding: base64
workspace_write("code-agent/data.xlsx", result["content"], encoding="base64")

Notes

  • Text files return encoding: "text" with plain string content. Large text reads are bounded; when truncated is true, use Code Interpreter for the complete file instead of repeatedly reading it into model context. Code Interpreter uses /mnt/workspace/inputs/<file>.
  • JSON, JSONL, and NDJSON uploads are text files; large chat attachments may be truncated in model context, but the complete file remains under uploads/
  • Binary files (images, Office docs, PDF, etc.) return encoding: "base64"
  • workspace_write accepts both encodings — use "base64" for binary
  • Files written here are immediately available to all other skills in the session

UI Guidance (from tools-config)

Path conventions (userId/sessionId injected automatically):

  • uploads/<file> — files uploaded by the user
  • code-agent/<file> — files from the code agent
  • documents/powerpoint/<file> — PowerPoint
  • documents/word/<file> — Word
  • documents/excel/<file> — Excel
  • documents/image/<file> — images

Binary vs text: images/PDFs/Office files are returned base64-encoded (encoding: "base64"); use the same encoding when writing them back.

© aws-samples, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in chatbot-app/agentcore/skills/workspace of aws-samples/sample-strands-agent-with-agentcore.

Open the folder on GitHubat commit 6dd9d13

Compare with similar skills

Workspace next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Workspace compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Workspace this skillaws-samples/sample-strands-agent-with-agentcore194—~721Automated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
GenOffice Document CLIgenspark-ai/genoffice8.8k—~19kAutomated safety check: PassApache-2.0
Docx4jplutext/docx4j2.4k—~2.5kAutomated safety check: PassNone
Cyber Pptcrazyykhllc-bit/CyberPPT1.8k—~10kAutomated safety check: PassMIT
Markitshift-labs-ai/markit1.3k—~299Automated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    8.8k GitHub stars~19k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Docx4j

    plutext/docx4j

    A skill your agent uses when writing Java code that creates, reads or edits Word (.docx), PowerPoint (.pptx) or Excel (.xlsx) files with docx4j — including generating documents, editing existing…

    2.4k GitHub stars~2.5k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Cyber Ppt

    crazyykhllc-bit/CyberPPT

    当用户需要把 DOCX、PDF、TXT、XLSX、研究报告、业务材料或原始数据转成高密度、可编辑、咨询风格 PPTX 时使用;也适用于需要 SCR 论证、视觉风格探索、详细图表和渲染质检的 PPT。

    1.8k GitHub stars~10k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Markit

    shift-labs-ai/markit

    Convert files and URLs to Markdown. An agent skill from shift-labs-ai/markit.

    1.3k GitHub stars~299 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    594 GitHub starsUsed in 2 repos~1.7k tokens
    Documents & OfficeAuto-check passed

More from aws-samples/sample-strands-agent-with-agentcore

All 24 skills in this repo
  • Doc Coauthoring

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Guide users through a structured workflow for co-authoring documentation.

    194 GitHub starsUsed in 39 repos~3.2k tokens
    Auto-check passed
  • Code Interpreter

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Test and prototype code in a sandboxed environment. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

    194 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Research Agent

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Deep research with structured reports and charts. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

    194 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Code Agent

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Autonomous coding agent. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

    194 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Delegate Work

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Delegate one independent, context-heavy task to an isolated asynchronous analyst or reviewer.

    194 GitHub stars~610 tokensUpdated yesterday
    Auto-check passed
  • Excalidraw

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Create hand-drawn style diagrams and flowcharts using Excalidraw

    194 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Questions about Workspace

What does Workspace do?

Read and write files in the shared session workspace. An agent skill from aws-samples/sample-strands-agent-with-agentcore. Workspace is an agent skill from aws-samples/sample-strands-agent-with-agentcore, published by the product's own GitHub organization. Read and write files in the shared session workspace.

When should I use Workspace?

Workspace fits situations like: documents & Office work in your project.

How do I install Workspace in Claude Code?

Run `npx skills add aws-samples/sample-strands-agent-with-agentcore --skill workspace -a claude-code`. Or copy the skill folder (chatbot-app/agentcore/skills/workspace in aws-samples/sample-strands-agent-with-agentcore) into .claude/skills/workspace in your project. Claude Code loads it when a task matches its description.

How do I install Workspace in Codex?

Run `npx skills add aws-samples/sample-strands-agent-with-agentcore --skill workspace -a codex`. Or copy the skill folder (chatbot-app/agentcore/skills/workspace in aws-samples/sample-strands-agent-with-agentcore) into .agents/skills/workspace in your project. Codex loads it when a task matches its description.

Can I use Workspace in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aws-samples/sample-strands-agent-with-agentcore --skill workspace -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/workspace, .gemini/skills/workspace, .github/skills/workspace and .opencode/skills/workspace in your project.

What does Workspace need to run?

SKILL.md names no scripts, command-line tools or credentials: Workspace is instructions for the agent only.

Does Workspace access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Workspace safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Workspace use?

Workspace is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Workspace use?

About 721 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Workspace?

Skills that share tags, products or a category with Workspace: Markitdown (ImCa0/just-laws, 781 stars), GenOffice Document CLI (genspark-ai/genoffice, 8.8k stars), Docx4j (plutext/docx4j, 2.4k stars) and Cyber Ppt (crazyykhllc-bit/CyberPPT, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Workspace?

aws-samples (a GitHub organization, an official publisher) maintains it in aws-samples/sample-strands-agent-with-agentcore, which has 194 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 6, 2026.

Source: aws-samples/sample-strands-agent-with-agentcore on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.