cpa-codex-auth-sweep

高并发异步扫描 Codex 探活机制的专属执行工具。遇到关键词如「扫号」、「清死号」、「清理 Codex 401」、「扫描凭证」时自动激活。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cpa-codex-auth-sweep" with this command: npx skills add paradoxie/cpa-codex-auth-sweep/paradoxie-cpa-codex-auth-sweep-cpa-codex-auth-sweep

技能描述

此技能用于高并发异步扫描本地 Codex 认证文件的存活状态,并可一键清理失效(401)凭证。基于 asyncio + aiohttp,默认 200 路协程并发。

前置依赖

pip install aiohttp

工作流程

# 常规扫描(只看不删)
python3 <SKILL目录>/scanner.py --no-quarantine

# 扫描 + 删除 401 死号
python3 <SKILL目录>/scanner.py --no-quarantine --delete-401 --yes

# JSON 机读模式
python3 <SKILL目录>/scanner.py --output-json --no-quarantine

清理规则

只清理明确失效的认证文件。

不清理(网络/瞬时错误)

  • network error
  • timeout
  • parse error

可清理(明确失效)

  • HTTP 401 Unauthorized
  • invalid auth
  • revoked

执行纪律

[!IMPORTANT]

  • 必须使用 Python 3 环境运行。
  • 汇报时,提取输出底部 "Scan Summary" 中的统计数字,以友好的 Markdown 摘要呈现。
  • 涉及 --delete-401 等破坏性操作前,必须确认用户有明确的删除意图(如「删掉」「清理」「扬了」)。只说「看看」「扫一下」的情况下只扫描不删除

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

gog

Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs.

Archived SourceRecently Updated
Coding

obsidian-notes

Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.

Archived SourceRecently Updated
Coding

mcporter-cli

Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.

Archived SourceRecently Updated
Coding

github-tools

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Archived SourceRecently Updated