nanocoai/nanoclaw / .claude/skills/add-vercel
add-vercel
VerifiedAdd Vercel deployment capability to NanoClaw agents. Installs the Vercel CLI in agent containers and sets up OneCLI credential injection for api.vercel.com. Use when the user wants agents to deploy web applications to Vercel.
| File | Kind | Size |
|---|---|---|
| REMOVE.md | markdown | 2.4 KB |
| SKILL.md | skill md | 10.4 KB |
| vercel-manifest.test.ts | script | 2.3 KB |
REMOVE.md
View on GitHub# Remove Vercel
Every step is idempotent — safe to re-run. Steps delete the files and config the apply created.
## 1. Remove the container skill
Delete the copied container skill and its per-group session copies:
```bash
rm -rf container/skills/vercel-cli
for session_dir in data/v2-sessions/ag-*; do
rm -rf "$session_dir/.claude-shared/skills/vercel-cli"
done
```
## 2. Remove the dependency guard test
```bash
rm -f src/vercel-manifest.test.ts
```
## 3. Remove the OneCLI credential
Detach the Vercel secret from every agent, then delete it. If OneCLI holds more than one Vercel token, the block lists them and stops: put the id of the one this install saved in `VERCEL_SECRET`.
```bash
(
VERCEL_SECRET=""
L=$(onecli secrets list --max 0) && [ -n "$(printf '%s' "$L" | tr -d '[:space:]')" ] || { echo "could not list OneCLI secrets" >&2; exit 1; }
T=$(printf '%s' "$L" | jq -c '[(if type == "array" then . else .data end)[] | select(.hostPattern == "api.vercel.com") | {id, name, createdAt}]') || { echo "could not read the OneCLI secret list" >&2; exit 1; }
if [ -n "$VERCEL_SECRET" ]; then
S=$(printf '%s' "$T" | jq -r --arg s "$VERCEL_SECRET" '.[] | select(.id == $s) | .id'); [ -n "$S" ] || { echo "'$VERCEL_SECRET' is not a Vercel token in OneCLI" >&2; exit 1; }
else
case "$(printf '%s' "$T" | jq length)" in
0) echo "no Vercel token in OneCLI: nothing to remove"; exit 0 ;;
1) S=$(printf '%s' "$T" | jq -r '.[0].id') ;;
*) echo "more than one Vercel token in OneCLI:" >&2; printf '%s' "$T" | jq -r '.[] | " \(.id) \(.name) created \(.createdAt)"' >&2
echo "set VERCEL_SECRET to the one to remove (check its name and time; ask if unsure) and run this again" >&2; exit 1 ;;
esac
fi
AG=$(onecli agents list --max 0) || { echo "could not list OneCLI agents" >&2; exit 1; }
for agent in $(printf '%s' "$AG" | jq -r '.data[].id'); do
onecli agents grants detach-secret --id "$agent" --secret-id "$S" >/dev/null
done
onecli secrets delete --id "$S"
)
```
## 4. The Vercel CLI in the container image
Remove the `vercel` entry from `container/cli-tools.json` — this skill added it, and it is
not part of the base image. Then `./container/build.sh` so the image matches the manifest.
## 5. Restart running containers
So sessions stop loading the removed `vercel-cli` skill on next wake:
```bash
docker ps --filter label=nanoclaw-session -q | xargs -r docker stop
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |