con un clic
miniboxruntime
Run and debug containers with minibox runtime operations
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Run and debug containers with minibox runtime operations
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Remove AI-generated code slop by comparing current branch against base branch and eliminating unnecessary comments, defensive bloat, type workarounds, and style inconsistencies. Use this skill when reviewing AI-generated code, before merging PRs, when code quality seems degraded, or when you notice AI tells like excessive comments or defensive checks. Trigger for phrases like "remove slop", "clean AI code", "remove unnecessary code", "fix code quality", or when diff shows obvious AI-generated patterns.
Expert BAML (BoundaryML) schema design, code review, and test generation following established standards and conventions. Use this whenever users mention BAML, want to design AI functions, create schemas for LLM interactions, generate test cases, or review existing BAML code. Covers class/function/enum design, client configuration, prompt engineering, and comprehensive testing patterns.
Audit Claude Code agents, skills, commands, and hooks for quality, completeness, and adherence to templates and best practices. Use this skill when reviewing workspace components, ensuring quality standards, preparing for deployment, or investigating component issues. Trigger for phrases like "audit components", "check agents", "review skills", "validate commands", or proactively before major releases or when onboarding new components.
Comprehensive helper for working with the DevLoop development observability tool - both using it to analyze development patterns and contributing to its development. Use when running DevLoop commands, interpreting council mode analysis, understanding git activity patterns, reviewing Claude Code sessions, or working on DevLoop's hexagonal architecture codebase. Trigger for phrases like "run devloop", "analyze branch", "council mode", "development patterns", or when working on the DevLoop Rust codebase itself.
Remove emojis from project files and replace them with text equivalents. Use this skill when the user mentions removing emojis, cleaning up documentation, code review mentions emoji issues, or when you notice emojis in files that should be emoji-free. Also trigger for phrases like "clean emojis", "no emojis", "remove emoji", or "emoji cleanup".
Guide automated git bisect sessions to find regression commits with smart test execution and commit analysis. Use this skill when tracking down bugs introduced by specific commits, finding when tests started failing, debugging performance regressions, or investigating when features broke. Trigger for phrases like "find the bad commit", "when did this break", "bisect", "regression hunt", or when the user needs to identify which commit introduced an issue.
| name | minibox:runtime |
| description | Run and debug containers with minibox runtime operations |
Run, manage, and debug containers using the minibox container runtime.
Use this skill when:
Start miniboxd:
sudo ./target/debug/miniboxd
Start in foreground with logging:
sudo RUST_LOG=debug ./target/debug/miniboxd
Check daemon status:
ps aux | grep miniboxd
Run a simple container:
sudo ./target/debug/minibox-cli run ubuntu:latest /bin/bash
Run with resource limits:
# Memory limit (default: 512MB)
sudo ./target/debug/minibox-cli run --memory 1024 ubuntu:latest /bin/bash
# CPU weight (default: 100)
sudo ./target/debug/minibox-cli run --cpu-weight 200 ubuntu:latest /bin/bash
Run interactive container:
sudo ./target/debug/minibox-cli run -it ubuntu:latest /bin/bash
List running containers:
sudo ./target/debug/minibox-cli ps
Stop container:
sudo ./target/debug/minibox-cli stop <container-id>
Remove container:
sudo ./target/debug/minibox-cli rm <container-id>
Inspect container directory:
sudo ls -la /var/lib/minibox/containers/<container-id>/
Check PID file:
sudo cat /var/lib/minibox/containers/<container-id>/pid
Check overlay filesystem:
sudo ls -la /var/lib/minibox/containers/<container-id>/rootfs/
List namespaces for process:
sudo ls -la /proc/<pid>/ns/
Check namespace isolation:
# In container
hostname
# Outside container
hostname
Check container's cgroup:
sudo cat /sys/fs/cgroup/minibox/<container-id>/cgroup.procs
Check memory limit:
sudo cat /sys/fs/cgroup/minibox/<container-id>/memory.max
Check memory usage:
sudo cat /sys/fs/cgroup/minibox/<container-id>/memory.current
Check CPU weight:
sudo cat /sys/fs/cgroup/minibox/<container-id>/cpu.weight
Check mounted overlays:
mount | grep overlay | grep minibox
Inspect overlay layers:
sudo ls -la /var/lib/minibox/containers/<container-id>/overlay/
sudo ls -la /var/lib/minibox/containers/<container-id>/overlay/lower/
sudo ls -la /var/lib/minibox/containers/<container-id>/overlay/upper/
sudo ls -la /var/lib/minibox/containers/<container-id>/overlay/work/
sudo ls -la /var/lib/minibox/containers/<container-id>/overlay/merged/
/var/run/minibox.sock)handler.rshandle_run: Create container, setup overlay, spawn processhandle_stop: Send SIGTERM, wait, send SIGKILL if neededhandle_remove: Cleanup overlay, cgroups, directoriesDaemon (miniboxd/src/):
main.rs - Server initializationhandler.rs - Request handlersstate.rs - Container state managementCore Library (minibox/src/):
container/namespace.rs - Namespace setupcontainer/cgroups.rs - Cgroup managementcontainer/process.rs - Process spawningcontainer/rootfs.rs - Filesystem operationsimage/ - Image pulling and managementEnable debug logging:
export RUST_LOG=debug
sudo -E ./target/debug/miniboxd
Filter specific modules:
export RUST_LOG=miniboxd=debug,minibox::container=trace
sudo -E ./target/debug/miniboxd
Common log events:
Start daemon with logging:
sudo ./skills/minibox/runtime/scripts/start-daemon.sh
Starts miniboxd with proper logging and safety checks.
Debug container:
sudo ./skills/minibox/runtime/scripts/debug-container.sh <container-id>
Comprehensive container debugging (directory, process, namespaces, cgroups, overlay).
Inspect cgroup:
sudo ./skills/minibox/runtime/scripts/inspect-cgroup.sh <container-id>
Detailed cgroup inspection (processes, memory, CPU, statistics).
Permission denied:
/var/lib/minibox/ permissionsContainer fails to start:
RUST_LOG=debugProcess cleanup issues:
ps aux | grep <pid>sudo kill -9 <pid>Overlay mount failures:
grep overlay /proc/filesystemsFor comprehensive debugging guidance, load references/debugging-guide.md which covers: