K-Dense-AI/scientific-agent-skills / skills/database-lookup
database-lookup
VerifiedQueries documented public database APIs with explicit endpoints, filters, pagination, and provenance. Used when a scientific, regulatory, financial, or other database-backed fact must be retrieved reproducibly from a named source rather than inferred from general knowledge.
references/lincs-l1000.md
View on GitHub# LINCS L1000 (Clue.io) API Reference
## Overview
The LINCS L1000 dataset is accessible via the **Connectivity Map (CMap) API** at clue.io.
## Base URL
```
https://api.clue.io/api
```
## Authentication
- **API key required** (free registration at clue.io)
- Pass via header: `user_key: YOUR_API_KEY`
## Key Endpoints
| Endpoint | Description |
|---|---|
| `GET /perts` | Query perturbagens (compounds, gene knockdowns, overexpression) |
| `GET /genes` | Query genes (L1000 landmark + inferred) |
| `GET /cells` | Query cell lines used in L1000 |
| `GET /sigs` | Query connectivity signatures |
| `GET /profiles` | Profile metadata (not the full level 5 expression matrix) |
| `GET /pcls` | Perturbagen classes |
## Query Parameters
All endpoints support a `filter` parameter using Loopback-style JSON:
- `where` — filter conditions
- `fields` — select specific fields
- `limit` / `skip` — pagination
## Example Calls
```bash
# Illustrative authenticated queries; JSON is encoded as one query parameter.
curl --fail-with-body --get 'https://api.clue.io/api/perts' \
-H "user_key: $CLUE_API_KEY" \
--data-urlencode 'filter={"where":{"pert_iname":"vorinostat"},"limit":5}'
curl --fail-with-body --get 'https://api.clue.io/api/genes' \
-H "user_key: $CLUE_API_KEY" \
--data-urlencode 'filter={"where":{"l1000_type":"landmark"},"limit":10}'
curl --fail-with-body --get 'https://api.clue.io/api/sigs' \
-H "user_key: $CLUE_API_KEY" \
--data-urlencode 'filter={"where":{"pert_iname":"vorinostat"},"limit":5}'
```
## Response Format
JSON. Example (perturbagen):
```json
[
{
"pert_id": "BRD-K81418486",
"pert_iname": "vorinostat",
"pert_type": "trt_cp",
"moa": ["HDAC inhibitor"],
"target": ["HDAC1","HDAC2","HDAC3","HDAC6"]
}
]
```
## Rate Limits
- Free tier: moderate rate limiting (exact numbers not publicly documented)
- Bulk data downloads available separately via clue.io data portal
For expression matrices, obtain the versioned data release and join on signature
and gene identifiers. Level 5 contains replicate-collapsed differential-expression
signatures; it is not raw abundance. Official contract: https://clue.io/developer-resources
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |