skills/context7-cli/SKILL.md
Use the local Context7 CLI in this repo to search libraries and fetch Context7 context for skills or documentation tasks. Trigger when you need to run `c7 search`/`c7 context`, resolve library IDs, or retrieve text/json outputs from Context7 via the CLI.
npx skillsauth add strantalis/agent-skills context7-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use the local agent-skills CLI (subcommand c7) to query Context7 for library discovery and context snippets. Prefer this tool when a task needs authoritative library context and you want a deterministic CLI output that can be piped into downstream steps.
CONTEXT7_API_KEY is set or pass --api-key.agent-skills is already installed, use it directly:command -v agent-skills
agent-skills c7 search --library-name react --query "useEffect cleanup"
go run ./cmd/agent-skills c7 search --library-name react --query "useEffect cleanup"
For repeated calls, build once:
go build -o bin/agent-skills ./cmd/agent-skills
./bin/agent-skills c7 context --library-id /facebook/react --query "useEffect cleanup"
Or install remotely (requires Go) only if the binary is missing:
if ! command -v agent-skills >/dev/null 2>&1; then
go install github.com/strantalis/agent-skills/cmd/agent-skills@latest
fi
agent-skills c7 search --library-name react --query "useEffect cleanup"
Use this to discover candidate library IDs.
go run ./cmd/agent-skills c7 search --library-name react --query "useEffect cleanup"
--format jsonl for JSON lines or --format text for tab-separated lines.--limit to reduce results when you only need the top few.Prefer explicit --library-id for determinism.
go run ./cmd/agent-skills c7 context --library-id /facebook/react --query "useEffect cleanup"
If you only have a name, you may use --library-name. If multiple libraries match, use --select=interactive or --select=first, or provide --library-id for determinism.
go run ./cmd/agent-skills c7 context --library-name react --query "useEffect cleanup"
--format json when another tool or step needs structured output.--format jsonl for streaming or piping one JSON object per line.--format text for direct reading or quick copy/paste.c7)--api-key (or CONTEXT7_API_KEY): Context7 API key.--base-url: Override the Context7 base URL.--timeout: HTTP timeout (default 30s).--retries: Retry count for 202/429/5xx responses.--cache-dir: Enable disk cache when set.--cache-ttl: Cache TTL (default 24h, only used when cache-dir is set).CONTEXT7_API_KEY or pass --api-key.See references/api_reference.md for the full command reference and examples.
tools
Standardize all GitHub interactions via the GitHub CLI (`gh`) instead of ad-hoc URLs, UI clicks, or direct REST API calls. Use when you need to read or change GitHub state (repos, issues, pull requests, reviews, check status, Actions workflows/runs, releases, labels, milestones, discussions, gists) and want deterministic output (prefer `--json` + `--jq`). Also use when the user provides a GitHub URL, including deep links like `https://github.com/OWNER/REPO/pull/123`, `.../issues/123`, `.../pull/123/files`, or comment permalinks like `#issuecomment-...`, and you need to fetch the underlying PR/issue/thread and reply. Fall back to `gh api` only when there is no first-class `gh NOUN VERB` command.
development
Run an iterative, hypothesis-driven “debug mode” loop to diagnose and fix a bug using targeted instrumentation and log capture. Use when the user wants an interactive debug loop, when you need to quickly narrow a failure via added debug statements, or when you need a lightweight way to centralize logs from a repro run (via `agent-skills debug` server + SSE UI).
development
Crypto best-practices guidance and review across languages and domains. Use whenever cryptography, encryption, hashing, signatures, key/nonce/IV handling, randomness, password storage, TLS/PKI, secure channels, token formats, or "roll your own crypto" is mentioned, including high-level questions or code/design reviews. Trigger broadly to prevent subtle security mistakes.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.