By chukonu-team
Chukonu 搜索 CLI 插件:提供通用网络搜索与专利搜索两个 skill,底层依赖 chukonu-cli 命令行 (需 pip install chukonu-cli 并 chukonu-cli auth login)
Python CLI for Chukonu 搜索网关 (api-gateway),基于 Typer。
python -m venv .venv
.venv/bin/pip install -e .
| 命令 | 说明 |
|---|---|
chukonu-cli auth login [--provider {google,wechat}] | OAuth Authorization Code Flow + PKCE + loopback 回调 |
chukonu-cli auth logout [--provider X] [--all] [--remote] | 清理凭据,可同时在网关撤销 refresh token |
chukonu-cli auth status [--json] | 查看登录状态;未登录 exit 1 |
chukonu-cli doctor [--json] | 健康检查 (config / 凭据 / 网关 / token / 上游) |
chukonu-cli api <METHOD> <PATH> [flags] | 通用 API 调用,自动注入 Bearer |
chukonu-cli search <query> [flags] | 通用网络搜索,薄封装 POST /se4ai/api/search(产品二,gated:公网搜索默认未对外,patent 用户请用下方 patent) |
chukonu-cli patent {keyword,similar,advanced,get,stats} | 专利搜索(第一版主推) |
~/.chukonu-cli/config.toml~/.chukonu-cli/locks/~/.local/share/chukonu-cli/credentials.json (0600)CLI ↔ 网关采用 OAuth 2.0 Authorization Code Flow + PKCE (RFC 7636, S256):
code_verifier 与 code_challenge = BASE64URL(SHA256(verifier))127.0.0.1:<port> loopback HTTP server 作为 redirect_uri{gateway}/auth/{provider}/login?redirect_uri=...&state=...&code_challenge=...&code_challenge_method=S256/auth/{provider}/callback?code=<一次性码>&state=... 给 loopback (access_token 不再进浏览器 URL)POST /auth/token 带上 code + code_verifier + redirect_uri 换取 session (access/refresh token)credentials.json (明文,0600)支持的 provider:
google —— 标准 OIDC,网关验 id_token (RS256 via JWKS),subject = Google subwechat —— 微信开放平台网站应用 snsapi_login 扫码,网关调 sns/oauth2/access_token 拿 openid/unionid,subject 优先 unionid 回退 openid两条路径在 CLI 侧完全对称,凭据文件可同时保留多个 provider,current 字段决定默认使用哪个。
编辑 ~/.chukonu-cli/config.toml:
default_provider = "wechat"
或每次用 --provider wechat 临时覆盖。
skills/chukonu-search-patent/(专利搜索)为第一版主推的 AI Agent (例如 Claude Code) 接入能力。
skills/chukonu-search-general/(通用网络搜索)为「产品二」,当前 [DEPRECATED — product 2],保留待公网搜索对外后重启。
本仓库本身即是一个 Claude Code 插件 marketplace,内含 chukonu-cli 插件(第一版主推 chukonu-search-patent;chukonu-search-general 为 gated 的产品二)。
前置:已 pip install -e . 或 pip install chukonu-cli,并完成 chukonu-cli auth login。
# 在 Claude Code 中
claude plugin marketplace add chukonu-team/chukonu-cli
claude plugin install chukonu-cli@chukonu
安装后 skill 会以 chukonu-cli:chukonu-search-general 与 chukonu-cli:chukonu-search-patent 暴露,Claude 会按需自动调用。
本地开发调试:
claude plugin marketplace add /absolute/path/to/chukonu-cli
claude plugin install chukonu-cli@chukonu
# 修改 SKILL.md 后
/plugin marketplace update chukonu
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub chukonu-team/chukonu-cli --plugin chukonu-cliHarness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Binary reverse engineering, malware analysis, firmware security, and software protection research for authorized security research, CTF competitions, and defensive security
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Next.js development expertise with skills for App Router, Server Components, Route Handlers, Server Actions, and authentication patterns
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications