EC Sample Tracker
/install ec-sample-tracker
ec-sample-tracker-1.0.0 — Sample Tracker for Electrochemistry Labs
Track physical samples from synthesis through every characterization result. Connect samples to their storage locations, synthesis records, and all associated data files (LSV/CV/EIS/XRD/SEM/TEM etc.).
Usage
ec-sample-tracker \x3Ccommand> [options]
Commands
add— Register a new samplelist— List samples with filtersstatus— Show sample status overviewlink— Attach data files or notes to a samplesearch— Search samples by name, tag, synthesis date, or propertylog— Log an experimental event (measurement, storage move, aging)export— Export sample records as CSV/JSON/Markdownimport— Bulk import from CSVdashboard— Visual dashboard of sample inventory and status
Sample Record Schema
sample_id — Auto-generated (e.g. CAT-2026-0042)
name — Sample name/label
synthesis_date — YYYY-MM-DD
synthesis_method — hydrothermal / electrodeposition / impregnation / sol-gel / thermal decomposition / commercial
precursors — Comma-separated list
substrate — GC / Ti foil / Ni foam / FTO / ITO / Carbon paper / None
catalyst_load — mg/cm² (if applicable)
target_reaction — OER / HER / ORR / CO2RR / other
tags — Comma-separated tags
storage_location — fridge-4 / rack-A2 / desiccator-2 / given-out
owner — Name
notes — Free-text notes
status — active / degraded / given-out / disposed / lost
Link Types
ec— LSV/CV/EIS/CP/CA filesxrd— XRD datasem/tem— Electron microscopyraman— Raman spectraxps— XPS dataphoto— Sample photosnote— Free-text notesprotocol— Synthesis protocol PDF
Configuration (config.yaml)
lab_name: "Electrochemistry Lab"
id_prefix: "CAT"
next_id: 1
storage_locations:
- fridge-4
- rack-A2
- rack-B1
- desiccator-2
- drawer-3
- given-out
default_owner: "xray"
db_file: "samples.db"
data_root: "/home/xray/data"
Dashboard
Generates a 4-panel PNG dashboard:
- Sample count by status (pie chart)
- Samples by reaction type (bar chart)
- Storage location distribution (bar chart)
- Recent activity log (text table)
Examples
# Add a new sample
ec-sample-tracker add --name "NiFe-LDH/CF-2026-042" \
--method hydrothermal --precursors "Ni(NO3)2,Fe(NO3)3" \
--substrate "Ni foam" --load 2.1 --reaction OER \
--tags "NiFe-LDH,hydrothermal,batch-42" \
--storage fridge-4 --notes "Synthesized for OER stability test"
# Link characterization data
ec-sample-tracker link CAT-2026-0042 --type ec --file ~/data/oer_lsv_042.csv
ec-sample-tracker link CAT-2026-0042 --type xrd --file ~/data/xrd_042.asc
# Search samples
ec-sample-tracker search --tag NiFe-LDH --reaction OER
ec-sample-tracker search --synth-date-after 2026-03-01
# List all active samples
ec-sample-tracker list --status active
# Log an experimental event
ec-sample-tracker log CAT-2026-0042 --event "LSV cycling started" \
--note "100 cycles in 1M KOH, 10 mA/cm²"
# Export all samples
ec-sample-tracker export --format markdown --output samples-report.md
# Generate dashboard
ec-sample-tracker dashboard --output sample-dashboard.png
Database
Uses SQLite (samples.db) with tables:
samples— Core sample recordslinks— File/note attachmentsevents— Timestamped experimental eventsmeasurements— Quantitative measurement results (overpotential, Tafel, ECSA, etc.)
Output Files
samples.db— SQLite databasesamples.csv— Full exportsample-dashboard.png— Visual dashboard (300 DPI)sample-YYYY-MM-DD.md— Markdown report
Use Cases
- Track which samples have LSV/CV/EIS data collected
- Find all samples from a specific synthesis batch or precursor combination
- Log degradation events and link to characterization
- Generate sample inventory for lab audits or paper supplementary
- Connect synthesis records to performance metrics
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ec-sample-tracker - After installation, invoke the skill by name or use
/ec-sample-tracker - Provide required inputs per the skill's parameter spec and get structured output
What is EC Sample Tracker?
Track and manage electrochemistry samples from synthesis to characterization with data linking, event logging, search, export, and dashboard visualization. It is an AI Agent Skill for Claude Code / OpenClaw, with 132 downloads so far.
How do I install EC Sample Tracker?
Run "/install ec-sample-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is EC Sample Tracker free?
Yes, EC Sample Tracker is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does EC Sample Tracker support?
EC Sample Tracker is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created EC Sample Tracker?
It is built and maintained by xrayxiaoruiyang-pixel (@xrayxiaoruiyang-pixel); the current version is v1.0.0.