Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

writing-data写入数据

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

979

周安装

40

GitHub Stars

公开资料未说明

下载量

314
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:writing-data(写入数据)
来源仓库:https://github.com/tracemem/tracemem-skills
仓库路径:skills/writing-data
安装命令:
npx skills add tracemem/tracemem-skills --skill "writing-data"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

AgentSkills.tonpx skills
npx skills add tracemem/tracemem-skills --skill "writing-data"

简介

辅助数据整理、表格处理和指标计算,支持 CSV/Excel 分析。

  • 可清洗字段、汇总数据、发现异常并生成统计口径说明。
  • 需确认数据来源、字段含义和时间范围后再进行分析。
  • 涉及敏感数据或批量写回时,应先获取权限并做好脱敏处理。
  • writing-data 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
writing-data
description
Instructions for writing and efficiently storing data in TraceMem.

Skill: TraceMem Writing Data (Governed Writes)

Purpose

This skill explains how to modify data (insert, update, delete) within TraceMem's governance model. Writing is a high-stakes operation that often triggers policy checks.

When to Use

  • When you need to create records, update status, or delete resources.
  • After you have read the current state and determined a change is necessary.

When NOT to Use

  • Do not write if you are in propose mode (unless prototyping in a sandbox, but generally propose implies read-only).
  • Do not write without first evaluating relevant policies (unless you are sure the Data Product has no attached blocking policies).

Core Rules

  • Verify Policy First: Before writing, it is best practice to call decision_evaluate to check if your proposed action is allowed.
  • One Operation Per Product: Use _insert, _update, or _delete products appropriately. DO NOT try to insert on an update product.
  • Governance: Writes are the primary target for human approvals. Be prepared for a write to be blocked.
  • Purpose: Like reads, writes require a valid purpose.

Correct Usage Pattern

  1. Check Policy (Recommended):

Call decision_evaluate with your proposed inputs. If outcome is deny, stop. If requires_exception, request approval.

  1. Execute Write:

Call decision_write with: - product: The write-capable data product. - purpose: Valid purpose. - mutation: - operation: one of insert, update, delete. - records: Array of objects to write.

*Example*:

   {
     "product": "orders_insert",
     "mutation": {
       "operation": "insert",
       "records": [{"user_id": 5, "item": "sku-123"}]
     }
   }
  1. Verify Result:

Check the response for status: "executed". If the product has return_created: true, capture the returned IDs.

Common Mistakes

  • Ignoring Policy: Attempting to write immediately without checking policy. TraceMem will block you if a policy denies it, but it's better to ask permission (evaluate) than forgiveness.
  • Confusing Operations: Trying to delete using an insert product.
  • Partial Updates: Assuming update behaves like a patch (merging fields). Check the Data Product definition; usually updates replace specific fields or require full records depending on configuration.

Safety Notes

  • Idempotency: Use idempotency_key if there is a risk of retrying the same write multiple times (e.g., network timeout).
  • Commit: Remember that writes are part of the decision. If you rollback the decision (or fail to close it with commit), the writes may be rolled back (depending on connector implementation), but typically TraceMem connectors aim for immediate consistency within the decision scope. *Correction*: In most TraceMem connectors, writes execute immediately but are *logically* bracketed by the decision trace. Always assume "Fail Closed" means the action might have happened if the network call succeeded; the decision trace just records it as "failed" workflow. *However*, strictly governed connectors might buffer writes until commit. Assume writes are real and immediate unless specified otherwise.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

27.41%
按下载量换算86

Antigravity

23.36%
按下载量换算73

Claude Code

15.51%
按下载量换算49

Gemini CLI

12.15%
按下载量换算38

Cursor

7.39%
按下载量换算23

windsurf

3.37%
按下载量换算11

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills