npx skills add openclaw/peekaboo --skill release-peekaboo
steipete/peekaboo · Archived
release-peekaboo
Peekaboo release: notarization, npm/GitHub release, appcast, verify, closeout.
Installation
npx skills add steipete/peekaboo --skill release-peekaboo
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Use Peekaboo for macOS desktop automation, screenshots, visual UI maps, native accessibility in…
4 installsUse the Crabbox wrapper for OpenClaw remote validation across Linux, macOS, Windows, and WSL2, …
2 installsTrigger a pre-merge release readiness review on a GitHub PR, GitLab MR, or local branch. Use wh…
1.1K installsRun automated release testing (UI or API) via the AWS DevOps Agent using a pre-configured test …
1.1K installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Audit a website's SEO with Firecrawl. Use when the user asks for an SEO audit, metadata and hea…
31.6K installsUniversal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok…
15.2K installsVue 3 patterns with Clerk — composables (useAuth, useUser, useClerk, useOrganization), Vue Rout…
11.4K installsUse when building email features, emails going to spam, high bounce rates, setting up SPF/DKIM/…
8.9K installsAlso in this package
Other skills from steipete/peekaboo.
npx skills add steipete/peekaboo
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md9,169 B -
docs
SUMMARY.md102 B
History
- First seen on skills.sh
- First recorded snapshot · 2 installs
SKILL.md
Peekaboo Release
Release ~/Projects/Peekaboo as the npm package @steipete/peekaboo plus signed/notarized macOS app assets.
Use $one-password, $browser-use, $npm, $autoreview, and repo AGENTS.md rules. Load $release-private if it exists before resolving Peter-owned credential locators. Read $npm before any npm auth, token, or publish recovery work. Keep all op secret work inside one persistent tmux session. Never print .p8, npm tokens, passwords, or OTPs.
Current Secrets
- Peter-owned credential item names, key ids, issuer ids, keychain paths, and npm token locators live in
$release-private. - Required ASC fields:
keyid,issuerid,privatekeyp8. - Stale/revoked key symptom:
xcrun notarytool submitfails withHTTP status code: 401. Unauthenticated. - All ASC fields must come from the same current item; do not mix profile values with 1Password refs.
Sparkle key:
- Resolve the exact
MACRELEASESPARKLEOPREFfrom$release-privateinto the private release environment or tmux
session; never add the locator to this public repo, status output, or logs.
- The shared release helper uses the prompt-free service account, verifies the public key, and owns its mode-0600
temporary file cleanup. Do not set SPARKLEPRIVATEKEY_FILE for normal releases.
Developer ID release keychain:
- Resolve the release keychain item/path from
$release-private. - The canonical release keychain is passwordless and never-locking. If macOS shows
codesign wants to use the release keychain, cancel the prompt and repair that setup through the owning credential workflow; there is no keychain password to enter. - The Developer ID certificate password is only for importing a transported
.p12, not unlocking the local release keychain. - The shared release helper owns keychain preparation, partition access, and the signing canary. Do not proceed to packaging until that canary succeeds without GUI prompts.
npm publish token:
- Resolve token/TOTP locators from
$release-private. - Use
$npmrules. Run inside the same tmux session, write only a temp npmrc, delete it immediately, and use thenpmjsTOTP item for web auth if npm prompts. - Do not create short-lived/granular bypass tokens for a normal Peekaboo publish. They add cleanup risk and did not help the 3.2.1 slow-upload/web-auth path.
Notary Credential Check
Use the service account from $release-private first. Put the token in the tmux environment without printing it:
# Resolve SERVICE_ACCOUNT_TOKEN from $release-private first.
tmux -S "$SOCKET" set-environment -t "$SESSION" OP_SERVICE_ACCOUNT_TOKEN "$SERVICE_ACCOUNT_TOKEN"
Create a temp env file with service-account refs from $release-private:
APP_STORE_CONNECT_API_KEY_P8=<1Password ref from release-private>
APP_STORE_CONNECT_KEY_ID=<1Password ref from release-private>
APP_STORE_CONNECT_ISSUER_ID=<1Password ref from release-private>
Before a release, verify shape and Apple auth without printing values:
op run --env-file "$ENVFILE" -- bash -c '
set -euo pipefail
KEY_FILE="/tmp/AuthKey_${APP_STORE_CONNECT_KEY_ID}.p8"
printf "%s\n" "$APP_STORE_CONNECT_API_KEY_P8" > "$KEY_FILE"
chmod 600 "$KEY_FILE"
xcrun notarytool history \
--key "$KEY_FILE" \
--key-id "$APP_STORE_CONNECT_KEY_ID" \
--issuer "$APP_STORE_CONNECT_ISSUER_ID" \
--output-format json >/dev/null
rm -f "$KEY_FILE"
'
Peekaboo forces notarytool submit --no-s3-acceleration; the default S3 accelerated upload path can return a misleading 401 even when history auth succeeds.
If both history and non-S3 submit fail, suspect wrong access level or stale key. Browser route:
- Use
$browser-usereal Chrome profile. - Open
https://appstoreconnect.apple.com/access/integrations/api. - Generate Team Key named
Peekaboo Release <version>withAdminaccess. - Download
.p8once from the key row. - Store immediately into the private credential map; verify
notarytool history; delete~/Downloads/AuthKey<keyid>.p8. - Revoke the older Peekaboo release key after the new key validates.
Release Flow
- Start on clean
main; pull ff-only if needed. - Set version in:
- package.json - version.json - Apps/CLI/Sources/Resources/version.json - README npm badge - Core/PeekabooCore/Sources/PeekabooAgentRuntime/MCP/PeekabooMCPVersion.swift - Xcode marketing versions under Apps/*
- Date
CHANGELOG.mdandApps/CLI/CHANGELOG.mdfor the release. - Run focused proof or release script preflight. Release gates must be warning-free.
- Use
$autoreviewbefore commit unless the change is trivial/docs-only. - Stage the intended release files and commit with standard Git.
- Push
main. - Run:
Prepare a bounded reviewed Markdown proof file containing the exact hosted CI and local release-gate results, then set RELEASEPROOFFILE to its absolute path. The driver retains and hashes it into the release plan and GitHub body.
op run --env-file "$ENVFILE" -- \
bash -c 'printf "y\n" | ./scripts/release-binaries.sh --create-github-release --publish-npm --proof-file "$RELEASE_PROOF_FILE"'
The script builds universal CLI, npm package, signed/notarized app zip and branded DMG, appcast, checksums, draft GitHub release, and npm publish. Use a non-login shell: profile exports can replace current 1Password ASC IDs with stale values while leaving the current .p8, producing a misleading 401.
When resuming before any public action after a release interruption with a CLI already built from the same clean HEAD, add --reuse-built-cli. The script verifies the full signer, entitlement, native-only, runtime-library, architecture, online-notarization, version, and exact-source contract before packaging; it never executes the candidate before the non-executing safety checks finish.
The npm confirmation occurs before GitHub draft creation. After any partial public action, preserve build/release and the generated appcast.xml, then rerun ./scripts/release-binaries.sh --resume-publication inside the same credentialed shell. Resume verifies the retained source-bound plan, proof, checksums, artifacts, helper pin, remote tag/draft/assets, and npm integrity; it skips an already-published identical tarball and completes the final draft body idempotently. The retained checksummed full appcast prevents unrelated feed drift. An E404 after an attempted npm publish fails closed on the retained attempt marker; wait for registry propagation, and use --retry-npm-publish only after independently confirming the version was not accepted. The retained plan must record both completed full preflight and publication eligibility. The driver refuses proof files on local-only or reduced-check builds, preventing --resume-publication from promoting those artifacts.
Every notarized release payload must sign with Developer ID Application: OpenClaw Foundation (FWJYW4S8P8), not a personal or development identity. This includes Peekaboo.app, nested helpers and frameworks, the standalone and npm CLIs, and the DMG. The tracked release manifest and shared credential helper resolve the shared passwordless signing keychain; never copy its machine-specific path or signing material into the repository. Peekaboo 3.8+ bridge hosts keep accepting transition-era personal-team clients for staged upgrades, but Foundation-signed 3.9.6+ CLIs require a 3.8+ host.
If npm upload is slow and TOTP expires, use the stored npm token through a temp npmrc and complete npm web auth immediately when prompted with the configured TOTP. Do not create granular bypass tokens for this; if one was created by mistake, delete it before closeout.
Verify
Required before closeout:
npm view @steipete/peekaboo@<version> version dist-tags dist.tarball dist.integrity time --json
(cd /tmp && npm exec --yes --package=@steipete/peekaboo@<version> -- peekaboo --version)
gh release view v<version> --repo openclaw/Peekaboo --json tagName,isDraft,isPrerelease,url,assets,body
xmllint --noout appcast.xml
git status --short --branch
Confirm:
- npm version exists and
latestpoints to it. - npm-downloaded CLI reports the release version from a neutral cwd.
- GitHub release/tag/assets exist; release body is from changelog.
- app zip and DMG assets exist; appcast points at the zip under
v<version>. appcast.xmlchanges are committed and pushed.- Publish draft release if the script leaves it draft.
Closeout
- Add next patch
Unreleasedsection to root and CLI changelogs. - Stage both changelogs and commit with
git commit -m "docs(changelog): open <next-version>". - Push.
- Watch release/homebrew/CI workflows if triggered.
git checkout main && git pull --ff-only && git status --short --branch.- Clear tmux
OPSERVICEACCOUNT_TOKEN, remove temp env/key files, and final with what landed.