bighardperson/computer-science-skills-collection/code-executor

Claude Code and agent skill by bighardperson/computer-science-skills-collection

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Ejecuta código Python, JavaScript, Bash dinámicamente. El bot puede crear y ejecutar código al vuelo.

Install

npx vskill@latest install bighardperson/computer-science-skills-collection/code-executor

SKILL.md

Code Executor (Ejecutor de Código) 🔥

PODER INFINITO. El bot puede escribir y ejecutar código para resolver cualquier problema.

¿Qué Hace?

Si el bot necesita hacer algo que no tiene una skill:

  1. Escribe el código necesario
  2. Lo ejecuta en un sandbox
  3. Retorna el resultado

Comandos

# Ejecutar código directamente
run python "print('Hello World')"
run js "console.log(2+2)"
run bash "ls -la"
# Ejecutar archivo
run ~/script.py
execute ~/automation.js
# El bot decide qué código escribir
solve "calcula el factorial de 100"
compute "genera 10 números primos"

Ejemplo Real

Usuario: calcula cuántos días faltan para mi cumpleaños (15 de marzo)
Bot: ⚡ Necesito calcular esto...
📝 Código generado:
```python
from datetime import date
today = date.today()
birthday = date(today.year, 3, 15)
if birthday < today:
birthday = date(today.year + 1, 3, 15)
days = (birthday - today).days
print(f"Faltan {days} días para tu cumpleaños")
```
⚡ Ejecutando...
✅ Resultado:
Faltan 40 días para tu cumpleaños (15 de marzo, 2026)

Resolución de Problemas

Usuario: necesito renombrar 500 archivos agregando la fecha
Bot: ⚡ Generando script...
```python
import os
from datetime import datetime
folder = "/ruta/a/archivos"
date_str = datetime.now().strftime("%Y%m%d")
for filename in os.listdir(folder):
name, ext = os.path.splitext(filename)
new_name = f"{date_str}_{name}{ext}"
os.rename(
os.path.join(folder, filename),
os.path.join(folder, new_name)
)
print(f"Renamed: {filename} -> {new_name}")
```
⚠️ Este script renombrará 500 archivos.
¿Ejecutar? [Sí] [Ver preview] [Cancelar]

Lenguajes Soportados

LenguajeRuntime
Pythonpython3
JavaScriptnode
TypeScriptts-node
Bashbash/sh
SQLsqlite3

Modo Interactivo

Usuario: abre un REPL de Python
Bot: ⚡ Python REPL iniciado:
>>>
Usuario: import math; math.pi
Bot: >>> import math; math.pi
3.141592653589793
Usuario: exit
Bot: ⚡ REPL cerrado

Instalación de Dependencias

Usuario: necesito usar pandas para analizar este CSV
Bot: ⚡ pandas no está instalado
¿Instalar pandas? [Sí] [No]
Usuario: sí
Bot: ⚡ pip install pandas
✅ pandas instalado
Continuando con el análisis...

Seguridad

bash
CODE_SANDBOX=true # Ejecutar en sandbox
CODE_TIMEOUT=30 # Timeout en segundos
CODE_ALLOW_NETWORK=false # Bloquear red por defecto
CODE_ALLOW_FILESYSTEM=read # Solo lectura por defecto
CODE_REQUIRE_CONFIRM=true # Confirmar antes de ejecutar

Casos de Uso

  1. Cálculos complejos que no tiene ninguna skill
  2. Transformación de datos personalizada
  3. Automatizaciones únicas que no ameritan una skill
  4. Prototipado rápido de soluciones
  5. Debugging y testing

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
56
Repository forks
10
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bighardperson/computer-science-skills-collection/code-executor/badge)](https://verified-skill.com/skills/bighardperson/computer-science-skills-collection/code-executor)

Something wrong with this skill or its page? Tell us.