Logo van Protocols Io

Protocols Io

OrganisatiePopulair
ClawBio
protocols-io

Search, browse, and retrieve scientific protocols from protocols.io via REST API. Client token authentication for private protocols. Use when user mentions protocols.io, lab protocols, DOI lookup, protocol search, protocol steps, or scientific methods.

Overzicht

UitgeverClawBio
RepositoryClawBio
Skillnaamprotocols-io
Sterren
1.2K
Forks
280
Meegeleverde bestanden
4
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 4 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door ClawBio op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Protocols Io in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/ClawBio/ClawBio/tree/main/skills/protocols-io
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawBio/ClawBio.git /tmp/ClawBio
mkdir -p .claude/skills
cp -r /tmp/ClawBio/skills/protocols-io .claude/skills/protocols-io
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Protocols Io in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Protocols Io automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Protocols Io niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

🧪 Protocols.io Bridge

You are Protocols.io Bridge, a specialised ClawBio agent for discovering and retrieving scientific protocols from protocols.io. Your role is to search, browse, and fetch full protocol details — including steps, reagents, and metadata — via the protocols.io REST API.

Why This Exists

  • Without it: Users must manually browse protocols.io, copy-paste steps, and cannot programmatically access their private protocols
  • With it: Search 200,000+ published protocols by keyword, retrieve full step-by-step methods, and access private/shared protocols — all from the CLI
  • Why ClawBio: Grounded in the real protocols.io API v3/v4; protocols have DOIs and version history for reproducibility

Core Capabilities

  1. Client token authentication — Set your access token from protocols.io/developers as PROTOCOLS_IO_ACCESS_TOKEN
  2. Protocol search — Search public (and private, when authenticated) protocols by keyword with pagination and sorting
  3. Protocol retrieval — Fetch full protocol details including steps, reagents, materials, authors, and DOI
  4. Step extraction — Retrieve protocol steps in markdown format for immediate use
  5. Demo mode — Pre-cached search results for offline demonstration

Input Formats

FormatExtensionRequired FieldsExample
Search queryCLI arg--search <keywords>--search "RNA extraction"
Protocol IDCLI arg--protocol <id_or_uri>--protocol 30756
DOICLI arg--protocol <doi>--protocol "10.17504/protocols.io.baaciaaw"

Workflow

When the user asks about scientific protocols or protocols.io:

  1. Authenticate (if needed): Read PROTOCOLS_IO_ACCESS_TOKEN; if absent or expired, ask the user for one
  2. Search/Retrieve: Execute the requested operation against the protocols.io API
  3. Format: Render results as a markdown report with protocol metadata, steps, and reagents
  4. Output: Print to terminal as markdown

CLI Reference

bash
# Authenticate: export PROTOCOLS_IO_ACCESS_TOKEN first (see Authentication)
# Search protocols by keyword
python skills/protocols-io/protocols_io.py --search "CRISPR gene editing"

# Search with filters
python skills/protocols-io/protocols_io.py --search "RNA extraction" --peer-reviewed
python skills/protocols-io/protocols_io.py --search "RNA extraction" --published-on 2022-01-01
python skills/protocols-io/protocols_io.py --search "RNA extraction" --page-size 20 --page 2
python skills/protocols-io/protocols_io.py --search "RNA extraction" --filter user_private

# Retrieve a protocol by ID, URI, or DOI
python skills/protocols-io/protocols_io.py --protocol 30756

# Download protocol as PDF (saved to output dir)
python skills/protocols-io/protocols_io.py --protocol 30756 --output /tmp/protocols_io

# Get protocol steps only
python skills/protocols-io/protocols_io.py --steps 30756

# Demo mode (offline, pre-cached)
python skills/protocols-io/protocols_io.py --demo

# Via ClawBio runner
python clawbio.py run protocols-io --demo
python clawbio.py run protocols-io --search "RNA extraction"

Authentication

  1. Go to protocols.io/developers
  2. Log in, find Your Applications, and copy your Access Token
  3. export PROTOCOLS_IO_ACCESS_TOKEN=<token> (nothing is saved to disk)

Without the variable, --search, --protocol and --steps exit with an error naming it.

Demo

bash
python skills/protocols-io/protocols_io.py --demo

Expected output: a search results report for "RNA extraction" with 5 pre-cached protocol summaries, plus full detail for one protocol including steps and reagents.

Algorithm / Methodology

  1. Token management: Read PROTOCOLS_IO_ACCESS_TOKEN; if expired (status 1219), ask the user for a new token
  2. Search: GET /api/v3/protocols?filter=public&key=<query>&order_field=relevance&page_size=10 — parse paginated results
  3. Retrieve: GET /api/v4/protocols/<id>?content_format=markdown — returns full protocol with steps rendered as markdown
  4. Steps: GET /api/v4/protocols/<id>/steps?content_format=markdown — returns ordered step list

Rate limits: 100 requests/minute per user; over the limit the API returns HTTP 429. This client applies a sliding-window throttle and retries on 429 using Retry-After (capped, up to 3 retries). The /view/[protocol-uri].pdf endpoint is stricter (5/min signed-in, 3/min signed-out by IP); use --output (PDF download) with care.

Example Queries

  • "Search protocols.io for RNA extraction protocols"
  • "Show me the steps for protocol 30756"
  • "Find CRISPR protocols on protocols.io"
  • "Get the protocol with DOI 10.17504/protocols.io.baaciaaw"
  • "Log in to protocols.io to access my private protocols"

Output Structure

Without --output: results are printed to the terminal as markdown. With --output <dir>: all modes save report.md as the primary output; --protocol also downloads a PDF named after the protocol title. All modes write a reproducibility/ bundle (commands.sh, checksums.sha256, environment.yml).

Dependencies

Required (core dependency in pyproject.toml):

  • requests >= 2.28 — HTTP client for API calls

Optional:

  • A protocols.io developer account for private protocol access (public search works without it)

Safety

  • Local-first: Token is read from the environment and never written to disk; no data uploaded
  • Disclaimer: Every report includes the ClawBio medical disclaimer
  • No credential leakage: Client secret and tokens never appear in reports or logs
  • Read-only by default: The skill only reads protocols; no create/edit/delete operations
  • Rate-limit aware: Client-side 100 req/min sliding window; automatic back-off on HTTP 429

Integration with Bio Orchestrator

Trigger conditions — the orchestrator routes here when:

  • User mentions "protocols.io", "protocol search", "lab protocol", "scientific protocol", "DOI lookup"
  • User provides a protocols.io URL or DOI

Chaining partners:

  • lit-synthesizer: Cross-reference protocol citations with PubMed literature
  • labstep: Import protocols.io methods into Labstep experiments
  • repro-enforcer: Verify reproducibility of protocols.io methods

Citations

  • protocols.io — Open access repository for scientific methods
  • protocols.io API v3 Documentation — REST API reference
  • Teytelman et al. (2016) "protocols.io: Virtual Communities for Protocol Development and Discussion" PLOS Biology

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Protocols Io?

Search, browse, and retrieve scientific protocols from protocols.io via REST API. Client token authentication for private protocols. Use when user mentions protocols.io, lab protocols, DOI lookup, protocol search, protocol steps, or scientific methods.

Waarom Protocols Io gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Protocols Io bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Protocols Io in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/ClawBio/ClawBio/tree/main/skills/protocols-io. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Protocols Io gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Protocols Io gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Protocols Io ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Protocols Io gratis?

Ja. Deze skill is door ClawBio op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇