← 返回 Skills 市场
bytesagain-lab

Dataview

作者 bytesagain-lab · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
280
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install dataview
功能描述
Explore CSV and JSON files with quick queries, filters, and aggregation. Use when inspecting data, running queries, filtering rows, aggregating.
使用说明 (SKILL.md)

DataView

A data processing toolkit for ingesting, transforming, querying, and managing data entries from the command line. All operations are logged with timestamps and stored locally.

Commands

Data Operations

Each data command works in two modes: run without arguments to view recent entries, or pass input to record a new entry.

Command Description
dataview ingest \x3Cinput> Ingest data — record a new ingest entry or view recent ones
dataview transform \x3Cinput> Transform data — record a transformation or view recent ones
dataview query \x3Cinput> Query data — record a query or view recent ones
dataview filter \x3Cinput> Filter data — record a filter operation or view recent ones
dataview aggregate \x3Cinput> Aggregate data — record an aggregation or view recent ones
dataview visualize \x3Cinput> Visualize data — record a visualization or view recent ones
dataview export \x3Cinput> Export data — record an export entry or view recent ones
dataview sample \x3Cinput> Sample data — record a sample or view recent ones
dataview schema \x3Cinput> Schema management — record a schema entry or view recent ones
dataview validate \x3Cinput> Validate data — record a validation or view recent ones
dataview pipeline \x3Cinput> Pipeline management — record a pipeline step or view recent ones
dataview profile \x3Cinput> Profile data — record a profile or view recent ones

Utility Commands

Command Description
dataview stats Show summary statistics — entry counts per category, total entries, disk usage
dataview export \x3Cfmt> Export all data to a file (formats: json, csv, txt)
dataview search \x3Cterm> Search all log files for a term (case-insensitive)
dataview recent Show last 20 entries from activity history
dataview status Health check — version, data directory, entry count, disk usage, last activity
dataview help Show available commands
dataview version Show version (v2.0.0)

Data Storage

All data is stored locally at ~/.local/share/dataview/:

  • Each data command writes to its own log file (e.g., ingest.log, transform.log)
  • Entries are stored as timestamp|value pairs (pipe-delimited)
  • All actions are tracked in history.log with timestamps
  • Export generates files in the data directory (export.json, export.csv, or export.txt)

Requirements

  • Bash (with set -euo pipefail)
  • Standard Unix utilities: date, wc, du, grep, tail, cat, sed
  • No external dependencies or API keys required

When to Use

  • To log and track data processing operations (ingest, transform, query, etc.)
  • To maintain a searchable history of data viewing and analysis activities
  • To export accumulated records in JSON, CSV, or plain text format
  • As part of larger automation or data inspection workflows
  • When you need a lightweight, local-only data operation tracker

Examples

# Record a new ingest entry
dataview ingest "loaded sales_report.csv 2500 rows"

# View recent transform entries
dataview transform

# Record a query
dataview query "top 10 products by revenue"

# Filter data
dataview filter "region=APAC"

# Search across all logs
dataview search "sales"

# Export everything as CSV
dataview export csv

# Check overall statistics
dataview stats

# View recent activity
dataview recent

# Health check
dataview status

Powered by BytesAgain | bytesagain.com | [email protected] 💬 Feedback & Feature Requests: https://bytesagain.com/feedback

安全使用建议
This skill appears coherent and local-only: it logs actions and stores/exports them under ~/.local/share/dataview and does not ask for credentials or perform network calls in the visible code. Before installing, consider: (1) inspect the complete script file on disk — the script content in the review input was truncated, so confirm the remainder contains no unexpected behavior; (2) avoid writing sensitive data (passwords, API keys, or PII) into dataview entries since they are stored and searchable in plain text and exported to files; (3) the JSON export code uses simple text assembly and may have formatting quirks — verify exported files before sharing. If you need higher assurance, run the script in a sandboxed account or review the full file contents locally prior to installation.
功能分析
Type: OpenClaw Skill Name: dataview Version: 2.0.0 The skill is a logging utility for data operations that stores entries in ~/.local/share/dataview/. It contains a flag injection vulnerability in the _search function of scripts/script.sh because the $term variable is passed directly to grep, allowing an attacker to provide flags (e.g., -f /etc/passwd) to read unauthorized files. Additionally, the _export function lacks proper output sanitization when generating JSON and CSV files, which can lead to data injection or corruption if the logged values contain quotes or delimiters.
能力评估
Purpose & Capability
The name/description (DataView: inspect/query/filter/aggregate CSV/JSON) matches the provided SKILL.md and script: commands create/read local logs and produce exports. Required tools (date, wc, du, grep, tail, cat, sed) are exactly the standard utilities the script uses.
Instruction Scope
SKILL.md instructs only on using local commands and the script implements those commands. The runtime behavior is limited to reading/writing files under the user's HOME data directory and searching those logs — it does not attempt to read system config, other users' data, or call external endpoints in the visible code.
Install Mechanism
There is no install spec (instruction-only), and the included script is a plain shell script. Nothing is downloaded from external URLs or extracted; no additional packages are installed by the skill itself.
Credentials
No environment variables or credentials are required. The script relies on HOME to determine the data directory (standard and proportional). There are no requests for unrelated secrets or service tokens.
Persistence & Privilege
always:false and user-invocable; the skill only creates and writes files in its own data directory (~/.local/share/dataview). It does not request elevated privileges or attempt to modify other skills or system-wide agent settings in the visible code.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dataview
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dataview 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Domain-specific upgrade
元数据
Slug dataview
版本 2.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Dataview 是什么?

Explore CSV and JSON files with quick queries, filters, and aggregation. Use when inspecting data, running queries, filtering rows, aggregating. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 280 次。

如何安装 Dataview?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dataview」即可一键安装,无需额外配置。

Dataview 是免费的吗?

是的,Dataview 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Dataview 支持哪些平台?

Dataview 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dataview?

由 bytesagain-lab(@bytesagain-lab)开发并维护,当前版本 v2.0.0。

💬 留言讨论