Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

LabArchives Integration

A skill for safely integrating with the LabArchives ELN and Inventory v1 APIs, covering HMAC signing, regional endpoints and security guardrails.

Web & APIAdvanced33,0303,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 the X-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

  1. Run uv run scripts/setup_config.py check --require-user-id to validate environment variables and endpoint shape before writing any code.
  2. Run uv run scripts/entry_operations.py eln-plan --api-class entries --api-method entry_info to review a redacted dry-run plan before issuing a real request.
  3. Run uv run scripts/notebook_operations.py inspect example_lacontainer.zip --output container-report.json to 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Open a terminal and confirm Python 3.11+ and uv are installed (python3 --version, uv --version).
  2. Clone the repository: git clone https://github.com/K-Dense-AI/scientific-agent-skills.git
  3. Copy the skill into your Claude skills folder: mkdir -p ~/.claude/skills && cp -r scientific-agent-skills/skills/labarchive-integration ~/.claude/skills/
  4. Request an Access Key ID and Access Password from your institution's LabArchives contact (Enterprise licensing required).
  5. Export LABARCHIVES_ELN_API_URL, LABARCHIVES_ACCESS_KEY_ID, LABARCHIVES_ACCESS_PASSWORD (plus LABARCHIVES_USER_ID and LABARCHIVES_INVENTORY_LAB_ID if needed) in your shell environment. Never commit them to code or a .env file.
  6. Restart Claude Code, then ask something like "help me call the LabArchives ELN API" to trigger the skill.
  7. Smoke-test the install by running uv run scripts/setup_config.py regions from the skill directory.