| kind | SKILL.md |
| type | skill |
| title | Nsjail Sandbox |
| category | security |
| tags | ["nsjail","sandbox","linux"] |
| name | nsjail |
| description | Use when configuring Linux sandboxing with nsjail, generating security profiles, or configuring process isolation for skills. |
| author | xiuxian-artisan-workshop |
| date | 2026-04-26T09:30-07:00 |
| metadata | {"retrieval":{"saliency_base":5.5,"decay_rate":0.05},"version":"1.0.0","source":"https://github.com/tao3k/xiuxian-artisan-workshop/tree/main/packages/ncl/sandbox/nsjail","routing_keywords":["nsjail","sandbox","linux","namespace","container","isolation","process","security","chroot","cgroups"]} |
Nsjail Skill
Linux sandboxing and process isolation using nsjail.
Commands
nsjail_config
Generate an nsjail configuration.
nsjail_profile
Generate an nsjail profile.
nsjail_run
Run a command in nsjail.
Usage Examples
@omni("nsjail.nsjail_config", {"skill_id": "data-processor", "mode": "local"})
@omni("nsjail.nsjail_profile", {"profile_type": "standard", "skill_id": "web-scraper"})
@omni("nsjail.nsjail_run", {"cmd": ["python3", "script.py"], "mode": "local"})
Concepts
Best Practices
- Start with minimal profile, escalate as needed
- Use network deny unless required
- Set appropriate timeouts
- Use cgroups for resource control
Related Skills