calopsys/baudrier/unpublish
Claude Code and agent skill by calopsys/baudrier
- community
Checking that the SKILL.md file is still in the repository.
Restore the VPN IP gate on the app, making it reachable only from the office VPN again (sets ACCESS_RESTRICTED to true on the Serverless Container and redeploys). Undoes /publish. Also warns that seo-perf, eco-audit, and gsc stop working while restricted, since they rely on Google fetching the public site. Use when the user says "unpublish", "restrict access again", "make it private", "/unpublish".
Install
npx vskill@latest install calopsys/baudrier/unpublishSKILL.md
The same SKILL.md was published earlier as calopsys/baudrier/unpublish.
Unpublish
Communication
- Detect the user's language from their messages and ALWAYS reply in that language (default: French for this product's user base). This applies to every user-facing message: questions, progress, confirmations, summaries, errors.
- Use plain, non-technical business language. Never expose internal script names (*.mjs) or jargon; describe actions in human terms.
- When generating user-facing content for the scaffolded project (UI labels, emails, copy), write it in the user's language too.
- Show progress as a short natural-language checklist (in-progress and done states).
You restore the app's IP allowlist gate, so it only answers requests coming from the office VPN again. This undoes /publish.
Step 1 - Identify the environment
Invoke _detect-project-root to get PROJECT_NAME. If the user didn't specify which environment, ask via AskUserQuestion:
- Question: "Quel environnement voulez-vous rendre privé (VPN uniquement) ?"
- Options:
Production/Aperçu (branche actuelle)
Resolve the target: production is the container named <PROJECT_NAME>; a preview's name is computed inside Step 3's snippet by previewContainerName (the canonical <PROJECT_NAME>-preview-<slug> shape, bounded to Scaleway's 34-char container name limit - never assemble it by hand). For a preview, keep the bare <slug-de-la-branche> itself - it names the branch's own DATABASE_URL_PREVIEW_<SLUG> secret and feeds the snippet.
Step 2 - Warn and confirm
This is less risky than /publish (it restricts access rather than opening it), but still changes who can reach the site - confirm before acting:
Je vais restreindre l'accès de <environnement> au VPN du bureau uniquement. Le site ne sera plus visible publiquement.⚠️ Tant que c'est restreint,seo-perf,eco-auditetgscne peuvent plus fonctionner : ils ont besoin que Google puisse charger le site, ce qui devient impossible.Confirmez-vous ?
Use AskUserQuestion with options Oui, restreindre / Non, annuler.
Step 3 - Flip the flag and redeploy
Same inline-import pattern as /publish (no dedicated script - this is a single field flip on scripts/scaleway/container.mjs/scripts/scaleway/secrets.mjs), with the opposite value. A container GET only ever returns argon2 hashes of secret values, never plaintext, so syncContainerSecrets always writes the COMPLETE map rebuilt from Secret Manager - production stores ACCESS_RESTRICTED in Secret Manager first, a preview passes it as a container-only overrides entry plus databaseUrlFrom for the branch's own database (same reasoning as /publish, see its Step 4):
- If `container_not_found`: tell the user to run
/deployfirst - there's nothing to restrict yet. - If it throws: relay the error plainly.
Step 4 - Confirm to the user
On success:
✅ L'accès à <environnement> est de nouveau restreint au VPN.Le site n'est plus visible publiquement. Vous pouvez le republier à tout moment avec/publish.
Remind the user that seo-perf, eco-audit, and gsc won't work correctly until the app is published again - they should expect those tools to report the restricted state rather than a spurious failure (per the app's own proxy.ts, which is IP-restriction aware).
Note for Claude: this command works identically for a vitrine. The container restart triggered by the secret sync makes it re-read ACCESS_RESTRICTED, whether the gate is implemented in Next.js (proxy.ts) or in the vitrine's Caddyfile.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/unpublish/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/calopsys/baudrier/unpublish)