xlsx-to-python-dark-intelligence-archive-generation
Sub-skill of xlsx-to-python: Dark Intelligence Archive Generation.
Best use case
xlsx-to-python-dark-intelligence-archive-generation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Sub-skill of xlsx-to-python: Dark Intelligence Archive Generation.
Teams using xlsx-to-python-dark-intelligence-archive-generation should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/dark-intelligence-archive-generation/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How xlsx-to-python-dark-intelligence-archive-generation Compares
| Feature / Agent | xlsx-to-python-dark-intelligence-archive-generation | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Sub-skill of xlsx-to-python: Dark Intelligence Archive Generation.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Dark Intelligence Archive Generation
## Dark Intelligence Archive Generation
Convert extraction results to the canonical archive YAML:
```python
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
```Related Skills
python-import-path-mismatch-debugging
Diagnose and fix ModuleNotFoundError when a package is installed but imports still fail due to environment/path mismatches
python-import-path-debugging
Diagnose ModuleNotFoundError when a package is installed but still fails to import
label-driven-prompt-generation-architecture
Pattern for building automation scripts that classify GitHub issues into prompt templates using label-based routing and extract contextual data for batch processing
extract-and-archive-tax-summary-data
Capture structured tax return summaries as YAML when PDF downloads are blocked or inaccessible
agent-team-prompt-generation
Create self-contained execution prompts that define multi-role workflows for Codex sessions without external dependencies
gtm-workflow-gif-generation
Generate workflow-style GTM GIFs from validated HTML demo reports using synthetic scene slides plus Playwright/Pillow scroll capture, with Python 3.12 fallback and GIF size optimization.
gtm-demo-workflow-gif-generation
Generate GTM demo GIF assets from validated HTML reports, including both report-scroll GIFs and one higher-fidelity workflow-style GIF, while avoiding Playwright/Python environment traps.
python-debugpy
Debug Python: pdb REPL + debugpy remote (DAP).
stable-diffusion-image-generation
State-of-the-art text-to-image generation with Stable Diffusion models via HuggingFace Diffusers. Use when generating images from text prompts, performing image-to-image translation, inpainting, or building custom diffusion pipelines.
orcawave-mesh-generation
Panel mesh generation for OrcaWave diffraction analysis. Use when converting CAD/STL to panel mesh, validating mesh quality, running convergence studies, or generating GDF files for hydrodynamic computations.
gmail-extract-archive
DEPRECATED — superseded by gmail-extract-and-act. Extract Gmail data into archive repo, parse attachments, legal scan, then delete. Uses archive-everything model.
python-project-template
Generate standardized Python project structure with pyproject.toml, UV environment, pytest configuration, and workspace-hub compliance. Creates production-ready project scaffolding.