agentleFS
wittyreferencewittyreference/twilio-claude-plugin/skills/context-hub/SKILL.md

context-hub

Skill2 starsChanged 8 months agoMITView on GitHub

Twilio development skill: context-hub

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use context-hub (chub) to fetch curated, versioned API docs before writing code that calls external APIs.

    line 13
  2. Distinctive:

    Before writing code that calls non-Twilio external APIs (Stripe, OpenAI, SendGrid, etc.)

    line 17
  3. Distinctive:

    When unsure about current API parameters, response shapes, or SDK methods

    line 18
  4. Distinctive:

    When the architect identifies external service dependencies

    line 19
  5. Very specific:

    For Twilio APIs: Prefer the project's domain CLAUDE.md files and /twilio-docs skill — they are more comprehensive than context-hub's Twilio …

    line 21
  6. Distinctive:

    Read the fetched content and use it to write correct code.

    line 41
  7. Distinctive:

    After completing the task, if you discovered a gotcha, workaround, or project-specific detail not in the doc, save it:

    line 45
  8. Very specific:

    If chub is not installed:

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

name: context-hub description: External API documentation fetcher. Use when writing code that calls external APIs (OpenAI, Stripe, etc.) to get curated docs and prevent hallucinated API shapes.

Context Hub — External API Documentation

Use context-hub (chub) to fetch curated, versioned API docs before writing code that calls external APIs. This prevents hallucinated API shapes and builds cross-session memory via annotations.

When to Use

  • Before writing code that calls non-Twilio external APIs (Stripe, OpenAI, SendGrid, etc.)
  • When unsure about current API parameters, response shapes, or SDK methods
  • When the architect identifies external service dependencies

For Twilio APIs: Prefer the project's domain CLAUDE.md files and /twilio-docs skill — they are more comprehensive than context-hub's Twilio coverage. Use chub for Twilio only as a supplement.

Workflow

1. Search for docs

chub search "<api name>"           # e.g., chub search "stripe"
chub search                        # list everything available

2. Fetch language-specific docs

chub get <id> --lang js            # e.g., chub get stripe/api --lang js
chub get <id> --lang py            # Python variant

3. Use the docs

Read the fetched content and use it to write correct code. Do not rely on memorized API shapes — use what the docs say.

4. Annotate what you learned

After completing the task, if you discovered a gotcha, workaround, or project-specific detail not in the doc, save it:

chub annotate <id> "Webhook verification requires raw body — do not parse before verifying"

Annotations persist locally across sessions and appear automatically on future chub get calls. Keep notes concise and actionable.

5. Give feedback

Rate the doc so authors can improve it. Ask the user before sending.

chub feedback <id> up                        # doc worked well
chub feedback <id> down --label outdated     # doc needs updating

Labels: outdated, inaccurate, incomplete, wrong-examples, wrong-version, poorly-structured, accurate, well-structured, helpful, good-examples.

Quick Reference

GoalCommand
List everythingchub search
Find a docchub search "stripe"
Fetch JS docschub get stripe/api --lang js
Fetch Python docschub get openai/chat --lang py
Save a notechub annotate stripe/api "needs raw body"
List noteschub annotate --list
Rate a docchub feedback stripe/api up

Graceful Degradation

If chub is not installed:

  1. Note it in your response: "context-hub not available — proceeding with best-effort knowledge"
  2. Fall back to project CLAUDE.md files, /twilio-docs skill, or web search
  3. Suggest the user install it: npm install -g @aisuite/chub

Installation

npm install -g @aisuite/chub

Requires Node.js >= 18.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.