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

ccdb-factor-searchccdb 因子搜索

Agent Skill

ccdb-factor-search 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,844

周安装

376

GitHub Stars

2

下载量

3,098
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ccdb-factor-search(ccdb 因子搜索)
来源仓库:https://github.com/fly5661/ccdb-factor-search
安装命令:
openclaw skills install ccdb-factor-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install ccdb-factor-search

简介

ccdb-factor-search 帮助筛选最适合的碳/排放因子,用于 PCF、LCA 等工作。

  • 适合在 OpenClaw 中进行碳核算、ESG 或供应链管理中的因子选择。
  • 通过 clawhub 安装,具体匹配逻辑需参考来源仓库说明。
  • 使用前应确认项目范围和方法论要求,避免误用因子。
  • 建议核对原始文档了解支持的行业和默认推荐策略。

SKILL.md

name
ccdb-factor-search
description
CCDB碳因子查询与匹配。Find and select the best-fit CCDB carbon / emission factor for PCF, LCA, carbon accounting, ESG, and supply-chain work — not just a raw search result list. Supports 碳因子 / 排放因子 / 碳足迹因子 / emission factor / carbon factor / ecoinvent / ecoinvent factor / ecoinvent 因子 / 因子匹配 / 选因子 / LCA因子 / PCF因子 / scope 3 因子 / BOM因子匹配. Covers a broad range of factor sources across China and international datasets, including ecoinvent-related records and other mainstream public or institutional sources. Also activate proactively when 产品碳足迹计算 / LCA建模 / 碳核算 / 供应链排放测算 clearly need factor data even if the user did not explicitly say "查因子".

CCDB Factor Search

Find the best-fit CCDB emission factor for carbon footprint, PCF, LCA, and carbon accounting work — not just a raw result list.

This skill is built for the real business question:

Which factor should I actually use?

It searches in Chinese + English, compares candidates, filters weak matches, explains risks, and returns a recommended factor with direct-use guidance.

It is especially useful when the database is broad and the user needs help choosing from domestic + international sources, including ecoinvent and other mainstream institutional datasets.


Why this is better than plain search

  • plain search → returns a list of possible factors
  • this skill → recommends the best-fit factor for the actual use case
  • plain search → easy to mis-pick wrong region / wrong unit / wrong factor type
  • this skill → filters weak matches and explains risks before use
  • plain search → stops at retrieval
  • this skill → supports real carbon-accounting decisions

What this skill does

It can:

  • search CCDB factors in Chinese + English
  • compare multiple candidates and select the best-fit one
  • distinguish carbon footprint factor vs emission factor
  • reject weak matches such as wrong-region, wrong-unit, or spend-based factors
  • explain whether a result is safe to use directly, review-first, estimate-only, or not suitable
  • work across a broad factor data range, including China + international sources and ecoinvent-related records where available in CCDB

Best-fit use cases

Use this skill when you need to:

  • 查碳因子 / 排放因子 / 碳足迹因子
  • 因子匹配 / 选因子 / 因子筛选
  • LCA 因子 / PCF 因子 / scope 3 因子
  • BOM 因子匹配 / 供应商材料因子匹配
  • 判断某个因子能不能直接用于正式报告
  • 区分 carbon footprint factor vs emission factor
  • 避免选错 地区 / 单位 / 因子类型 / 金额口径因子

Also activate proactively when:

  • user requests 产品碳足迹建模 / LCA建模 / 排放清单核算 / 情景测算 and factor data is clearly needed
  • user provides BOM or material list and asks for carbon footprint calculation
  • task involves 供应链碳排放 / scope 3 核算 and activity data is present but no factor has been supplied

Before vs after

User asks

帮我找中国最新全国电力因子。

Plain search might return

  • multiple electricity-related candidates
  • mixed carbon-footprint vs emission-factor results
  • unclear region / year / direct-use suitability

This skill returns

  • one recommended candidate
  • why it was selected
  • risk notes
  • alternatives considered
  • whether it is safe for direct use or should be reviewed first

Very short examples

  • 查询最新中国全国电力因子
  • 帮我找聚酯切片的碳因子
  • 这个因子能不能直接用于正式报告?
  • Compare carbon footprint factor vs emission factor for electricity
  • Find the best CCDB factor for primary aluminium

How to invoke

Natural-language examples

  • 查询最新中国全国电力因子
  • 帮我找聚酯切片的碳因子,如果中文结果不好就切英文继续找
  • 这个因子能不能直接用于正式报告?
  • Compare carbon footprint factor vs emission factor for electricity
  • Find the best CCDB factor for primary aluminium, prefer physical-unit factor

Script examples

python3 scripts/query_ccdb.py --auto --user-request "查询最新的中国全国电力因子,单位最好是 kgCO2e/kWh。"
python3 scripts/query_ccdb.py --query "electricity" --lang en --top 5

Typical example prompts

Example 1

查询最新的中国全国电力因子,单位最好是 kgCO2e/kWh。

Expected behavior:

  • prioritize China electricity candidates
  • prefer recent applicable years
  • distinguish carbon footprint factor vs emission factor
  • return direct-use guidance

Example 2

帮我找聚酯切片的碳因子,如果中文结果不好就切英文继续找。

Expected behavior:

  • derive PET / polyester synonyms
  • search bilingually
  • compare candidates across rounds
  • return one recommended factor plus alternatives

Example 3

请帮我找原铝的排放因子,优先物理量单位,不要误选成按金额计算的因子。

Expected behavior:

  • reject or downgrade spend-based factors
  • prefer physical-unit candidates
  • explain why the chosen factor is safer

Example 4

这个因子能不能直接用于正式报告?

Expected behavior:

  • explain whether it is direct-use / needs review / estimate-only / not suitable

Standard output example

推荐结果:
  匹配等级: close_match
  因子名称: 电力
  因子值: 0.5777
  单位: kgCO2e/kWh
  适用地区: 中国
  适用年份开始: 2024
  适用年份结束: 2024
  发布年份: 2024
  来源机构: 生态环境部
  来源级别: 国家排放因子
  使用建议: 建议人工复核后使用

风险与注意事项:
  - 这是碳足迹因子,不等同于 CO2 排放因子
  - 若用于正式核算或核查,请先确认适用口径

Key fields to return when possible

A good result should explain these fields clearly:

  • 因子名称 / name
  • 因子值 / factor value
  • 单位 / unit
  • 适用地区 / countries
  • 适用年份开始 / 结束 / applyYear ~ applyYearEnd
  • 发布年份 / year
  • 来源机构 / institution
  • 来源级别 / sourceLevel
  • 来源说明 / source
  • 使用建议 / direct-use guidance

Match classes

  • direct_match → highly aligned, usually safe to use after quick sanity check
  • close_match → mostly aligned, should usually be reviewed before formal reporting
  • fallback_generic → usable only as rough estimate / placeholder
  • not_suitable → should not be used directly
  • api_unavailable → no recommendation; retry later

What this skill must do

1. Parse the real search intent

Identify as much as possible from the request:

  • material / process / activity
  • region
  • year
  • unit
  • use purpose
  • whether the user wants 碳足迹因子 or 排放因子

2. Search bilingually

For non-trivial factor matching, do not search in only one language. Always try:

  • Chinese core term
  • English equivalent
  • a few nearby synonyms where needed

3. Rank candidates instead of trusting the first hit

Do not judge a factor from one field only. Key ranking dimensions include:

  • semantic fit (name, description, specification)
  • region fit (countries)
  • unit fit (unit)
  • applicability time (applyYear ~ applyYearEnd)
  • publication year (year)
  • authority (institution, sourceLevel)
  • factor-type fit (碳足迹因子 vs 排放因子)

4. Be conservative

Do not force a recommendation when evidence is weak. Prefer:

  • not_suitable
  • api_unavailable

over a misleading confident answer.

5. Explain the choice

The final answer should explain:

  • what was selected
  • why it was selected
  • what risks remain
  • what alternatives were considered
  • whether the result can be used directly or only as reference

Key working rules

Carbon footprint factor vs emission factor

These are not always interchangeable.

  • If the user explicitly asks for 碳足迹 / carbon footprint / PCF, prefer carbon footprint factors.
  • If the user explicitly asks for 排放因子 / CO2 emission factor / emissions accounting, prefer emission factors.
  • If the user only says something vague like “电力因子”, warn that multiple factor types may exist and should not be mixed directly.

China-first bias for Chinese requests

If:

  • the request is in Chinese
  • no explicit region is given
  • the query is geo-sensitive (especially 电力 / 蒸汽 / 天然气)

then Chinese candidates should be preferred by default.

Region warning for geo-sensitive factors

For electricity / steam / natural gas queries, if region is missing, surface that clearly as a risk.

Latest-factor requests

If the user asks for “最新 / latest”, ranking should prefer more recent applyYear, not only lexical similarity.

No spend-based mismatch

If the user wants a physical activity factor, do not recommend spend-based / monetary-unit factors as if they were equivalent.


Implementation notes

  • Main script: scripts/query_ccdb.py
  • API contract: references/api-contract.md
  • Matching logic notes: references/matching-strategy.md
  • Output template: references/output-template.md

If the API contract changes, update the script and references/api-contract.md together.

Keep scoring / filtering logic in code rather than overloading SKILL.md with implementation detail.


Advanced fallback / debugging

Script unavailable fallback

If scripts/query_ccdb.py is missing or fails to run, fall back to a direct API call:

curl -s -X POST https://gateway.carbonstop.com/management/system/website/searchFactorDataMcp \
  -H 'Content-Type: application/json' \
  -d '{"sign":"<md5(\"mcp_ccdb_search\"+keyword)>","name":"<keyword>","lang":"zh"}'

The sign is md5("mcp_ccdb_search" + keyword). In Python:

import hashlib, requests
keyword = "电力"
sign = hashlib.md5(("mcp_ccdb_search" + keyword).encode()).hexdigest()
resp = requests.post("https://gateway.carbonstop.com/management/system/website/searchFactorDataMcp",
    json={"sign": sign, "name": keyword, "lang": "zh"})
print(resp.json())

Even in fallback mode, apply the same ranking, matching, and output rules defined above. Do not return raw API results without analysis.


Packaging guidance

For public packaging, keep the skill folder lean. Recommended public package contents:

  • SKILL.md
  • README.md
  • _meta.json
  • CHANGELOG.md
  • scripts/query_ccdb.py
  • references/api-contract.md
  • references/matching-strategy.md
  • references/output-template.md
  • evals/evals.json

Draft notes and publishing scratch files should not be included in the final public package.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

展示第三方安全扫描或审计结果

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

平台分布

OpenClaw

80.9%
按下载量换算2,506

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills