LabArchives Integration
A skill for safely integrating with the LabArchives ELN and Inventory v1 APIs, covering HMAC signing, regional endpoints and security guardrails.
Web & APIAdvanced★ 33,030⑂ 3,248AI score 8/10Last updated: Aug 9, 2026
What it does
- Clearly separates the legacy ELN API from Inventory API v1, so you pick the right paths, response formats and auth mechanism for each.
- Walks through HMAC-SHA-512 signature construction (
akid+ method name +expires, Base64, URI-encode) and theX-LabArchives-*header set for Inventory calls. - Enforces the regional API host allowlist (US/RoW, AU/NZ, UK, Europe, Canada) and stops you from deriving an API URL from a browser login host.
- Ships network-free helper scripts that emit redacted dry-run request plans instead of live calls or reusable signatures.
- Inspects LA containers (ZIP with
lamanifest.xml) safely, without extraction. - Codifies operational rules: HTTPS only, keep certificate verification on, never log query strings or auth headers, no automatic retries on 4xx.
Who it's for
- Research data engineers and lab IT staff at institutions using LabArchives ELN.
- Developers automating notebook entry, attachment or inventory data pulls.
- Anyone whose API integration code must survive an institutional security review.
Examples
- Run
uv run scripts/setup_config.py check --require-user-idto validate environment variables and endpoint shape before writing any code. - Run
uv run scripts/entry_operations.py eln-plan --api-class entries --api-method entry_infoto review a redacted dry-run plan before issuing a real request. - Run
uv run scripts/notebook_operations.py inspect example_lacontainer.zip --output container-report.jsonto verify a downloaded LA container's manifest.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/HEAD/skills/labarchive-integration/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the skills/labarchive-integration folder from the GitHub repo K-Dense-AI/scientific-agent-skills into my ~/.claude/skills/labarchive-integration/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/labarchive-integration ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and confirm Python 3.11+ and uv are installed (
python3 --version,uv --version). - Clone the repository:
git clone https://github.com/K-Dense-AI/scientific-agent-skills.git - Copy the skill into your Claude skills folder:
mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/labarchive-integration ~/.claude/skills/ - Request an Access Key ID and Access Password from your institution's LabArchives contact (Enterprise licensing required).
- Export
LABARCHIVES_ELN_API_URL,LABARCHIVES_ACCESS_KEY_ID,LABARCHIVES_ACCESS_PASSWORD(plusLABARCHIVES_USER_IDandLABARCHIVES_INVENTORY_LAB_IDif needed) in your shell environment. Never commit them to code or a .env file. - Restart Claude Code, then ask something like "help me call the LabArchives ELN API" to trigger the skill.
- Smoke-test the install by running
uv run scripts/setup_config.py regionsfrom the skill directory.
View source on GitHub ↗License: MIT