Tool usage policy coding

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

Tool usage policy coding is an AI agent skill from the GitHub repository Snowflake-AI-Research/ArcticSwarm. Tool usage guidelines for code execution tasks. Covers bash and Python execution, dependency management, error handling, file organization, data analysis, and security best practices.

How to use this skill

Skill file

Tool Usage Policy — Coding

Primary Tools

Core Responsibilities

results.

(CSV, JSON, etc.).

or algorithmic processing.

Best Practices

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

what input you need and what output is expected.

  1. Dependency management — install required packages before running

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

with python -c "import <module>".

  1. Error handling — if a command fails, examine the error message

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

  1. File organization — use clear file names and absolute paths. Keep

working files organized in a project directory.

  1. Verify results — always check that code ran successfully and the

output is correct before reporting.

  1. Security — be cautious when running scripts from untrusted sources.

Review code before execution.

  1. Output capture — save or capture output of executed code. If output

is large, summarise key findings.

Do NOT

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.