# Bootstrap Container

> Bootstrap Container is an Agent Skill for agent building published in the rcarmo/piclaw repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Bootstrap a new container by validating required tools and installing missing dependencies.

- Skill name: `bootstrap-container`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/rcarmo/piclaw/blob/HEAD/skel/.pi/skills/bootstrap-container/SKILL.md
- Repository: rcarmo/piclaw (792 GitHub stars when collected)

## SKILL.md

# Bootstrap container

Use this on a fresh container to ensure required CLI tools and workspace dependencies are present.

## Steps

1. Run the bootstrap script:
   ```bash
   bash /workspace/.pi/skills/bootstrap-container/bootstrap-container.sh
   ```

2. Review the summary output for missing or failed steps.

## What it does

- Installs required CLI tools (curl, wget, git, jq, rg, sqlite3, restic, openssh-client, supervisorctl, iproute2, etc.) if missing.
- Ensures `/workspace/package.json` exists and installs JS deps (`linkedom`, `turndown`, `playwright`).
- Installs Playwright Chromium + OS deps into `/workspace/.cache/ms-playwright`.
- Prints a version/status summary at the end.

## Environment

- `PICLAW_WORKSPACE` (default: `/workspace`)
- `PLAYWRIGHT_BROWSERS_PATH` (default: `/workspace/.cache/ms-playwright`)

---

Source: https://www.openparable.com/skill/agent-building/bootstrap-container (OpenParable). Cite the canonical URL above.
