figure — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited figure (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generate publication-quality visualization code for research figures.
| Type | Use for | Format |
|---|---|---|
| matplotlib | Quantitative data: bar charts, scatter plots, line graphs, heatmaps, box plots | Python |
| seaborn | Statistical visualizations: distributions, regressions, pair plots | Python |
| Mermaid | Conceptual diagrams: workflows, taxonomies, hierarchies, timelines | Mermaid |
## Figure 1: [Title]
**Caption:** [Full figure caption as it would appear in a paper — what is shown and the key takeaway]
**Description:** [What this figure shows and why it matters for the research]
**Type:** Python (matplotlib/seaborn)
import matplotlib.pyplot as plt import numpy as np
plt.tight_layout() plt.savefig('figure1.png', dpi=300) plt.show()
your_data_heredpi=300, proper axis labels, legend, titleBefore presenting code to the user, validate syntax with Python's AST parser:
python -c "import ast; ast.parse(open('figure1.py').read()); print('✅ Syntax OK')"If the check fails, fix the syntax error and re-validate before showing the result.
For inline code blocks, validate with:
import ast
code = """
# paste generated code here
"""
try:
ast.parse(code)
print("✅ Syntax OK")
except SyntaxError as e:
print(f"❌ Syntax error: {e}")Note: AST validation checks syntax only — it does not catch runtime errors (e.g. wrong data shapes). Always include comments explaining how to adapt placeholder data to real data.
Python figures:
pip install matplotlib seaborn numpy
python figure1.pyMermaid diagrams:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.