一键导入
websearch-configuration
configure the Pi websearch extension global settings, credentials, GitHub provider mode, and reload expectations only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
configure the Pi websearch extension global settings, credentials, GitHub provider mode, and reload expectations only.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Operate the project's PRD/SDD/OpenSpec workflow as a thin orchestrator skill, loading companion guidance for PRD, artifacts, phase contracts, and mini-sdd only when the route needs them.
create, restructure, or review independent Pi extensions, custom tools, lifecycle hooks, package dependencies, and TUI renderers with a consistent modular layout, native collapsed/expanded rendering, and lossless bounded model-facing output.
create, review, or update Pi skills while preserving the canonical SKILL.md format, registry contract, activation rules, and validation expectations.
Mandatory routing gate before any non-trivial edit (including user-ordered fixes, corrections, and refactors). Determines whether to ask clarifying questions, stay inline, use simple TDD, delegate read-only discovery, or start mini-sdd or formal SDD.
guide language-agnostic test-driven changes with existing-test discovery, safety baselines, meaningful assertions, appropriate test layers, feature-removal cleanup, and red-green-refactor evidence.
Spanish-first orchestration for technology news briefings: gather only the missing brief details, delegate deep research and Markdown artifact creation to the news-researcher subagent, and convert the resulting report.md to audio when requested.
| name | websearch-configuration |
| description | configure the Pi websearch extension global settings, credentials, GitHub provider mode, and reload expectations only. |
| license | Apache-2.0 |
| metadata | {"author":"j0k3r","version":"1.2"} |
Use this block as the machine-readable source for .pi/skill-registry.json generation. Keep it valid JSON.
{
"category": "runtime",
"domains": ["websearch-configuration", "websearch-config", "websearch-credentials", "websearch-github-provider-config"],
"triggers": {
"paths": [
"websearch.json",
"~/.pi/agent/websearch.json"
],
"keywords": [
"websearch configuration",
"configure websearch",
"configurar websearch",
"configuro websearch",
"como configurar websearch",
"cómo configurar websearch",
"como configuro websearch",
"cómo configuro websearch",
"como se configura websearch",
"cómo se configura websearch",
"configuracion websearch",
"configuración websearch",
"websearch config",
"websearch extension setup",
"websearch reload",
"~/.pi/agent/websearch.json",
"github provider",
"github provider api",
"github provider gh",
"github cli provider",
"websearch environment variables",
"websearch env vars",
"websearch credentials",
"websearch api keys",
"websearch variables de entorno",
"variables de entorno websearch",
"credenciales websearch"
]
},
"sdd_phases": [],
"related_skills": [
"permission-guard-configuration"
],
"priority": 82
}
Field conventions:
category: short grouping such as base, transversal, workflow, quality, security, or runtime.domains: stable domain tags used for routing.triggers.paths: glob-like project paths that should activate this skill.triggers.keywords: configuration-only setup terms, config paths, provider configuration terms, and environment variable names that should activate this skill.sdd_phases: keep empty for configuration-only skills so phase routing alone does not load them.related_skills: configuration-adjacent skills only; do not add usage, implementation, or workflow skills.priority: routing priority from 0 to 100. Keep below workflow-router skills and above generic extension/config help.Use this skill only when the user asks how to configure, enable, reload, or troubleshoot configuration for the Pi websearch extension, especially questions like:
gh?"GITHUB_TOKEN, STACK_EXCHANGE_KEY, or gh auth login?"Also use this skill when editing/reviewing ~/.pi/agent/websearch.json or repo-root websearch.json in an agent-root checkout.
Do not load this skill for ordinary web search, individual websearch tool usage, public tool parameter questions, research workflows, extension implementation work under extensions/websearch/**, package validation, Context7 documentation lookup, YouTube research, generic networking questions, or editing this skill file; those are not configuration questions.
websearch extension is read-only. It must not post, vote, comment, edit, delete, moderate, scrape HTML, automate browsers, persist indexes, or background-crawl providers.snoowrap.~/.pi/agent/websearch.json.~/.pi/agent, the same config appears as repo-root websearch.json.install.sh does not install or overwrite websearch.json; users should create or edit ~/.pi/agent/websearch.json manually when they need non-default behavior..pi/websearch.json or project overrides.~/.pi/agent/websearch.json is missing, the effective default is:{
"github": {
"provider": "api"
},
"request": {
"timeoutMs": 120000,
"maxRetries": 1
}
}
api: use the GitHub API client; this is the default.gh: use GitHub CLI via gh api.github.provider = "gh" requires gh installed in PATH and authenticated with gh auth login.request.timeoutMs: default 120000, valid range 1000 to 300000.request.maxRetries: default 1, valid range 0 to 5.~/.pi/agent/websearch.json, repo files, memories, or tool parameters.EXA_API_KEY: optional; enables authenticated/higher-quota Exa hosted search.PARALLEL_API_KEY: optional; enables authenticated/higher-quota Parallel hosted fallback search.STACK_EXCHANGE_KEY: optional; improves Stack Exchange / Stack Overflow quota.GITHUB_TOKEN: optional for general GitHub API quota with github.provider = "api"; required for GitHub Discussions with the API provider because GitHub GraphQL requires authentication.OPENALEX_MAILTO: optional polite-pool/contact metadata for OpenAlex; also used as Crossref fallback mailto when CROSSREF_MAILTO is absent.CROSSREF_MAILTO: optional polite-pool/contact metadata for Crossref; also used as OpenAlex fallback mailto when OPENALEX_MAILTO is absent.SEMANTIC_SCHOLAR_API_KEY: optional; improves Semantic Scholar Graph API quota.[REDACTED_SECRET].~/.pi/agent/websearch.json or repo-root websearch.json, tell the user to reload/restart Pi before expecting runtime behavior to change.workflow-triage because this can change the extension trust boundary.gh auth login), never repo files or tool parameters.~/.pi/agent/websearch.json;~/.pi/agent, the path is repo-root websearch.json;install.sh does not install or overwrite this config file;api;github.provider may be api or gh;request.timeoutMs defaults to 120000 and request.maxRetries defaults to 1;gh mode requires installed/authenticated GitHub CLI;EXA_API_KEY, PARALLEL_API_KEY, STACK_EXCHANGE_KEY, GITHUB_TOKEN, OPENALEX_MAILTO, CROSSREF_MAILTO, and SEMANTIC_SCHOLAR_API_KEY;GITHUB_TOKEN is required for GitHub Discussions with github.provider = "api";Return:
websearch-configuration.gh auth, invalid config, audit failures, or runtime drift.Do not include a catalog of individual websearch tools or their parameters.
~/.pi/agent/websearch.json — global user configuration for the websearch extension.websearch.json — repo-root equivalent when this checkout is the Pi agent root (~/.pi/agent).install.sh — installer intentionally copies extension/skill/subagent files, not local runtime config like websearch.json.extensions/websearch/README.md — configuration path, environment variables, and credential policy.extensions/websearch/src/config.ts — global config loading, defaults, and validation.