context7-addlisted
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