idempotent-shell-scripts
Create re-runnable infrastructure shell scripts for gcloud and bq that safely handle existing resources and produce deterministic outcomes across repeated…
Skill by benthepsychologist
Chalk Labs
Need help deploying idempotent-shell-scripts?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/benthepsychologist-idempotent-shell-scripts
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
Use cases: devops
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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/idempotent-shell-scripts
Tools it pre-approves 3
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
bashgcloudbq
What's inside
- Skill name
idempotent-shell-scripts- Description
- Create re-runnable infrastructure shell scripts for gcloud and bq that safely handle existing resources and produce deterministic outcomes across repeated executions.
- License
- Apache-2.0
- Compatibility
- Requires bash with set -euo pipefail, authenticated gcloud CLI, and bq CLI in PATH.
- Allowed tools
- bash, gcloud, bq
- Metadata
- author: benthepsychologist · version: 1.0
- Instructions
- 35 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Idempotent Shell Scripts
Use this skill for bootstrap/provision scripts that must be safe to run many times.
## Script baseline
```bash
#!/usr/bin/env bash
set -euo pipefail
PROJECT_ID="${PROJECT_ID:?PROJECT_ID is required}"
DATASET="${DATASET:-analytics}"
if ! bq --project_id "$PROJECT_ID" show --dataset "$DATASET" >/dev/null 2>&1; then
bq --project_id "$PROJECT_ID" mk --dataset "$DATASET"
fi
```
## Patterns to apply
- Check-before-create for all resources.
- Prefer update/apply operations over delete/recreate.
- Gate destructive operations behind explicit flags.
- Validate required env vars at script start.
## Verification
```bash
bash scripts/bootstrap.sh
bash scripts/bootstrap.sh
```
Second run must succeed without duplicating resources.From benthepsychologist/specwright, Apache-2.0.
More from benthepsychologist/specwright
- 0.451score
registrar-bootstrap
benthepsychologist
Bootstrap registrar-managed environments using registrar CLI, verify provisioned cloud resources, and capture reproducible evidence for dev, stage, and prod…
SkillDFreshness: D★ 3Claude Code +9 - 0.449score
git-branching-workflow
benthepsychologist
Apply a safe branching model with branch naming, commit discipline, and merge/rebase flow.
SkillDFreshness: D★ 3Claude Code +9 - 0.446score
local-http-smoke-test
benthepsychologist
Start a real local HTTP server process, send curl requests to live endpoints, and assert status codes and response content for quick smoke validation.
SkillDFreshness: D★ 3Claude Code +9 - 0.446score
specwright-spec-authoring
benthepsychologist
Author specwright-compatible specs with complete frontmatter, bounded scope, deterministic test plans, and acceptance criteria that map directly to…
SkillDFreshness: D★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Mar 20, 2026 (7 months ago)
- Last release
- Nov 10, 2025 (11 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0
- License
- Apache-2.0
- Repository
- github.com/benthepsychologist/specwright
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from benthepsychologist
- 0.474score
scientific-research
benthepsychologist
Run structured literature and evidence research.
SkillCFreshness: CClaude Code +9 - 0.474score
market-research
benthepsychologist
Run structured market research with AI agents.
SkillCFreshness: CClaude Code +9 - 0.474score
red-team-analysis
benthepsychologist
Stress-test an idea, argument, strategy, or product concept.
SkillCFreshness: CClaude Code +9 - 0.474score
repo-research
benthepsychologist
Investigate a repository as a source base.
SkillCFreshness: CClaude Code +9 - 0.470score
research-initiation
benthepsychologist
Scope a research effort before execution.
SkillCFreshness: CClaude Code +9 - 0.469score
research-synthesis
benthepsychologist
Synthesize prior research passes into conclusions, risks, and decision-ready outputs.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get idempotent-shell-scripts running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
idempotent-shell-scripts skill. Agent Mart. https://agentmart.dev/skills/benthepsychologist-idempotent-shell-scripts (last updated 2026-10-24)