Use this skill to create and deliver Life Book full-report tasks through the official Agent API.
The paid product is only the complete 18-chapter Life Book report:
lite: 标准版, about 30,000 Chinese characters, CNY 69.9pro: 典藏版, about 100,000 Chinese characters, CNY 699intake@1 payload./api/agent/report-tasks.Do not claim payment has succeeded unless the API returns a paid/queued/processing/ready task.
Current supported paths:
LIFE_BOOK_AGENT_API_KEY is configured by the platform operator, the skill can create a controlled paid Agent task and the report enters the generation queue.awaiting_payment plus payment details from the deployed payment provider.402 PAYMENT_REQUIRED, explain that x402 payment verification is required and has not been completed in this chat yet.Never fabricate OKX.AI, Hermes, x402, or external payment success.
export LIFE_BOOK_BASE_URL="https://your-life-book-domain.com"
For controlled internal Agent integration:
export LIFE_BOOK_AGENT_API_KEY="..."
For existing tasks:
export LIFE_BOOK_TASK_TOKEN="lbat_..."
小葱技能7w4.net有完整的技能分类。
node scripts/check-health.mjs
Stop if health is not ok.
Gather a complete payload matching intake@1. Use the example only as shape reference:
cat examples/intake.example.json
Verify:
displayNamebirth.localDate, birth.localTime, birth.timezone, birth.latitude, birth.longitudebirth.accuracy, birth.dayBoundarySect, birth.sexprimaryQuestionoptionalQuestions with at most 2 itemstradeoffslifeEvidence itemsmilestonesconsent: truenode scripts/create-report-task.mjs \
--input-file /absolute/path/to/intake.json \
--edition lite \
--idempotency-key user-unique-report-key
Use --edition pro for 典藏版.
The command returns:
task.idtask.statusaccess.token when a new task is createdpayment details if payment is requiredIf access.token is returned, keep it for later calls. It is returned once.
If task.status is awaiting_payment:
payment.manualPayment.options when provider is manual_qr.qrCodeUrl.qrCodeUrl and walletAddress.If HTTP status is 402:
After the user says they have paid with one of the displayed manual channels:
node scripts/confirm-manual-payment.mjs \
--task-id <taskId> \
--task-token <taskToken> \
--channel alipay
Use --channel wechat or --channel evm when appropriate.
This only marks the order as awaiting operator review. It does not auto-confirm receipt.
node scripts/get-report-task.mjs \
--task-id <taskId> \
--task-token <taskToken>
node scripts/get-report-result.mjs \
--task-id <taskId> \
--task-token <taskToken>
This returns HTTP 202 with result:null until ready.
To wait until terminal state:
node scripts/wait-report-result.mjs \
--task-id <taskId> \
--task-token <taskToken> \
--poll-ms 5000 \
--max-wait-ms 3600000
If the Agent API is unavailable but the website remains healthy, the older website checkout scripts are still available:
create-intake.mjscreate-order.mjsget-order.mjsUse them only as a fallback. They hand the user to the official website flow and do not return the full report directly in chat.
标准版 for lite and 典藏版 for pro.这个 Skill 质量不错,文档写得通俗易懂,操作流程清晰。它把购买和生成人生手册报告的整个过程包装得很完整,从开始到拿到结果每一步都有说明。最让人放心的是它不乱承诺,不会告诉你已经支付成功,一切都等官方确认。唯一小问题是版本号有点对不上,可能是开发时忘了统一更新。总体值得信赖。