← Back to Skills Marketplace
bebetterest

aiheal cli

by yujian li · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
161
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install aiheal-cli-operator
Description
Operate and troubleshoot the AIHealingMe CLI through the npm package (`aihealingmecli`). Use when tasks involve auth/user/audio/plan/chat/emotion/subscriptio...
README (SKILL.md)

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, auth, whoami
  • content/healing: audio, plan, single-job, plan-stage-job
  • conversation/emotion: chat, emotion
  • account-side operations: user, subscription, notification, feedback, memory, behavior
  • raw/advanced requests: api, healing

Quick Start

  • Use npm package runtime by default.
  • Global runtime: npm install -g aihealingmecli then aiheal ....
  • No-global runtime: npx -y -p aihealingmecli aiheal ....
  • Keep all operations in package runtime.

Workflow

  1. Confirm runtime baseline.
  • Run aiheal --help.
  • Run aiheal config get to verify apiBaseUrl, locale, region, and token state.
  1. Choose command family by task.
  • Use auth/config for login and token setup.
  • Use audio, plan, single-job, plan-stage-job for healing generation workflows.
  • Use chat and emotion for conversation and emotion-space workflows.
  • Use subscription, notification, feedback, memory, behavior for account-side operations.
  • Use api request as fallback for unwrapped endpoints.
  1. Prefer structured payload input for complex operations.
  • Use --payload-file path/to/file.json by default.
  • Use --body '{...}' only for short payloads.
  • Merge behavior: --body overrides same keys from --payload-file.
  1. Validate outputs and state transitions.
  • Expect JSON output with top-level ok.
  • Use error.code and error.status as primary diagnostics.
  • For async jobs, use single-job wait and plan-stage-job wait with explicit timeout values.
  • For single-job create and plan-stage-job create, handle CLI local validation failures via error.code=VALIDATION_ERROR and inspect error.issues[] for field-level corrections.
  1. Verify capability coverage (detect fake/unimplemented commands).
  • For public endpoints, expect 200 with valid response envelopes.
  • For protected endpoints, use api request --no-auth and expect 401/403 rather than 404.
  • Treat repeated 404 as possible missing/incorrect CLI mapping and patch command endpoint mapping immediately.

Execution Rules

  • Keep default API on public endpoint https://aihealing.me/api unless task explicitly requires override.
  • Require explicit --output for download/export commands.
  • Use global overrides (--api-base, --locale, --region, --token) only in the current command context.

Troubleshooting

  • AUTH_ERROR: login again and verify with whoami.
  • API_ERROR with status: 0: verify network and apiBaseUrl.
  • npx cache EPERM: set NPM_CONFIG_CACHE=/tmp/aiheal-npm-cache or use global install.
  • API_ERROR with status: 404: prioritize checking endpoint mapping or command naming mismatch.
  • Async wait timeout: query status endpoints (get/by-request) and inspect progress fields.
  • VALIDATION_ERROR (CLI local): fix payload by iterating over error.issues[] (field, message, expected, actual, suggestion) before retry.
  • single-job create request id: requestId is optional in payload; when omitted CLI auto-generates it. Use returned data.job.requestId for single-job wait --request-id.
  • plan-stage-job create request id: requestId is optional in payload (no auto-generation); include it only if your workflow needs an explicit correlation id.

Resources

Smoke Script

  • Script: scripts/smoke_check.sh
  • Path-independent run:
    • bash /absolute/path/to/scripts/smoke_check.sh
  • Environment parameters:
    • AIHEAL_NPM_PACKAGE: npm package source for npx -p (default: aihealingmecli; can be a tarball path)
    • AIHEAL_NPM_CACHE_DIR: cache directory used by npx (default under temp dir)
    • RUN_NETWORK_SMOKE: set 1 to include live API probe (audio list)
Usage Guidance
This skill is coherent for operating the AIHealingMe CLI. Before installing or running it, consider: 1) npx will fetch the aihealingmecli package from the npm registry at runtime — only run it if you trust that package or point AIHEAL_NPM_PACKAGE to a vetted tarball. 2) The provided smoke script can run live API probes (set RUN_NETWORK_SMOKE=0 to avoid network calls). 3) Avoid passing real secret tokens to the agent when testing; the CLI supports --token and config token-set which, if used, send bearer tokens to the service. 4) If you want to be extra cautious, inspect the npm package source locally before execution or perform only non-network smoke checks (the script verifies help/config without contacting the API by default).
Capability Analysis
Type: OpenClaw Skill Name: aiheal-cli-operator Version: 1.0.2 The skill bundle is designed to operate the 'aihealingmecli' npm package for the AIHealingMe platform. It includes comprehensive documentation for command execution, error handling, and a smoke test script (scripts/smoke_check.sh) that verifies the CLI environment. The instructions in SKILL.md and the command mappings in references/command-map.md are consistent with the stated purpose of managing emotional-healing workflows, and no evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description describe a CLI operator and the skill only references the aihealingmecli package, CLI commands, and the aihealing.me API. There are no unrelated credentials, binaries, or system paths requested.
Instruction Scope
SKILL.md instructs the agent to run CLI commands, validate config, and optionally run a network smoke test. That is within scope for a CLI operator. Note: the smoke script can perform a live API probe when RUN_NETWORK_SMOKE=1 and the CLI supports overriding API base and passing tokens, so the agent may make network requests and exercise endpoints if invoked to do so.
Install Mechanism
There is no packaged install spec in the skill; instructions rely on the npm package (global install or npx). Using npx pulls code from the npm registry at runtime — expected for an npm-based CLI but is a network fetch of third-party code, which carries normal registry-download risk.
Credentials
The skill does not declare required environment variables or credentials. The smoke script exposes optional env vars (AIHEAL_NPM_PACKAGE, AIHEAL_NPM_CACHE_DIR, RUN_NETWORK_SMOKE) that are reasonable for controlling npx behavior and whether to run live probes.
Persistence & Privilege
The skill does not request persistent/always-on privileges. Defaults (user-invocable, agent-autonomy allowed) are standard. The skill does not attempt to modify other skills or global agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aiheal-cli-operator
  3. After installation, invoke the skill by name or use /aiheal-cli-operator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
aiheal-cli-operator 1.0.2 - Improved error handling and troubleshooting guidance for CLI local validation failures (`VALIDATION_ERROR`), with specific advice for fixing payloads using `error.issues[]`. - Clarified usage and auto-generation of `requestId` in `single-job create` and `plan-stage-job create` commands. - Updated workflow and troubleshooting sections in SKILL.md for better usability and coverage. - References and instructions in command-map.md and error-playbook.md were aligned with new validation behaviors.
v1.0.1
Version 1.0.1 - Updated CLI package reference from `aihealingme-cli` to `aihealingmecli`. - Clarified and expanded introduction and skill scope documentation. - Added guidance on verifying capability coverage, including endpoint and command mapping checks. - Improved troubleshooting with emphasis on endpoint mapping diagnostics. - Included section for running a smoke test script with environment parameter details.
v1.0.0
- Initial release of aiheal-cli-operator. - Enables operating and troubleshooting the AIHealingMe frontend CLI via the `aihealingme-cli` npm package. - Supports workflows for auth, user, audio, plan, chat, emotion, and subscription using strict frontend-only rules. - Emphasizes structured payload handling, clear diagnostic processes, and safe runtime operations. - Guides users on installation, runtime selection, and detailed troubleshooting.
Metadata
Slug aiheal-cli-operator
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is aiheal cli?

Operate and troubleshoot the AIHealingMe CLI through the npm package (`aihealingmecli`). Use when tasks involve auth/user/audio/plan/chat/emotion/subscriptio... It is an AI Agent Skill for Claude Code / OpenClaw, with 161 downloads so far.

How do I install aiheal cli?

Run "/install aiheal-cli-operator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is aiheal cli free?

Yes, aiheal cli is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does aiheal cli support?

aiheal cli is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created aiheal cli?

It is built and maintained by yujian li (@bebetterest); the current version is v1.0.2.

💬 Comments