360 Secure SkillHub
360 安全技能中心

Data Analytics

核心功能:通过Bash命令记录数据 ingestion、转换、查询、验证等全生命周期操作至本地日志,支持查看各环节近期记录、统计全日志摘要、搜索关键词、查看系统状态等。典型场景:数据操作追踪、审计溯源、数据治理、监控数据管道健康。输入为带参或无参Bash命令,输出为日志记录或统计/查询结果。

bytesagain
bytesagain
热度 23.64
最近更新 2026-03-20 00:26:54
分类:数据依赖:代码执行 / 读写文件应用场景:数据处理 / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add data-analytics
Metadata
version
1.0.0
name
Metabase
description
The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone wor data-analytics, clojure, analytics, bi.

Data Analytics

A data toolkit for logging and managing data pipeline operations. Each command records timestamped entries to dedicated log files, covering the full data lifecycle from ingestion through validation and profiling.

Data stored in ~/.local/share/data-analytics/

Commands

Command Description
ingest <input> Record an ingest entry. Without args, shows recent ingest entries.
transform <input> Record a transform entry. Without args, shows recent transform entries.
query <input> Record a query entry. Without args, shows recent query entries.
filter <input> Record a filter entry. Without args, shows recent filter entries.
aggregate <input> Record an aggregate entry. Without args, shows recent aggregate entries.
visualize <input> Record a visualize entry. Without args, shows recent visualize entries.
export <input> Record an export entry. Without args, shows recent export entries.
sample <input> Record a sample entry. Without args, shows recent sample entries.
schema <input> Record a schema entry. Without args, shows recent schema entries.
validate <input> Record a validate entry. Without args, shows recent validate entries.
pipeline <input> Record a pipeline entry. Without args, shows recent pipeline entries.
profile <input> Record a profile entry. Without args, shows recent profile entries.
stats Show summary statistics across all log files (entry counts, data size).
search <term> Search all log files for a term (case-insensitive).
recent Show the last 20 lines from history.log.
status Show health check info: version, data dir, total entries, disk usage.
help Show usage and available commands.
version Print version string (data-analytics v2.0.0).

Requirements

  • Bash 4+

When to Use

  • Tracking data ingestion, transformation, and query operations over time
  • Logging data pipeline steps for audit and reproducibility
  • Searching historical entries to trace when data was filtered, aggregated, or exported
  • Monitoring data operation health with status and stats commands
  • Recording schema changes and validation results for data governance

Examples

# Record a data ingestion event
data-analytics ingest "loaded 50k rows from sales_2026.csv"

# Log a transformation step
data-analytics transform "normalized column names, removed nulls"

# Search all logs for a dataset reference
data-analytics search "sales_2026"

# View overall statistics
data-analytics stats

# Check system health
data-analytics status

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com