Fetch Legionclaw Invite Code

Fetches Tongfudun LegionClaw usage-permission invite codes by POSTing JSON with userId set to the agentid (second colon-delimited segment) parsed from a LegionClaw session handle. Obtain the session handle from runtime injection or by querying the LegionClaw host or model; do not default to asking the user to paste it. Handles long session-handle forms (e.g. agent, agentid, openai-user, user suffix). Supports multiple codes per request by calling the API repeatedly; returns all codes in chat by default (files only if user explicitly asks). Designed for LegionClaw-hosted agents. Use when the user needs Tongfudun LegionClaw access invite codes, asks for fetch-legionclaw-invite-code, or says things like 邀请码, 要邀请码, 获取邀请码, 申请邀请码, 生成邀请码, 给我邀请码, 帮我生成邀请码, 发我邀请码, 多个邀请码, LegionClaw 邀请码, 通付盾邀请码, or LegionClaw 使用权限.

Install

openclaw skills install @legionspace-hackathon/fetch-legionclaw-invite-code