dual-spacecraft-timing

dual-spacecraft-timing is a skill for Claude Code, Codex from spedas/spedas_agent_kit. It costs 113 tokens per session (2,051 once invoked), scanned A, original, MIT.

A calculation that uses the positions and crossing times from several spacecraft to find the direction and speed of a moving boundary, such as a shock or magnetopause.

In plain words
What is it for?
Use it to analyze one boundary crossing observed by multiple spacecraft, using a least-squares calculation and checks on the geometry.
Why use it?
It removes the need to estimate a boundary's motion from one spacecraft, which cannot provide both direction and speed from the crossing alone.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to analyze one boundary crossing observed by multiple spacecraft, using a least-squares calculation and checks on the geometry.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/spedas/spedas_agent_kit/dual-spacecraft-timing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add spedas/spedas_agent_kit --skill dual-spacecraft-timing
Clone the repo
git clone --depth 1 https://github.com/spedas/spedas_agent_kit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dual-spacecraft-timing

README.md
[![agentmods](https://agentmods.dev/badge/skills/spedas/spedas_agent_kit/dual-spacecraft-timing/github.svg)](https://agentmods.dev/skills/spedas/spedas_agent_kit/dual-spacecraft-timing)
Your own site
<a href="https://agentmods.dev/skills/spedas/spedas_agent_kit/dual-spacecraft-timing"><img src="https://agentmods.dev/badge/skills/spedas/spedas_agent_kit/dual-spacecraft-timing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dual-spacecraft-timing

Your own site · 80×15
<a href="https://agentmods.dev/skills/spedas/spedas_agent_kit/dual-spacecraft-timing"><img src="https://agentmods.dev/badge/skills/spedas/spedas_agent_kit/dual-spacecraft-timing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,051 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00113 $0.02051
Opus 5.5 $0.00045 $0.00820
Sonnet 5.5 $0.00023 $0.00410
Haiku 4.5 $0.00011 $0.00205

Measured 3mo ago against content hash 75a75ff27e33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dual-spacecraft-timing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/plugins/spedas-codex/skills/dual-spacecraft-timing/SKILL.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Multi-spacecraft timing (CVA): boundary normal and phase speed

A guided version of the classic four-spacecraft timing / Constant-Velocity-Approach (CVA) crib sheet. Given the same boundary crossing observed at several spacecraft and their positions, it recovers the boundary normal n (unit vector) and the phase speed V along n. There is no "timing" backend tool and there should not be — the only data fetch is each spacecraft's position; the solve is a tiny local NumPy least-squares. The value is in the procedure, the geometry/conditioning check, and the interpretation.

When to use

  • "I see this magnetopause/shock/discontinuity crossing at 4 spacecraft — what's the normal and speed?"
  • "Use timing on the MMS/Cluster tetrahedron for this crossing."
  • "How fast and in what direction is this boundary moving?" (single-spacecraft MVA gives orientation only, not speed — timing gives both.)

Tool chain (existing tools only)

create_spedas_analysis_bundle → get_ephemeris × N spacecraft (positions only) → local NumPy numpy.linalg.lstsq (no tool; run via the Bash python interpreter, writing inputs/outputs into the bundle) → optional render_tplot only if you want to overlay the per-spacecraft field traces that justify the crossing times.

Backend (VERIFIED contract)

  • get_ephemeris(target, time, observer, frame) with time only returns a single-time STATE INLINE — a dict/array of position (and velocity) in the requested frame, in km. It is not a stored tplot variable and not an .npz. Read the returned position straight out of the response dict; do not look for a file unless you passed output_file.
  • Default frame="ECLIPJ2000", observer="SUN". For magnetospheric boundaries you almost always want frame="GSE" (or GSM) and observer="EARTH". Pass them explicitly — the default Sun-centered ecliptic frame is wrong for a magnetopause and will silently give a nonsense normal.
  • Target registry is enforced. get_ephemeris validates target against the SPICE mission registry and returns a structured unsupported_spice_target error for names it does not know (e.g. MMS1 is NOT in the registry). THEMIS A–E, Cluster-class, Van Allen Probes A/B and the heliophysics fleet are supported; for MMS-style fleets not in SPICE you must supply the per-spacecraft positions yourself (from the mission ephemeris CDF / user-provided km vectors) and skip straight to the solve.
  • Kernels: a cold cache returns needs_confirmation / kernel_download_required; first check manage_data_cache(source_type="spice", action="status"), then retry the relevant get_ephemeris(...) call with allow_kernel_download=True after confirming the download. Do not route this skill through hidden source-specific kernel tools.
  • The crossing times are NOT produced by any tool — they are identified by the user (or read off per-spacecraft field traces) as the moment each spacecraft sees the boundary.
  • Timestamps for the solve are numeric Unix seconds. Convert each crossing time to a float epoch (seconds) before differencing; do not feed ISO strings into the arithmetic. (No FFT/spectral step here, but the same numeric-epoch rule applies.)
  • render_tplot is optional and out-of-band: it draws ONE 2-D matrix per .npz — used here, if at all, only to display the field traces that anchor the crossing times, never for the timing result itself.

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 72 lines · 113 tokens per session scan A 75a75ff27e33

Subscribe to this mod's changes

dual-spacecraft-timing is a skill published in the GitHub repository spedas/spedas_agent_kit (3 stars, last pushed 4mo ago), licensed MIT. It adds 113 tokens to every session and 2,051 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

dual-spacecraft-timing compared with skills from other repositories

dual-spacecraft-timing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dual-spacecraft-timingspedas/spedas_agent_kitSkill34mo agoMITA113Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill38kyesterdayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill60k6d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill35ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.9k6d agoApache-2.0A205Claude Code