os-model-research

Analyze open-source model repositories and generate structured specifications for Griptape Nodes libraries.

2|2|Updated Mar 26, 2025
One-click install
npx skills add https://github.com/griptape-ai/griptape-nodes-library-template --skill os-model-research-griptape-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: os-model-research
Source: https://github.com/griptape-ai/griptape-nodes-library-template/tree/main/.claude/skills/os-model-research
Command: npx skills add https://github.com/griptape-ai/griptape-nodes-library-template --skill os-model-research-griptape-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a Griptape Nodes library around an open-source ML model requires manually digging through the model's repository to understand its dependencies, inference APIs, HuggingFace models, and licensing. This Skill automates that research and produces a complete, structured specification file that downstream library setup and node implementation phases can consume directly. ## Core Features & Use Cases - Automated Repository Analysis: Fetches the GitHub repo page and README, shallow-clones the source, and inspects dependency files, inference entry points, and licenses. - Dependency and Hardware Detection: Identifies requirements.txt, pip-installability, GPU requirements, and build-time torch dependencies like flash-attn or auto_gptq. - HuggingFace Model Validation: Verifies every discovered HuggingFace model ID is a real, publicly accessible repository before including it in the spec. - Node Design Recommendations: Proposes node classes with complete input/output tables, base classes, and processing logic based on the model's API boundaries. - Use Case: Given the SAM3 repository URL and a target library path, produce a spec.md defining the library name, package structure, categories, and fully specified segmentation nodes ready for implementation. ## Quick Start Research the open-source model at https://github.com/facebookresearch/sam3 and write a library specification into my Griptape Nodes library repo at /Users/me/nodes/griptape-nodes-library-sam3.

Frequently Asked Questions about os-model-research

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I research an open-source model before building a Griptape Nodes library?▼

Provide the model's GitHub repository URL and your target library repo path. The skill fetches the README, shallow-clones the source, analyzes dependencies and inference entry points, then writes a complete spec.md file to the library's .scratch directory.

What information does the generated model specification contain?▼

The spec includes model info and license, repository structure, dependency and GPU requirements, verified HuggingFace model IDs, library configuration (name, package dir, tags, categories), and fully defined nodes with input/output tables and processing logic.

Does it verify HuggingFace model IDs before including them?▼

Yes. Every discovered HuggingFace model ID is checked with an HTTP HEAD request against huggingface.co. Only repositories returning HTTP 200 are included in the spec; 404 or private repos are excluded or noted as components of a parent repo.

How are build-time torch dependencies handled?▼

The skill scans requirements.txt for packages like auto_gptq, flash-attn, and bitsandbytes that need torch at build time. These are flagged in the spec so torch is installed via pip_dependencies before requirements.txt is processed.

What happens if the model repository is not pip-installable?▼

The skill checks for setup.py or pyproject.toml with a build-system section. If only requirements.txt exists, the spec marks the repo as not pip-installable and records an alternative install method such as sys.path.insert in the Advanced Library Notes section.