# Context Hub

> Use this skill when the user asks for the latest docs, latest model, latest setup guidance, latest API behavior, or explicitly mentions chub or Context Hub. Use it by default whenever current documentation or current workflow guidance matters more than model memory. Ensure `chub` is available, run `chub help`, then use Context Hub to fetch the current docs or skill needed for the task.

- **Type:** Skill
- **Install:** `agentstack add skill-andrewyng-context-hub-skill-context-hub`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [andrewyng](https://agentstack.voostack.com/s/andrewyng)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [andrewyng](https://github.com/andrewyng)
- **Source:** https://github.com/andrewyng/context-hub-skill/tree/main/skills/context-hub

## Install

```sh
agentstack add skill-andrewyng-context-hub-skill-context-hub
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Context Hub

Use this skill whenever current docs, current setup guidance, or current
workflow instructions matter. Trigger it immediately when the user mentions the
latest docs, latest model, chub, or Context Hub. Keep the workflow simple:
ensure `chub` exists, run `chub help`, then follow the guidance it returns.

If this file and `chub help` ever disagree, follow `chub help`.

## 1. Ensure `chub` exists

Check whether `chub` is already installed:

```bash
command -v chub >/dev/null 2>&1
```

If that fails, and the environment has `node`, `npm`, network access, and
package-manager permission, install it:

```bash
npm install -g @aisuite/chub
```

If installation is blocked, tell the user exactly what is missing instead of
guessing.

## 2. Always start with `chub help`

Run:

```bash
chub help
```

Treat that output as the source of truth for the installed CLI version.

## 3. Use Context Hub instead of guessing

Typical flow:

```bash
chub search "" --json
chub get  --lang py
```

Use the fetched docs or skill as the authority for API shapes, setup steps,
versions, model names, model configuration, and workflow guidance.

## 4. Save concise local notes

If you discover a short project-specific note that should appear next time, save
it:

```bash
chub annotate  "Concise project-specific note"
```

Use annotations only for notes that are local, actionable, and worth seeing on
future fetches.

## 5. Leave feedback after using an entry

Unless the user explicitly tells you not to, always leave feedback after using a
doc or skill:

```bash
chub feedback  up --label accurate "What was useful"
chub feedback  down --label outdated "What needs fixing"
```

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

Do not include secrets, source code, private architecture details, or other
sensitive information in feedback comments.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [andrewyng](https://github.com/andrewyng)
- **Source:** [andrewyng/context-hub-skill](https://github.com/andrewyng/context-hub-skill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-andrewyng-context-hub-skill-context-hub
- Seller: https://agentstack.voostack.com/s/andrewyng
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
