wibus-wee/cradle-app/cradle-cli
Claude Code and agent skill by wibus-wee/cradle-app
- community
Checking that the SKILL.md file is still in the repository.
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 p…
Install
npx vskill@latest install wibus-wee/cradle-app/cradle-cliSKILL.md
Cradle CLI
Use cradle to manage Cradle or query its state from the terminal. You can use it for quick queries, scripted interactions, or as a reference for how the HTTP API maps to user-friendly commands.
Core Rules
- Prefer
cradlefor Cradle-owned product semantics. Use ordinary shell tools for local file/process work, but do not replace Cradle session awaits, issue state, delegation, Chronicle, automation, workspace, usage, or observability workflows with ad hoc scripts. - For waiting on external or future events, register a Cradle session await and end your turn. Do not use
sleep, long polling loops,gh run watch, or repeated manual checks when Cradle has an await source for the condition. - Use
ghonly for GitHub actions that Cradle does not expose. If the goal is to pause this session until CI or PR review changes, usecradle session await .... cradle manprints the full generated command manual. Usecradle man <module>orcradle man <command...>to narrow it.- This skill is not the full route list. It gives operating patterns and an auto-generated module index; exact commands come from
cradle man. - Default output is human-readable. Use
--json <fields>for Agent workflows and--format jsonfor compact pipeline output. - Most relationships use IDs, but issue statuses are Agent-facing names/slugs. Use status names like
triage,to_do, orin_progressinstead of status IDs when creating or moving issues. - Use
--server <url>only when the defaultCRADLE_SERVER_URL/http://localhost:21423is not the intended server.
Use Cradle First For
| Goal | Start Here | Avoid As Primary Path | |||
|---|---|---|---|---|---|
| Wait for CI, review, approval, or later continuation | cradle session await ... | sleep, polling loops, gh run watch | |||
| Manage tasks, status, comments, delegation, or issue sessions | cradle issue ..., cradle issue-agent-session ... | local TODO files, direct DB edits | |||
| Inspect workspace identity, files, or git state | cradle workspace ... | guessing workspace IDs, raw HTTP | |||
| Inspect Work / Draft PR state (delivery rules live in Work Mode system prompt) | `cradle work get | list ..., cradle session pull-request get` | inventing Work lifecycle outside primary Work Mode | ||
| Search Cradle state or past threads | cradle search ... | grepping data directories | |||
| Read or maintain Chronicle memory/activity/knowledge | cradle chronicle ... | direct SQLite edits | |||
| Schedule or inspect recurring work | cradle automation ... | cron scripts outside Cradle | |||
| Inspect cost, tokens, incidents, traces, or runtime diagnostics | cradle usage ..., cradle observability ..., cradle chat ... | manual log spelunking first | |||
| Manage agents, profiles, skills, ACP, providers, preferences | cradle agent ..., cradle profile ..., cradle skill ..., cradle acp ... | editing registry files by hand | |||
| Open or inspect a session-bound draft PR | `cradle session pull-request create | get | ready` | gh pr create / gh pr ready |
Environment Variables
Cradle-managed shells inject these environment variables — no manual setup needed:
| Variable | Description | |
|---|---|---|
CRADLE_CHAT_SESSION_ID | Your current chat session ID | |
CRADLE_WORKSPACE_ID | The workspace ID for this session |
Prefer omitting ids and letting commands resolve ambiently. Pass an explicit id only when targeting another session or workspace. Available in both GUI (Claude Agent) and TUI (terminal) modes.
Session resolution
Session self-ops (pull-request, isolation, linked-issue, and await chat-session fields) omit the session id by default and use CRADLE_CHAT_SESSION_ID when set:
Pass <id> / --session-id / --chat-session-id only when operating on another session. Destructive session commands (session delete, archive, update, get) always require an explicit id.
Workspace resolution
Commands that need a workspace expose a --workspace <name-or-id> flag (or a [workspace]/<workspace> positional argument), resolved in this order — no raw UUID required:
- The value you pass explicitly (
--workspace my-apporcradle workspace get my-app) — accepts a workspace name (case-insensitive, unambiguous prefix also works) or its id. CRADLE_WORKSPACE_ID, when set (this is how Cradle-managed agent shells scope commands automatically).- The workspace whose registered path is an ancestor of your current directory — run
cradlefrom inside an imported workspace and it just works, no flag or env var needed.
Destructive/administrative commands (workspace delete, workspace update, workspace migrate, workflow-rule delete, ...) still accept a name or id but never fall back through env/cwd — you must always name the target explicitly, so a stale ambient workspace can't be silently affected.
Optional workspace-scoped list/search commands (e.g. issue list) resolve ambiently by default; pass --all-workspaces when you intentionally want a global query instead.
Discovery
Issue Workflow
Omit --status-name to let the server attach the default workspace status. Use cradle issue status list only when you need to inspect available status names; status names are matched as lower-case slugs with spaces converted to underscores.
Comments And Delegation
Workspace Helpers
Output Patterns
Use default output for human inspection, --json <fields> for structured Agent reads, and --format ndjson when streaming rows into shell pipelines.
Chat Stream Trace
In development, chat runtime writes provider-to-SSE trace files under CRADLE_DATA_DIR/chat-runtime/traces. Use these commands to decide whether a streaming issue came from the provider, SDK mapper, projection, SSE emit, store, or UI layer.
Inspect phases in order: provider_raw, mapper_output, runtime_chunk, projection_apply, sse_emit.
Session Pull Request (Draft → Ready)
When finishing isolated work, open a draft PR through Cradle — not gh pr create:
Do not auto-await CI after create. Only register cradle session await github-ci ... when the user asks.
Work (inspection only)
Primary Work delivery (commit → \manage_pull_request\ Draft PR loop) is injected only on primary Work threads via the Cradle Work Mode system prompt — not here. In any session, use CLI for inspection and \cradle man work\ for flags:
Use \gh\ for CI checks, PR comments, and other GitHub surfaces Cradle does not own. Prefer \cradle session await ...\ over polling when pausing for CI/review.
Session Await (Pause & Resume)
Register an await to pause your session and let Cradle automatically resume it when an external condition is met:
JavaScript awaits (programmable conditions)
When no typed source fits, express the wait condition as a bare async JavaScript function that returns false while pending or { resumeText, payload? } once complete. The cell runs with the await workspace as its real cwd and can execute commands through tools.exec (argv arrays only, no shell):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 93 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 repositoryCheckingresources/skills/cradle-cli/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/wibus-wee/cradle-app/cradle-cli)