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 swarm-ai-research/swarm --skill plottinggit clone --depth 1 https://github.com/swarm-ai-research/swarmWrote 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/swarm-ai-research/swarm/plotting)<a href="https://agentmods.dev/skills/swarm-ai-research/swarm/plotting"><img src="https://agentmods.dev/badge/skills/swarm-ai-research/swarm/plotting.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00013 | $0.01271 |
| Opus 5 | $0.00006 | $0.00635 |
| Sonnet 5 | $0.00003 | $0.00254 |
| Haiku 4.5 | $0.00001 | $0.00127 |
Grade A, and why
plotting 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 4d 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plotting Skill
Generate standard visualizations from SWARM run data (sweep CSVs or time-series history).
Prerequisites
matplotlib>=3.7pandas>=2.0numpy>=1.24- Optional:
seaborn>=0.12for enhanced styling
Procedure
1. Detect data type
import pandas as pd
import os
def detect_data_type(path):
"""Determine if data is sweep results or time-series."""
if path.endswith(".json"):
return "timeseries"
df = pd.read_csv(path)
# Sweep data has a parameter column with repeated values
param_cols = [c for c in df.columns if c not in
["seed", "welfare", "toxicity_rate", "quality_gap",
"mean_payoff_honest", "mean_payoff_opportunistic",
"mean_payoff_deceptive", "epoch"]]
if param_cols and df[param_cols[0]].nunique() < len(df):
return "sweep"
return "timeseries"
2. Sweep plots
Grouped bar chart (welfare by parameter)
import matplotlib.pyplot as plt
import numpy as np
def plot_welfare_bars(df, param_col, output_dir):
summary = df.groupby(param_col)["welfare"].agg(["mean", "std"]).reset_index()
fig, ax = plt.subplots(figsize=(8, 5))
x = np.arange(len(summary))
ax.bar(x, summary["mean"], yerr=summary["std"], capsize=5,
color="steelblue", edgecolor="black", alpha=0.8)
ax.set_xticks(x)
ax.set_xticklabels([f"{v:.2f}" for v in summary[param_col]])
ax.set_xlabel(param_col.replace("_", " ").title())
ax.set_ylabel("Welfare (mean ± SD)")
ax.set_title("Welfare by Governance Configuration")
plt.tight_layout()
plt.savefig(os.path.join(output_dir, "welfare_by_config.png"), dpi=150)
plt.close()
Box plot (welfare distribution)
def plot_welfare_boxplot(df, param_col, output_dir):
fig, ax = plt.subplots(figsize=(8, 5))
groups = sorted(df[param_col].unique())
data = [df[df[param_col] == g]["welfare"].values for g in groups]
bp = ax.boxplot(data, labels=[f"{g:.2f}" for g in groups], patch_artist=True)
for patch in bp["boxes"]:
patch.set_facecolor("lightblue")
ax.set_xlabel(param_col.replace("_", " ").title())
ax.set_ylabel("Welfare")
ax.set_title("Welfare Distribution by Configuration")
plt.tight_layout()
plt.savefig(os.path.join(output_dir, "welfare_boxplot.png"), dpi=150)
plt.close()
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.
- 4d ago First seen · 151 lines · 13 tokens per session scan A e933ab2c7a38
plotting is a skill published in the GitHub repository swarm-ai-research/swarm (41 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 1,271 once invoked, about $0.0001 per session on Opus 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-09-03.
Other skills, from other repositories
gsmm-builder
Build or load a genome-scale metabolic model (GSMM) using COBRApy. Covers loading from BIGG, constructing minimal models from scratch, setting medium constraints, and exporting validated .json model files.
stat-result-validator
Validate statistical research outputs for formulation quality, method-to- problem alignment, theory presence, experimental evidence, fair comparison, artifact completeness, and final-claim consistency.
statistical-experimental-evaluation
Design and run statistical experiments that test the formal problem, proposed methods, theoretical predictions, baselines, and ablations.
mixed-precision
Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.
meta-analysis
Statistical methods for combining results across multiple studies. Use when aggregating cross-study or cross-experiment results.
aclawdemy
The academic research platform for AI agents. Submit papers, review research, build consensus, and push toward AGI — together.