[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E5XS1PTS59PX644825M98S":3,"skill-same:01M7E5XS1PTS59PX644825M98S":179},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7E5XS1PTS59PX644825M98S","alibabacloud-cadt-deploy-on-aliyun",null,"Build and deploy applications to Alibaba Cloud ECS — Local build + script injection + InstallApplication async deployment. Triggers: build, deploy, CI\u002FCD, compile & package, publish to Alibaba Cloud, diagnose, troubleshoot, root cause, 502, 503, service not started, deployment failed.","Jane-o-O-o-O\u002Fpersonal-agent","Jane-o-O-o-O","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179437561?v=4","01M7E4A2T6D0QNC04YPW4P0E9F","Jin Zhangzheng","01M7E4A2TRHBYJEQJM6FZKKZ1X",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: alibabacloud-cadt-deploy-on-aliyun\ndescription: >\n  Build and deploy applications to Alibaba Cloud ECS — Local build + script injection + InstallApplication async deployment.\n  Triggers: build, deploy, CI\u002FCD, compile & package, publish to Alibaba Cloud, diagnose, troubleshoot, root cause, 502, 503, service not started, deployment failed.\nlicense: Apache-2.0\n---\n\n# Alibaba Cloud Application Build & Deploy\n\nStandalone deployment Skill: **Build + Deploy** pipeline orchestration. User directly provides ECS instance IDs, region, and application information — no project\u002Fenvironment hierarchy dependency.\n\n## Workflow\n\n### Path A: Build + Deploy (new deployment)\n\n```\n[step-1] Session init + collect deployment info  ->  [step-2] Compile, package & upload  ->  [step-3] Application deploy + failure recovery + result output\n```\n\n### Path B: Diagnose + Fix + Redeploy (troubleshoot previous deployment)\n\n```\n[step-1] Session init + detect diagnose intent  ->  [step-3] §3.0-D Run diagnostics + classify root cause  ->  ⛔ ASK-USER \"fix and re-deploy?\" (mandatory STOP)  ->  [step-2] Build fix (config\u002Fscripts only, NOT new source code)  ->  [step-3] G4 checklist + InstallApplication\n```\n\n> **Path B scope**: \"Build\" in Path B means applying the diagnosed fix to **existing deployment configuration** (e.g., `application.yml` port, JVM flags, start\u002Fstop scripts, env vars) and re-packaging — NOT writing new application source code from scratch. The application already exists on the ECS instance.\n>\n> **Path B re-deploy mandate**: After the user confirms [1] \"fix and re-deploy\", the **full pipeline** (step-2 build → G4 checklist → InstallApplication → wait_ready) is **always required** — even when the diagnosed fix is infrastructure-level (e.g., security group rules, DNS, firewall). The ASK-USER says \"re-deploy\", which means InstallApplication. Applying infra fixes manually and then testing with ad-hoc `curl` is NOT a substitute for the deployment pipeline.\n\n| Step | Phase | File |\n|------|-------|------|\n| [step-1] | Session init + collect deployment info | CLI Bootstrap + PATH validation + cadt-deploy-on-aliyun -doctor + ASK-USER collect regionId\u002FinstanceIds\u002FappName + **intent detection** | [steps\u002Fstep-1-session-init.md](steps\u002Fstep-1-session-init.md) |\n| [step-2] | Build | Local build + script injection + repackaging (output artifact file) | [steps\u002Fstep-2-build.md](steps\u002Fstep-2-build.md) |\n| [step-3] | Deploy + Output | **G4 install checklist (HITL, mandatory)** -> InstallApplication (async: `-run` + `-poll`) -> wait_ready -> **V18 post-deploy verification** -> root cause analysis -> result output | [steps\u002Fstep-3-deploy.md](steps\u002Fstep-3-deploy.md) |\n\n> **Intent detection** (in [step-1]): If the user's request mentions \"diagnose\", \"troubleshoot\", \"root cause\", \"502\", \"service not started\", \"deployment failed\", or similar troubleshooting keywords — route to **Path B**. Otherwise route to **Path A**. See [step-1] §6 for the decision logic.\n\n## ⛔ Pre-Deploy Hard Gates (MANDATORY — do NOT call InstallApplication without these)\n\nBefore calling `InstallApplication`, you MUST complete ALL of the following gates. Each gate is independently verifiable from the execution transcript. Skipping any gate is a **critical violation**.\n\n| # | Gate | When | Evidence Required in Transcript |\n|---|------|------|-------------------------------|\n| **G0** | ASK-USER for `regionId` + `instanceIds` when not in initial request | [step-1] before §5.4 | Transcript MUST contain an explicit ASK-USER question for each missing field AND the user's response. Auto-discovery from CLI config, API enumeration, or env vars is a **critical violation** (see [step-1] §5.1–5.2). |\n| **G0a** | `cadt-deploy-on-aliyun -doctor` run and passed | [step-1] §5 before §5 (Collect Deployment Info) | Transcript MUST contain `cadt-deploy-on-aliyun -doctor` invocation with `all_ok: true` result. `doctor.json` MUST be persisted. Skipping entirely is a **critical violation** (see [step-1] §5). |\n| **G1** | `COPYFILE_DISABLE=1` on ALL `tar -czf` commands | [step-2] packaging | Every `tar` command in transcript MUST have `COPYFILE_DISABLE=1` prefix (required on ALL platforms — no-op on Linux, prevents AppleDouble on macOS) |\n| **G2** | G4 Install Checklist presented + user confirmed `[1]` | [step-3] before InstallApplication | `decisions.json` with `userResponse: \"1\"` + `userResponseAt` timestamp. Agent text output alone is NOT sufficient. |\n| **G3** | wait_ready loop executed after `-poll SUCCESS` | [step-3] after InstallApplication | Transcript MUST contain `[wait_ready] T0:` and `[wait_ready] probe:` markers. Ad-hoc `curl` or `ps aux` calls are NOT acceptable substitutes. |\n| **G4** | ECS instance info queried via skill CLI only | [step-1] §5.4 | Transcript MUST contain `cadt-deploy-on-aliyun -run EcsGetDesc` or `EcsGetDescList`. Direct `aliyun ecs describe-instances` calls are a **critical violation** — no exceptions, even when CLI bootstrap failed (fix it first). |\n\n### Gate Details\n\n**G0 — ASK-USER for regionId + instanceIds (mandatory when not in initial request)**\n```\n# CORRECT — user explicitly provided region and instance in their request\nUser: \"Deploy to cn-beijing, instance i-bp1xxx\"\n\n# CORRECT — agent asks user when info is missing\nAgent: \"请提供部署目标的地域 (regionId)，例如 cn-hangzhou, cn-beijing\"\nUser: \"cn-hangzhou\"\nAgent: \"请提供目标 ECS 实例 ID (instanceId)\"\nUser: \"i-bp1ai3ai0rpvx965zpw0\"\n\n# WRONG — agent auto-discovers region from CLI config (critical violation)\nAgent runs: aliyun configure list → reads \"cn-hangzhou\" → proceeds without asking\n\n# WRONG — agent auto-selects instance from API enumeration (critical violation)\nAgent runs: aliyun ecs describe-instances → finds \"order-api-ecs\" → selects it without asking\n```\n\n**G0a — `-doctor` check (mandatory before collecting deployment info)**\n```bash\n# CORRECT — doctor run and evidence persisted\nDOCTOR_RESULT=$(cadt-deploy-on-aliyun -doctor)\necho \"$DOCTOR_RESULT\" | jq .\n# → all_ok: true, then persist to doctor.json\n\n# WRONG — skipping doctor entirely (critical violation)\nAgent reads SKILL.md → asks user for regionId → proceeds to EcsGetDesc without ever running -doctor\n\n# WRONG — CLI bootstrap failed, agent abandons CLI and skips doctor (critical violation)\nAgent runs: cadt-deploy-on-aliyun.sh -version → fails → uses raw aliyun CLI → never runs -doctor\n```\n> If CLI bootstrap fails, you MUST fix the bootstrap first, then run `-doctor`. Abandoning the skill CLI and falling back to raw `aliyun` commands cascades into G0a and G4 violations.\n\n**G1 — COPYFILE_DISABLE=1 (all tar commands, all platforms)**\n```bash\n# CORRECT — always use this prefix\nCOPYFILE_DISABLE=1 tar -czf \"$ARTIFACT\" -C \"$STAGE_DIR\" .\n\n# WRONG — missing prefix (critical violation)\ntar -czf \"$ARTIFACT\" -C \"$STAGE_DIR\" .\ntar czf \u002Ftmp\u002Fapp.tar.gz app scripts\u002F\n```\n\n**G2 — G4 Install Checklist (HITL gate — MUST present and STOP)**\n```\nBefore deployment, please confirm the install checklist:\n  Application: {appName}\n  Target instance(s): {instanceIds}\n  Region: {regionId}\n  Start command: {start.sh content}\n  Stop command: {stop.sh content}\n  Artifact: {ARTIFACT_FILE}\n\n  [1] Checklist OK, proceed with deployment\n  [2] I have additions \u002F modifications\n  [3] Cancel deployment\n```\n> After presenting this checklist, you MUST STOP. No additional tool calls permitted. Wait for user response.\n>\n> **Deferred-modification rule**: If the user responds [1] but the initial task prompt specified custom start\u002Fstop commands that were deferred (per §2.3 pre-baking prohibition), you MUST apply those commands, repackage, and **re-present this checklist** with the modified scripts before proceeding to InstallApplication. The user MUST see and confirm the actual commands that will run.\n\n**G3 — wait_ready loop (60s hard wait + 5s-interval probes)**\n```bash\n# T0~T60: hard wait\necho \"$(date '+%H:%M:%S') [wait_ready] T0: 60s hard wait\"\nsleep 60\n# T60~T300: probe every 5s\n# ... (full script in step-3 §3.2)\n```\n> You MUST execute the FULL loop script from step-3 §3.2 using `EcsRunCommandSync` (probes `localhost` from inside the ECS). Ad-hoc single `curl` or `ps aux` commands are NOT acceptable. **Do NOT substitute with a direct `curl` to the ECS public IP** — security groups typically block inbound application ports, causing false timeouts even when the service is healthy internally.\n\n**G4 — Skill CLI required for ECS instance queries (no exceptions)**\n```bash\n# CORRECT — use skill CLI\ncadt-deploy-on-aliyun -run EcsGetDesc '{\"regionId\":\"cn-hangzhou\",\"instanceId\":\"i-bp1xxx\"}'\n\n# WRONG — direct ECS API bypass (critical violation, ALL forms forbidden)\naliyun ecs describe-instances --region-id cn-hangzhou\naliyun ecs describe-instances --region-id cn-hangzhou --instance-ids '[\"i-bp1xxx\"]'\naliyun ecs describe-instance-attribute --instance-id i-bp1xxx\n```\n> All ECS instance information queries MUST go through `cadt-deploy-on-aliyun -run EcsGetDesc` (single) or `EcsGetDescList` (batch). The skill CLI ensures normalized responses, `--user-agent` propagation, and auditable operation logs. **If the skill CLI is unavailable (e.g., bootstrap failed), you MUST fix it before querying ECS info — using raw `aliyun ecs` as a workaround is still a critical violation.**\n\n## Context Budget Management\n\nThis workflow has 3 major context-consuming phases: [step-1] init, [step-2] build, [step-3] deploy. Long builds (Maven downloading dependencies, npm install, etc.) can consume a large portion of the context window, leaving insufficient room for step-3.\n\n**Rules:**\n\n1. **After any build that takes more than 30 seconds**, immediately proceed to step-3 without re-reading SKILL.md or step files. The build output is already in context — do not re-summarize it.\n\n2. **Do NOT re-read step-2-build.md or step-3-deploy.md after the build completes.** These files are large and will consume critical context budget. Read them ONCE during step-1\u002Fstep-2, then proceed from memory.\n\n3. **Minimum context reservation for step-3**: Before starting step-2 build, estimate the build size. If the build will produce verbose output (Maven downloading hundreds of JARs, npm install with thousands of packages), use `-q` (quiet) flags to suppress progress output:\n   ```bash\n   mvn -DskipTests package -q          # Maven quiet mode\n   npm install --silent && npm pack    # npm silent mode\n   pip install build -q                # pip quiet mode\n   ```\n\n4. **If context is running low after build**: Skip re-verification of build artifacts (the build exit code is sufficient) and proceed directly to script injection + repackaging + G4 + InstallApplication.\n\n## Standalone Entry Point\n\nThe user directly provides the following information:\n\n- **`regionId`** (required): ECS instance region, e.g. `cn-hangzhou`\n- **`instanceIds`** (required): ECS instance IDs, e.g. `i-bp1xxxxx`\n- **`appName`** (required): application name, e.g. `my-app`\n- **Build info** (optional, if building from source): `language`, `languageVersion`, `buildTool`\n\nAll data is user-provided; no project\u002Fenvironment ID lookups needed.\n\n> **⛔ No auto-discovery (critical)**: `regionId` and `instanceIds` MUST come from the user's explicit input. Do NOT auto-discover them from CLI configuration (`aliyun configure list`), API enumeration (`aliyun ecs describe-instances`), environment variables, or any other automated source. If not provided by the user, you MUST ASK-USER. See [step-1] §5.1–5.2 for details. Deploying to an auto-selected region or instance is a critical violation.\n\n## Dependencies\n\n| Tool | Purpose |\n|------|------|\n| `cadt-deploy-on-aliyun` CLI (built-in) | Operation dispatch (`cadt-deploy-on-aliyun -run \u003COp>`) |\n| `aliyun` CLI | STS \u002F OSS \u002F ECS API |\n| `jq` | JSON parsing |\n| `bash` 4.0+ | Script execution |\n\n## Observability (MUST follow for every aliyun command)\n\nUpon loading this skill, generate a random session ID (32-char lowercase hex string) once for the entire session. Use it as `{session-id}` below.\n\n**Rule: Every `aliyun` CLI command that calls a cloud API MUST include the `--user-agent` flag.**\nLocal utility commands (e.g. `configure`, `plugin`, `version`) do not support this flag and should be excluded.\n\n```\n--user-agent AlibabaCloud-Agent-Skills\u002Falibabacloud-cadt-deploy-on-aliyun\u002F{session-id}\n```\n\n### Propagation paths (choose the right one per context)\n\n| Context | How to propagate | Who adds `--user-agent` |\n|---------|-----------------|------------------------|\n| `cadt-deploy-on-aliyun -run` \u002F `-poll` | `export SKILL_SESSION_ID={session-id}` once per shell | CLI auto-injects into all internal `aliyun` calls |\n| Direct `aliyun` CLI calls | Append `--user-agent ...` inline on every command | You (the agent) must add it manually |\n| Python\u002Fbash scripts | `SKILL_SESSION_ID={session-id} python3 script.py` | Script reads env var and adds `--user-agent` |\n\n### Path A: cadt-deploy-on-aliyun CLI (recommended)\n\nExport `SKILL_SESSION_ID` **once** at session init (see [step-1] §4). The CLI automatically propagates it to all internal `aliyun` subprocess calls — you do NOT need to add `--user-agent` to each `-run` \u002F `-poll` invocation:\n\n```bash\nexport SKILL_SESSION_ID={session-id}\ncadt-deploy-on-aliyun -run InstallApplication '{\"regionId\":\"cn-hangzhou\",...}'\n```\n\nAlternatively, pass `--user-agent` directly on the CLI command line (the CLI extracts the session-id and sets it for the current invocation):\n\n```bash\ncadt-deploy-on-aliyun -run InstallApplication '{\"regionId\":\"cn-hangzhou\",...}' \\\n  --user-agent AlibabaCloud-Agent-Skills\u002Falibabacloud-cadt-deploy-on-aliyun\u002F{session-id}\n```\n\n### Path B: Direct aliyun CLI calls\n\nWhen calling `aliyun` directly (not through `cadt-deploy-on-aliyun`), you MUST append `--user-agent` on every command:\n\n```bash\naliyun bpstudio get-token --api-version 2021-09-31 --region cn-hangzhou \\\n  --user-agent AlibabaCloud-Agent-Skills\u002Falibabacloud-cadt-deploy-on-aliyun\u002F{session-id}\n```\n\nDo not skip, alter the format, or omit `--user-agent` on any `aliyun` API command invocation.\n\n### Path C: Script execution\n\nWhen running Python SDK scripts or bash scripts, inject the session-id via inline environment variable:\n\n```bash\nSKILL_SESSION_ID={session-id} python3 scripts\u002Fdeploy.py\n```\n\nScripts should read `SKILL_SESSION_ID` from the environment (default to empty string if absent).\n\n## CLI Quick Start\n\n```bash\n# cadt-deploy-on-aliyun CLI auto-creates venv and installs dependencies\n.\u002Fscripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh -version\n.\u002Fscripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh -l                    # List all available operations\n.\u002Fscripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh -d InstallApplication  # View operation schema\n```\n\n## Available Operations\n\n| Operation | Category | Mode | Description |\n|-----------|----------|------|-------------|\n| `InstallApplication` | deploy | async | Deploy to ECS (filePath auto-upload) |\n| `EcsGetDesc` | ecs | sync | Query single ECS instance info (IP, status, OS) |\n| `EcsGetDescList` | ecs | sync | Batch query multiple ECS instances info |\n| `EcsRunCommand` | ecs | async | Run shell commands on ECS (Cloud Assistant) |\n| `EcsSendFile` | ecs | sync | Send files to ECS (Cloud Assistant) |\n| `OssGeneratePresignedUrl` | oss | sync | Generate presigned download URL for OSS object |\n\n> **Async operations (`InstallApplication`, `EcsRunCommand`) are two-step**:\n> 1. `cadt-deploy-on-aliyun -run \u003COp> '{...}'` → submits the task, returns `invocationId`\n> 2. `cadt-deploy-on-aliyun -poll \u003CinvocationId>` → blocks until completion, returns final status\n>\n> The `-run` command for async ops is **non-blocking** — it returns `status: submitted` immediately. You **MUST** invoke `-poll` as a separate CLI command to wait for the result. Skipping `-poll` and self-reporting success is a critical violation.\n\n","# Alibaba Cloud Application Build & Deploy\n\nStandalone deployment Skill: **Build + Deploy** pipeline orchestration. User directly provides ECS instance IDs, region, and application information — no project\u002Fenvironment hierarchy dependency.\n\n## Workflow\n\n### Path A: Build + Deploy (new deployment)\n\n```\n[step-1] Session init + collect deployment info  ->  [step-2] Compile, package & upload  ->  [step-3] Application deploy + failure recovery + result output\n```\n\n### Path B: Diagnose + Fix + Redeploy (troubleshoot previous deployment)\n\n```\n[step-1] Session init + detect diagnose intent  ->  [step-3] §3.0-D Run diagnostics + classify root cause  ->  ⛔ ASK-USER \"fix and re-deploy?\" (mandatory STOP)  ->  [step-2] Build fix (config\u002Fscripts only, NOT new source code)  ->  [step-3] G4 checklist + InstallApplication\n```\n\n> **Path B scope**: \"Build\" in Path B means applying the diagnosed fix to **existing deployment configuration** (e.g., `application.yml` port, JVM flags, start\u002Fstop scripts, env vars) and re-packaging — NOT writing new application source code from scratch. The application already exists on the ECS instance.\n>\n> **Path B re-deploy mandate**: After the user confirms [1] \"fix and re-deploy\", the **full pipeline** (step-2 build → G4 checklist → InstallApplication → wait_ready) is **always required** — even when the diagnosed fix is infrastructure-level (e.g., security group rules, DNS, firewall). The ASK-USER says \"re-deploy\", which means InstallApplication. Applying infra fixes manually and then testing with ad-hoc `curl` is NOT a substitute for the deployment pipeline.\n\n| Step | Phase | File |\n|------|-------|------|\n| [step-1] | Session init + collect deployment info | CLI Bootstrap + PATH validation + cadt-deploy-on-aliyun -doctor + ASK-USER collect regionId\u002FinstanceIds\u002FappName + **intent detection** | [steps\u002Fstep-1-session-init.md](steps\u002Fstep-1-session-init.md) |\n| [step-2] | Build | Local build + script injection + repackaging (output artifact file) | [steps\u002Fstep-2-build.md](steps\u002Fstep-2-build.md) |\n| [step-3] | Deploy + Output | **G4 install checklist (HITL, mandatory)** -> InstallApplication (async: `-run` + `-poll`) -> wait_ready -> **V18 post-deploy verification** -> root cause analysis -> result output | [steps\u002Fstep-3-deploy.md](steps\u002Fstep-3-deploy.md) |\n\n> **Intent detection** (in [step-1]): If the user's request mentions \"diagnose\", \"troubleshoot\", \"root cause\", \"502\", \"service not started\", \"deployment failed\", or similar troubleshooting keywords — route to **Path B**. Otherwise route to **Path A**. See [step-1] §6 for the decision logic.\n\n## ⛔ Pre-Deploy Hard Gates (MANDATORY — do NOT call InstallApplication without these)\n\nBefore calling `InstallApplication`, you MUST complete ALL of the following gates. Each gate is independently verifiable from the execution transcript. Skipping any gate is a **critical violation**.\n\n| # | Gate | When | Evidence Required in Transcript |\n|---|------|------|-------------------------------|\n| **G0** | ASK-USER for `regionId` + `instanceIds` when not in initial request | [step-1] before §5.4 | Transcript MUST contain an explicit ASK-USER question for each missing field AND the user's response. Auto-discovery from CLI config, API enumeration, or env vars is a **critical violation** (see [step-1] §5.1–5.2). |\n| **G0a** | `cadt-deploy-on-aliyun -doctor` run and passed | [step-1] §5 before §5 (Collect Deployment Info) | Transcript MUST contain `cadt-deploy-on-aliyun -doctor` invocation with `all_ok: true` result. `doctor.json` MUST be persisted. Skipping entirely is a **critical violation** (see [step-1] §5). |\n| **G1** | `COPYFILE_DISABLE=1` on ALL `tar -czf` commands | [step-2] packaging | Every `tar` command in transcript MUST have `COPYFILE_DISABLE=1` prefix (required on ALL platforms — no-op on Linux, prevents AppleDouble on macOS) |\n| **G2** | G4 Install Checklist presented + user confirmed `[1]` | [step-3] before InstallApplication | `decisions.json` with `userResponse: \"1\"` + `userResponseAt` timestamp. Agent text output alone is NOT sufficient. |\n| **G3** | wait_ready loop executed after `-poll SUCCESS` | [step-3] after InstallApplication | Transcript MUST contain `[wait_ready] T0:` and `[wait_ready] probe:` markers. Ad-hoc `curl` or `ps aux` calls are NOT acceptable substitutes. |\n| **G4** | ECS instance info queried via skill CLI only | [step-1] §5.4 | Transcript MUST contain `cadt-deploy-on-aliyun -run EcsGetDesc` or `EcsGetDescList`. Direct `aliyun ecs describe-instances` calls are a **critical violation** — no exceptions, even when CLI bootstrap failed (fix it first). |\n\n### Gate Details\n\n**G0 — ASK-USER for regionId + instanceIds (mandatory when not in initial request)**\n```\n# CORRECT — user explicitly provided region and instance in their request\nUser: \"Deploy to cn-beijing, instance i-bp1xxx\"\n\n# CORRECT — agent asks user when info is missing\nAgent: \"请提供部署目标的地域 (regionId)，例如 cn-hangzhou, cn-beijing\"\nUser: \"cn-hangzhou\"\nAgent: \"请提供目标 ECS 实例 ID (instanceId)\"\nUser: \"i-bp1ai3ai0rpvx965zpw0\"\n\n# WRONG — agent auto-discovers region from CLI config (critical violation)\nAgent runs: aliyun configure list → reads \"cn-hangzhou\" → proceeds without asking\n\n# WRONG — agent auto-selects instance from API enumeration (critical violation)\nAgent runs: aliyun ecs describe-instances → finds \"order-api-ecs\" → selects it without asking\n```\n\n**G0a — `-doctor` check (mandatory before collecting deployment info)**\n```bash\n# CORRECT — doctor run and evidence persisted\nDOCTOR_RESULT=$(cadt-deploy-on-aliyun -doctor)\necho \"$DOCTOR_RESULT\" | jq .\n# → all_ok: true, then persist to doctor.json\n\n# WRONG — skipping doctor entirely (critical violation)\nAgent reads SKILL.md → asks user for regionId → proceeds to EcsGetDesc without ever running -doctor\n\n# WRONG — CLI bootstrap failed, agent abandons CLI and skips doctor (critical violation)\nAgent runs: cadt-deploy-on-aliyun.sh -version → fails → uses raw aliyun CLI → never runs -doctor\n```\n> If CLI bootstrap fails, you MUST fix the bootstrap first, then run `-doctor`. Abandoning the skill CLI and falling back to raw `aliyun` commands cascades into G0a and G4 violations.\n\n**G1 — COPYFILE_DISABLE=1 (all tar commands, all platforms)**\n```bash\n# CORRECT — always use this prefix\nCOPYFILE_DISABLE=1 tar -czf \"$ARTIFACT\" -C \"$STAGE_DIR\" .\n\n# WRONG — missing prefix (critical violation)\ntar -czf \"$ARTIFACT\" -C \"$STAGE_DIR\" .\ntar czf \u002Ftmp\u002Fapp.tar.gz app scripts\u002F\n```\n\n**G2 — G4 Install Checklist (HITL gate — MUST present and STOP)**\n```\nBefore deployment, please confirm the install checklist:\n  Application: {appName}\n  Target instance(s): {instanceIds}\n  Region: {regionId}\n  Start command: {start.sh content}\n  Stop command: {stop.sh content}\n  Artifact: {ARTIFACT_FILE}\n\n  [1] Checklist OK, proceed with deployment\n  [2] I have additions \u002F modifications\n  [3] Cancel deployment\n```\n> After presenting this checklist, you MUST STOP. No additional tool calls permitted. Wait for user response.\n>\n> **Deferred-modification rule**: If the user responds [1] but the initial task prompt specified custom start\u002Fstop commands that were deferred (per §2.3 pre-baking prohibition), you MUST apply those commands, repackage, and **re-present this checklist** with the modified scripts before proceeding to InstallApplication. The user MUST see and confirm the actual commands that will run.\n\n**G3 — wait_ready loop (60s hard wait + 5s-interval probes)**\n```bash\n# T0~T60: hard wait\necho \"$(date '+%H:%M:%S') [wait_ready] T0: 60s hard wait\"\nsleep 60\n# T60~T300: probe every 5s\n# ... (full script in step-3 §3.2)\n```\n> You MUST execute the FULL loop script from step-3 §3.2 using `EcsRunCommandSync` (probes `localhost` from inside the ECS). Ad-hoc single `curl` or `ps aux` commands are NOT acceptable. **Do NOT substitute with a direct `curl` to the ECS public IP** — security groups typically block inbound application ports, causing false timeouts even when the service is healthy internally.\n\n**G4 — Skill CLI required for ECS instance queries (no exceptions)**\n```bash\n# CORRECT — use skill CLI\ncadt-deploy-on-aliyun -run EcsGetDesc '{\"regionId\":\"cn-hangzhou\",\"instanceId\":\"i-bp1xxx\"}'\n\n# WRONG — direct ECS API bypass (critical violation, ALL forms forbidden)\naliyun ecs describe-instances --region-id cn-hangzhou\naliyun ecs describe-instances --region-id cn-hangzhou --instance-ids '[\"i-bp1xxx\"]'\naliyun ecs describe-instance-attribute --instance-id i-bp1xxx\n```\n> All ECS instance information queries MUST go through `cadt-deploy-on-aliyun -run EcsGetDesc` (single) or `EcsGetDescList` (batch). The skill CLI ensures normalized responses, `--user-agent` propagation, and auditable operation logs. **If the skill CLI is unavailable (e.g., bootstrap failed), you MUST fix it before querying ECS info — using raw `aliyun ecs` as a workaround is still a critical violation.**\n\n## Context Budget Management\n\nThis workflow has 3 major context-consuming phases: [step-1] init, [step-2] build, [step-3] deploy. Long builds (Maven downloading dependencies, npm install, etc.) can consume a large portion of the context window, leaving insufficient room for step-3.\n\n**Rules:**\n\n1. **After any build that takes more than 30 seconds**, immediately proceed to step-3 without re-reading SKILL.md or step files. The build output is already in context — do not re-summarize it.\n\n2. **Do NOT re-read step-2-build.md or step-3-deploy.md after the build completes.** These files are large and will consume critical context budget. Read them ONCE during step-1\u002Fstep-2, then proceed from memory.\n\n3. **Minimum context reservation for step-3**: Before starting step-2 build, estimate the build size. If the build will produce verbose output (Maven downloading hundreds of JARs, npm install with thousands of packages), use `-q` (quiet) flags to suppress progress output:\n   ```bash\n   mvn -DskipTests package -q          # Maven quiet mode\n   npm install --silent && npm pack    # npm silent mode\n   pip install build -q                # pip quiet mode\n   ```\n\n4. **If context is running low after build**: Skip re-verification of build artifacts (the build exit code is sufficient) and proceed directly to script injection + repackaging + G4 + InstallApplication.\n\n## Standalone Entry Point\n\nThe user directly provides the following information:\n\n- **`regionId`** (required): ECS instance region, e.g. `cn-hangzhou`\n- **`instanceIds`** (required): ECS instance IDs, e.g. `i-bp1xxxxx`\n- **`appName`** (required): application name, e.g. `my-app`\n- **Build info** (optional, if building from source): `language`, `languageVersion`, `buildTool`\n\nAll data is user-provided; no project\u002Fenvironment ID lookups needed.\n\n> **⛔ No auto-discovery (critical)**: `regionId` and `instanceIds` MUST come from the user's explicit input. Do NOT auto-discover them from CLI configuration (`aliyun configure list`), API enumeration (`aliyun ecs describe-instances`), environment variables, or any other automated source. If not provided by the user, you MUST ASK-USER. See [step-1] §5.1–5.2 for details. Deploying to an auto-selected region or instance is a critical violation.\n\n## Dependencies\n\n| Tool | Purpose |\n|------|------|\n| `cadt-deploy-on-aliyun` CLI (built-in) | Operation dispatch (`cadt-deploy-on-aliyun -run \u003COp>`) |\n| `aliyun` CLI | STS \u002F OSS \u002F ECS API |\n| `jq` | JSON parsing |\n| `bash` 4.0+ | Script execution |\n\n## Observability (MUST follow for every aliyun command)\n\nUpon loading this skill, generate a random session ID (32-char lowercase hex string) once for the entire session. Use it as `{session-id}` below.\n\n**Rule: Every `aliyun` CLI command that calls a cloud API MUST include the `--user-agent` flag.**\nLocal utility commands (e.g. `configure`, `plugin`, `version`) do not support this flag and should be excluded.\n\n```\n--user-agent AlibabaCloud-Agent-Skills\u002Falibabacloud-cadt-deploy-on-aliyun\u002F{session-id}\n```\n\n### Propagation paths (choose the right one per context)\n\n| Context | How to propagate | Who adds `--user-agent` |\n|---------|-----------------|------------------------|\n| `cadt-deploy-on-aliyun -run` \u002F `-poll` | `export SKILL_SESSION_ID={session-id}` once per shell | CLI auto-injects into all internal `aliyun` calls |\n| Direct `aliyun` CLI calls | Append `--user-agent ...` inline on every command | You (the agent) must add it manually |\n| Python\u002Fbash scripts | `SKILL_SESSION_ID={session-id} python3 script.py` | Script reads env var and adds `--user-agent` |\n\n### Path A: cadt-deploy-on-aliyun CLI (recommended)\n\nExport `SKILL_SESSION_ID` **once** at session init (see [step-1] §4). The CLI automatically propagates it to all internal `aliyun` subprocess calls — you do NOT need to add `--user-agent` to each `-run` \u002F `-poll` invocation:\n\n```bash\nexport SKILL_SESSION_ID={session-id}\ncadt-deploy-on-aliyun -run InstallApplication '{\"regionId\":\"cn-hangzhou\",...}'\n```\n\nAlternatively, pass `--user-agent` directly on the CLI command line (the CLI extracts the session-id and sets it for the current invocation):\n\n```bash\ncadt-deploy-on-aliyun -run InstallApplication '{\"regionId\":\"cn-hangzhou\",...}' \\\n  --user-agent AlibabaCloud-Agent-Skills\u002Falibabacloud-cadt-deploy-on-aliyun\u002F{session-id}\n```\n\n### Path B: Direct aliyun CLI calls\n\nWhen calling `aliyun` directly (not through `cadt-deploy-on-aliyun`), you MUST append `--user-agent` on every command:\n\n```bash\naliyun bpstudio get-token --api-version 2021-09-31 --region cn-hangzhou \\\n  --user-agent AlibabaCloud-Agent-Skills\u002Falibabacloud-cadt-deploy-on-aliyun\u002F{session-id}\n```\n\nDo not skip, alter the format, or omit `--user-agent` on any `aliyun` API command invocation.\n\n### Path C: Script execution\n\nWhen running Python SDK scripts or bash scripts, inject the session-id via inline environment variable:\n\n```bash\nSKILL_SESSION_ID={session-id} python3 scripts\u002Fdeploy.py\n```\n\nScripts should read `SKILL_SESSION_ID` from the environment (default to empty string if absent).\n\n## CLI Quick Start\n\n```bash\n# cadt-deploy-on-aliyun CLI auto-creates venv and installs dependencies\n.\u002Fscripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh -version\n.\u002Fscripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh -l                    # List all available operations\n.\u002Fscripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh -d InstallApplication  # View operation schema\n```\n\n## Available Operations\n\n| Operation | Category | Mode | Description |\n|-----------|----------|------|-------------|\n| `InstallApplication` | deploy | async | Deploy to ECS (filePath auto-upload) |\n| `EcsGetDesc` | ecs | sync | Query single ECS instance info (IP, status, OS) |\n| `EcsGetDescList` | ecs | sync | Batch query multiple ECS instances info |\n| `EcsRunCommand` | ecs | async | Run shell commands on ECS (Cloud Assistant) |\n| `EcsSendFile` | ecs | sync | Send files to ECS (Cloud Assistant) |\n| `OssGeneratePresignedUrl` | oss | sync | Generate presigned download URL for OSS object |\n\n> **Async operations (`InstallApplication`, `EcsRunCommand`) are two-step**:\n> 1. `cadt-deploy-on-aliyun -run \u003COp> '{...}'` → submits the task, returns `invocationId`\n> 2. `cadt-deploy-on-aliyun -poll \u003CinvocationId>` → blocks until completion, returns final status\n>\n> The `-run` command for async ops is **non-blocking** — it returns `status: submitted` immediately. You **MUST** invoke `-poll` as a separate CLI command to wait for the result. Skipping `-poll` and self-reporting success is a critical violation.\n\n",{"name":5,"license":15,"description":24},"Build and deploy applications to Alibaba Cloud ECS — Local build + script injection + InstallApplication async deployment. Triggers: build, deploy, CI\u002FCD, compile & package, publish to Alibaba Cloud, diagnose, troubleshoot, root cause, 502, 503, service not started, deployment failed.\n","main","b08d387cde83fdd23ca4a75f0a74173f810967ec","resources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O","https:\u002F\u002Fjane-zz.me\u002F","金张政 Jane-zz | Agent Engineer · AI Native Builder | Runtime · Context · Evals · GraphRAG | 官方作品集 jane-zz.me","2026-10-04 16:27:52",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Jane-o-O-o-O\u002Fpersonal-agent --skill alibabacloud-cadt-deploy-on-aliyun",{"tool":39,"command":40},"bunx","bunx skills add Jane-o-O-o-O\u002Fpersonal-agent --skill alibabacloud-cadt-deploy-on-aliyun",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Jane-o-O-o-O\u002Fpersonal-agent --skill alibabacloud-cadt-deploy-on-aliyun","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002FSKILL.md",true,[47,53,57,61,65,69,73,77,81,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fbuild-pipeline\u002Fbuild-commands.md","REFERENCE","参考文档",2843,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Fbuild-pipeline\u002Fbuild-commands.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fbuild-pipeline\u002FREADME.md",4234,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Fbuild-pipeline\u002FREADME.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fcli-development.md",2083,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Fcli-development.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fdeploy-modes.md",3754,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Fdeploy-modes.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Ffailure-codex.md",14691,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Ffailure-codex.md",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fquality-gates.md",21550,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Fquality-gates.md",{"path":74,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fram-policies.md",4424,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Fram-policies.md",{"path":78,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fstate-machine.md",4421,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Freferences\u002Fstate-machine.md",{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fcli\u002Fcadt_deploy_on_aliyun.py","SCRIPT","脚本",15505,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Fcadt_deploy_on_aliyun.py",{"path":88,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh",1796,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Fcadt-deploy-on-aliyun.sh",{"path":92,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fcli\u002Fhooks\u002Fpre\u002FEcsRunCommand.py",1691,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Fhooks\u002Fpre\u002FEcsRunCommand.py",{"path":96,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fcli\u002Fhooks\u002Fpre\u002FEcsRunCommandSync.py",1694,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Fhooks\u002Fpre\u002FEcsRunCommandSync.py",{"path":100,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fcli\u002Fhooks\u002Fpre\u002FEcsSendFile.py",3262,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Fhooks\u002Fpre\u002FEcsSendFile.py",{"path":104,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fcli\u002Fhooks\u002Fpre\u002FInstallApplication.py",2700,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Fhooks\u002Fpre\u002FInstallApplication.py",{"path":108,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":109,"sourceHtmlUrl":110},"scripts\u002Fcli\u002Flib\u002F__init__.py",117,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002F__init__.py",{"path":112,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":113,"sourceHtmlUrl":114},"scripts\u002Fcli\u002Flib\u002Fattrs.py",6354,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fattrs.py",{"path":116,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":117,"sourceHtmlUrl":118},"scripts\u002Fcli\u002Flib\u002Fenvelope.py",2149,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fenvelope.py",{"path":120,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":121,"sourceHtmlUrl":122},"scripts\u002Fcli\u002Flib\u002Ferrors.py",3000,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Ferrors.py",{"path":124,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":125,"sourceHtmlUrl":126},"scripts\u002Fcli\u002Flib\u002Fhooks.py",4385,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fhooks.py",{"path":128,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":129,"sourceHtmlUrl":130},"scripts\u002Fcli\u002Flib\u002Fidentity.py",4152,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fidentity.py",{"path":132,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":133,"sourceHtmlUrl":134},"scripts\u002Fcli\u002Flib\u002Fmanifest.py",4499,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fmanifest.py",{"path":136,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":137,"sourceHtmlUrl":138},"scripts\u002Fcli\u002Flib\u002Fnormalize.py",2849,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fnormalize.py",{"path":140,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":141,"sourceHtmlUrl":142},"scripts\u002Fcli\u002Flib\u002Foss_upload.py",7292,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Foss_upload.py",{"path":144,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":145,"sourceHtmlUrl":146},"scripts\u002Fcli\u002Flib\u002Fpoller.py",5887,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fpoller.py",{"path":148,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":149,"sourceHtmlUrl":150},"scripts\u002Fcli\u002Flib\u002Frunner.py",12502,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Frunner.py",{"path":152,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":153,"sourceHtmlUrl":154},"scripts\u002Fcli\u002Flib\u002Fvalidator.py",4133,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Flib\u002Fvalidator.py",{"path":156,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":157,"sourceHtmlUrl":158},"scripts\u002Fcli\u002Fpyproject.toml",760,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Fpyproject.toml",{"path":160,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":161,"sourceHtmlUrl":162},"scripts\u002Fcli\u002Ftests\u002F__init__.py",0,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Ftests\u002F__init__.py",{"path":164,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":165,"sourceHtmlUrl":166},"scripts\u002Fcli\u002Ftests\u002Ftest_hooks.py",11997,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Ftests\u002Ftest_hooks.py",{"path":168,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":169,"sourceHtmlUrl":170},"scripts\u002Fcli\u002Ftests\u002Ftest_normalize.py",8687,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Ftests\u002Ftest_normalize.py",{"path":172,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":173,"sourceHtmlUrl":174},"scripts\u002Fcli\u002Ftests\u002Ftest_smoke.py",13533,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Fcli\u002Ftests\u002Ftest_smoke.py",{"path":176,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":177,"sourceHtmlUrl":178},"scripts\u002Frelease.sh",941,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fmigrationom\u002Fbpstudio\u002Falibabacloud-cadt-deploy-on-aliyun\u002Fscripts\u002Frelease.sh",[180,188,195,202,209,216],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":184,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":187,"publishedAt":19},"01M7EA3ZT5SZYH1DMJ9XHGK0JK","style-extract","Analyze Yuque documents to extract vocabulary, sentence, and tone patterns into a reusable writing-style profile. Use when the user wants to understand or reproduce their voice or keep documents consistent; trigger phrases include “分析一下我的写作风格”, “用我的风格写一篇...”, “帮我生成一个风格画像”, “extract my writing style”, and “write like me”.","MIT","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Fyuque-skills\u002F2959228ad3e8\u002Fskills\u002Fstyle-extract\u002FSKILL.md",[],[],{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":184,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":19},"01M7EA3TK8GT3V1E166QX3B0G0","stale-detector","Scan a Yuque knowledge base for stale or outdated documents and recommend updates or archiving. Use when the user is cleaning up, maintaining, or periodically reviewing a knowledge base; trigger phrases include “帮我检查哪些文档过期了”, “知识库体检”, and “find stale docs”.","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Fyuque-skills\u002F2959228ad3e8\u002Fskills\u002Fstale-detector\u002FSKILL.md",[],[],{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":184,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":19},"01M7EA3PEWR596VVPAN0XW3ZFR","smart-summary","Summarize a Yuque document or knowledge base at one-line, key-point, or detailed granularity. Use when the user wants a quick overview of a document or repo; trigger phrases include “帮我总结一下这篇文档”, “这个知识库讲了什么”, and “summarize this doc”.","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Fyuque-skills\u002F2959228ad3e8\u002Fskills\u002Fsmart-summary\u002FSKILL.md",[],[],{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":184,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":208,"publishedAt":19},"01M7EA3JCBX7BVSSF0TEZXDJ47","smart-search","Search personal Yuque knowledge bases with natural-language queries and synthesize answers with source links. Use when the user wants to find information in their own documents; trigger phrases include “搜一下我的文档”, “我的知识库里有没有...”, “搜索我的语雀\u002F知识库”, and “search my Yuque”.","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Fyuque-skills\u002F2959228ad3e8\u002Fskills\u002Fsmart-search\u002FSKILL.md",[],[],{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":184,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":19},"01M7EA3DDETPJYVCDHAXFBRRG6","reading-digest","Extract core insights, golden quotes, and action items from articles, then create structured Yuque reading notes. Use when the user wants key takeaways or a personal reading-notes base; trigger phrases include “帮我做阅读笔记”, “读书笔记”, and “extract key points from this article”.","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Fyuque-skills\u002F2959228ad3e8\u002Fskills\u002Freading-digest\u002FSKILL.md",[],[],{"skillNo":217,"name":218,"nameZh":6,"description":219,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":184,"licenseFileUrl":6,"sourceHtmlUrl":220,"categories":221,"keywords":222,"publishedAt":19},"01M7EA37RF6AY0KCX9KQC1Q2YY","note-refine","Polish rough Yuque notes into structured, readable documents while preserving their meaning. Use when the user wants to clean up a draft, improve layout, or turn fragments into a document; trigger phrases include “帮我整理一下这篇笔记”, “把这个文档排版优化一下”, and “polish my notes”.","https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Fyuque-skills\u002F2959228ad3e8\u002Fskills\u002Fnote-refine\u002FSKILL.md",[],[]]