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
Install Notes
# Review source first
open https://github.com/mxyhi/ok-skills/blob/main/get-api-docs/SKILL.mdCopy 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
Retrieve current documentation and code examples for any library using the Context7 CLI.
Exa
mxyhi/ok-skills
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.
Autoresearch — Autonomous Goal-directed Iteration
mxyhi/ok-skills
Autonomous iteration loop: modify, verify, keep/discard against any metric
AgentScope
TerminalSkills/skills
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.
AI Video Generator — Short-Form Content Pipeline
TerminalSkills/skills
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).
A2A Protocol
TerminalSkills/skills
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