xlsx-to-python-dark-intelligence-archive-generation
БесплатноБез исполняемых скриптовНе проверенSub-skill of xlsx-to-python: Dark Intelligence Archive Generation.
от vamseeachanta★ 21 звезда на GitHubОб этом скилле
Dark Intelligence Archive Generation
Dark Intelligence Archive Generation
Convert extraction results to the canonical archive YAML:
def formula_manifest_to_archive(
formula_cells: list[dict],
named_ranges: list[dict],
classification: dict,
category: str,
subcategory: str,
) -> dict:
"""Convert XLSX extraction to dark-intelligence archive YAML."""
name_map = {
f"{nr['sheet']}!{nr['cell_ref']}": nr["name"]
for nr in named_ranges
}
archive = {
"source_type": "excel",
"source_description": f"{category}/{subcategory} calculation",
"extracted_date": datetime.now().strftime("%Y-%m-%d"),
"legal_scan_passed": False, # Must be set after legal scan
"category": category,
"subcategory": subcategory,
"equations": [],
"inputs": [],
"outputs": [],
"worked_examples": [],
"assumptions": [],
"references": [],
}
# Map input cells
for input_ref in classification["inputs"]:
cell = next(
(c for c in formula_cells
if f"{c['sheet']}!{c['ref']}" == input_ref),
None,
)
name = name_map.get(input_ref, input_ref)
archive["inputs"].append({
"name": name,
"symbol": name,
"unit": "", # Must be filled manually or from column headers
"test_value": cell["value"] if cell else None,
})
# Map formula cells as equations
for cell in formula_cells:
cell_id = f"{cell['sheet']}!{cell['ref']}"
if cell_id in classification["inputs"]:
continue
archive["equations"].append({
"name": name_map.get(cell_id, cell["ref"]),
"excel_formula": cell["formula"],
"latex": "", # TODO: formula-to-LaTeX translation
"description": f"Cell {cell['ref']} in {cell['sheet']}",
})
# Map output cells
for output_ref in classification["outputs"]:
cell = next(
(c for c in formula_cells
if f"{c['sheet']}!{c['ref']}" == output_ref),
None,
)
if cell and cell["value"] is not None:
name = name_map.get(output_ref, output_ref)
archive["outputs"].append({
"name": name,
"symbol": name,
"unit": "",
"test_expected": cell["value"],
"tolerance": 1e-6,
})
return archive
Установить xlsx-to-python-dark-intelligence-archive-generation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл xlsx-to-python-dark-intelligence-archive-generation?
Sub-skill of xlsx-to-python: Dark Intelligence Archive Generation.
Как установить скилл xlsx-to-python-dark-intelligence-archive-generation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл xlsx-to-python-dark-intelligence-archive-generation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic