원클릭으로
release-sdk
Trigger the @cradleapp/plugin-sdk npm release workflow and monitor it with Cradle
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Trigger the @cradleapp/plugin-sdk npm release workflow and monitor it with Cradle
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Update Cradle chat-runtime native SDK and protocol integrations. Use when upgrading or validating the vendored Codex app-server runtime/protocol, Kimi Web OpenAPI/AsyncAPI snapshots and generated bindings, or @anthropic-ai/claude-agent-sdk in apps/server; also use when asked to inspect newly generated native APIs for useful Cradle features.
Implement, upgrade, or audit a native Cradle Chat Runtime provider backed by a local process, REST/WebSocket protocol, or provider-specific agent SDK. Use when adding a runtime like Kimi, Codex, Claude Agent, OpenCode, or another provider that needs generated protocol bindings, target-scoped process lifecycle, canonical tool mapping, runtime UI slots, interaction bridges, streaming recovery, and end-to-end smoke verification.
Always use this Skill at the beginning of every response. Use whenever you need to read, inspect, wait on, or mutate Cradle-owned state or workflows, including issues, delegation, sessions, awaits, CI/review waits, timed waits, Work inspection, workspaces and git inspection, Chronicle, automations, usage, observability, skills, agents, profiles, providers, preferences, plugins, or server state. Prefer the generated `cradle` CLI and `cradle man`; NEVER bypass Cradle semantics with direct HTTP or database access, ad hoc scripts, raw registry edits, or polling loops. Use `gh` when Cradle does not own the GitHub surface. Primary Work closed-loop delivery is system-injected on Work threads (`manage_pull_request`), not this skill.
Trigger the public desktop release workflow and monitor it with Cradle
design and review llm agent systems, tool interfaces, and skill boundaries. use when chatgpt needs to decide whether a task should be handled by a prompt, workflow, skill, tool, single-agent loop, or multi-agent system; define tool schemas, instructions, guardrails, evaluation plans, or permission boundaries; or critique an existing agent design for over-orchestration, weak context handling, missing verification, or poor tool design.
Control Cradle's in-app browser via MCP tools. Use when the Claude Agent needs to navigate websites, click elements, type text, take screenshots, read page content, or inspect DOM structure within the Cradle desktop app's embedded browser panel. Triggers on "open URL", "navigate to", "click the button", "fill the form", "take a screenshot", "what's on the page", "scroll down", "wait for element", "press Enter". This is for the IN-APP browser only — not for external browser automation.
| name | release-sdk |
| description | Trigger the @cradleapp/plugin-sdk npm release workflow and monitor it with Cradle |
Trigger wibus-wee/cradle-app's release-plugin-sdk.yml workflow and monitor it until @cradleapp/plugin-sdk is published to npm.
Before the first CI release, configure npm Trusted publishing on @cradleapp/plugin-sdk:
wibus-wee/cradle-apprelease-plugin-sdk.ymlIf trusted publishing is not configured, CI publish will fail with authentication errors.
/release-sdk dev # Dev channel: sdk-dev-YYYYMMDD.N → npm tag dev
/release-sdk 0.2.0 # Release channel: sdk-v0.2.0 → npm tag latest
/Users/wibus/dev/cradle-app.wibus-wee/Cradle repo.sdk- prefix and are independent from desktop v* / dev-* tags.dev creates sdk-dev-YYYYMMDD.N.
sdk-dev-20260707.1, then sdk-dev-20260707.2.0.0.0-dev.<run_number> with dist-tag dev.sdk-vX.Y.Z.
0.2.0 or v0.2.0; normalize to sdk-v0.2.0.latest.When the user runs /release-sdk <arg>, execute these steps in order.
PUBLIC_REPO=/Users/wibus/dev/cradle-app
cd "$PUBLIC_REPO"
git fetch origin main --tags
ARG="<user argument>"
if [ "$ARG" = "dev" ]; then
DATE=$(date +%Y%m%d)
LAST=$(
git ls-remote --tags --refs origin "refs/tags/sdk-dev-${DATE}.*" |
sed -E "s#.*refs/tags/sdk-dev-${DATE}\\.([0-9]+)#\\1#" |
sort -n |
tail -1
)
INCREMENT=$(( ${LAST:-0} + 1 ))
VERSION="${DATE}.${INCREMENT}"
TAG="sdk-dev-${VERSION}"
CHANNEL="dev"
else
VERSION="${ARG#v}"
if [[ ! "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$ ]]; then
echo "Release version must be SemVer, for example 0.2.0" >&2
exit 1
fi
TAG="sdk-v${VERSION}"
CHANNEL="release"
fi
if git ls-remote --exit-code --tags origin "refs/tags/$TAG" >/dev/null 2>&1; then
echo "Tag already exists: $TAG" >&2
exit 1
fi
PUBLIC_SHA=$(git rev-parse origin/main)
git tag -a "$TAG" "$PUBLIC_SHA" -m "Release $TAG"
git push origin "$TAG"
Resolve the workflow run for the tag, then wait on the publish job.
RUN_ID=$(
gh run list \
--repo wibus-wee/cradle-app \
--workflow=release-plugin-sdk.yml \
--branch "$TAG" \
--event push \
--limit 1 \
--json databaseId \
--jq '.[0].databaseId // empty'
)
if [ -z "$RUN_ID" ]; then
echo "Release workflow run is not visible yet for $TAG; retry this lookup shortly." >&2
exit 1
fi
CHECK_RUN_ID=$(
gh run view "$RUN_ID" \
--repo wibus-wee/cradle-app \
--json jobs \
--jq '.jobs[] | select(.name == "Publish @cradleapp/plugin-sdk") | .databaseId' |
head -1
)
if [ -z "$CHECK_RUN_ID" ]; then
echo "Publish job is not visible yet for $TAG; retry this lookup shortly." >&2
exit 1
fi
cradle session await github-ci wibus-wee/cradle-app \
--run-id "$CHECK_RUN_ID" \
--reason "Waiting for @cradleapp/plugin-sdk npm release $TAG."
After registering the await, end the turn and let Cradle resume the session.
When Cradle resumes, inspect the workflow run:
gh run list \
--repo wibus-wee/cradle-app \
--workflow=release-plugin-sdk.yml \
--branch "$TAG" \
--event push \
--limit 1 \
--json databaseId,status,conclusion,url
If the workflow succeeded, verify the npm package:
if [ "$CHANNEL" = "dev" ]; then
npm view @cradleapp/plugin-sdk@dev version
else
npm view @cradleapp/plugin-sdk version
fi
Report success with the npm version and workflow run URL. If the workflow failed, report the run URL and the failing job name.
@cradleapp/plugin-sdk; the monorepo workspace package remains @cradle/plugin-sdk.NPM_TOKEN secret in GitHub.pnpm add -D @cradleapp/plugin-sdk@devpnpm add -D @cradleapp/plugin-sdk