tiangong-kb-patent-search
Installation
SKILL.md
Tiangong KB Patent Search
Use this skill for Tiangong patent-source retrieval. It is intentionally
single-source: always search patent, never all, sci, or report.
Prerequisites
- The wrapper defaults to
npx @tiangong-ai/cli@latest; users do not need a preinstalled CLI. SetTIANGONG_AI_CLIorTIANGONG_AI_CLI_BINonly to override the CLI entrypoint. - Set the authentication environment variables expected by
tiangong-ai, or passapi_key/patent_api_keyto the wrapper script. - When
request_file/input_fileis provided, the wrapper loads.envfrom that file's directory by default.env_filecan point to a different dotenv file. Loaded dotenv values only fill unset environment variables; explicit JSON fields such asapi_key,patent_api_key, andapi_base_urlare passed as CLI flags and take precedence. - Optionally set
TIANGONG_AI_API_BASE_URL; the CLI accepts a Supabase project root,/functions/v1, or/rest/v1and derives Functions URLs.