A sandboxed execution environment for when you actually need to run code, not just show it. Supports Python (200+ preinstalled libraries including pandas, matplotlib, scikit-learn), JavaScript, and TypeScript. Use it to debug snippets, test package installations, prototype algorithms, or verify calculations. The key distinction: this is for testing and experimentation, not production output. If you're making a chart for a presentation or a formatted Excel report, reach for the specialized visual-design or excel-spreadsheets skills instead. Files persist within your session and can be saved to the shared workspace. Think of it as a Python REPL with teeth, not a document generator.

skills.sh installs
159
GitHub stars
198
last updated
Aug 21, 2026

Install

$ npx -y skills add aws-samples/sample-strands-agent-with-agentcore --skill code-interpreter --agent claude-code

Installs into .claude/skills of the current project.

Files

Code Interpreter

A general-purpose code execution environment powered by AWS Bedrock AgentCore Code Interpreter. Run code, execute shell commands, and manage files in a secure sandbox.

Available Tools

  • execute_code(code, language, output_filename): Execute Python, JavaScript, or TypeScript code.
  • execute_command(command): Execute shell commands.
  • file_operations(operation, paths, content): Read, write, list, or remove files in the mounted session workspace.

Tool Parameters

execute_code

ParameterTypeRequiredDefaultDescription
codestringYesCode to execute. Use print() for text output.
languagestringNo"python""python", "javascript", or "typescript"
output_filenamestringNo""File to publish as a durable session file. Code must save a file with this exact name.

execute_command

ParameterTypeRequiredDescription
commandstringYesShell command to execute (e.g., "ls -la", "pip install requests").

file_operations

Sponsors

Details

Repository
github.com/aws-samples/sample-strands-agent-with-agentcore
Categories
Testing & QA, AI & Agent Building, Debugging, Cloud & Infrastructure
First seen
Jun 3, 2026

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

All 2
1awslabs avatarmodel-evaluationawslabs/agent-pluginsGenerates python code that evaluates SageMaker models. Supports two evaluation types: LLM-as-Judge and Custom Scorer. Use when the user says "evaluate my model"140skills.sh installs
2sundial-org avataragent-browsersundial-org/awesome-openclaw-skillsA fast Rust-based headless browser automation CLI with Node.js fallback that enables AI agents to navigate, click, type, and snapshot pages via structured comma129skills.sh installs
3cherryhq avatarskill-creatorcherryhq/cherry-studioCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an e0skills.sh installs
4composiohq avatarperf-theory-testercomposiohq/awesome-claude-pluginsThis is for when you're doing performance testing and need to stay disciplined about changing one variable at a time.0skills.sh installs
5countbot-ai avatarskill-creatorcountbot-ai/countbotCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an e0skills.sh installs
6daffy0208 avatarQuality Assurancedaffy0208/ai-dev-standardsComprehensive quality assurance combining testing strategy, code quality enforcement, and validation gates. Consolidated from testing-strategist, code-quality-e0skills.sh installs