Get API Docs via chub

When you need documentation for a library or API, fetch it with the chub CLI rather than guessing from training data. This gives you the current, correct API.

Overview

The Get API Docs via chub skill, part of the mxyhi/ok-skills repository, provides AI agents with a mechanism to retrieve real-time documentation for libraries and APIs. Instead of relying on potentially outdated internal training data, this tool utilizes the chub command-line interface to fetch current technical specifications. This ensures that agents like Claude, Cursor, and Codex have access to the most recent version of an API's structure and functions. By integrating this skill, developers can reduce hallucination risks when working with rapidly evolving software packages or specialized frameworks like ROS. The repository, which has gained significant community interest with 423 stars, offers this skill as a reliable research utility for technical workflows.

Use Cases

Retrieving the latest syntax for a library that has been updated since the agent's last training cutoff.
Accessing specific ROS (Robot Operating System) documentation to ensure correct message type and service definitions.
Verifying API endpoint parameters and return types directly from official sources during a coding session.

Install Notes

# Review source first
open https://github.com/mxyhi/ok-skills/blob/main/get-api-docs/SKILL.md

Copy or clone the skill folder into your agent skills directory after reviewing its instructions and scripts.

Security Notes

This skill requires the chub CLI to be installed and accessible within the agent's execution environment. Users should ensure that the CLI is properly configured to access the intended documentation sources and that the agent has the necessary permissions to execute command-line tools. As with any tool fetching external data, verify that the documentation sources being accessed are trusted and that the retrieved content is handled securely within the development environment.

Related Skills

Documentation Lookup

mxyhi/ok-skills

Research

Retrieve current documentation and code examples for any library using the Context7 CLI.

CodexClaude Code
reactnextjs
423 starsApache-2.0

Exa

mxyhi/ok-skills

Research

Use Exa for web/code/company research (web_search_exa / get_code_context_exa / company_research_exa), with parameters and examples; trigger when online search or parameter checks are needed.

CodexClaude Code
reactresearch
423 starsApache-2.0

Autoresearch — Autonomous Goal-directed Iteration

mxyhi/ok-skills

Research

Autonomous iteration loop: modify, verify, keep/discard against any metric

CodexClaude Code
securityresearch
423 starsApache-2.0

AgentScope

TerminalSkills/skills

Research

Build transparent, observable AI agents using [AgentScope](https://github.com/agentscopeai/agentscope) — a framework for creating agents you can see, understand, and trust with full execution tracing and debugging.

CodexClaude Code
pythonreview
71 starsApache-2.0

AI Video Generator — Short-Form Content Pipeline

TerminalSkills/skills

Research

Automate creation of shortform videos (TikTok, YouTube Shorts, Instagram Reels) using AI for every step: topic research, script writing, texttospeech narration, stock footage matching, subtitle generation, and final assembly. Inspired by [MoneyPrinterTurbo](https://github.com/harry0703/MoneyPrinterTurbo) (53k+ stars).

CodexClaude Code
pythonreview
71 starsApache-2.0

A2A Protocol

TerminalSkills/skills

Research

Implements the Agent2Agent (A2A) open protocol for communication between AI agents built on different frameworks. A2A enables agents to discover each other via Agent Cards, negotiate interaction modalities, manage collaborative tasks, and exchange data — all without exposing internal state, memory, or tools. Supports J

CodexClaude Code
pythonreview
71 starsApache-2.0