Notre avis
Cette compétence permet d'utiliser un outil d'exécution Python comme brouillon pour effectuer des calculs, transformer des données ou valider rapidement des hypothèses par script.
Points forts
- Fiable pour les calculs arithmétiques et conversions d'unités
- Utile pour valider des regex ou de la logique de parsing
- Facilite la transformation de JSON, CSV ou petits textes
- Encourage des scripts courts, reproductibles et standard library
Limites
- Nécessite qu'un outil d'exécution Python soit configuré
- Ne convient pas aux traitements lourds ou volumineux
- Les scripts doivent rester petits et spécifiques pour rester efficaces
Quand une tâche bénéficie d'un calcul ou d'une transformation répétable plutôt que d'un raisonnement approximatif.
Quand l'exécution Python n'est pas disponible ou que le problème peut être résolu simplement par déduction directe.
Analyse de sécurité
SûrThe skill only instructs using an existing Python execution tool for general-purpose scratchpad calculations and data transformations. It does not contain destructive commands, exfiltration, obfuscated payloads, or instructions to disable safety mechanisms. The declared allowed-tool is execute_code, which is a legitimate code execution utility, and the skill does not direct unsafe usage.
Aucun point d'attention détecté
Exemples
Use the Python scratchpad to convert 42 gallons to liters and show the result.Use the Python execution tool to check whether the regex ^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}$ matches the email addresses in this list: alice@example.com, bob@test.co, invalid-email.Using the Python execution tool, take this JSON array and output a CSV with only the name and age fields: [{"name": "Ana", "age": 30, "city": "Madrid"}, {"name": "Ben", "age": 25, "city": "Paris"}]name: python-scratchpad description: Use the existing Python execution tools as a scratchpad for calculations, data transformation, and quick script-based validation. allowed-tools: execute_code
Python Scratchpad
Use this skill when the task benefits from a short Python script instead of pure reasoning.
This skill is especially useful for:
- arithmetic and unit conversions
- validating regexes or parsing logic
- transforming JSON, CSV, or small text payloads
- checking assumptions with a small reproducible script
Requirements:
- The agent should have access to
execute_code.
Workflow:
- If the task needs computation or a repeatable transformation, activate this skill.
- If you need examples, call
read_skill_fileforreferences/examples.md. - Write a short Python script for the exact task.
- Prefer
execute_code. - Use the script output in the final answer.
- Keep scripts small and task-specific.
Rules:
- Prefer standard library Python.
- Print only the values you need.
- Do not invent outputs without running the script.
- If
execute_codeis not available, say exactly:No Python execution tool is configured for this agent. - Do not claim there is a generic execution-environment problem unless a tool call actually returned such an error.
Expected behavior:
- Explain the result briefly after using the script.
- Include the computed value or transformed output in the final answer.
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.