lc-from-code

Official

Migrate existing code into ASTRA end-to-end.

AuthorLightconeResearch
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It turns an existing codebase into an ASTRA/ lightcone-cli runnable analysis without forcing you to rewrite your logic, so you can preserve behavior while generating a correct astra.yaml spec and provenance.

Core Features & Use Cases

  • Codebase scanning to spec: Scans scripts and notebooks to draft or augment astra.yaml and universes/baseline.yaml, capturing inputs, outputs, containers, and analytical defaults.
  • Decision parameterization with minimal change: Adds argparse or wrapper/translation layers so hardcoded analytical choices become ASTRA decisions while keeping your original code largely intact.
  • Run, validate, and debug: Executes the baseline universe, iterates on failures, and validates the spec with astra validate and provenance checks.

Quick Start

Tell the agent to migrate your repository by running: “Initialize lightcone-cli in my-analysis, then invoke /lc-from-code to scan my existing project and generate the astra.yaml needed to reproduce the current behavior.”

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lc-from-code
Download link: https://github.com/LightconeResearch/lightcone-cli/archive/main.zip#lc-from-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.