Sandboxed analysis

From healthonrails/annolid · View interactive version

Sandboxed analysis is an AI agent skill from the GitHub repository healthonrails/annolid. Generate minimal deterministic Python analyses over typed behavior artifacts, keeping code small, reproducible, and constrained to approved libraries.

How to use this skill

Skill file

Sandboxed Analysis

Use this skill when custom metrics must be computed via deterministic Python scripts after checking whether built-in Annolid analytics tools already cover the request.

Prefer Built-In Tools First

Before writing custom scripts, check whether one of Annolid's validated tools solves the task directly:

Rules for Custom Sandboxed Code

  1. Generate the smallest deterministic Python program using core dependencies (numpy, pandas, shapely, standard library math/statistics/csv/json); guard optional imports like scipy or matplotlib.
  2. Keep input paths, column names (frame_number, instance_name, cx, cy, Recording time, Subject, Behavior, Event), and output units explicit.
  3. Never mutate raw tracking CSVs or frame JSON annotations in place; write derived summaries to new files.
  4. Do not depend on network access or interactive GUI windows (cv2.imshow, plt.show).
  5. Record seed values (e.g. rng = random.Random(42)) for any bootstrap or permutation calculations.
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.