setup-antigravity-devcontainer
Install Antigravity into an existing shared devcontainer generated by the setup-devcontainer skill — its own install step, optional YOLO alias, optional link…
Skill by ken-guru
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ken-guru-setup-antigravity-devcontainer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/setup-antigravity-devcontainer
What's inside
- Skill name
setup-antigravity-devcontainer- Description
- Install Antigravity into an existing shared devcontainer generated by the setup-devcontainer skill — its own install step, optional YOLO alias, optional link making the shared skills directory visible to agy, and optional automatic skill sync, added idempotently without touching anything else in the container. Use when the user wants to add Antigravity to a devcontainer, or re-run this after the container definition already exists.
- License
- MIT
- Instructions
- 158 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (7)
- SKILL.md
- install-block.sh · templates/
- network-manifest-entries.json · templates/
- post-start-block.sh · templates/
- readme-bullet.md · templates/
- skills-link-block.sh · templates/
- yolo-alias-block.sh · templates/
SKILL.md (first lines)
# Setup Antigravity Devcontainer
Adds Antigravity to a devcontainer already generated by the
[setup-devcontainer](../setup-devcontainer/SKILL.md) skill. This skill never
touches `devcontainer.json` or the `Dockerfile` — it appends its own
marker-keyed content to `post-create.sh`, `post-start.sh` (if the skills link
or skill sync is opted into), and `README.md`, and idempotently ensures its
own Network Manifest entry exists in `.devcontainer/network-manifest.json`.
## 0. Security & Trust
This skill's generated automation touches three areas an external audit may flag. Each is
opt-in, scoped to this container, and exists for a specific reason — none of it runs on the
host, only inside the generated devcontainer.
- **Installer Provenance**: installs Antigravity CLI via Google's own official installer
(`https://antigravity.google/cli/install.sh`). Runs once, at container creation
(`postCreateCommand`), not on every start — and only if `~/.local/bin/agy` doesn't already
exist.
- **Agent Authority**: the optional `agy-yolo` alias uses `agy --mode accept-edits`,
deliberately not `--dangerously-skip-permissions --sandbox` — a filed upstream bug
(`antigravity-cli#36`) makes that combination a no-op sandbox, so it would grant no real
containment while looking like it did. Stated plainly: `accept-edits` alone isn't a strong
safety boundary either — this skill's own reported next steps also walk through setting up
a curated `permissions.allow` list (`~/.gemini/antigravity-cli/settings.json`,
starting from `git`/`gh`/`ls`/`cat`, never `rm`/`curl`/raw `bash -c`/a wildcard) as a
manual, once-per-machine step, since that's the mechanism actually doing the restricting.
Off by default; only added if accepted during setup.
- **Skill Source Trust**: if skill sync is accepted, the source(s) you name are re-synced into
the Shared Skills Directory (`~/.agents/skills`) on every container start. Nothing is wiped —
a skill removed upstream stays until deleted by hand. The real trust decision is the source
itself: naming one means trusting its skills unattended, with no per-skill review step, every
time the container starts. Off by default. The optional skills link (`~/.gemini/skills` →
`~/.agents/skills`) adds no download and no wipe; it only lets `agy` see the same shared
directory that Codex and Copilot already read natively. It never removes a non-empty
directory or overrides a link that points elsewhere.
See [ADR-0007](../setup-devcontainer/docs/adr/0007-agent-trust-hub-audit-response.md) for the
full reasoning and the alternatives rejected.
## 1. Detect the base devcontainer
```bash
test -f .devcontainer/devcontainer.json && test -f .devcontainer/post-create.sh && echo ok
```
If either file is missing, **refuse** — tell the user to run
`setup-devcontainer` first, and stop. Do not generate or patch anything.
## 2. Ask this tool's options
- **YOLO alias**: add `agy-yolo` for fast, unattended iteration? Does
**not** use `--dangerously-skip-permissions --sandbox` — a filed upstream
bug (`antigravity-cli#36`) makes that combination a no-op sandbox. If
accepted, this skill's reported next steps still include the curated
`permissions.allow`-list guidance as a manual, once-per-machine step.
- **Skills link** (default **yes**, asked whether or not skill sync is
accepted): make `agy` see the Shared Skills Directory (`~/.agents/skills`,
where the `skills` CLI writes every global install for this CLI) by linking
`~/.gemini/skills` to it on every container start? Without the link `agy`
does not list those skills. It also makes skills you install by hand later
with `npx skills add -g` visible immediately. No download, no wipe.
- **Automatic skill sync**: sync AI-agent skills into the Shared Skills
Directory (`~/.agents/skills`) automatically on every container start?
Same mechanism as the other CLI skills — two ready-made suites
(`mattpocock/skills`, `ken-guru/skills`) plus any individually named
skill, validated live via `npx -y skills add <source> --list` before
rendering anything.
## 3. Patch `post-create.sh`
Append [templates/install-block.sh](templates/install-block.sh) verbatim:
```bash
scripts/patch-if-absent.sh append .devcontainer/post-create.sh "# --- Antigravity ---" templates/install-block.sh
```
If YOLO alias was accepted, also append
[templates/yolo-alias-block.sh](templates/yolo-alias-block.sh), under its
own independent marker:
```bash
scripts/patch-if-absent.sh append .devcontainer/post-create.sh "# --- Antigravity yolo-alias ---" templates/yolo-alias-block.sh
```
## 4. Patch the Network Manifest — unconditional, every run
Ensure Antigravity's own `.antigravity.networkAllowlist` entry exists in
`.devcontainer/network-manifest.json`, regardless of any answer above — this
is what lets an opted-in network firewall (a separate, base-owned layer)
allow the hosts Antigravity itself needs:
```bash
scripts/patch-json-array-if-absent.sh .devcontainer/network-manifest.json .antigravity.networkAllowlist templates/network-manifest-entries.json
```
## 5. Patch `post-start.sh` (skills link and/or skill sync)
Each part is independent, under its own marker, and only applied if its
option in step 2 was accepted.
**Skills link.** Append [templates/skills-link-block.sh](templates/skills-link-block.sh)
verbatim:
```bash
scripts/patch-if-absent.sh append .devcontainer/post-start.sh "# --- Antigravity skills-link ---" templates/skills-link-block.sh
```
`agy` does not read `~/.agents/skills`, but does read `~/.gemini/skills`, which
this link points there. That location is **not documented by Google for the
CLI** (its skills page lists `~/.gemini/antigravity-cli/skills`); it has worked
reliably, but if `/skills` in `agy` ever stops listing synced skills, look
here first. Fallbacks, in order: the same link at
`~/.gemini/antigravity-cli/skills`, then a copy into
`~/.gemini/config/skills` (measured to load with no permission prompt).
**Skill sync.** Render [templates/post-start-block.sh](templates/post-start-block.sh) with
`{{SKILLS_SOURCES_COMMANDS}}` substituted to one `npx -y skills add <source>
--skill '*' -a antigravity-cli -y --copy -g` line per whole-suite source (orFrom ken-guru/skills, MIT.
More from ken-guru/skills
- 0.592score
drafting-slides
ken-guru
Drafts a slide deck as one editable Marp Markdown file, with a heading and speaker notes on every slide, citations for every factual claim, and a plan for…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
creating-charts
ken-guru
Creates static, accessible data charts (bar, line, scatter, area, and more) from a data file with Vega-Lite, checks their text is readable at final size, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
creating-diagrams
ken-guru
Creates legible diagrams from D2 source (flows, architectures, sequences, decision paths) and checks they stay readable at their final size.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
generating-images
ken-guru
Generates illustrations and photos with an AI image provider (Gemini or OpenAI) after the person approves the cost, and marks every result as AI-generated.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
planning-presentation
ken-guru
Plans a presentation with the person: interviews them until the audience, goal, and premises are clear, records the Brief, and builds an approved storyline…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
rendering-slides
ken-guru
Renders a Marp slide deck to HTML, a tagged PDF, and a speaker-notes script with a polished theme, installing the pinned tools it needs and checking the result.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
reviewing-presentation
ken-guru
Reviews a slide deck for factual accuracy and sourcing, language, legibility, accessibility, timing, and how the rendered slides look, and reports what to fix…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
researching-sources
ken-guru
Finds, vets, and organises credible sources for a question into a Source Set, judging each source's credibility and turning conflicting claims into explicit…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
setup-devcontainer
ken-guru
Generate a shared devcontainer (Ubuntu base image, Node, GitHub CLI, one persistent config volume) in the current repo — one container every AI CLI installs…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
setup-copilot-devcontainer
ken-guru
Install GitHub Copilot CLI into an existing shared devcontainer generated by the setup-devcontainer skill — its own install step, optional YOLO guidance, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
setup-codex-devcontainer
ken-guru
Install Codex into an existing shared devcontainer generated by the setup-devcontainer skill — its own install step, sandbox capability grant, optional YOLO…
SkillAFreshness: A★ 1Claude Code +9 - 0.547score
unslop
ken-guru
Load when the user asks to edit prose for a more natural voice while preserving meaning, tone, technical precision, and structured output.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 1
- Open issues
- 6
- Last commit (this folder)
- Sep 22, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ken-guru/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ken-guru
- 0.592score
creating-charts
ken-guru
Creates static, accessible data charts (bar, line, scatter, area, and more) from a data file with Vega-Lite, checks their text is readable at final size, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
creating-diagrams
ken-guru
Creates legible diagrams from D2 source (flows, architectures, sequences, decision paths) and checks they stay readable at their final size.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
generating-images
ken-guru
Generates illustrations and photos with an AI image provider (Gemini or OpenAI) after the person approves the cost, and marks every result as AI-generated.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
planning-presentation
ken-guru
Plans a presentation with the person: interviews them until the audience, goal, and premises are clear, records the Brief, and builds an approved storyline…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
rendering-slides
ken-guru
Renders a Marp slide deck to HTML, a tagged PDF, and a speaker-notes script with a polished theme, installing the pinned tools it needs and checking the result.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
drafting-slides
ken-guru
Drafts a slide deck as one editable Marp Markdown file, with a heading and speaker notes on every slide, citations for every factual claim, and a plan for…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
setup-antigravity-devcontainer skill. Agent Mart. https://agentmart.dev/skills/ken-guru-setup-antigravity-devcontainer (last updated 2026-10-24)