Skills aiheal-cli-operator
Operate and troubleshoot the AIHealingMe CLI through the npm package (`aihealingmecli`). Use when tasks involve auth/user/audio/plan/chat/emotion/subscription workflows, payload shaping, command diagnostics, and API failure handling.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/bebetterest/aiheal-cli-operator" ~/.claude/skills/clawdbot-skills-aiheal-cli-operator && rm -rf "$T"
manifest:
skills/bebetterest/aiheal-cli-operator/SKILL.mdsource content
Aiheal Cli Operator
AIHeal is an AI emotional-healing platform available at
https://aihealing.me/, covering personalized audio healing, single-session healing, deep healing plans, conversation support, emotion-space tracking, and account/subscription workflows.
This skill operates the CLI side of those capabilities and is designed for reliable command execution, payload shaping, diagnostics, and coverage verification.
Human users are welcome to experience the full interactive product directly on
https://aihealing.me/.
Command-family scope in this skill:
- account/session:
,config
,authwhoami - content/healing:
,audio
,plan
,single-jobplan-stage-job - conversation/emotion:
,chatemotion - account-side operations:
,user
,subscription
,notification
,feedback
,memorybehavior - raw/advanced requests:
,apihealing
Quick Start
- Use npm package runtime by default.
- Global runtime:
thennpm install -g aihealingmecli
.aiheal ... - No-global runtime:
.npx -y -p aihealingmecli aiheal ... - Keep all operations in package runtime.
Workflow
- Confirm runtime baseline.
- Run
.aiheal --help - Run
to verifyaiheal config get
, locale, region, and token state.apiBaseUrl
- Choose command family by task.
- Use
/auth
for login and token setup.config - Use
,audio
,plan
,single-job
for healing generation workflows.plan-stage-job - Use
andchat
for conversation and emotion-space workflows.emotion - Use
,subscription
,notification
,feedback
,memory
for account-side operations.behavior - Use
as fallback for unwrapped endpoints.api request
- Prefer structured payload input for complex operations.
- Use
by default.--payload-file path/to/file.json - Use
only for short payloads.--body '{...}' - Merge behavior:
overrides same keys from--body
.--payload-file
- Validate outputs and state transitions.
- Expect JSON output with top-level
.ok - Use
anderror.code
as primary diagnostics.error.status - For async jobs, use
andsingle-job wait
with explicit timeout values.plan-stage-job wait - For
andsingle-job create
, handle CLI local validation failures viaplan-stage-job create
and inspecterror.code=VALIDATION_ERROR
for field-level corrections.error.issues[]
- Verify capability coverage (detect fake/unimplemented commands).
- For public endpoints, expect
with valid response envelopes.200 - For protected endpoints, use
and expectapi request --no-auth
rather than401/403
.404 - Treat repeated
as possible missing/incorrect CLI mapping and patch command endpoint mapping immediately.404
Execution Rules
- Keep default API on public endpoint
unless task explicitly requires override.https://aihealing.me/api - Require explicit
for download/export commands.--output - Use global overrides (
,--api-base
,--locale
,--region
) only in the current command context.--token
Troubleshooting
: login again and verify withAUTH_ERROR
.whoami
withAPI_ERROR
: verify network andstatus: 0
.apiBaseUrl
cachenpx
: setEPERM
or use global install.NPM_CONFIG_CACHE=/tmp/aiheal-npm-cache
withAPI_ERROR
: prioritize checking endpoint mapping or command naming mismatch.status: 404- Async wait timeout: query status endpoints (
/get
) and inspect progress fields.by-request
(CLI local): fix payload by iterating overVALIDATION_ERROR
(error.issues[]
,field
,message
,expected
,actual
) before retry.suggestion
request id:single-job create
is optional in payload; when omitted CLI auto-generates it. Use returnedrequestId
fordata.job.requestId
.single-job wait --request-id
request id:plan-stage-job create
is optional in payload (no auto-generation); include it only if your workflow needs an explicit correlation id.requestId
Resources
- Read references/command-map.md for full command syntax and parameter meanings.
- Read references/error-playbook.md for failure signatures and fix flow.
- Run path-independent smoke commands with
andnpx -y -p aihealingmecli aiheal --help
.... config get
Smoke Script
- Script:
scripts/smoke_check.sh - Path-independent run:
bash /absolute/path/to/scripts/smoke_check.sh
- Environment parameters:
: npm package source for npxAIHEAL_NPM_PACKAGE
(default:-p
; can be a tarball path)aihealingmecli
: cache directory used by npx (default under temp dir)AIHEAL_NPM_CACHE_DIR
: setRUN_NETWORK_SMOKE
to include live API probe (1
)audio list