Exoplanet detection period

From XuShuwenn/RedAct · View interactive version

Exoplanet detection period is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Detect exoplanet periods in TESS lightcurve data by filtering, removing stellar activity variability, and identifying orbital periods.

How to use this skill

Skill file

Exoplanet Period Detection from Lightcurve

Environment/Protocol First

When to Use

Input Format

File /root/data/tess_lc.txt with columns:

Key Steps

  1. Reconcile task-specific path and completion rules before analysis.
  1. Filter data by quality flags and outliers
  1. Remove stellar activity variability (rotational modulation, starspots)
  1. Inspect the dataset enough to estimate cadence, time span, variability amplitude, and plausible transit timescales before locking detrending or search settings

3a. Estimate any dominant stellar-variability/rotation timescale early (for example with a coarse Lomb-Scargle check) and use it to guide detrending and to avoid mistaking stellar modulation for a planet period.

  1. Use a staged search: start with cheap diagnostics or coarse scans, then refine only promising periods

4a. For transiting exoplanets, use a transit-sensitive search (BLS/TLS) for the final candidate; use Lomb-Scargle only for variability/alias diagnostics, not as the sole final picker.

  1. Validate candidate periods before finalizing: inspect other strong peaks, check harmonic/alias relationships, and phase-fold plausible candidates
  1. If detrending or search settings materially affect the result, compare a small number of reasonable alternatives and prefer a period that remains consistent
  1. Identify the most plausible validated exoplanet orbital period.
  1. Round to 5 decimal places and write exactly one numeric value to /root/period.txt as soon as a defensible result is available.
  1. Re-open /root/period.txt, verify it exists and contains exactly one plausible numeric value, then finish instead of planning open-ended refinements.

Output Format

Single value to /root/period.txt.

Only write /root/period.txt after the period-search run has visibly completed and the selected period has been checked against the search diagnostics.

Output Format

Execution Checklist

Techniques

New Section

Validation Before Final Answer

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.