Exoplanet Workflows logo

Exoplanet Workflows

Community
xuansenpa1
exoplanet-workflows

General workflows and best practices for exoplanet detection and characterization from light curve data. Use when planning an exoplanet analysis pipeline, understanding when to use different methods, or troubleshooting detection issues.

Overview

Publisherxuansenpa1
Repositoryskillrevise
Skill nameexoplanet-workflows
Stars
56
Forks
3
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by xuansenpa1 on GitHub. Read the source before you install it.

Installation

Install the Exoplanet Workflows AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/xuansenpa1/skillrevise/tree/main/data/skillsbench/tasks/exoplanet-detection-period/environment/skills/exoplanet-workflows
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xuansenpa1/skillrevise.git /tmp/skillrevise
mkdir -p .claude/skills
cp -r /tmp/skillrevise/data/skillsbench/tasks/exoplanet-detection-period/environment/skills/exoplanet-workflows .claude/skills/exoplanet-workflows
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Exoplanet Workflows in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Exoplanet Workflows on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Exoplanet Workflows is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Exoplanet Detection Workflows

This skill provides general guidance on exoplanet detection workflows, helping you choose the right approach for your data and goals.

Overview

Exoplanet detection from light curves typically involves:

  1. Data loading and quality control
  2. Preprocessing to remove instrumental and stellar noise
  3. Period search using appropriate algorithms
  4. Signal validation and characterization
  5. Parameter estimation

Pipeline Design Principles

Key Stages

  1. Data Loading: Understand your data format, columns, time system
  2. Quality Control: Filter bad data points using quality flags
  3. Preprocessing: Remove noise while preserving planetary signals
  4. Period Search: Choose appropriate algorithm for signal type
  5. Validation: Verify candidate is real, not artifact
  6. Refinement: Improve period precision if candidate is strong

Critical Decisions

What to preprocess?

  • Remove outliers? Yes, but not too aggressively
  • Remove trends? Yes, stellar rotation masks transits
  • How much? Balance noise removal vs. signal preservation

Which period search algorithm?

  • TLS: Best for transit-shaped signals (box-like dips)
  • Lomb-Scargle: Good for any periodic signal, fast exploration
  • BLS: Alternative to TLS, built into Astropy

What period range to search?

  • Consider target star type and expected planet types
  • Hot Jupiters: short periods (0.5-10 days)
  • Habitable zone: longer periods (depends on star)
  • Balance: wider range = more complete, but slower

When to refine?

  • After finding promising candidate
  • Narrow search around candidate period
  • Improves precision for final measurement

Choosing the Right Method

Transit Least Squares (TLS)

Use when:

  • Searching for transiting exoplanets
  • Signal has transit-like shape (box-shaped dips)
  • You have flux uncertainties

Advantages:

  • Most sensitive for transits
  • Handles grazing transits
  • Provides transit parameters

Disadvantages:

  • Slower than Lomb-Scargle
  • Only detects transits (not RV planets, eclipsing binaries with non-box shapes)

Lomb-Scargle Periodogram

Use when:

  • Exploring data for any periodic signal
  • Detecting stellar rotation
  • Finding pulsation periods
  • Quick period search

Advantages:

  • Fast
  • Works for any periodic signal
  • Good for initial exploration

Disadvantages:

  • Less sensitive to shallow transits
  • May confuse harmonics with true period

Box Least Squares (BLS)

Use when:

  • Alternative to TLS for transits
  • Available in astropy

Note: TLS generally performs better than BLS for exoplanet detection.

Signal Validation

Strong Candidate (TLS)

  • SDE > 9: Very strong candidate
  • SDE > 6: Strong candidate
  • SNR > 7: Reliable signal

Warning Signs

  • Low SDE (<6): Weak signal, may be false positive
  • Period exactly half/double expected: Check for aliasing
  • High odd-even mismatch: May not be planetary transit

How to Validate

  • Signal strength metrics: Check SDE, SNR against thresholds
  • Visual inspection: Phase-fold data at candidate period
  • Odd-even consistency: Do odd and even transits have same depth?
  • Multiple transits: More transits = more confidence

Multi-Planet Systems

Some systems have multiple transiting planets. Strategy:

  1. Find first candidate
  2. Mask out first planet's transits
  3. Search remaining data for additional periods
  4. Repeat until no more significant signals

See Transit Least Squares documentation for transit_mask function.

Common Issues and Solutions

Issue: No significant detection (low SDE)

Solutions:

  • Check preprocessing - may be removing signal
  • Try less aggressive outlier removal
  • Check for data gaps during transits
  • Signal may be too shallow for detection

Issue: Period is 2x or 0.5x expected

Causes:

  • Period aliasing from data gaps
  • Missing alternate transits

Solutions:

  • Check both periods manually
  • Look at phase-folded light curves
  • Check if one shows odd-even mismatch

Issue: flux_err required error

Solution: TLS requires flux uncertainties as the third argument - they're not optional!

Issue: Results vary with preprocessing

Diagnosis:

  • Compare results with different preprocessing
  • Plot each preprocessing step
  • Ensure you're not over-smoothing

Expected Transit Depths

For context:

  • Hot Jupiters: 0.01-0.03 (1-3% dip)
  • Super-Earths: 0.001-0.003 (0.1-0.3% dip)
  • Earth-sized: 0.0001-0.001 (0.01-0.1% dip)

Detection difficulty increases dramatically for smaller planets.

Period Range Guidelines

Based on target characteristics:

  • Hot Jupiters: 0.5-10 days
  • Warm planets: 10-100 days
  • Habitable zone:
    • Sun-like star: 200-400 days
    • M-dwarf: 10-50 days

Adjust search ranges based on mission duration and expected planet types.

Best Practices

  1. Always include flux uncertainties - critical for proper weighting
  2. Visualize each preprocessing step - ensure you're improving data quality
  3. Check quality flags - verify convention (flag=0 may mean good OR bad)
  4. Use appropriate sigma - 3 for initial outliers, 5 after flattening
  5. Refine promising candidates - narrow period search for precision
  6. Validate detections - check SDE, SNR, phase-folded plots
  7. Consider data gaps - may cause period aliasing
  8. Document your workflow - reproducibility is key

References

Official Documentation

Key Papers

  • Hippke & Heller (2019) - Transit Least Squares paper
  • Kovács et al. (2002) - BLS algorithm

Lightkurve Tutorial Sections

  • Section 3.1: Identifying transiting exoplanet signals
  • Section 2.3: Removing instrumental noise
  • Section 3.2: Creating periodograms

Dependencies

bash
pip install lightkurve transitleastsquares numpy matplotlib scipy

Frequently asked questions

What does the Exoplanet Workflows AI skill do?

General workflows and best practices for exoplanet detection and characterization from light curve data. Use when planning an exoplanet analysis pipeline, understanding when to use different methods, or troubleshooting detection issues.

Why use Exoplanet Workflows on TypingMind?

Because you install it once and use it with any model. Exoplanet Workflows is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Exoplanet Workflows in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/xuansenpa1/skillrevise/tree/main/data/skillsbench/tasks/exoplanet-detection-period/environment/skills/exoplanet-workflows. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Exoplanet Workflows?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Exoplanet Workflows?

As many as you like. As long as a model supports skills, you can use Exoplanet Workflows with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Exoplanet Workflows AI skill free?

Yes. It is published on GitHub by xuansenpa1 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇