← ClaudeAtlas

context7-addlisted

Add a repo, docs website, llms.txt, OpenAPI spec or PDF/DOCX file to Context7 when it is missing, then allow it in the teamspace policy (allowlist / wild-card list) so the Context7 MCP and API actually serve it. Use whenever the user asks to add, index, submit, whitelist or allowlist something in Context7, says "make X available in context7", or when a Context7 lookup fails with "not accessible", "not included in your allowed libraries", access_denied, or finds no library for a dependency the user is working with. Also use to check whether a library is already indexed and allowed.
saalse/context7-add · ★ 2 · AI & Automation · score 81
Install: claude install-skill saalse/context7-add
# Context7: add and allow Context7 teamspaces can restrict which libraries their API keys may read (dashboard → Policies). In **select** mode only libraries on the allowlist are served; in **quality** mode libraries must pass filters unless they are on the wild-card list. So "making docs available" is usually two steps: **index** the source if Context7 lacks it, then **allow** its library id. ## Available scripts **`scripts/c7.py`** does every call. Run it from this skill's folder. It reads the API key from `$CONTEXT7_API_KEY`, or else from the `context7` MCP server entry in `~/.claude.json`, and never prints it. Every command that changes something is a **dry run unless `--apply`**. Results are JSON on stdout; progress and errors go to stderr. `--help` lists the exit codes. ```bash python3 scripts/c7.py whoami # plan, role, policy mode, which list admits libraries python3 scripts/c7.py check <url|/org/repo|name>… # indexed? fresh? allowed? which entry covers it? python3 scripts/c7.py allow /org/repo [--remove] [--apply] # dry run shows library count before/after python3 scripts/c7.py add <url> [--type …] [--base-url URL] [--private] [--apply] python3 scripts/c7.py upload <file.pdf|.docx|openapi.yaml> [--title …] [--apply] python3 scripts/c7.py refresh /org/repo [--apply] # re-crawl / re-parse a stale library python3 scripts/c7.py wait /org/repo [--changed] # until indexed; --changed: until a refresh lands python3 scripts/c7.py log