devtu-optimize-skills

mims-harvard/tooluniverse · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/mims-harvard/tooluniverse --skill devtu-optimize-skills
0 commentsdiscussion
summary

Best practices for high-quality research skills with evidence grading and source attribution.

skill.md

Optimizing ToolUniverse Skills

Best practices for high-quality research skills with evidence grading and source attribution.

Tool Quality Standards

  1. Error messages must be actionable — tell the user what went wrong AND what to do
  2. Schema must match API reality — run python3 -m tooluniverse.cli run <Tool> '<json>' to verify
  3. Coverage transparency — state what data is NOT included
  4. Input validation before API calls — don't silently send invalid values
  5. Cross-tool routing — name the correct tool when query is out-of-scope
  6. No silent parameter dropping — if a parameter is ignored, say so

Core Principles (13 Patterns)

Full details: references/optimization-patterns.md

# Pattern Key Idea
1 Tool Interface Verification get_tool_info() before first call; maintain corrections table
2 Foundation Data Layer Query aggregator (Open Targets, PubChem) FIRST
3 Versioned Identifiers Capture both ENSG00000123456 and .12 version
4 Disambiguation First Resolve IDs, detect collisions, build negative filters
5 Report-Only Output Narrative in report; methodology in appendix only if asked
6 Evidence Grading T1 (mechanistic) → T2 (functional) → T3 (association) → T4 (mention)
7 Quantified Completeness Numeric minimums per section (>=20 PPIs, top 10 tissues)
8 Mandatory Checklist All sections exist, even if "Limited evidence"
9 Aggregated Data Gaps Single section consolidating all missing data
10 Query Strategy High-precision seeds → citation expansion → collision-filtered broad
11 Tool Failure Handling Primary → Fallback 1 → Fallback 2 → document unavailable
12 Scalable Output Narrative report + JSON/CSV bibliography
13 Synthesis Sections Biological model + testable hypotheses, not just paper lists

Optimized Skill Workflow

Phase -1: Tool Verification (check params)
Phase  0: Foundation Data (aggregator query)
Phase  1: Disambiguation (IDs, collisions, baseline)
Phase  2: Specialized Queries (fill gaps)
Phase  3: Report Synthesis (evidence-graded narrative)

Testing Standards

Full details: references/testing-standards.md

Critical rule: NEVER write skill docs without testing all tool calls first.

  • 30+ tests per skill, 100% pass rate
  • All tests use real data (no placeholders)
  • Phase + integration + edge case tests
  • SOAP tools (IMGT, SAbDab, TheraSAbDab) need operation parameter
  • Distinguish transient errors (retry) from real bugs (fix)
  • API docs are often wrong — always verify with actual calls

Pattern 14: Reasoning Frameworks Over Tool Catalogs (CRITICAL)

Skills that just list tools ("call A, then B, then C") score 3-5/10 in usefulness tests. Skills that explain HOW to interpret and combine data score 7-9/10. Every skill MUST include:

14a. Interpretation Tables

Map raw API data to biological/clinical meaning. Don't just retrieve — explain.

Bad (tool catalog) Good (reasoning framework)
"Get GO terms from MGnify" GO terms → interpretation table: butyrate genes = barrier integrity, LPS genes = inflammation
"Get DepMap dependency scores" Score < -0.5 = essential, but pan-essential = bad drug target (toxicity); selective = good target
"Get FAERS counts" PRR > 5 = strong signal, but signal ≠ causation (channeling bias, notoriety bias)

14b. Synthesis Phases

Every multi-phase skill needs a final phase that answers "so what?" — not just collecting data:

  • "What changed and why does it matter?"
  • "Is this cause or consequence?"
  • "What's the actionable recommendation?"

14c. Honest Limitations

If a tool API can't deliver what the skill promises, say so explicitly. Don't describe aspirational capabilities. Example: "DepMap_get_gene_dependencies returns gene metadata only, NOT per-cell-line CRISPR scores."

Pattern 15: Computational Procedures When Tools Can't Help

Some scientific analyses require computation, not just API queries. When no tool exists for a capability, embed a Python code procedure directly in the skill using packages available in ToolUniverse (pandas, scipy, numpy, statsmodels, biopython, networkx).

When to use computational procedures:

Gap Procedure Packages
API doesn't return needed data (e.g., DepMap scores) Download CSV + pandas analysis pandas
Statistical testing (differential abundance, enrichment) scipy.stats + FDR correction scipy, statsmodels
Sequence analysis (alignment, conservation) Biopython SeqIO + pairwise alignment biopython
Chemical similarity (analog search, fingerprints) RDKit fingerprints + Tanimoto rdkit (visualization extra)
Network analysis (hub genes, clustering) NetworkX graph metrics networkx
Scoring algorithms (ACMG classification, viability scores) Custom Python functions built-in
Dose feasibility (Cmax vs IC50 comparison) Numerical comparison + PK data pandas, numpy

Template for computational procedures in skills:

**Computational procedure: [Name]**
[When to use this: explain the gap it fills]

\`\`\`python
# [What this computes]
# Requires: [packages] (included in ToolUniverse dependencies)
import pandas as pd
from scipy.stats import mannwhitneyu

# Input: [describe expected input format]
# Output: [describe output]
# [Full working code with example data]
\`\`\`

[Interpretation guidance for the output]

Key rules for computational procedures:

  1. Only use packages in ToolUniverse dependencies (pyproject.toml): pandas, scipy, numpy, networkx, requests, biopython (optional extra)
  2. Include example data so the procedure is immediately testable
  3. Explain the output — a code block without interpretation is useless
  4. Note when external data download is needed (e.g., DepMap CSV from depmap.org)

Pattern 15b: Download-and-Process for Datasets Without REST APIs

Many critical scientific datasets have NO REST API but provide bulk download files. Skills should include concrete download-and-process instructions when this is the only path to essential data.

Template for download-and-process procedures:

**Step 1: Download data files**
- URL: [exact download page URL]
- Files needed: [filename] (~[size]) — [what it contains]
- Registration: [required/not required]
- Update frequency: [quarterly/annually/etc.]

**Step 2: Process with Python**
[Working code with pandas/scipy that loads the CSV and produces the analysis]

**Step 3: Interpret results**
[Table mapping output values to biological/clinical meaning]

**When files are not available**: [Fallback strategy using API tools]

Known download-only datasets that skills reference:

Dataset Download URL Files Used By
DepMap CRISPR depmap.org/portal/download/all/ CRISPRGeneEffect.csv (~300MB), Model.csv (~2MB) functional-genomics, cell-line-profiling
TCGA clinical portal.gdc.cancer.gov Clinical + mutation TSVs cancer-genomics-tcga
GTEx expression gtexportal.org/home/downloads GTEx_Analysis_v8_Annotations.csv expression-data-retrieval
ClinGen gene-disease clinicalgenome.org/docs/ gene_curation_list.tsv variant-interpretation
gnomAD constraint gnomad.broadinstitute.org/downloads constraint metrics TSV functional-genomics

Critical rule: Always include a fallback for when the download is unavailable (user may not have registration, file may be too large, etc.). The fallback should use available API tools even if they provide less complete data.

Common Anti-Patterns

Anti-Pattern Fix
"Search Log" reports Keep methodology internal; report findings only
Missing disambiguation Add collision detection; build negative filters
No evidence grading Apply T1-T4 grades; label each claim
Empty sections omitted Include with "None identified"
No synthesis Add biological model + hypotheses
Silent failures Document in Data Gaps; implement fallbacks
Wrong tool parameters Verify via get_tool_info() before calling
GTEx returns nothing Try versioned ID ENSG*.version
No foundation layer Query aggregator first
Untested tool calls Test-driven: test script FIRST
Tool catalog without interpretation Add interpretation tables explaining what data means
Aspirational capabilities Be honest when APIs can't deliver; add computational procedure instead
Missing statistical analysis Add scipy/pandas code procedure for computation the tools can't do

Quick Fixes for User Complaints

Complaint Fix
"Report too short" Add Phase 0 foundation + Phase 1 disambiguation
"Too much noise" Add collision filtering
"Can't tell what's important" Add T1-T4 evidence tiers
"Missing sections" Add mandatory checklist with minimums
"Too long/unreadable" Separate narrative from JSON
"Just a list of papers" Add synthesis sections
"Tool failed, no data" Add retry + fallback chains

Skill Template

---
name: [domain]-research
description: [What + when triggers]
---

# [Domain] Research

## Workflow
Phase -1: Tool Verification → Phase 0: Foundation → Phase 1: Disambiguate
→ Phase 2: Search → Phase 3: Report

## Phase -1: Tool Verification
[Parameter corrections table]

## Phase 0: Foundation Data
[Aggregator query]

## Phase 1: Disambiguation
[IDs, collisions, baseline]

## Phase 2: Specialized Queries
[Query strategy, fallbacks]

## Phase 3: Report Synthesis
[Evidence grading, mandatory sections]

## Output Files
- [topic]_report.md, [topic]_bibliography.json

## Quantified Minimums
[Numbers per section]

## Completeness Checklist
[Required sections with checkboxes]

Additional References

how to use devtu-optimize-skills

How to use devtu-optimize-skills on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add devtu-optimize-skills
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/mims-harvard/tooluniverse --skill devtu-optimize-skills

The skills CLI fetches devtu-optimize-skills from GitHub repository mims-harvard/tooluniverse and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/devtu-optimize-skills

Reload or restart Cursor to activate devtu-optimize-skills. Access the skill through slash commands (e.g., /devtu-optimize-skills) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.847 reviews
  • Pratham Ware· Dec 28, 2024

    I recommend devtu-optimize-skills for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Aditi Thompson· Dec 28, 2024

    devtu-optimize-skills fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Nikhil Rao· Dec 24, 2024

    Solid pick for teams standardizing on skills: devtu-optimize-skills is focused, and the summary matches what you get after install.

  • Ira Reddy· Dec 16, 2024

    devtu-optimize-skills has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Luis Gill· Dec 8, 2024

    devtu-optimize-skills is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Michael Sethi· Nov 27, 2024

    devtu-optimize-skills reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Yash Thakker· Nov 19, 2024

    Useful defaults in devtu-optimize-skills — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Aarav Farah· Nov 15, 2024

    devtu-optimize-skills has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Mateo Haddad· Nov 7, 2024

    Registry listing for devtu-optimize-skills matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Michael Rao· Nov 7, 2024

    Solid pick for teams standardizing on skills: devtu-optimize-skills is focused, and the summary matches what you get after install.

showing 1-10 of 47

1 / 5