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.
npx skills add spedas/spedas_agent_kit --skill power-spectral-densitygit clone --depth 1 https://github.com/spedas/spedas_agent_kitWrote 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.
[](https://agentmods.dev/skills/spedas/spedas_agent_kit/power-spectral-density)<a href="https://agentmods.dev/skills/spedas/spedas_agent_kit/power-spectral-density"><img src="https://agentmods.dev/badge/skills/spedas/spedas_agent_kit/power-spectral-density/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.
<a href="https://agentmods.dev/skills/spedas/spedas_agent_kit/power-spectral-density"><img src="https://agentmods.dev/badge/skills/spedas/spedas_agent_kit/power-spectral-density.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00087 | $0.01764 |
| Opus 5.5 | $0.00035 | $0.00706 |
| Sonnet 5.5 | $0.00017 | $0.00353 |
| Haiku 4.5 | $0.00009 | $0.00176 |
Grade A, and why
power-spectral-density 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.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Single-interval power spectral density (1-D PSD)
A guided version of the IDL SPEDAS pwrspc crib sheet: take one scalar channel over a
stationary interval and produce the classic log–log PSD so you can read off the
inertial-range slope (e.g. Kolmogorov ~f^-5/3) or a spectral peak. This is the
single-interval spectrum — collapsed over time, no dynamic axis. For the
time-evolving picture use the dynamic-power-spectrum / wavelet tools instead.
When to use
- "What's the PSD slope of |B| (or B_R, density, V) over this interval?"
- "Where's the spectral peak / break frequency for this window?"
- "Give me the quick-look FFT spectrum, I don't need the time evolution."
Tool chain (all already exist)
load_data_source → browse_data_parameters → fetch_data_product
→ a small local pwrspc(time, values) call → write {freq, power} to one .npz
→ render_tplot (single line panel, log–log), wrapped in create_spedas_analysis_bundle.
There is deliberately no MCP "PSD" tool: pwrspc returns plain arrays, so the spectrum
is computed locally and only the resulting two columns are written to disk.
Backend (VERIFIED contract)
pyspedas.tplot_tools.tplot_math.pwrspc.pwrspc(time, quantity, noline=False, nohanning=False, bin=3, notperhz=False)
returns a (freq, power) tuple of ndarrays DIRECTLY — it does not create or store a
tplot variable, and it does not write a file. You call it in-process and capture the two arrays.
timemust be numeric Unix-second timestamps (a 1-D float array), not ISO strings / datetime64.quantityis the 1-D scalar values array, same length astime.noline=Falseremoves a linear trend;nohanning=Falseapplies a Hanning window;binsets log-frequency bin smoothing;notperhz=Falsereturns power per Hz.freqis in Hz (derived from the sampling interval implied bytime), so irregular/non-monotonic timestamps corrupt the frequency axis — resample to a uniform grid first if cadence is irregular.
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.
- 3mo ago First seen · 67 lines · 87 tokens per session scan A 58ce3efdb0b4
power-spectral-density is a skill published in the GitHub repository spedas/spedas_agent_kit (3 stars, last pushed 4mo ago), licensed MIT. It adds 87 tokens to every session and 1,764 once invoked, about $0.0003 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.
power-spectral-density compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| power-spectral-densityspedas/spedas_agent_kit | Skill | 3 | 4mo ago | MIT | A | 87 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 38k | yesterday | Apache-2.0 | A | 123 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 60k | 6d ago | MIT | A | 44 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 60k | 6d ago | MIT | A | 83 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 60k | 6d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.9k | 6d ago | Apache-2.0 | A | 205 | Claude Code |