context7-skills
Use when managing Context7 CLI skills with npx ctx7 (search, install, list, remove, info).
What this skill does
# Context7 Skills ## Purpose This skill **must directly execute** Context7 CLI commands for managing skills. **Printing commands without execution is forbidden.** ## Scope (Authoritative & Closed) Only the following commands are permitted (per `npx ctx7 skills --help`): - `npx ctx7 skills search|s` - `npx ctx7 skills install|i` - `npx ctx7 skills list|ls` - `npx ctx7 skills remove|rm` - `npx ctx7 skills info` Anything outside this list is **out of scope and prohibited**. ## Execution Rules (Non-Negotiable) Execution rules apply **only after** required permissions (if any) are granted. 1. Commands **MUST be executed using `npx ctx7`**. 2. The `skills` / `skill` namespace is **mandatory**. 3. Only commands listed in **Scope** may be executed. 4. **Exactly one** target flag may be present **at most**. 5. `install` may include `--all`; no other install options are allowed. 6. Invalid, ambiguous, or incomplete input **MUST be corrected before execution**. 7. **No other shell commands** may be executed under any circumstances. ## Permission Requirements (Hard Gate) Network-dependent commands (e.g., `search`, `info`, remote `install`) **MUST NOT** be executed unless the execution environment **explicitly grants** outbound network permission. Requesting environment permission is **not** a user confirmation step and **not** a request for additional user input. ### Permission Flow If a command is network-dependent: 1. **Request** outbound network permission from the execution environment / agent permission system. 2. If permission is **granted**, execute the command. 3. If permission is **denied or unavailable**, **stop** and report the limitation. Ask the user to run it locally or provide the output. ### No Redundant Confirmation If the user explicitly requested a network-dependent command and no extra input is needed, proceed to the permission request **immediately** without asking for additional confirmation. ### Network Failures If execution fails with a network error (e.g., `fetch failed`, DNS, timeout), treat it as an **environment/permission limitation**, not a command error. Do not retry unless the environment explicitly grants permission. ## Targets (Canonical) Valid target flags (apply only where supported by the command): - `--global` - `--claude` — `.claude/skills/` - `--cursor` — `.cursor/skills/` - `--codex` — `.codex/skills/` - `--opencode` — `.opencode/skills/` - `--amp` — `.agents/skills/` - `--antigravity` — `.agent/skills/` If more than one target is requested, **STOP and request clarification**. ## Search Result Output (Mandatory) After executing `npx ctx7 skills search|s ...` successfully: 1. MUST display the result entries as a **numbered list starting at 1**. 2. Each numbered item MUST preserve the entry text **as-is** (no paraphrase, no deduplication). ### One-Run Default 3. If the first run already contains any visible result entries, **do not rerun**. Output the visible entries immediately. ### Truncation Handling (Conditional Rerun) 4. Rerun the **same** search command up to **1 additional time** only when: - the first run shows **no visible result entries**, or - the tool output is truncated (`… +N lines`) **and** the output contains only summary lines (e.g., `Found N`) without entries. 5. MUST NOT ask the user for confirmation to rerun if the user already requested `search`. ### Interactive / Anomaly Claims (Evidence Rule) 6. MUST NOT claim the command became int ## Install Flow From Search Selection (Mandatory) After showing numbered search results: 1. The user may reply with a **number** `k` to select a skill to install. 2. On receiving a valid selection `k`, extract from the selected entry: - `skill_name` - `repository` (as shown in the entry) 3. If the selection is invalid (not a number or out of range), ask the user to pick a valid number. ### Install Options Prompt (Numbered) 4. After a valid selection and if the user did not already specify install options, prompt the user to choose **exactly one** install target as a **numbered list**: 1) `--claude` (.claude/skills/) 2) `--cursor` (.cursor/skills/) 3) `--codex` (.codex/skills/) 4) `--opencode` (.opencode/skills/) 5) `--amp` (.agents/skills/) 6) `--antigravity` (.agent/skills/) 7) `--global` (global) 5. The user responds with a number `t`. Map `t` to the corresponding target flag. 6. `--all` MUST NOT be used when installing a single selected skill. ### Permission Gate 7. If the install requires network access (remote repository), request outbound network permission before running install. ### Execute Install 8. Execute exactly: - `npx ctx7 skills install|i <repository> <skill_name> <target_flag>` 9. After execution, display the raw CLI output as-is. ## Quick Reference | Intent | Executed Command | | --- | --- | | Search | `npx ctx7 skills search|s <keywords...>` | | Install | `npx ctx7 skills install|i <repository> [skill] [--all] [target]` | | List | `npx ctx7 skills list|ls [target]` | | Remove | `npx ctx7 skills remove|rm <name> [target]` | | Repo info | `npx ctx7 skills info <repository>` | ## Examples (Executed) ```bash npx ctx7 skills search pytorch vision npx ctx7 skills install /anthropics/skills uv --claude npx ctx7 skills install /anthropics/skills --all --codex npx ctx7 skills list --cursor npx ctx7 skills info /anthropics/skills ```` ## Hard Errors (Block Execution) * Missing `skills` / `skill` * Using commands outside **Scope** * Emitting commands without execution * More than one target flag * Mixing targets with unrelated flags * Attempting to run non-Context7 shell commands * Executing network-dependent commands without explicit permission ## Notes (Behavioral) * `<repository>` is mandatory for `install` and `info`. * `[skill]` is optional; omission triggers interactive selection unless `--all` is used. * `list` does **not** support filtering. * Network failures (e.g., `fetch failed`) indicate environment/permission limits, not a command syntax issue.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.