LabArchives Integration (ELN API)
暂无简介
- License 许可
- MIT
- 所属仓库
- rhCat/skillChip
- 最近更新
- 2026-07-31
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- LabArchives Integration (ELN API)
- perks
- [ "setup-config", "list-notebooks", "backup-notebook", "create-entry", "upload-attachment", "create-comment" ]
- skill
- labarchive-integration
02 资源文件 49
- 其他blueprint.drawio2.7 KB
- 参考文档blueprint.json3.5 KB
- 资产文件blueprint.svg8.9 KB
- 参考文档index.json5.5 KB
- 参考文档ledger.json564 B
- 许可证LICENSE.txt1.0 KB
- 参考文档perks.json1.3 KB
- 参考文档perks/backup-notebook/manifesto.json590 B
- 参考文档perks/backup-notebook/metadata.json1.2 KB
- 脚本perks/backup-notebook/src/backup_notebook.sh1.3 KB
- 参考文档perks/backup-notebook/src/contracts.json587 B
- 脚本perks/backup-notebook/src/notebook_operations.py8.5 KB
- 参考文档perks/backup-notebook/test/case.json355 B
- 参考文档perks/backup-notebook/test/fixture/config.yaml158 B
- 参考文档perks/create-comment/manifesto.json547 B
- 参考文档perks/create-comment/metadata.json1.0 KB
- 参考文档perks/create-comment/src/contracts.json571 B
- 脚本perks/create-comment/src/create_comment.sh1.1 KB
- 脚本perks/create-comment/src/entry_operations.py10.3 KB
- 参考文档perks/create-comment/test/case.json363 B
- 参考文档perks/create-comment/test/fixture/config.yaml158 B
- 参考文档perks/create-entry/manifesto.json529 B
- 参考文档perks/create-entry/metadata.json1.1 KB
- 参考文档perks/create-entry/src/contracts.json561 B
- 脚本perks/create-entry/src/create_entry.sh1.2 KB
- 脚本perks/create-entry/src/entry_operations.py10.3 KB
- 参考文档perks/create-entry/test/case.json370 B
- 参考文档perks/create-entry/test/fixture/config.yaml158 B
- 参考文档perks/list-notebooks/manifesto.json333 B
- 参考文档perks/list-notebooks/metadata.json967 B
- 参考文档perks/list-notebooks/src/contracts.json351 B
- 脚本perks/list-notebooks/src/list_notebooks.sh1.2 KB
- 脚本perks/list-notebooks/src/notebook_operations.py8.5 KB
- 参考文档perks/list-notebooks/test/case.json264 B
- 参考文档perks/list-notebooks/test/fixture/config.yaml158 B
- 参考文档perks/setup-config/manifesto.json755 B
- 参考文档perks/setup-config/metadata.json1.3 KB
- 参考文档perks/setup-config/src/contracts.json672 B
- 脚本perks/setup-config/src/setup_config.py6.3 KB
- 脚本perks/setup-config/src/setup_config.sh2.2 KB
- 参考文档perks/setup-config/test/case.json433 B
- 参考文档perks/upload-attachment/manifesto.json544 B
- 参考文档perks/upload-attachment/metadata.json1.1 KB
- 参考文档perks/upload-attachment/src/contracts.json580 B
- 脚本perks/upload-attachment/src/entry_operations.py10.3 KB
- 脚本perks/upload-attachment/src/upload_attachment.sh1.1 KB
- 参考文档perks/upload-attachment/test/case.json363 B
- 参考文档perks/upload-attachment/test/fixture/config.yaml158 B
- 资产文件perks/upload-attachment/test/fixture/data.csv16 B
03 SKILL.md 正文
labarchive-integration — LabArchives Integration (ELN API)
Programmatic access to the LabArchives electronic-lab-notebook REST API: configure credentials, list and back up notebooks (read-only), and create entries, comments, and attachments (destructive — they mutate the live ELN).
What to look out for
Each tool emits one line of structured JSON (the audit + debug log) and writes its artifacts under record_store. LOGS TO CHECK: that line + the named report + the executor run-ledger. All remote perks need the labarchives-py package and live API credentials/network; when the package is absent each tool degrades gracefully (writes {} and exits 0) so the contract still holds offline.
Perks
| perk | tool | nature |
|---|---|---|
setup-config |
setup_config |
read-only / local — writes config.yaml from env vars (no network) |
list-notebooks |
list_notebooks |
read-only remote — lists accessible notebooks |
backup-notebook |
backup_notebook |
read-only remote — downloads a notebook backup to a file |
create-entry |
create_entry |
destructive — creates a notebook entry on the live ELN |
upload-attachment |
upload_attachment |
destructive — uploads a file attachment to an entry |
create-comment |
create_comment |
destructive — adds a comment to an entry |
setup-config only writes a local config.yaml; it never touches the network. list-notebooks and backup-notebook are read-only against the remote service. create-entry, upload-attachment, and create-comment all mutate the live notebook and are therefore declared destructive: true; the executor gates them accordingly.
How to use it
Pick a perk, copy ledger.json → task-ledger.json, fill its vars + record_store, then validate → compose → compile → oversight → executor.
Localized from K-Dense-AI/scientific-agent-skills
labarchive-integration— MIT (see LICENSE.txt).
04 同仓库更多 Skills
Vercel Deploy
暂无简介
Audio Transcribe
暂无简介
Speech (OpenAI TTS)
暂无简介
Skill Installer
暂无简介
demo-skill
A demo skill used as a test fixture for the validate perk. Use when checking that quick_validate.py accepts a well-formed SKILL.md.
demo-skill
A demo skill used as a test fixture for generating agents/openai.yaml. Use when validating the gen_openai_yaml perk.