Token导航 LogoToken导航

Agent Skill · 研究检索

sf-business-data-export(顺丰业务数据导出)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

sf-business-data-export 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 32,689。

总安装 2,472周安装 103GitHub Stars 公开资料未说明下载 824核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:sf-business-data-export(顺丰业务数据导出)
来源仓库:https://github.com/evonne528/sf-business-data-export
安装命令:
openclaw skills install sf-business-data-export
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install sf-business-data-export

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

将 Salesforce 业务数据按自然语言请求导出为 Excel 文件,支持超报表限制的大数据集。适用于数据分析、报表生成与跨系统数据迁移等研究检索任务。通过 openclaw skills install sf-business-data-export 安装,需确认 Salesforce API 与写入权限。

依赖 Salesforce 查询接口与本地文件操作,建议检查 API 配额与磁盘空间。使用前请核实是否允许访问 Salesforce 数据、执行导出操作及写入文件,注意数据安全与合规。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install sf-business-data-export;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

sf-business-data-export 怎么安装?

在终端执行 openclaw skills install sf-business-data-export。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sf-business-data-export 支持哪些 AI 工具?

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

sf-business-data-export 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

sf-business-data-export 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

sf-business-data-export 用的人多吗?

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

sf-business-data-export 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
sf-business-data-export

顺丰业务数据导出 · 本页

2,472—只读MIT-0有提醒

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

SKILL.md 原文

name
sf-business-data-export
description
Export Salesforce business data into business-readable Excel files from natural-language requests. Use when pull large Salesforce datasets beyond Report limits, map layout-visible fields into readable exports, generate object-level SOQL, handle polymorphic relationship fields, traverse parent-child relationships, run two-step detail queries, export through SOAP with queryMore, or prepare review materials for business users.

SF Business Data Export

Interpret the user's request as a data-export task, not just a query-writing task. Produce files that business users can review directly.

Checklist Summary

Current status: ready for limited real-world trial use.

Checklist conclusion:

  • target definition: passed
  • Definition of Done: passed
  • input definition: passed
  • execution flow: passed
  • result verifiability: passed
  • failure handling and degradation: passed
  • reusable logic extraction into scripts/ and references/: mostly passed
  • minimum practical workflow closure: mostly passed

Current strengths:

  • the skill now has explicit execution rules, validation rules, fallback rules, and result-reporting rules
  • the skill no longer depends on hidden operator knowledge for core workflow decisions
  • bundled references, scripts, sample inputs, and SOP documents support repeatable local execution

Known remaining gaps:

  • there is not yet a single orchestration command that runs the full export flow from Salesforce retrieval through review package output
  • current page field collection still depends on execution-time metadata collection or an explicit field list artifact, which is acceptable but not fully automated

Recommended next step:

  • validate the skill with one or two real export requests and use the trial runs to decide whether a full orchestration script is needed

Normalize the Request

Convert the natural-language request into an export definition before writing SOQL:

  • target objects
  • business purpose
  • time range
  • filter conditions
  • whether the export is for business review
  • whether to use current page-visible fields as the baseline field set
  • whether owner, parent-owner, or other relationship context must be included
  • desired output format

If the request is ambiguous, prefer a conservative, review-oriented export that includes more context fields rather than fewer.

Input Definition

Normalize every request into explicit execution inputs before reading metadata or writing SOQL.

Required inputs:

  • target object or objects
  • business question or review purpose
  • field source, choosing either current page-visible fields or an explicit field list
  • scope definition from time range, filter conditions, parent-scope conditions, or an explicit full-scope export
  • output intent, distinguishing review-ready export from raw extraction

Optional inputs:

  • explicit field list
  • key fields that must be present in the export
  • output format
  • language preference for labels
  • consolidation preference across objects
  • profile name
  • record type name for each target object
  • owner, parent-owner, or other relationship context

Input fallback rules:

  • if current page-visible fields cannot be determined reliably, fall back to an explicit field list instead of assuming success
  • if scope is not provided, record the export as full-scope rather than inventing additional filters
  • if multiple objects are requested, normalize fields, filters, and record type context per object instead of assuming one shared configuration
  • if key fields are not explicitly named, do not invent them; only treat explicitly requested key fields as mandatory

Page Resolution Rules

When current page-visible fields are used as the field baseline, resolve the page in this order:

  1. find the relevant Lightning page first
  2. if no Lightning page is available, or the Lightning page does not provide usable field information, fall back to the Page Layout

Profile and record type rules:

  • if the user specifies a profile, check whether the target object has multiple record types in that profile context
  • if the user specifies a record type for an object but does not specify a profile, resolve the page using the current user's profile
  • if the user specifies both a profile and record types for all target objects, resolve pages directly from that combination

Ambiguity handling for page resolution:

  • if the user specifies a profile and the target object has multiple record types but the user does not specify which record type to use, ask the user to provide the record type before continuing
  • if the user does not specify either profile or record type, default to the current user's profile
  • if the user does not specify either profile or record type and an object has multiple record types, tell the user that the workflow will use the current user's profile and may choose a record-type page arbitrarily, then ask whether to proceed
  • do not claim that page-visible fields are reliable until the page resolution path is known

Execution Flow

Execute in this order unless there is a concrete reason to deviate. Apply steps 3 through 8 per object when the request includes multiple objects.

  1. Normalize the request into an export definition.
  2. Validate minimum executable inputs.
  3. Resolve page context for each object.
  4. Resolve the field baseline for each object.
  5. Generate a business-readable field catalog for each object.
  6. Choose the query strategy for each object in a fixed order.
  7. Export data for each object through Salesforce SOAP query and queryMore.
  8. Validate per-object outputs against the DoD checks.
  9. Assemble the manifest and review package outputs.
  10. Mark the export as complete only if all requested objects pass validation.

Flow rules:

  • do not move to metadata retrieval or SOQL generation until the minimum executable inputs are known
  • if an object cannot resolve current page-visible fields reliably, fall back to an explicit field list before continuing
  • if fallback still does not provide a reliable field baseline, stop that object and record the failure instead of inventing fields
  • do not reuse unresolved page context, record type assumptions, or field baselines across different objects
  • do not treat an object as successfully exported until output validation passes

Query strategy selection order:

  1. use a direct query when the object can be filtered and selected without special handling
  2. apply polymorphic owner handling when OwnerId.referenceTo requires it
  3. apply parent traversal when scope is determined from a parent object
  4. apply a two-step detail query when one-query filtering is not reliable or supported

Failure and stop conditions:

  • if profile and record type ambiguity blocks page resolution, ask the user or follow the documented proceed-confirmation rule before continuing
  • if required metadata such as describe, Lightning page, FlexiPage, or Layout cannot be retrieved and no reliable fallback exists, mark the affected object as failed
  • if the generated SOQL cannot be made valid for the required scope, do not silently downgrade the export; mark the affected object as failed
  • if row count, field coverage, or object completeness validation fails, do not mark the export as complete

Field Selection

Use retrieved Lightning page metadata as the primary source for current page-visible fields when it provides usable field information. If Lightning page metadata is unavailable or does not expose enough field information, fall back to Layout metadata. Use FlexiPage metadata to identify page-specific field usage before falling back to Layout. Do not assume Report columns are sufficient.

When building export columns:

  • include resolved page-visible business fields first
  • include key technical identifiers such as Id, OwnerId, and lookup ids when they are useful for traceability
  • include review-assistance fields such as owner name, sales team, sales group, parent opportunity name, or parent owner fields when they affect decision-making
  • exclude fields that are not present in describe results even if they appear in layout metadata

Prefer Chinese labels for the final Excel header row when labels are available.

Query Strategy

Choose the query pattern by object shape.

Direct owner objects

If OwnerId.referenceTo is only User, query owner fields directly, for example:

  • Owner.Name
  • Owner.CRM_Sales_Team__c
  • Owner.CRM_Sales_Group__c

Polymorphic owner objects

If OwnerId.referenceTo includes both User and Group, do not rely on Owner.Custom_Field__c in WHERE. Use this pattern instead:

  • filter with OwnerId IN (SELECT Id FROM User WHERE ...)
  • expose owner context in SELECT with TYPEOF Owner ...

This pattern avoids failures like No such column ... on entity 'Name'.

Parent traversal objects

If the current object does not expose owner or scope fields directly, determine scope from the parent object. Typical pattern:

  • current object has CRM_Opportunity__c
  • scope is determined from Opportunity.Owner
  • query with parent semi-join where supported

Detail objects requiring two-step queries

If a detail object cannot be filtered cleanly in one SOQL query, use a staged approach:

  1. export parent ids with the full scope filter
  2. split parent ids into chunks
  3. query child/detail rows with IN (...)
  4. merge all rows into one export file

Use this approach for objects like order details when SOQL relationship filtering is too limited.

Export Requirements

Export through Salesforce SOAP API using query and queryMore when result volume or column flexibility exceeds Report usefulness. Do not stop at CSV if the user asked for business review output. Generate .xlsx files with:

  • Chinese label headers when available
  • one file per object unless the user requests consolidation
  • a manifest containing object name, file path, row count, and column count

Definition of Done

Treat the export as complete only when all requested objects have review-ready outputs and all validation checks pass.

Minimum required outputs:

  • a field catalog for each exported object
  • an object-level SOQL file for each exported object
  • an .xlsx file for each exported object unless the user explicitly requests a different format
  • a manifest summarizing all outputs and validation results

Field coverage rules:

  • determine the expected field set from either current page-visible fields or fields explicitly requested by the user
  • output a field catalog containing at least API name, user-language label when available, source of inclusion, and export status
  • count field coverage as exported expected fields / total expected fields
  • treat the export as passing field coverage when expected field coverage is at least 70 percent
  • if the user explicitly requested key fields, do not treat those as optional; if any key field is missing, mark the object as failed unless the field is unavailable in describe or inaccessible due to permissions and this is called out in the manifest

Row count validation rules:

  • record the row count returned by each SOQL query
  • record the final row count written into each Excel file
  • if the export uses staged queries, chunking, or merge steps, also record raw row count before deduplication and final row count after deduplication
  • treat any mismatch between expected final query row count and final Excel row count as a failure

Object completeness rules:

  • the number of requested objects must match the number of output object files
  • do not silently skip objects that fail due to permissions, unsupported query patterns, missing metadata, or other blockers
  • list failed objects explicitly in the manifest with the reason for failure

Review-readiness rules:

  • use user-language labels for headers when available, preferring Chinese labels when available
  • include traceability fields such as ids and relevant lookup ids when needed to support review
  • call out records that require manual review because they cannot be safely classified by rules alone

Applicability

Use this skill when the task is to turn a Salesforce business question into review-ready data exports rather than only produce SOQL.

Good fit:

  • medium to large exports where Salesforce Reports are insufficient for field coverage, row volume, or relationship handling
  • exports that must be readable by business users in Excel
  • exports that depend on layout-visible fields, owner context, parent-owner context, or parent-child traversal
  • exports that require polymorphic owner handling, two-step detail querying, or manifest-based validation

Not a good fit:

  • requests that only need a temporary SOQL statement and no file outputs
  • requests that only need raw CSV extraction and do not require business-readable labels or review materials
  • ultra-large throughput-first extraction jobs where Bulk API is a better fit than SOAP query/queryMore
  • exports whose business classification rules are still undefined and cannot be resolved conservatively

When the request is ambiguous, prefer a conservative review-oriented export with more context fields, but do not claim success if requested objects, required fields, or validation outputs are missing.

Dependencies

This skill assumes the execution environment can both query Salesforce and produce review-ready files locally.

Required capabilities:

  • authenticated Salesforce access through Salesforce CLI
  • ability to retrieve object describe metadata
  • ability to retrieve Layout metadata for business-visible field selection
  • ability to retrieve FlexiPage metadata when page-specific fields must supplement layout fields
  • ability to execute Salesforce SOAP query and queryMore
  • ability to generate .xlsx files locally

Current page field baseline:

  • if the export is defined by current page-visible fields, the workflow must have a reliable source for those fields from metadata or user-provided context
  • if current page-visible fields cannot be determined reliably, fall back to explicit user-requested fields or ask for the field list instead of assuming success

Validation outputs are mandatory:

  • field catalogs must show what was expected, what was exported, and what was missing
  • manifests must show per-object output files, row counts, column counts, and failure reasons when present

Result Verifiability

Every export result must be independently verifiable by a user reviewing the output package.

The result package must make the following visible for each object:

  • what was done
  • what was not done
  • what evidence was used
  • where failures occurred
  • what the user should do next when the export is incomplete

Completed work must be visible:

  • list every generated file for the object
  • show the resolved field baseline and the final exported field set
  • show the row counts used for validation
  • show whether the object passed or failed validation

Incomplete work must be visible:

  • list missing fields, skipped objects, failed objects, and unresolved page-resolution cases explicitly
  • do not hide fallback behavior such as switching from current page-visible fields to an explicit field list
  • do not report partial object output as complete if validation did not pass

Evidence must be visible:

  • keep the field catalog, object-level SOQL, and manifest as user-reviewable artifacts
  • record the field source used for the export, such as Lightning page, FlexiPage, Layout, or explicit user-provided fields
  • record the validation evidence used to determine success or failure, including field coverage and row-count comparisons

Failure location must be visible:

  • identify the failed stage for each failed object, such as page resolution, metadata retrieval, field resolution, SOQL generation, SOAP export, Excel generation, or validation
  • record a short reason that explains the blocker without forcing the user to inspect logs first

Next actions must be visible:

  • when the export is incomplete, tell the user the next action needed to proceed, such as providing a record type, providing an explicit field list, confirming profile-based page selection, fixing permissions, or retrying after metadata access is available
  • if no safe automatic continuation exists, say that clearly instead of implying that the export can continue unchanged

Failure Handling and Degradation

Handle failures by using explicit fallback rules first, then recording object-level failure when no safe fallback remains. Do not convert unresolved failures into silent partial success.

Failure categories:

  • input ambiguity
  • page resolution failure
  • metadata failure
  • field resolution failure
  • query generation failure
  • export execution failure
  • validation failure

Default handling by failure category:

  • input ambiguity: ask the user when the ambiguity changes page resolution, scope, key fields, or requested objects; otherwise follow the documented fallback or proceed-confirmation rule
  • page resolution failure: fall back through the documented page resolution order; if no reliable page source remains, fail the affected object
  • metadata failure: retry only through documented metadata fallbacks such as Lightning page to Layout; if required metadata still cannot be retrieved, fail the affected object
  • field resolution failure: fall back from current page-visible fields to an explicit field list when available; if no reliable field baseline can be established, fail the affected object
  • query generation failure: try the next allowed query strategy only when it preserves the requested scope and review intent; if no valid strategy remains, fail the affected object
  • export execution failure: fail the affected object and preserve generated evidence such as SOQL, field catalogs, partial counts, or error messages
  • validation failure: keep the generated artifacts for inspection, but mark the affected object as failed

Allowed degradation paths:

  • Lightning page field resolution to Layout field resolution
  • current page-visible field baseline to explicit user-provided field list
  • direct query strategy to polymorphic owner handling when required by object shape
  • direct or polymorphic query strategy to parent traversal when scope must be resolved from a parent object
  • one-query detail extraction to a two-step detail query when one-query filtering is not reliable or supported

Disallowed degradation paths:

  • do not narrow the requested scope only to make the query succeed
  • do not remove explicitly requested key fields without recording object failure
  • do not replace failed validation with a warning while still marking the object as successful
  • do not silently skip objects, fields, or relationship context to produce a cleaner-looking output package

Object-level and job-level rules:

  • evaluate success and failure per object first
  • allow successful objects to keep their generated outputs even if another object fails
  • if any requested object fails, do not mark the overall export as complete
  • when the overall export is not complete, state which objects succeeded, which failed, and what action is required to continue

Review Package Output

When the export is for review, follow the Definition of Done output and validation requirements. Use the review package step to assemble the required field catalogs, object-level SOQL files, Excel files, and manifest into a business-readable handoff.

Bundled Resources

Use scripts in scripts/ for deterministic tasks instead of rewriting logic in the prompt. Add references in references/ for:

  • polymorphic-owner-patterns.md
  • parent-traversal-patterns.md
  • review-package-format.md
  • end-to-end-usage.md
  • page-field-collection-sop.md
  • sample inputs under references/examples/

Provide deterministic scripts in scripts/ for:

  • preflight_check.py
  • collect_metadata.py
  • build_field_catalog.py
  • validate_export_results.py
  • write_review_manifest.py

Keep SKILL.md focused on decision-making and workflow. Move object-specific mappings and reusable implementation details into scripts or references.

平台分布

OpenClaw

85.29%
按下载量换算703

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills