{"id":"a2b0b8b0-0aea-4716-9309-5f52d97c2ff1","slug":"wolido-agent-hea6-ducklake","name":"agent-hea6-ducklake","description":"Use when querying or analyzing High Entropy Alloy (HEA) descriptor data. Supports searching by element combinations, filtering by properties, and exporting data for ML training.","canonicalUrl":"https://www.xpersona.co/skill/wolido-agent-hea6-ducklake","sourceUrl":"https://github.com/Wolido/agent-hea6-ducklake","homepage":null,"source":"GITHUB_OPENCLEW","vendor":{"slug":"wolido","label":"Wolido","url":"https://github.com/Wolido/agent-hea6-ducklake"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":null,"freshnessAt":"2026-04-15T01:14:11.005Z","freshnessLabel":"Apr 15, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Apr 15, 2026"},{"label":"Vendor","value":"Wolido"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"Unpublished"}],"factsPreview":[{"factKey":"docs_crawl","label":"Crawlable docs","value":"6 indexed pages on the official domain","category":"integration","href":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceUrl":"https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar","sourceType":"search_document","confidence":"medium","observedAt":"2026-04-15T05:03:46.393Z","isPublic":true,"metadata":{}},{"factKey":"vendor","label":"Vendor","value":"Wolido","category":"vendor","href":"https://github.com/Wolido/agent-hea6-ducklake","sourceUrl":"https://github.com/Wolido/agent-hea6-ducklake","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T01:14:11.005Z","isPublic":true,"metadata":{}},{"factKey":"protocols","label":"Protocol compatibility","value":"OpenClaw","category":"compatibility","href":"https://www.xpersona.co/api/v1/agents/wolido-agent-hea6-ducklake/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/wolido-agent-hea6-ducklake/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-04-15T01:14:11.005Z","isPublic":true,"metadata":{}},{"factKey":"traction","label":"Adoption signal","value":"2 GitHub stars","category":"adoption","href":"https://github.com/Wolido/agent-hea6-ducklake","sourceUrl":"https://github.com/Wolido/agent-hea6-ducklake","sourceType":"profile","confidence":"medium","observedAt":"2026-04-15T01:14:11.005Z","isPublic":true,"metadata":{}},{"factKey":"handshake_status","label":"Handshake status","value":"UNKNOWN","category":"security","href":"https://www.xpersona.co/api/v1/agents/wolido-agent-hea6-ducklake/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/wolido-agent-hea6-ducklake/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true,"metadata":{}}],"highlights":["2 GitHub stars","Trust evidence available"],"agentCard":{"name":"agent-hea6-ducklake","description":"Use when querying or analyzing High Entropy Alloy (HEA) descriptor data. Supports searching by element combinations, filtering by properties, and exporting data for ML training.","source":"GITHUB_OPENCLEW","sourceId":"github:1151195861","repository":"https://github.com/Wolido/agent-hea6-ducklake","documentation":"https://www.xpersona.co/skill/wolido-agent-hea6-ducklake/agent/wolido-agent-hea6-ducklake","protocols":["OPENCLEW"],"languages":["typescript"],"install":{"command":"git clone https://github.com/Wolido/agent-hea6-ducklake.git","ecosystem":"git"},"examples":[{"kind":"example","language":"yaml","snippet":"# Layer 1: 元素组合映射表\nhea_elements_6:\n  primary_key: id              # 范围: 1-5005\n  columns: [id, elem1, elem2, elem3, elem4, elem5, elem6]\n  purpose: 6种元素符号 → 描述符表ID\n  row_count: 5005\n  example: {id: 1, elems: [Fe, Ni, Mn, Al, Cr, Cu], table: hea_6_c_1}\n\n# Layer 2: 成分比例表\nhea_con_6:\n  primary_key: id              # 又名 con_index, 范围: 1-10762647\n  columns: [id, con1, con2, con3, con4, con5, con6]\n  purpose: 成分唯一标识 → 6种元素的比例(和为1)\n  row_count: 10762647\n\n# Layer 3: 描述符数据表 (5005个表, 命名: hea_6_c_{id})\nhea_6_c_{id}:\n  primary_key: con_index       # 关联 hea_con_6.id\n  columns: [con_index] + 194个描述符列\n  purpose: 描述符数据\n  row_count: 10762647 per table\n  naming: id来自hea_elements_6.id, 如hea_6_c_1, hea_6_c_2等\n\n# 关联关系\nrelationships:\n  - from: hea_elements_6.id\n    to: hea_6_c_{id}          # 通过id构造表名\n    via: \"6元素集合相等匹配（见下方精确逻辑）\"\n  \n  - from: hea_6_c_{id}.con_index\n    to: hea_con_6.id\n    via: \"直接相等\""},{"kind":"example","language":"python","snippet":"# 路径1: 6种元素 → 描述符表名（精确匹配逻辑）\ndef elements_to_table(conn, elements: list[str]) -> str:\n    \"\"\"\n    通过6种元素查找对应的描述符表名。\n    \n    元素符号大小写规范（如 Fe, Al, Ni，首字母大写）。\n    匹配时不考虑输入顺序，但大小写必须标准化。\n    \n    算法：\n    1. 标准化用户输入（首字母大写，如 'fe'→'Fe', 'FE'→'Fe'）\n    2. 验证6个元素都在有效列表中\n    3. 与 hea_elements_6 表的 elem1-6 比较集合相等性\n    4. 返回匹配的表名 hea_6_c_{id}\n    \"\"\"\n    VALID_ELEMENTS = ['Al', 'Co', 'Cr', 'Cu', 'Fe', 'Hf', \n                      'Mn', 'Mo', 'Nb', 'Ni', 'Ta', 'Ti', 'V', 'W', 'Zr']\n    \n    if len(elements) != 6:\n        raise ValueError(f\"必须提供恰好6种元素，实际提供了{len(elements)}种\")\n    \n    # 步骤1: 标准化用户输入（capitalize）\n    # 'fe' -> 'Fe', 'FE' -> 'Fe', 'Fe' -> 'Fe'\n    user_elems = set(e.strip().capitalize() for e in elements)\n    \n    # 步骤2: 验证有效性\n    invalid = user_elems - set(VALID_ELEMENTS)\n    if invalid:\n        raise ValueError(f\"无效元素: {invalid}。有效元素: {VALID_ELEMENTS}\")\n    \n    # 步骤3: 查询并匹配（数据库中elem1-6已是规范大小写）\n    rows = conn.execute(\"SELECT id, elem1, elem2, elem3, elem4, elem5, elem6 FROM hea_elements_6;\").fetchall()\n    \n    for row in rows:\n        # 数据库中的元素已是规范大小写（如 Fe, Ni, Mn, Al, Cr, Cu）\n        db_elems = {row[1], row[2], row[3], row[4], row[5], row[6]}\n        if db_elems == user_elems:\n            return f\"hea_6_c_{row[0]}\"\n    \n    raise ValueError(f\"未找到元素组合: {elements}\")\n\n# 路径2: 描述符表 + con_index → 成分比例\ndef get_concentration(table: str, con_index: int):\n    return query(f\"\"\"\n        SELECT t.*, c.con1, c.con2, ..., c.con6\n        FROM {table} t\n        LEFT JOIN hea_con_6 c ON t.con_index = c.id\n        WHERE t.con_index = {con_index}\n    \"\"\")"}]}}