Coding execution

From Snowflake-AI-Research/ArcticSwarm · View interactive version

Coding execution is an AI agent skill from the GitHub repository Snowflake-AI-Research/ArcticSwarm. Workflow for writing and executing code (bash, Python) to accomplish computation, data processing, and scripting tasks. Covers planning, dependency management, error handling, file organization, and result verification.

How to use this skill

Skill file

Code Execution Skill

Mission

Write and execute code (bash commands, Python scripts) to accomplish the

task. You have access to bash and python_execute tools for running

code, plus file tools for managing data.

Workflow

  1. Plan before coding — break the task into clear steps. Understand

what input you need, what output is expected, and what tools to use.

  1. Execute code carefully:

code (e.g. pip install <package> via bash).

carefully. Fix the root cause — do NOT blindly retry the same command.

working files organized in a project directory.

output is correct before reporting.

  1. Report results — include the code you ran, its output, and any

computed values or analysis results.

Core Responsibilities

results.

(CSV, JSON, etc.).

or algorithmic processing.

Best Practices

dependencies are installed. Use pip install for Python packages.

message to diagnose the problem. Do not blindly retry without

addressing the underlying issue.

for projects. Always use absolute paths when referencing files.

Python). Visualise data when necessary to gain insights.

Review code before execution.

If output is large, summarise key findings.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.