计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
workspace-and-auth【效率与协作】Authenticate and select Lepton workspaces safely, build workspace API clients, and troubleshoot auth, URL, and token state without leaking credentials.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to establish, inspect, switch, or debug the Lepton workspace context before doing any cloud work.
lep login and lep workspace login flows, including credential strings in <workspace_id>:<auth_token> form.lep workspace list, status, id, url, logout, and remove usage.APIClient(workspace_id, auth_token, url, workspace_origin_url).LEPTON_WORKSPACE_ID, LEPTON_WORKSPACE_TOKEN, LEPTON_WORKSPACE_URL, and LEPTON_WORKSPACE_ORIGIN_URL.Client; use the SDK/client sub-skill for endpoint call patterns.lep command discovery and mutation-safety policy beyond workspace/auth commands.<workspace_id>:<auth_token> as a secret-bearing credential string. Prefer environment variables, secure prompts, or user-side paste into lep login; do not put raw tokens in persistent notes.ab****yz or a generic <redacted-token>.status and some list paths can contact the workspace API.lep workspace id, lep workspace url, lep workspace list, or the bundled context checker.Inspect context without exposing secrets:
python scripts/check_workspace_context.py
If CLI checks are explicitly allowed, run read-only workspace checks with redaction:
python scripts/check_workspace_context.py --run-cli --commands list id url
python scripts/check_workspace_context.py --run-cli --commands status
If not logged in, use one of these user-side login forms:
lep login
lep login -c '<workspace_id>:<auth_token>'
lep workspace login -i <workspace_id> -t '<auth_token>'
If a custom workspace API URL is required by the token issuer, include it at login time:
lep workspace login -i <workspace_id> -t '<auth_token>' --workspace-url <workspace_api_url>
After auth succeeds, hand off resource-specific work to the appropriate workload, storage/secret/ingress, or SDK sub-skill.
APIClient construction and failure surfaces: references/api-client.md