Token导航 LogoToken导航

Agent Skill · 待分类

alibabacloud-pai-feature-store-featuredb-usage-query(alibabacloud pai 特征库 featuredb 使用情况查询)

alibabacloud-pai-feature-store-featuredb-usage-query 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

alibabacloud-pai-feature-store-featuredb-usage-query 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在待分类类的 11,209 个 Skill 里排第 4,290。

总安装 774周安装 31GitHub Stars 80下载 250核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alibabacloud-pai-feature-store-featuredb-usage-query(alibabacloud pai 特征库 featuredb 使用情况查询)
来源仓库:https://github.com/aliyun/alibabacloud-aiops-skills
仓库路径:skills/alibabacloud-pai-feature-store-featuredb-usage-query
安装命令:
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-pai-feature-store-featuredb-usage-query
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-pai-feature-store-featuredb-usage-query

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

alibabacloud-pai-feature-store-featuredb-usage-query 分析 PAI FeatureStore 中 FeatureDB 的使用情况与成本。适用于特征工程监控、读写趋势分析和费用预估等数据治理场景。支持按日期、项目或特征视图统计读/写量,并可计算官方计费标准下的费用。

通过 aliyun CLI 调用 FeatureStore API,需确保已开通服务并配置正确区域。查询范围限制为最近 30 天数据,超出时间窗口的请求将被拒绝。

来源仓库内路径:skills/alibabacloud-pai-feature-store-featuredb-usage-query

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill aliba…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

alibabacloud-pai-feature-store-featuredb-usage-query 怎么安装?

在终端执行 npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-pa…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

alibabacloud-pai-feature-store-featuredb-usage-query 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

alibabacloud-pai-feature-store-featuredb-usage-query 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

alibabacloud-pai-feature-store-featuredb-usage-query 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

alibabacloud-pai-feature-store-featuredb-usage-query 用的人多吗?

公开数据是累计安装 774 次,近一周安装 31 次,下载 250 次,GitHub 80 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

alibabacloud-pai-feature-store-featuredb-usage-query 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
alibabacloud-pai-feature-store-featuredb-usage-query

alibabacloud pai 特征库 featuredb 使用情况查询 · 本页

77480接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

PAI-FeatureStore FeatureDB Usage Query and Analysis

Architecture: PAI-FeatureStore Instance → FeatureDB Datasource → Feature Views → Usage Statistics

Key Features

  1. Total Usage Analysis: Query daily read/write totals across a date range (up to 30 days)
  2. Feature View Details: Query specific feature view usage on a given date with sorting by read/write count
  3. Project-Level Analysis: Query daily read/write totals for a specific project (up to 30 days)
  4. Feature View Trends: Query daily read/write trends for a specific feature view (up to 30 days)
  5. Cost Calculation: Calculate costs based on official pricing tiers for different regions

Supported Regions

cn-beijing, cn-hangzhou, cn-shanghai, cn-shenzhen, cn-hongkong, ap-southeast-1, ap-southeast-5, us-west-1, eu-central-1


Installation

Pre-check: Aliyun CLI >= 3.3.3 required Run aliyun version to verify >= 3.3.3. If not installed or version too low, run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash to update, or see references/cli-installation-guide.md for installation instructions. Then [MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation. [MUST] run aliyun plugin update to ensure that any existing plugins on your local machine are always up-to-date.

[MUST] CLI User-Agent — Every aliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

The PAI-FeatureStore CLI plugin will be automatically installed when first used if auto-plugin-install is enabled.

Timeout: Default 10s is sufficient for all API calls.


Authentication

Pre-check: Alibaba Cloud Credentials Required Security Rules: - NEVER read, echo, or print AK/SK values (e.g., echo $ALIBABA_CLOUD_ACCESS_KEY_ID is FORBIDDEN) - NEVER ask the user to input AK/SK directly in the conversation or command line - NEVER use aliyun configure set with literal credential values - NEVER output any string resembling a key (e.g., LTAI5t***, AccessKeyId: xxx, ak-***) - ONLY use aliyun configure list to check credential status ``bash aliyun configure list `` Check the output for a valid profile (AK, STS, or OAuth identity). If no valid profile exists, STOP here.

Required Parameters

IMPORTANT: Parameter Confirmation — Before executing any command or API call, ALL user-customizable parameters (e.g., RegionId, instance names, CIDR blocks, passwords, domain names, resource specifications, etc.) MUST be confirmed with the user. Do NOT assume or use default values without explicit user approval.
Parameter NameRequired/OptionalDescriptionDefault Value
RegionIdRequiredAlibaba Cloud region ID. Must be one of the supported regions listed above.None
WorkspaceIdOptional*PAI workspace ID (numeric, e.g., 12345). Required if DatasourceId is not provided.None
DatasourceIdOptional*FeatureDB datasource ID (numeric, e.g., 67890). Required if WorkspaceId is not provided.None
StartDateOptionalQuery start date in yyyy-MM-dd format.30 days ago (for total usage) or 7 days ago (for project/feature view)
EndDateOptionalQuery end date in yyyy-MM-dd format.Yesterday
ProjectNameOptionalProject name (required for project-level and feature view queries).None
FeatureViewNameOptionalFeature view name (required for feature view trend queries).None
SortByOptionalSort field: ReadCount or WriteCountReadCount
OrderOptionalSort order: ASC or DESCDESC

Note: Either WorkspaceId or DatasourceId must be provided. If neither is provided, the skill will list all available FeatureDB datasources for user selection.


RAM Permissions

This skill requires the following RAM permissions. See references/ram-policies.md for detailed policy configuration.

Required Actions:

  • paifeaturestore:ListInstances
  • paifeaturestore:GetDatasource
  • paifeaturestore:ListDatasources
  • paifeaturestore:ListDatasourceFeatureViews

Core Workflow

Functional Scope (MUST CHECK FIRST)

This skill ONLY supports querying FeatureDB read/write usage statistics. Any requests outside of "querying historical read/write counts or costs" are out of scope and must be politely declined with a list of supported features.

[MUST] If request is out of scope, reject politely and list supported features: > "Sorry, this Skill only supports querying FeatureDB read/write usage statistics, not [user request]. Supported features: 1) Daily read/write totals 2) Feature view details 3) Usage trends 4) Cost calculation"

Feature Selection Logic

Which features to execute depends on user's request:

ScenarioAction
Request out of scope or unsupportedReject and list supported features (see above)
User specifies supported feature(s)Execute the specified feature(s)
User doesn't specify any featureExecute default behavior (see below)

Supported Functions

  1. Query daily FeatureDB read/write totals from StartDate to EndDate with analysis (max 30-day span)
  2. Query per-feature-view read/write counts for a specific date, with sorting and analysis
  3. Query daily FeatureDB read/write totals for a specific project from StartDate to EndDate with analysis (max 30-day span)
  4. Query daily FeatureDB read/write trends for a specific feature view from StartDate to EndDate with analysis (max 30-day span)
  5. Calculate costs based on official pricing and query results

User-Friendly Prompts

Use descriptive names instead of function numbers when prompting, because "Function 3" is meaningless to users who haven't read this document.

Execution Steps

Step 1: Verify PAI-FeatureStore Instance
aliyun paifeaturestore list-instances \
  --region <RegionId> \
  --status Running \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Expected Output: A list of running instances with their InstanceIds.

Error Handling (if no running instances found — STOP, do NOT guess InstanceId):

No running PAI-FeatureStore instances found in this region. Please verify: 1. Is the RegionId correct? 2. Do you need to switch to a different region? 3. To activate PAI-FeatureStore, visit the console
Step 2: Identify FeatureDB Datasource

Case A: User provided WorkspaceId

aliyun paifeaturestore list-datasources \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --type FeatureDB \
  --workspace-id <WorkspaceId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Case B: User provided DatasourceId

[MUST] When user provides DatasourceId, you MUST call GetDatasource or ListDatasources to verify the datasource type is FeatureDB. Do NOT skip this validation step.
aliyun paifeaturestore get-datasource \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --datasource-id <DatasourceId> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Validation: Check the Type field in the response. If Type is NOT FeatureDB, stop and inform the user that this datasource is not a FeatureDB datasource.

Case C: Neither WorkspaceId nor DatasourceId provided

aliyun paifeaturestore list-datasources \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --type FeatureDB \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Note: This API is paginated. Calculate total pages from TotalCount and PageSize, then fetch all pages.

Example pagination logic:

# First call to get TotalCount
FIRST_RESPONSE=$(aliyun paifeaturestore list-datasources \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --type FeatureDB \
  --page-number 1 \
  --page-size 10 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query)

# Extract TotalCount and calculate total pages
# Then iterate through all pages
for page in {1..total_pages}; do
  aliyun paifeaturestore list-datasources \
    --region <RegionId> \
    --instance-id <InstanceId> \
    --type FeatureDB \
    --page-number $page \
    --page-size 10 \
    --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query
done

Present all FeatureDB datasources to the user. If only ONE datasource exists, use it directly.

When MULTIPLE datasources exist, behavior depends on query type:

Query TypeUser Confirmation Required
Total usage (Function 1)Ask: "Query aggregated usage for all N datasources, or select a specific one?" Then proceed based on user's choice.
Feature view details / Project / Trends (Function 2/3/4)Must select ONE datasource. These queries are datasource-specific and cannot span multiple datasources.

Error Handling:

  • If WorkspaceId or DatasourceId is invalid, fall back to Case C and list all available datasources.
Step 3: Query Usage Statistics

Date Validation (before API call):

  • Format: Must be yyyy-MM-dd (e.g., 2024-03-15). If user provides other formats (e.g., 3/15, 2024.03.15), convert to correct format.
  • Range: EndDate - StartDate must be ≤ 30 days. If exceeded, ask user to narrow the range or split into multiple queries.
  • Boundary: EndDate ≤ today; StartDate ≤ EndDate.

Relative Date Ranges ("last 7 days", "last 30 days"): Calculate StartDate = N days ago, EndDate = yesterday. Run date command separately first, then use the literal result in --start-date/--end-date. NEVER embed $(...) in CLI commands.

Execute queries based on user requirements:

Function 1: Query Total Daily Read/Write Usage

Query daily totals from StartDate to EndDate (default: last 30 days).

aliyun paifeaturestore list-datasource-feature-views \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --datasource-id <DatasourceId> \
  --start-date <StartDate> \
  --end-date <EndDate> \
  --verbose false \
  --show-storage-usage false \
  --page-size 1 \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Output: Extract TotalUsageStatistics from the response.

Function 2: Query Per-Feature-View Usage for a Specific Date

Query all feature views' read/write counts on a specific date, with sorting.

aliyun paifeaturestore list-datasource-feature-views \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --datasource-id <DatasourceId> \
  --start-date <TargetDate> \
  --end-date <TargetDate> \
  --verbose true \
  --show-storage-usage false \
  --all true \
  --sort-by <ReadCount|WriteCount> \
  --order <ASC|DESC> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Output: Extract FeatureViews array from the response.

Function 3: Query Daily Usage for a Specific Project

Query daily totals for a specific project from StartDate to EndDate (default: last 7 days).

aliyun paifeaturestore list-datasource-feature-views \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --datasource-id <DatasourceId> \
  --start-date <StartDate> \
  --end-date <EndDate> \
  --verbose false \
  --show-storage-usage false \
  --page-size 1 \
  --project-name <ProjectName> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Output: Extract TotalUsageStatistics from the response.

Error Handling:

  • If the API returns an error indicating the project does not exist, recommend querying Function 2 first to get the complete list of queryable projects (deduplicate by project name).
Function 4: Query Daily Usage for a Specific Feature View

Query daily trends for a specific feature view from StartDate to EndDate (default: last 7 days).

aliyun paifeaturestore list-datasource-feature-views \
  --region <RegionId> \
  --instance-id <InstanceId> \
  --datasource-id <DatasourceId> \
  --start-date <StartDate> \
  --end-date <EndDate> \
  --verbose true \
  --show-storage-usage false \
  --all true \
  --project-name <ProjectName> \
  --name <FeatureViewName> \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-feature-store-featuredb-usage-query

Output: Extract the matching feature view from the FeatureViews array.

Error Handling:

  • If no matching feature view is found in the response, the feature view does not exist. Recommend querying Function 2 first to get the complete list of queryable feature views.
Step 4: Analyze Results and Calculate Costs

Based on user requirements:

  1. Analyze usage trends from the query results
  2. Calculate costs Official Pricing (per 10,000 requests):
RegionWrite CostRead Cost
Beijing, Shanghai, Hangzhou, Shenzhen¥0.151¥0.0755
Hong Kong, Singapore, Silicon Valley, Frankfurt, Jakarta¥0.2651¥0.1326
  1. Present insights:

- Identify high-traffic feature views - Highlight usage patterns (spikes, trends) - Provide cost breakdown and optimization suggestions if applicable

  1. Offer next steps:

- Ask if the user wants to drill down into specific projects or feature views - Offer to calculate costs if not already done - Suggest further analysis options


Success Verification

The skill execution is successful if:

  1. ✅ Valid PAI-FeatureStore instance is found
  2. ✅ FeatureDB datasource is identified or selected
  3. ✅ Usage statistics are successfully retrieved
  4. ✅ Results are analyzed and presented clearly
  5. ✅ Cost calculations are accurate (if requested)
  6. ✅ Response language matches user's question language

For detailed verification steps, see references/verification-method.md.


Cleanup

This skill performs read-only operations and does not create any resources. No cleanup is required.


Best Practices

  1. Always confirm the RegionId with the user before executing any commands
  2. Use pagination properly when listing datasources to ensure all results are retrieved
  3. Provide context in analysis: Don't just show numbers—explain trends and patterns
  4. Offer actionable insights: Suggest which feature views or projects to investigate further
  5. Handle errors gracefully: If a project or feature view doesn't exist, guide the user to list all available options first
  6. Calculate costs accurately: Use the correct pricing tier based on the region
  7. Keep user engaged: After showing results, ask if they want to drill deeper or analyze specific aspects
  8. Decline out-of-scope requests politely: If a request is not about querying usage statistics, politely decline and list supported features

Reference Documentation

ReferenceDescription
RAM PoliciesRequired RAM permissions and policy configuration
Related APIsComplete list of APIs and CLI commands used
Verification MethodDetailed verification steps for each operation
CLI Installation GuideAliyun CLI installation and setup instructions
Acceptance CriteriaTesting patterns and validation criteria

平台分布

Codex

36.82%
按下载量换算92

Claude

30.43%
按下载量换算76

Cursor

18.53%
按下载量换算46

Gemini CLI

10.13%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills