Agent skill

Labarchive Integration

by davila7 in davila7/claude-code-templates

Electronic lab notebook API integration. An agent skill from davila7/claude-code-templates.

MITAuto-check passedBackend & APIs

Install Labarchive Integration

skills CLI
$ npx skills add davila7/claude-code-templates --skill labarchive-integration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates labarchive-integration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/scientific/labarchive-integration .claude/skills/labarchive-integration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
labarchive-integration
GitHub stars
32k
Used in
10 other repos
Token cost
~2.3k tokens
SKILL.md length
849 words
Files
7 (incl. scripts, references)
Skills in repo
477
Repo updated
First seen
Licence
MIT

At a glance

Electronic lab notebook API integration. An agent skill from davila7/claude-code-templates.

  • Works in 6 steps: Authentication and Configuration → User Information Retrieval → Notebook Operations → …
  • Tasks that involve Jupyter notebooks
  • SKILL.md covers Overview, When to Use This Skill, Core Capabilities and Common Workflows, plus 4 more sections
  • Runs Python scripts from its folder; calls python3, git and uv; reaches api.labarchives.com and auapi.labarchives.com; needs AUTH_TOKEN

What it does

Labarchive Integration is an agent skill from davila7/claude-code-templates. Electronic lab notebook API integration. Access notebooks, manage entries/attachments, backup notebooks, integrate with Protocols.io/Jupyter/REDCap, for programmatic ELN workflows.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/api_reference.md`, `references/authentication_guide.md` and `references/integrations.md`).

It sits in Backend & APIs, covering Jupyter notebooks and Third-party API integration. It works with Jupyter. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Jupyter notebooks
  • Tasks that involve Third-party API integration

Example prompts

  • “/labarchive-integration”

Requirements

  • Python 3
  • A credential in AUTH_TOKEN

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Authentication and Configuration
  2. User Information Retrieval
  3. Notebook Operations
  4. Entry and Attachment Management
  5. Site Reports and Analytics
  6. Third-Party Integrations

What it can do on your machine

Read from SKILL.md and the folder at commit 14680ec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • git
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.labarchives.com
    • auapi.labarchives.com
    • ukapi.labarchives.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • AUTH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Labarchive Integration loads about 2.3k tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 51 tokens; SKILL.md has 849 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 14680ec, republished under its MIT licence (© davila7). 849 words, ~2,346 tokens.

Download SKILL.mdSave it as .claude/skills/labarchive-integration/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
labarchive-integration
description
Electronic lab notebook API integration. Access notebooks, manage entries/attachments, backup notebooks, integrate with Protocols.io/Jupyter/REDCap, for programmatic ELN workflows.

LabArchives Integration

Overview

LabArchives is an electronic lab notebook platform for research documentation and data management. Access notebooks, manage entries and attachments, generate reports, and integrate with third-party tools programmatically via REST API.

When to Use This Skill

This skill should be used when:

  • Working with LabArchives REST API for notebook automation
  • Backing up notebooks programmatically
  • Creating or managing notebook entries and attachments
  • Generating site reports and analytics
  • Integrating LabArchives with third-party tools (Protocols.io, Jupyter, REDCap)
  • Automating data upload to electronic lab notebooks
  • Managing user access and permissions programmatically

Core Capabilities

1. Authentication and Configuration

Set up API access credentials and regional endpoints for LabArchives API integration.

Prerequisites:

  • Enterprise LabArchives license with API access enabled
  • API access key ID and password from LabArchives administrator
  • User authentication credentials (email and external applications password)

Configuration setup:

Use the scripts/setup_config.py script to create a configuration file:

bash
python3 scripts/setup_config.py

This creates a config.yaml file with the following structure:

yaml
api_url: https://api.labarchives.com/api  # or regional endpoint
access_key_id: YOUR_ACCESS_KEY_ID
access_password: YOUR_ACCESS_PASSWORD

Regional API endpoints:

  • US/International: https://api.labarchives.com/api
  • Australia: https://auapi.labarchives.com/api
  • UK: https://ukapi.labarchives.com/api

For detailed authentication instructions and troubleshooting, refer to references/authentication_guide.md.

2. User Information Retrieval

Obtain user ID (UID) and access information required for subsequent API operations.

Workflow:

  1. Call the users/user_access_info API method with login credentials
  2. Parse the XML/JSON response to extract the user ID (UID)
  3. Use the UID to retrieve detailed user information via users/user_info_via_id

Example using Python wrapper:

python
from labarchivespy.client import Client

# Initialize client
client = Client(api_url, access_key_id, access_password)

# Get user access info
login_params = {'login_or_email': user_email, 'password': auth_token}
response = client.make_call('users', 'user_access_info', params=login_params)

# Extract UID from response
import xml.etree.ElementTree as ET
uid = ET.fromstring(response.content)[0].text

# Get detailed user info
params = {'uid': uid}
user_info = client.make_call('users', 'user_info_via_id', params=params)
3. Notebook Operations

Manage notebook access, backup, and metadata retrieval.

Key operations:

  • List notebooks: Retrieve all notebooks accessible to a user
  • Backup notebooks: Download complete notebook data with optional attachment inclusion
  • Get notebook IDs: Retrieve institution-defined notebook identifiers for integration with grants/project management systems
  • Get notebook members: List all users with access to a specific notebook
  • Get notebook settings: Retrieve configuration and permissions for notebooks

Notebook backup example:

Use the scripts/notebook_operations.py script:

bash
# Backup with attachments (default, creates 7z archive)
python3 scripts/notebook_operations.py backup --uid USER_ID --nbid NOTEBOOK_ID

# Backup without attachments, JSON format
python3 scripts/notebook_operations.py backup --uid USER_ID --nbid NOTEBOOK_ID --json --no-attachments

API endpoint format:

https://<api_url>/notebooks/notebook_backup?uid=<UID>&nbid=<NOTEBOOK_ID>&json=true&no_attachments=false

For comprehensive API method documentation, refer to references/api_reference.md.

4. Entry and Attachment Management

Create, modify, and manage notebook entries and file attachments.

Entry operations:

  • Create new entries in notebooks
  • Add comments to existing entries
  • Create entry parts/components
  • Upload file attachments to entries

Attachment workflow:

Use the scripts/entry_operations.py script:

bash
# Upload attachment to an entry
python3 scripts/entry_operations.py upload --uid USER_ID --nbid NOTEBOOK_ID --entry-id ENTRY_ID --file /path/to/file.pdf

# Create a new entry with text content
python3 scripts/entry_operations.py create --uid USER_ID --nbid NOTEBOOK_ID --title "Experiment Results" --content "Results from today's experiment..."

Supported file types:

  • Documents (PDF, DOCX, TXT)
  • Images (PNG, JPG, TIFF)
  • Data files (CSV, XLSX, HDF5)
  • Scientific formats (CIF, MOL, PDB)
  • Archives (ZIP, 7Z)
5. Site Reports and Analytics

Generate institutional reports on notebook usage, activity, and compliance (Enterprise feature).

Available reports:

  • Detailed Usage Report: User activity metrics and engagement statistics
  • Detailed Notebook Report: Notebook metadata, member lists, and settings
  • PDF/Offline Notebook Generation Report: Export tracking for compliance
  • Notebook Members Report: Access control and collaboration analytics
  • Notebook Settings Report: Configuration and permission auditing

Report generation:

python
# Generate detailed usage report
response = client.make_call('site_reports', 'detailed_usage_report',
                           params={'start_date': '2025-01-01', 'end_date': '2025-10-20'})
6. Third-Party Integrations

LabArchives integrates with numerous scientific software platforms. This skill provides guidance on leveraging these integrations programmatically.

Supported integrations:

  • Protocols.io: Export protocols directly to LabArchives notebooks
  • GraphPad Prism: Export analyses and figures (Version 8+)
  • SnapGene: Direct molecular biology workflow integration
  • Geneious: Bioinformatics analysis export
  • Jupyter: Embed Jupyter notebooks as entries
  • REDCap: Clinical data capture integration
  • Qeios: Research publishing platform
  • SciSpace: Literature management

OAuth authentication: LabArchives now uses OAuth for all new integrations. Legacy integrations may use API key authentication.

For detailed integration setup instructions and use cases, refer to references/integrations.md.

Show full SKILL.md (327 more words)Show less

Common Workflows

Complete notebook backup workflow
  1. Authenticate and obtain user ID
  2. List all accessible notebooks
  3. Iterate through notebooks and backup each one
  4. Store backups with timestamp metadata
bash
# Complete backup script
python3 scripts/notebook_operations.py backup-all --email user@example.edu --password AUTH_TOKEN
Automated data upload workflow
  1. Authenticate with LabArchives API
  2. Identify target notebook and entry
  3. Upload experimental data files
  4. Add metadata comments to entries
  5. Generate activity report
Integration workflow example (Jupyter → LabArchives)
  1. Export Jupyter notebook to HTML or PDF
  2. Use entry_operations.py to upload to LabArchives
  3. Add comment with execution timestamp and environment info
  4. Tag entry for easy retrieval

Python Package Installation

Install the labarchives-py wrapper for simplified API access:

bash
git clone https://github.com/mcmero/labarchives-py
cd labarchives-py
uv pip install .

Alternatively, use direct HTTP requests via Python's requests library for custom implementations.

Best Practices

  1. Rate limiting: Implement appropriate delays between API calls to avoid throttling
  2. Error handling: Always wrap API calls in try-except blocks with appropriate logging
  3. Authentication security: Store credentials in environment variables or secure config files (never in code)
  4. Backup verification: After notebook backup, verify file integrity and completeness
  5. Incremental operations: For large notebooks, use pagination and batch processing
  6. Regional endpoints: Use the correct regional API endpoint for optimal performance

Troubleshooting

Common issues:

  • 401 Unauthorized: Verify access key ID and password are correct; check API access is enabled for your account
  • 404 Not Found: Confirm notebook ID (nbid) exists and user has access permissions
  • 403 Forbidden: Check user permissions for the requested operation
  • Empty response: Ensure required parameters (uid, nbid) are provided correctly
  • Attachment upload failures: Verify file size limits and format compatibility

For additional support, contact LabArchives at support@labarchives.com.

Resources

This skill includes bundled resources to support LabArchives API integration:

scripts/
  • setup_config.py: Interactive configuration file generator for API credentials
  • notebook_operations.py: Utilities for listing, backing up, and managing notebooks
  • entry_operations.py: Tools for creating entries and uploading attachments
references/
  • api_reference.md: Comprehensive API endpoint documentation with parameters and examples
  • authentication_guide.md: Detailed authentication setup and configuration instructions
  • integrations.md: Third-party integration setup guides and use cases

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in cli-tool/components/skills/scientific/labarchive-integration of davila7/claude-code-templates.

  • SKILL.md
  • references/api_reference.md
  • references/authentication_guide.md
  • references/integrations.md
  • scripts/entry_operations.py
  • scripts/notebook_operations.py
  • scripts/setup_config.py

Open the folder on GitHubat commit 14680ec

Used in 10 other repositories

We found 17 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 10 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Labarchive Integration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Labarchive Integration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Labarchive Integration this skilldavila7/claude-code-templates32k10 repos~2.3kAutomated safety check: PassMIT
AWS Lambda Microvmsawslabs/agent-plugins9151 repos~4.1kAutomated safety check: PassApache-2.0
Bio Reporting Quarto ReportsGPTomics/bioSkills1.2k1 repos~2.4kAutomated safety check: PassMIT
Langfuse Integration Pagelangfuse/langfuse-docs246—~3.7kAutomated safety check: PassMIT
Setup Workshop Nemoclawbrevdev/workshop-build-an-agent144—~5.2kAutomated safety check: PassApache-2.0
App Callback WorkflowsVectorSpaceLab/AREX-Skill328—~1.4kAutomated safety check: PassMIT

Similar skills

  • AWS Lambda Microvms

    awslabs/agent-plugins

    Official

    Build, run, debug, and operate applications on AWS Lambda MicroVMs — Firecracker-isolated, snapshot-resumable serverless compute environments that run inside a container with up to 8-hour lifetimes.

    915 GitHub starsUsed in 1 repo~4.1k tokens
    Backend & APIsAuto-check passed
  • Builds reproducible Quarto reports, presentations, and websites across R, Python, and Julia, with correct engine selection, cache-vs-freeze semantics, native cross-references, parameters, and…

    1.2k GitHub starsUsed in 1 repo~2.4k tokens
    Data & AnalyticsAuto-check passed
  • Langfuse Integration Page

    langfuse/langfuse-docs

    Create a new Langfuse integration page in the langfuse-docs repo.

    246 GitHub stars~3.7k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Setup Workshop Nemoclaw

    brevdev/workshop-build-an-agent

    Set up the NVIDIA "Build an Agent" DevX workshop as a working JupyterLab environment from INSIDE a locked-down OpenShell/NemoClaw sandbox, and hand the user the token URL + access commands.

    144 GitHub stars~5.2k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • App Callback Workflows

    VectorSpaceLab/AREX-Skill

    A skill your agent uses for Plotly Dash app layouts, callbacks, pages, assets, configuration, clientside callbacks, Jupyter display, CSP, and app-level debugging.

    328 GitHub stars~1.4k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Azure Data Science Vm

    MicrosoftDocs/Agent-Skills

    Official

    Expert knowledge for Azure Data Science Virtual Machines development including troubleshooting, decision making, architecture & design patterns, security, configuration, integrations & coding…

    777 GitHub stars~1.8k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed

More from davila7/claude-code-templates

All 477 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 10 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Works with

Questions about Labarchive Integration

What does Labarchive Integration do?

Electronic lab notebook API integration. An agent skill from davila7/claude-code-templates. Labarchive Integration is an agent skill from davila7/claude-code-templates. Electronic lab notebook API integration.

When should I use Labarchive Integration?

Labarchive Integration fits situations like: tasks that involve Jupyter notebooks; tasks that involve Third-party API integration.

How do I install Labarchive Integration in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill labarchive-integration -a claude-code`. Or copy the skill folder (cli-tool/components/skills/scientific/labarchive-integration in davila7/claude-code-templates) into .claude/skills/labarchive-integration in your project. Claude Code loads it when a task matches its description.

How do I install Labarchive Integration in Codex?

Run `npx skills add davila7/claude-code-templates --skill labarchive-integration -a codex`. Or copy the skill folder (cli-tool/components/skills/scientific/labarchive-integration in davila7/claude-code-templates) into .agents/skills/labarchive-integration in your project. Codex loads it when a task matches its description.

Can I use Labarchive Integration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill labarchive-integration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/labarchive-integration, .gemini/skills/labarchive-integration, .github/skills/labarchive-integration and .opencode/skills/labarchive-integration in your project.

What does Labarchive Integration need to run?

Going by SKILL.md and its folder, Labarchive Integration needs Python for the scripts in its folder, the command-line tools its instructions call (python3, git and uv) and credentials named AUTH_TOKEN. Our summary lists: Python 3; A credential in AUTH_TOKEN.

Does Labarchive Integration access the network?

SKILL.md names 4 domains. In commands or code: api.labarchives.com, auapi.labarchives.com, ukapi.labarchives.com and github.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Labarchive Integration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Labarchive Integration use?

Labarchive Integration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Labarchive Integration use?

About 2.3k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.1k tokens, read only when the agent opens those files.

What are the alternatives to Labarchive Integration?

Skills that share tags, products or a category with Labarchive Integration: AWS Lambda Microvms (awslabs/agent-plugins, 915 stars), Bio Reporting Quarto Reports (GPTomics/bioSkills, 1.2k stars), Langfuse Integration Page (langfuse/langfuse-docs, 246 stars) and Setup Workshop Nemoclaw (brevdev/workshop-build-an-agent, 144 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Labarchive Integration?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,463 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 8, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.