[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E6W57FP5M37MSB3JMND5DA":3,"skill-same:01M7E6W57FP5M37MSB3JMND5DA":92},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7E6W57FP5M37MSB3JMND5DA","alibabacloud-csas-user-device-ops",null,"Use this skill when users ask about SASE terminal device management, user account queries, inactive device analysis, or device locking on Alibaba Cloud SASE (product code: csas). Trigger scenarios: \"查下哪些设备长期离线\", \"某部门有多少 终端设备\", \"锁定闲置设备\", \"查看用户被授权了哪些应用\". Capabilities: flexible device querying with 20+ filters (department, device type, OS, SASE feature status, etc.), user listing, user application authorization queries, inactive device analysis, and locking inactive devices. Deletion or irreversible operations are NOT supported — users are guided to the SASE console. 当用户询问 SASE 终端设备管理、用户账号查询、非活跃设备分析、设备锁定时使用此 Skill。 支持灵活的设备条件组合查询（20+ 筛选项）、用户列表查询、应用授权查询、非活跃设备分析、 锁定非活跃终端。不支持删除等不可逆操作。 注意：当前不支持用户活跃度分析（API 不提供用户最后活跃时间，设备绑定关系会变更）。","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\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: alibabacloud-csas-user-device-ops\ndescription: >\n  Use this skill when users ask about SASE terminal device management, user account\n  queries, inactive device analysis, or device locking on Alibaba Cloud SASE\n  (product code: csas). Trigger scenarios: \"查下哪些设备长期离线\", \"某部门有多少\n  终端设备\", \"锁定闲置设备\", \"查看用户被授权了哪些应用\".\n  Capabilities: flexible device querying with 20+ filters (department, device type,\n  OS, SASE feature status, etc.), user listing, user application authorization\n  queries, inactive device analysis, and locking inactive devices.\n  Deletion or irreversible operations are NOT supported — users are guided to the\n  SASE console.\n  当用户询问 SASE 终端设备管理、用户账号查询、非活跃设备分析、设备锁定时使用此 Skill。\n  支持灵活的设备条件组合查询（20+ 筛选项）、用户列表查询、应用授权查询、非活跃设备分析、\n  锁定非活跃终端。不支持删除等不可逆操作。\n  注意：当前不支持用户活跃度分析（API 不提供用户最后活跃时间，设备绑定关系会变更）。\nlicense: Apache-2.0\ncompatibility: >\n  Requires Aliyun CLI (aliyun) >= 3.3.3 with csas plugin.\n  Scripts compatible with bash >= 3.2 (macOS default).\n  Compatible engines: qwen-code, qoder, openclaw.\nmetadata:\n  domain: aiops\n  owner: sase-team\nallowed-tools: Bash Read\n---\n\n## Pre-checks\n\n**Aliyun CLI >= 3.3.3 required**\n\n```bash\naliyun version\n```\n\nIf not installed or version too low, see `references\u002Fcli-installation-guide.md`.\n\n**Plugin setup (MUST run before first use)**\n\n```bash\naliyun configure set --auto-plugin-install true\naliyun plugin update\n```\n\n**AI-Mode Lifecycle (MUST follow)**\n\nAt the START of workflow (before any CLI invocation):\n```bash\naliyun configure ai-mode enable\naliyun configure ai-mode set-user-agent --user-agent \"AlibabaCloud-Agent-Skills\u002Falibabacloud-csas-user-device-ops\"\n```\n\nAt EVERY exit point (success, failure, error, cancellation, including after every write operation completes):\n```bash\naliyun configure ai-mode disable\n```\n\n**[MUST]** Run `ai-mode disable` even when the operation succeeds. It is part of the success path, not just the error path.\n\n## Credential Verification\n\n> **Security Rules:**\n> - **NEVER** read, echo, or print AK\u002FSK values\n> - **NEVER** ask users to input AK\u002FSK in conversation\n> - **ONLY** use `aliyun configure list` to check credential status\n\n```bash\naliyun configure list\n```\n\nIf no valid profile exists, STOP. Guide user to configure credentials outside this session.\n\n## RAM Policy & Permission Handling\n\nRequired permissions are listed in `references\u002Fram-policies.md`.\n\n> **[MUST] Permission Failure Handling:** When any command fails due to permission errors (HTTP 403, \"AccessDenied\", \"Forbidden\", \"no permission\", or similar):\n> 1. STOP execution immediately. Do NOT retry blindly.\n> 2. Identify the failing API from the error message (e.g. `csas:ListUserDevices`, `csas:UpdateUserDevicesStatus`).\n> 3. Tell the user the exact RAM Action that failed and offer two paths:\n>    - **Quick path:** Attach the system policy `AliyunCSASFullAccess` to the RAM user\u002Frole (covers all CSAS operations).\n>    - **Minimal path:** Add only the specific failing Action(s) to a custom policy. See `references\u002Fram-policies.md` for the minimal policy template.\n> 4. Pause and wait until the user confirms permissions have been granted.\n> 5. After confirmation, retry the failed operation.\n\n**Permission error message template:**\n> \"Permission denied calling `csas:\u003CApiName>`. Please grant either `AliyunCSASFullAccess` (system policy, covers all) or add `csas:\u003CApiName>` to a custom RAM policy. See `references\u002Fram-policies.md` for details. Reply 'done' after granting and I will retry.\"\n\n## Operation Routing\n\nMatch user intent to the execution path:\n\n| User Intent | Execution |\n|---|---|\n| Query\u002Ffilter devices (any condition combo) | `aliyun csas list-user-devices` with params |\n| Query user list (by department, status, name) | `aliyun csas list-users` with params |\n| Check what apps a user can access | `aliyun csas list-user-applications` |\n| Get single device detail | `aliyun csas get-user-device` |\n| Check IDP identity source config | `aliyun csas get-active-idp-config` |\n| Query user groups | `aliyun csas list-user-groups` |\n| Analyze inactive devices | `bash scripts\u002Finactive-analysis.sh` |\n| Lock inactive devices | `bash scripts\u002Fcleanup-inactive.sh` |\n| Delete user accounts or devices | **NOT supported** — guide to SASE console |\n\n**Example query translations:**\n\n- \"Show devices in QA dept running macOS with DLP disabled\" →\n  `aliyun csas list-user-devices --department QA --device-types macOS --dlp-statuses Disabled --pager`\n- \"Which devices are personal and long-term offline\" →\n  `aliyun csas list-user-devices --device-belong Personal --device-statuses LongTermOffline --pager`\n- \"What internal apps is a user authorized to access\" →\n  `aliyun csas list-user-applications --sase-user-id \u003CID> --current-page 1 --page-size 100`\n- \"How many Windows devices are online\" →\n  `aliyun csas list-user-devices --device-types Windows --device-statuses Online --current-page 1 --page-size 1` (check TotalNum)\n\n## Direct CLI Commands\n\nAll queries use `aliyun csas` plugin mode directly. Use `--pager` to auto-paginate full results.\nFull parameter details: see `references\u002Fapi-reference.md`.\n\n### Parameter Validation Rules\n\n**[MUST] Validate parameters before calling API to avoid InvalidParameter errors:**\n\nSource: `aliyun csas \u003Ccommand> --help`\n\n| Parameter | Constraint | Example | Source |\n|---|---|---|---|\n| `--current-page` | int, 1~10000 | `1` | CLI help |\n| `--page-size` | int, 1~500 (list-user-applications: 1~100) | `100` | CLI help |\n| `--device-action` | enum: `Locked` `Lost` `Unbound` `Unlocked` `Found` | `Locked` | CLI help |\n| `--device-statuses` | enum list | `Online LongTermOffline` | CLI help |\n| `--device-types` | enum list | `Windows macOS` | CLI help |\n| `--device-belong` | enum: `Personal` `Company` | `Company` | CLI help |\n| `--sort-by` | enum: `Username` `AppVersion` `UpdateTime` | `UpdateTime` | CLI help |\n| `--status` (list-users) | enum: `Enabled` `Disabled` | `Enabled` | CLI help |\n| `--dlp-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` `Unauthorized` | `Disabled Unprovisioned` | CLI help |\n| `--pa-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` | `Enabled` | CLI help |\n| `--ia-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` | `Disabled` | CLI help |\n| `--nac-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` | `Unprovisioned` | CLI help |\n| `--sase-user-id` | From API response `SaseUserId` field | `su_2e10e16a****0566abea4ce6` | Observed |\n| `--sase-user-ids` | list of SaseUserId | `su_2e10****4ce6 su_ef48****573b` | Observed |\n| `--device-tag` | From API response `DeviceTag` field | `480F8E02-****-5932A5FF60BC` | Observed |\n| `--device-tags` | list of DeviceTag | `480F8E02-****-60BC 24BB1571-****-86EF` | Observed |\n| `--username` | string | `test001` | CLI help |\n| `--fuzzy-username` | string, fuzzy match | `zhang` | CLI help |\n| `--precise-username` | string, exact match | `zhangsan` | CLI help |\n| `--department` | string | `Engineering` | CLI help |\n| `--hostname` | string | `MacBook-Pro` | CLI help |\n| `--mac` | string | `3c:06:****:79:1b` | CLI help |\n| `--inner-ip` | string | `10.0.**.**` | CLI help |\n| `--user-group-ids` | list | `usergroup-51bd****a540` | Observed |\n| `--name` (list-user-applications) | string | `CRM` | CLI help |\n| `--address` (list-user-applications) | string (IPv4\u002FCIDR\u002Fdomain) | `192.168.1.0\u002F24` | CLI help |\n\nAll enum values are **case-sensitive**. List parameters use **space-separated** values (NOT comma).\n\n**[MUST] When user provides a SaseUserId or DeviceTag that looks wrong:**\n> Do NOT blindly call the API. Offer to look up the correct value:\n> - SaseUserId: use `aliyun csas list-users --fuzzy-username \u003Cname>` to find real ID\n> - DeviceTag: use `aliyun csas list-user-devices --username \u003Cname>` to find real tag\n\n### list-user-devices\n\nQuery devices with any combination of 20+ filters:\n\n```bash\naliyun csas list-user-devices --current-page 1 --page-size 100 [OPTIONS] [--pager]\n```\n\nKey filters: `--department`, `--device-types` (list), `--device-statuses` (list), `--dlp-statuses`, `--pa-statuses`, `--ia-statuses`, `--nac-statuses`, `--username`, `--device-belong`, `--hostname`, `--sort-by`.\n\nList params use space-separated values: `--device-types Windows macOS`\n\nEnum values:\n- **DeviceStatuses**: `Online` `Offline` `LongTermOffline` `Locked` `Lost` `Unbound`\n- **DeviceTypes**: `Windows` `macOS` `Linux` `Android` `iOS` `Windows_Wuying`\n- **DlpStatuses**: `Enabled` `Disabled` `Unprovisioned` `Unauthorized`\n- **PaStatuses\u002FIaStatuses\u002FNacStatuses**: `Enabled` `Disabled` `Unprovisioned`\n\n### list-users\n\n```bash\naliyun csas list-users --current-page 1 --page-size 100 [OPTIONS] [--pager]\n```\n\nKey filters: `--fuzzy-username`, `--precise-username`, `--department`, `--status` (Enabled\u002FDisabled), `--sase-user-ids` (list).\n\n### list-user-applications\n\nQuery private access applications authorized to a user:\n\n```bash\naliyun csas list-user-applications --sase-user-id \u003CID> --current-page 1 --page-size 100\n```\n\nRequired: `--sase-user-id`. Optional: `--name`, `--address`.\n\n### get-user-device\n\nGet full detail for a single device:\n\n```bash\naliyun csas get-user-device --device-tag \u003CTAG>\n```\n\n### get-active-idp-config\n\nGet the active Identity Provider configuration:\n\n```bash\naliyun csas get-active-idp-config\n```\n\n### list-user-groups\n\n```bash\naliyun csas list-user-groups --current-page 1 --page-size 100 [OPTIONS] [--pager]\n```\n\nKey filters: `--name`, `--attribute-value`, `--user-group-ids` (list), `--pa-policy-id`.\n\n## Output Formatting\n\nWhen presenting query results to users, follow these rules to avoid overwhelming output:\n\n**Result count thresholds:**\n- ≤10 items: show all\n- 11–50 items: show top 20 + total count\n- \\>50 items: show top 20 + total count + suggest narrowing filters\n\n**Table format:** Use markdown table with key columns only (not full JSON). Example columns for devices: `#`, user, hostname, device type, relevant status, department.\n\n**Use `--cli-query` to extract fields at API level:**\n```bash\naliyun csas list-user-devices --dlp-statuses Disabled --current-page 1 --page-size 100 \\\n  --cli-query \"{total: TotalNum, devices: Devices[].{user: Username, host: Hostname, type: DeviceType, dlp: DlpStatus, dept: Department}}\"\n```\n\n**Always state the total** before showing partial results, e.g. \"Total 844 devices with DLP disabled, showing top 20:\"\n\n## Script-Based Operations\n\n### Inactive Analysis (read-only)\n\nIdentifies inactive devices based on UpdateTime threshold:\n\n```bash\nbash scripts\u002Finactive-analysis.sh --days 30 [--max-days 180]\n```\n\nOptions: `--days N` (>=1, default 30), `--max-days M` (optional, upper bound), `--department`, `--device-type`, `--page-size`\n\n**Parameter semantics:**\n- `--days N` alone: select all devices with UpdateTime \u003C today-N (inactive ≥ N days)\n- `--days N --max-days M`: select devices with today-M ≤ UpdateTime \u003C today-N (inactive N~M days)\n\n**Common patterns:**\n\n| User says | Parameters |\n|---|---|\n| \"Inactive for 90+ days\" | `--days 90` |\n| \"Inactive 90~180 days\" | `--days 90 --max-days 180` |\n| \"Inactive for 180+ days\" | `--days 180` |\n| \"Inactive for over a year\" | `--days 365` |\n| \"Inactive 6 months to 1 year\" | `--days 180 --max-days 365` |\n\n**[MUST] When user's time range is ambiguous, ask to clarify before executing:**\n> \"Does 'inactive for 90 days' mean all devices ≥90 days, or only the 90~180 day window?\"\n\nOutput: JSON with inactive device list and summary statistics. No write operations.\n\n> **Note:** User activity analysis is NOT supported. Reason: the list-users API does not return\n> a last-active timestamp, and device binding changes when another user logs in (each device\n> only retains the most recent user). Therefore user activity status cannot be determined accurately.\n> For user-level analysis, refer to the SASE console audit logs.\n\nWhen users ask about dormant accounts or stale devices, this is the starting point.\n\n### Cleanup Inactive Devices (destructive, reversible)\n\nLock devices inactive for N days. Follows Write Operation Rules below.\n\n**Step 1 — Preview:**\n```bash\nbash scripts\u002Fcleanup-inactive.sh --days 90 --dry-run\n```\n\nPresent dry-run output to user:\n- Total devices scanned, inactive count, device list with details\n- Follow Output Formatting rules above (≤10 show all, >10 show top 20 + total)\n- **Ask user for explicit confirmation** before Step 2\n\n**Step 2 — Execute (only after user confirms):**\n```bash\nbash scripts\u002Fcleanup-inactive.sh --days 90 --yes\n```\n\nLocks all inactive devices in batches (≤100 per API call). Lock is idempotent and reversible.\n\n**Step 3 — Verify and report:**\n\nAfter execution:\n1. **Post-action verification** — call `aliyun csas get-user-device --device-tag \u003CTAG>` for each locked device (or sample if many) to confirm `DeviceStatus == \"Locked\"`. This forms the operation closure: pre-state (dry-run) → execute → post-state (verify).\n2. **Format the result for the user** — do NOT dump the raw script JSON. Convert into a markdown summary:\n   - One-line conclusion, e.g. \"Lock complete: 3 scanned, 1 locked, 0 failed.\"\n   - Markdown table of locked devices (DeviceTag, Username, Hostname, DeviceType, new status)\n   - Recovery hint: `aliyun csas update-user-devices-status --device-action Unlocked --device-tags \u003CTAGS>` to revert.\n3. **If failures exist** — list failed DeviceTags and advise retry on those tags only.\n\n## Write Operation Rules\n\n**[MUST] All write operations require user confirmation:**\n1. Present what will be done (target devices\u002Fusers, action, count)\n2. Ask user to confirm and **wait for explicit yes**\n3. Only execute after user confirms — NEVER auto-execute\n\n**[MUST] Cancellation handling:**\nWhen user cancels (replies \"no\", \"cancel\", \"stop\", or anything other than explicit confirmation):\n1. Do NOT execute the destructive action\n2. Do NOT silently end the session — offer next-step options:\n   > \"Operation cancelled. Other options: (a) modify scope (e.g. different time range or filters); (b) view the device list only without locking; (c) export DeviceTag list for manual review; (d) exit. Which would you like?\"\n3. Wait for user choice before proceeding\n4. If user confirms exit, end gracefully with a summary of what was NOT done\n\n**[MUST] Idempotent execution:**\n- Even if target set is empty (0 devices match), still run the command and report \"0 affected\"\n- Even if devices are already in target state (e.g. already Locked), still execute — the API is idempotent\n- Never skip execution with \"already done\" — always run and report actual result\n\n**[MUST] Post-action verification (operation closure):**\nEvery write operation must form a closed loop: `pre-check → execute → post-verify`.\n1. Before write: confirm the target list (dry-run preview).\n2. Execute the write operation.\n3. After write: re-query the affected resources (e.g. `get-user-device --device-tag \u003CTAG>`) and confirm the new state matches the intended action.\n4. Report the verified result, not just the script's success flag.\n\n**[MUST] Final result formatting:**\nNever dump raw script JSON to the user as the final answer. Always:\n1. Lead with a one-line conclusion (e.g. \"✅ Lock complete: 1\u002F1 devices locked, 0 failed\")\n2. Show key details in a markdown table (key columns only)\n3. Append a recovery \u002F next-step hint when applicable\n4. End with the AI-Mode disable command (see Pre-checks)\n\n**[MUST] Quiet execution:**\nDuring multi-step operations, minimize narration between tool calls.\n- Do NOT announce trivial steps like \"Now I will enable AI mode\" or \"Executing the lock command\"\n- Do NOT echo `(no output)` or empty tool results\n- Only speak to the user when: (a) presenting preview\u002Fresults, (b) asking for confirmation, (c) reporting errors\n- Internal tool chaining should be silent until a user-facing milestone is reached\n\n**Applies to:**\n- `bash scripts\u002Fcleanup-inactive.sh --yes` (batch lock)\n- `aliyun csas update-user-devices-status --device-action \u003CACTION> --device-tags \u003CTAGS>` (direct lock\u002Funlock)\n\n**Confirmation template:**\n> \"About to execute [Locked\u002FUnlocked\u002FLost\u002FFound] on N devices. Confirm?\"\n\n## Capability Boundary\n\n**This skill does NOT perform irreversible operations:**\n- Delete user accounts (DeleteClientUser)\n- Delete terminal devices (DeleteUserDevices)\n- Freeze\u002Funfreeze user accounts (UpdateUsersStatus)\n- Analyze user activity (API limitation: no user last-active time available)\n\n**[MUST] When users request deletion of inactive users\u002Fdevices, follow this flow:**\n\n1. **Clarify scope** — This skill only analyzes and operates on **devices**, not user activity:\n   > \"Only inactive device queries and device locking are supported. User activity analysis is not available (API limitation). Want to check which devices have been inactive for N+ days?\"\n\n2. **Guide to device analysis** — Lead user to specify a time range for devices:\n   > \"I can help you: query devices inactive for N+ days; query devices inactive within N~M day range; lock these devices (reversible, unlock anytime). Which time range do you need?\"\n\n3. **Explain why deletion is not supported:**\n   > \"Deletion is irreversible — this skill does not perform it. Locking has the same effect (device cannot connect). You can delete via console after confirming.\"\n\n4. **Offer the lock alternative** with specific details:\n   > \"Lock these N devices instead? Once locked, they cannot access the network. Unlock anytime.\"\n\n5. **If user insists on deletion**, guide to console:\n   > \"Go to Alibaba Cloud Console → SASE → Terminal Management to delete manually. I can export the DeviceTag list for batch operations in the console.\"\n\n6. **If user accepts lock**, proceed with Write Operation Rules (preview → confirm → execute).\n\n**Never silently refuse.** Always present the alternative action path.\n\n## Error Handling\n\nAll scripts output structured JSON with `success: true\u002Ffalse`. On failure, check `error` and `message` fields.\n\nCommon errors:\n- `ApiCallFailed` — Check network, credentials, and permissions\n- `ValidationError` — Invalid parameter; see error message for details\n- `Permission denied` \u002F HTTP 403 \u002F `AccessDenied` — Follow RAM Policy & Permission Handling section above. Suggest `AliyunCSASFullAccess` (quick) or add specific `csas:\u003CApiName>` Action (minimal).\n- File system errors (write_file failed, output path not exist) — Check that the output directory exists and is writable. Fall back to printing the report to stdout if the path cannot be written.\n\nAll write operations are idempotent. Safe to retry on partial failure. Even if target is empty or already in desired state, execute anyway and report result.\n\n## Script Reference\n\n| Script | Purpose |\n|---|---|\n| `scripts\u002Fvalidate-cli.sh` | CLI environment validation |\n| `scripts\u002Finactive-analysis.sh` | Read-only inactive device analysis |\n| `scripts\u002Fcleanup-inactive.sh` | Lock inactive devices (destructive, reversible) |\n| `scripts\u002Fcommon.sh` | Shared utilities (sourced by other scripts) |\n\nFull API parameter reference: `references\u002Fapi-reference.md`\nCLI command list: `references\u002Frelated-commands.md`\n","## Pre-checks\n\n**Aliyun CLI >= 3.3.3 required**\n\n```bash\naliyun version\n```\n\nIf not installed or version too low, see `references\u002Fcli-installation-guide.md`.\n\n**Plugin setup (MUST run before first use)**\n\n```bash\naliyun configure set --auto-plugin-install true\naliyun plugin update\n```\n\n**AI-Mode Lifecycle (MUST follow)**\n\nAt the START of workflow (before any CLI invocation):\n```bash\naliyun configure ai-mode enable\naliyun configure ai-mode set-user-agent --user-agent \"AlibabaCloud-Agent-Skills\u002Falibabacloud-csas-user-device-ops\"\n```\n\nAt EVERY exit point (success, failure, error, cancellation, including after every write operation completes):\n```bash\naliyun configure ai-mode disable\n```\n\n**[MUST]** Run `ai-mode disable` even when the operation succeeds. It is part of the success path, not just the error path.\n\n## Credential Verification\n\n> **Security Rules:**\n> - **NEVER** read, echo, or print AK\u002FSK values\n> - **NEVER** ask users to input AK\u002FSK in conversation\n> - **ONLY** use `aliyun configure list` to check credential status\n\n```bash\naliyun configure list\n```\n\nIf no valid profile exists, STOP. Guide user to configure credentials outside this session.\n\n## RAM Policy & Permission Handling\n\nRequired permissions are listed in `references\u002Fram-policies.md`.\n\n> **[MUST] Permission Failure Handling:** When any command fails due to permission errors (HTTP 403, \"AccessDenied\", \"Forbidden\", \"no permission\", or similar):\n> 1. STOP execution immediately. Do NOT retry blindly.\n> 2. Identify the failing API from the error message (e.g. `csas:ListUserDevices`, `csas:UpdateUserDevicesStatus`).\n> 3. Tell the user the exact RAM Action that failed and offer two paths:\n>    - **Quick path:** Attach the system policy `AliyunCSASFullAccess` to the RAM user\u002Frole (covers all CSAS operations).\n>    - **Minimal path:** Add only the specific failing Action(s) to a custom policy. See `references\u002Fram-policies.md` for the minimal policy template.\n> 4. Pause and wait until the user confirms permissions have been granted.\n> 5. After confirmation, retry the failed operation.\n\n**Permission error message template:**\n> \"Permission denied calling `csas:\u003CApiName>`. Please grant either `AliyunCSASFullAccess` (system policy, covers all) or add `csas:\u003CApiName>` to a custom RAM policy. See `references\u002Fram-policies.md` for details. Reply 'done' after granting and I will retry.\"\n\n## Operation Routing\n\nMatch user intent to the execution path:\n\n| User Intent | Execution |\n|---|---|\n| Query\u002Ffilter devices (any condition combo) | `aliyun csas list-user-devices` with params |\n| Query user list (by department, status, name) | `aliyun csas list-users` with params |\n| Check what apps a user can access | `aliyun csas list-user-applications` |\n| Get single device detail | `aliyun csas get-user-device` |\n| Check IDP identity source config | `aliyun csas get-active-idp-config` |\n| Query user groups | `aliyun csas list-user-groups` |\n| Analyze inactive devices | `bash scripts\u002Finactive-analysis.sh` |\n| Lock inactive devices | `bash scripts\u002Fcleanup-inactive.sh` |\n| Delete user accounts or devices | **NOT supported** — guide to SASE console |\n\n**Example query translations:**\n\n- \"Show devices in QA dept running macOS with DLP disabled\" →\n  `aliyun csas list-user-devices --department QA --device-types macOS --dlp-statuses Disabled --pager`\n- \"Which devices are personal and long-term offline\" →\n  `aliyun csas list-user-devices --device-belong Personal --device-statuses LongTermOffline --pager`\n- \"What internal apps is a user authorized to access\" →\n  `aliyun csas list-user-applications --sase-user-id \u003CID> --current-page 1 --page-size 100`\n- \"How many Windows devices are online\" →\n  `aliyun csas list-user-devices --device-types Windows --device-statuses Online --current-page 1 --page-size 1` (check TotalNum)\n\n## Direct CLI Commands\n\nAll queries use `aliyun csas` plugin mode directly. Use `--pager` to auto-paginate full results.\nFull parameter details: see `references\u002Fapi-reference.md`.\n\n### Parameter Validation Rules\n\n**[MUST] Validate parameters before calling API to avoid InvalidParameter errors:**\n\nSource: `aliyun csas \u003Ccommand> --help`\n\n| Parameter | Constraint | Example | Source |\n|---|---|---|---|\n| `--current-page` | int, 1~10000 | `1` | CLI help |\n| `--page-size` | int, 1~500 (list-user-applications: 1~100) | `100` | CLI help |\n| `--device-action` | enum: `Locked` `Lost` `Unbound` `Unlocked` `Found` | `Locked` | CLI help |\n| `--device-statuses` | enum list | `Online LongTermOffline` | CLI help |\n| `--device-types` | enum list | `Windows macOS` | CLI help |\n| `--device-belong` | enum: `Personal` `Company` | `Company` | CLI help |\n| `--sort-by` | enum: `Username` `AppVersion` `UpdateTime` | `UpdateTime` | CLI help |\n| `--status` (list-users) | enum: `Enabled` `Disabled` | `Enabled` | CLI help |\n| `--dlp-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` `Unauthorized` | `Disabled Unprovisioned` | CLI help |\n| `--pa-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` | `Enabled` | CLI help |\n| `--ia-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` | `Disabled` | CLI help |\n| `--nac-statuses` | enum list: `Enabled` `Disabled` `Unprovisioned` | `Unprovisioned` | CLI help |\n| `--sase-user-id` | From API response `SaseUserId` field | `su_2e10e16a****0566abea4ce6` | Observed |\n| `--sase-user-ids` | list of SaseUserId | `su_2e10****4ce6 su_ef48****573b` | Observed |\n| `--device-tag` | From API response `DeviceTag` field | `480F8E02-****-5932A5FF60BC` | Observed |\n| `--device-tags` | list of DeviceTag | `480F8E02-****-60BC 24BB1571-****-86EF` | Observed |\n| `--username` | string | `test001` | CLI help |\n| `--fuzzy-username` | string, fuzzy match | `zhang` | CLI help |\n| `--precise-username` | string, exact match | `zhangsan` | CLI help |\n| `--department` | string | `Engineering` | CLI help |\n| `--hostname` | string | `MacBook-Pro` | CLI help |\n| `--mac` | string | `3c:06:****:79:1b` | CLI help |\n| `--inner-ip` | string | `10.0.**.**` | CLI help |\n| `--user-group-ids` | list | `usergroup-51bd****a540` | Observed |\n| `--name` (list-user-applications) | string | `CRM` | CLI help |\n| `--address` (list-user-applications) | string (IPv4\u002FCIDR\u002Fdomain) | `192.168.1.0\u002F24` | CLI help |\n\nAll enum values are **case-sensitive**. List parameters use **space-separated** values (NOT comma).\n\n**[MUST] When user provides a SaseUserId or DeviceTag that looks wrong:**\n> Do NOT blindly call the API. Offer to look up the correct value:\n> - SaseUserId: use `aliyun csas list-users --fuzzy-username \u003Cname>` to find real ID\n> - DeviceTag: use `aliyun csas list-user-devices --username \u003Cname>` to find real tag\n\n### list-user-devices\n\nQuery devices with any combination of 20+ filters:\n\n```bash\naliyun csas list-user-devices --current-page 1 --page-size 100 [OPTIONS] [--pager]\n```\n\nKey filters: `--department`, `--device-types` (list), `--device-statuses` (list), `--dlp-statuses`, `--pa-statuses`, `--ia-statuses`, `--nac-statuses`, `--username`, `--device-belong`, `--hostname`, `--sort-by`.\n\nList params use space-separated values: `--device-types Windows macOS`\n\nEnum values:\n- **DeviceStatuses**: `Online` `Offline` `LongTermOffline` `Locked` `Lost` `Unbound`\n- **DeviceTypes**: `Windows` `macOS` `Linux` `Android` `iOS` `Windows_Wuying`\n- **DlpStatuses**: `Enabled` `Disabled` `Unprovisioned` `Unauthorized`\n- **PaStatuses\u002FIaStatuses\u002FNacStatuses**: `Enabled` `Disabled` `Unprovisioned`\n\n### list-users\n\n```bash\naliyun csas list-users --current-page 1 --page-size 100 [OPTIONS] [--pager]\n```\n\nKey filters: `--fuzzy-username`, `--precise-username`, `--department`, `--status` (Enabled\u002FDisabled), `--sase-user-ids` (list).\n\n### list-user-applications\n\nQuery private access applications authorized to a user:\n\n```bash\naliyun csas list-user-applications --sase-user-id \u003CID> --current-page 1 --page-size 100\n```\n\nRequired: `--sase-user-id`. Optional: `--name`, `--address`.\n\n### get-user-device\n\nGet full detail for a single device:\n\n```bash\naliyun csas get-user-device --device-tag \u003CTAG>\n```\n\n### get-active-idp-config\n\nGet the active Identity Provider configuration:\n\n```bash\naliyun csas get-active-idp-config\n```\n\n### list-user-groups\n\n```bash\naliyun csas list-user-groups --current-page 1 --page-size 100 [OPTIONS] [--pager]\n```\n\nKey filters: `--name`, `--attribute-value`, `--user-group-ids` (list), `--pa-policy-id`.\n\n## Output Formatting\n\nWhen presenting query results to users, follow these rules to avoid overwhelming output:\n\n**Result count thresholds:**\n- ≤10 items: show all\n- 11–50 items: show top 20 + total count\n- \\>50 items: show top 20 + total count + suggest narrowing filters\n\n**Table format:** Use markdown table with key columns only (not full JSON). Example columns for devices: `#`, user, hostname, device type, relevant status, department.\n\n**Use `--cli-query` to extract fields at API level:**\n```bash\naliyun csas list-user-devices --dlp-statuses Disabled --current-page 1 --page-size 100 \\\n  --cli-query \"{total: TotalNum, devices: Devices[].{user: Username, host: Hostname, type: DeviceType, dlp: DlpStatus, dept: Department}}\"\n```\n\n**Always state the total** before showing partial results, e.g. \"Total 844 devices with DLP disabled, showing top 20:\"\n\n## Script-Based Operations\n\n### Inactive Analysis (read-only)\n\nIdentifies inactive devices based on UpdateTime threshold:\n\n```bash\nbash scripts\u002Finactive-analysis.sh --days 30 [--max-days 180]\n```\n\nOptions: `--days N` (>=1, default 30), `--max-days M` (optional, upper bound), `--department`, `--device-type`, `--page-size`\n\n**Parameter semantics:**\n- `--days N` alone: select all devices with UpdateTime \u003C today-N (inactive ≥ N days)\n- `--days N --max-days M`: select devices with today-M ≤ UpdateTime \u003C today-N (inactive N~M days)\n\n**Common patterns:**\n\n| User says | Parameters |\n|---|---|\n| \"Inactive for 90+ days\" | `--days 90` |\n| \"Inactive 90~180 days\" | `--days 90 --max-days 180` |\n| \"Inactive for 180+ days\" | `--days 180` |\n| \"Inactive for over a year\" | `--days 365` |\n| \"Inactive 6 months to 1 year\" | `--days 180 --max-days 365` |\n\n**[MUST] When user's time range is ambiguous, ask to clarify before executing:**\n> \"Does 'inactive for 90 days' mean all devices ≥90 days, or only the 90~180 day window?\"\n\nOutput: JSON with inactive device list and summary statistics. No write operations.\n\n> **Note:** User activity analysis is NOT supported. Reason: the list-users API does not return\n> a last-active timestamp, and device binding changes when another user logs in (each device\n> only retains the most recent user). Therefore user activity status cannot be determined accurately.\n> For user-level analysis, refer to the SASE console audit logs.\n\nWhen users ask about dormant accounts or stale devices, this is the starting point.\n\n### Cleanup Inactive Devices (destructive, reversible)\n\nLock devices inactive for N days. Follows Write Operation Rules below.\n\n**Step 1 — Preview:**\n```bash\nbash scripts\u002Fcleanup-inactive.sh --days 90 --dry-run\n```\n\nPresent dry-run output to user:\n- Total devices scanned, inactive count, device list with details\n- Follow Output Formatting rules above (≤10 show all, >10 show top 20 + total)\n- **Ask user for explicit confirmation** before Step 2\n\n**Step 2 — Execute (only after user confirms):**\n```bash\nbash scripts\u002Fcleanup-inactive.sh --days 90 --yes\n```\n\nLocks all inactive devices in batches (≤100 per API call). Lock is idempotent and reversible.\n\n**Step 3 — Verify and report:**\n\nAfter execution:\n1. **Post-action verification** — call `aliyun csas get-user-device --device-tag \u003CTAG>` for each locked device (or sample if many) to confirm `DeviceStatus == \"Locked\"`. This forms the operation closure: pre-state (dry-run) → execute → post-state (verify).\n2. **Format the result for the user** — do NOT dump the raw script JSON. Convert into a markdown summary:\n   - One-line conclusion, e.g. \"Lock complete: 3 scanned, 1 locked, 0 failed.\"\n   - Markdown table of locked devices (DeviceTag, Username, Hostname, DeviceType, new status)\n   - Recovery hint: `aliyun csas update-user-devices-status --device-action Unlocked --device-tags \u003CTAGS>` to revert.\n3. **If failures exist** — list failed DeviceTags and advise retry on those tags only.\n\n## Write Operation Rules\n\n**[MUST] All write operations require user confirmation:**\n1. Present what will be done (target devices\u002Fusers, action, count)\n2. Ask user to confirm and **wait for explicit yes**\n3. Only execute after user confirms — NEVER auto-execute\n\n**[MUST] Cancellation handling:**\nWhen user cancels (replies \"no\", \"cancel\", \"stop\", or anything other than explicit confirmation):\n1. Do NOT execute the destructive action\n2. Do NOT silently end the session — offer next-step options:\n   > \"Operation cancelled. Other options: (a) modify scope (e.g. different time range or filters); (b) view the device list only without locking; (c) export DeviceTag list for manual review; (d) exit. Which would you like?\"\n3. Wait for user choice before proceeding\n4. If user confirms exit, end gracefully with a summary of what was NOT done\n\n**[MUST] Idempotent execution:**\n- Even if target set is empty (0 devices match), still run the command and report \"0 affected\"\n- Even if devices are already in target state (e.g. already Locked), still execute — the API is idempotent\n- Never skip execution with \"already done\" — always run and report actual result\n\n**[MUST] Post-action verification (operation closure):**\nEvery write operation must form a closed loop: `pre-check → execute → post-verify`.\n1. Before write: confirm the target list (dry-run preview).\n2. Execute the write operation.\n3. After write: re-query the affected resources (e.g. `get-user-device --device-tag \u003CTAG>`) and confirm the new state matches the intended action.\n4. Report the verified result, not just the script's success flag.\n\n**[MUST] Final result formatting:**\nNever dump raw script JSON to the user as the final answer. Always:\n1. Lead with a one-line conclusion (e.g. \"✅ Lock complete: 1\u002F1 devices locked, 0 failed\")\n2. Show key details in a markdown table (key columns only)\n3. Append a recovery \u002F next-step hint when applicable\n4. End with the AI-Mode disable command (see Pre-checks)\n\n**[MUST] Quiet execution:**\nDuring multi-step operations, minimize narration between tool calls.\n- Do NOT announce trivial steps like \"Now I will enable AI mode\" or \"Executing the lock command\"\n- Do NOT echo `(no output)` or empty tool results\n- Only speak to the user when: (a) presenting preview\u002Fresults, (b) asking for confirmation, (c) reporting errors\n- Internal tool chaining should be silent until a user-facing milestone is reached\n\n**Applies to:**\n- `bash scripts\u002Fcleanup-inactive.sh --yes` (batch lock)\n- `aliyun csas update-user-devices-status --device-action \u003CACTION> --device-tags \u003CTAGS>` (direct lock\u002Funlock)\n\n**Confirmation template:**\n> \"About to execute [Locked\u002FUnlocked\u002FLost\u002FFound] on N devices. Confirm?\"\n\n## Capability Boundary\n\n**This skill does NOT perform irreversible operations:**\n- Delete user accounts (DeleteClientUser)\n- Delete terminal devices (DeleteUserDevices)\n- Freeze\u002Funfreeze user accounts (UpdateUsersStatus)\n- Analyze user activity (API limitation: no user last-active time available)\n\n**[MUST] When users request deletion of inactive users\u002Fdevices, follow this flow:**\n\n1. **Clarify scope** — This skill only analyzes and operates on **devices**, not user activity:\n   > \"Only inactive device queries and device locking are supported. User activity analysis is not available (API limitation). Want to check which devices have been inactive for N+ days?\"\n\n2. **Guide to device analysis** — Lead user to specify a time range for devices:\n   > \"I can help you: query devices inactive for N+ days; query devices inactive within N~M day range; lock these devices (reversible, unlock anytime). Which time range do you need?\"\n\n3. **Explain why deletion is not supported:**\n   > \"Deletion is irreversible — this skill does not perform it. Locking has the same effect (device cannot connect). You can delete via console after confirming.\"\n\n4. **Offer the lock alternative** with specific details:\n   > \"Lock these N devices instead? Once locked, they cannot access the network. Unlock anytime.\"\n\n5. **If user insists on deletion**, guide to console:\n   > \"Go to Alibaba Cloud Console → SASE → Terminal Management to delete manually. I can export the DeviceTag list for batch operations in the console.\"\n\n6. **If user accepts lock**, proceed with Write Operation Rules (preview → confirm → execute).\n\n**Never silently refuse.** Always present the alternative action path.\n\n## Error Handling\n\nAll scripts output structured JSON with `success: true\u002Ffalse`. On failure, check `error` and `message` fields.\n\nCommon errors:\n- `ApiCallFailed` — Check network, credentials, and permissions\n- `ValidationError` — Invalid parameter; see error message for details\n- `Permission denied` \u002F HTTP 403 \u002F `AccessDenied` — Follow RAM Policy & Permission Handling section above. Suggest `AliyunCSASFullAccess` (quick) or add specific `csas:\u003CApiName>` Action (minimal).\n- File system errors (write_file failed, output path not exist) — Check that the output directory exists and is writable. Fall back to printing the report to stdout if the path cannot be written.\n\nAll write operations are idempotent. Safe to retry on partial failure. Even if target is empty or already in desired state, execute anyway and report result.\n\n## Script Reference\n\n| Script | Purpose |\n|---|---|\n| `scripts\u002Fvalidate-cli.sh` | CLI environment validation |\n| `scripts\u002Finactive-analysis.sh` | Read-only inactive device analysis |\n| `scripts\u002Fcleanup-inactive.sh` | Lock inactive devices (destructive, reversible) |\n| `scripts\u002Fcommon.sh` | Shared utilities (sourced by other scripts) |\n\nFull API parameter reference: `references\u002Fapi-reference.md`\nCLI command list: `references\u002Frelated-commands.md`\n",{"name":5,"license":15,"metadata":24,"description":27,"allowed-tools":28,"compatibility":29},{"owner":25,"domain":26},"sase-team","aiops","Use this skill when users ask about SASE terminal device management, user account queries, inactive device analysis, or device locking on Alibaba Cloud SASE (product code: csas). Trigger scenarios: \"查下哪些设备长期离线\", \"某部门有多少 终端设备\", \"锁定闲置设备\", \"查看用户被授权了哪些应用\". Capabilities: flexible device querying with 20+ filters (department, device type, OS, SASE feature status, etc.), user listing, user application authorization queries, inactive device analysis, and locking inactive devices. Deletion or irreversible operations are NOT supported — users are guided to the SASE console. 当用户询问 SASE 终端设备管理、用户账号查询、非活跃设备分析、设备锁定时使用此 Skill。 支持灵活的设备条件组合查询（20+ 筛选项）、用户列表查询、应用授权查询、非活跃设备分析、 锁定非活跃终端。不支持删除等不可逆操作。 注意：当前不支持用户活跃度分析（API 不提供用户最后活跃时间，设备绑定关系会变更）。\n","Bash Read","Requires Aliyun CLI (aliyun) >= 3.3.3 with csas plugin. Scripts compatible with bash >= 3.2 (macOS default). Compatible engines: qwen-code, qoder, openclaw.\n","main","b08d387cde83fdd23ca4a75f0a74173f810967ec","resources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops","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":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Jane-o-O-o-O\u002Fpersonal-agent --skill alibabacloud-csas-user-device-ops",{"tool":44,"command":45},"bunx","bunx skills add Jane-o-O-o-O\u002Fpersonal-agent --skill alibabacloud-csas-user-device-ops",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Jane-o-O-o-O\u002Fpersonal-agent --skill alibabacloud-csas-user-device-ops","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002FSKILL.md",true,[52,58,62,66,70,74,80,84,88],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Facceptance-criteria.md","REFERENCE","参考文档",5352,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Freferences\u002Facceptance-criteria.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fapi-reference.md",12806,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Freferences\u002Fapi-reference.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fcli-installation-guide.md",11622,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Freferences\u002Fcli-installation-guide.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fram-policies.md",2470,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Freferences\u002Fram-policies.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Frelated-commands.md",2518,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Freferences\u002Frelated-commands.md",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002Fcleanup-inactive.sh","SCRIPT","脚本",7939,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Fscripts\u002Fcleanup-inactive.sh",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Fcommon.sh",6007,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Fscripts\u002Fcommon.sh",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Finactive-analysis.sh",5852,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Fscripts\u002Finactive-analysis.sh",{"path":89,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fvalidate-cli.sh",4233,"https:\u002F\u002Fgithub.com\u002FJane-o-O-o-O\u002Fpersonal-agent\u002Fblob\u002Fmain\u002Fresources\u002Fecosystem\u002Fupstream\u002Faliyun-aiops-skills\u002Fd22aa735c7e5\u002Fskills\u002Fsecurity\u002Fcsas\u002Falibabacloud-csas-user-device-ops\u002Fscripts\u002Fvalidate-cli.sh",[93,101,108,115,122,129],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"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":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"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":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"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":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"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":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"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",[],[]]