← 返回 Skills 市场
winterw

Ok Core Skill

作者 WinterW · GitHub ↗ · v0.0.5 · MIT-0
darwinlinux ⚠ suspicious
204
总下载
1
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install ok-core-skills
功能描述
OK Skills — automate OK.com, a global classifieds and marketplace platform. Search listings, browse categories, view listing details, manage favorites, and m...
安全使用建议
This skill appears to implement exactly what it claims (an OK.com automation tool), but it requires broad local browser access and makes filesystem/process changes that you should consider before installing. Things to review/consider before installing or running: - Inspect and load the Chrome extension only from a trusted source; the extension has permissions to read cookies for ok.com, run scripts in pages, use the debugger API, and capture screenshots. - The Python client may auto-launch Chrome with a persistent profile under ~/.ok-agent, write a chrome.pid file, and may kill previously auto-launched Chrome processes — if you don't want profile changes or process control, set OK_NO_AUTO_LAUNCH or run in an isolated environment. - The bridge/extension architecture opens a localhost WebSocket (ws://localhost:9334) to accept commands; running the bridge server and connecting the extension allows the CLI to execute arbitrary JS in browser pages (needed for scraping/automation but high risk). - The code can set file inputs (upload local files) via the debugger API — do not run the CLI while sensitive files are present unless you trust the code and its inputs. - If you plan to use it, prefer: an isolated Chrome profile, a throwaway OK.com account or non-sensitive data for testing, and review the full repo files (especially omitted files) and the Python dependencies (playwright-stealth) before granting permissions. Confidence is medium because the package is internally coherent for its stated purpose, but the combination of high-privilege browser capabilities and filesystem/process control warrants caution and manual review prior to use.
能力标签
cryptorequires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (OK.com automation) align with the included files: a browser extension (OK Bridge), a local bridge server, Python CLI and clients (Playwright/CDP/bridge). Required binaries (python3, uv) are consistent with the CLI usage described.
Instruction Scope
SKILL.md instructs use of 'uv run --project <SKILL_DIR> ok-cli ...', bridge vs Playwright modes, and to read sub-skill SKILL.md files. It does not explicitly document side-effects present in the code: creating ~/.ok-agent, writing a chrome.pid file, auto-launching Chrome with a custom profile, or requiring installation of a Chrome extension with broad permissions. The runtime can execute arbitrary JS in the page context (via Function constructor in the extension) which is expected for an automation tool but is a high-privilege capability and should be disclosed.
Install Mechanism
There is no remote download/install spec — code and pyproject are included. Dependencies are standard PyPI packages (requests, websockets, playwright, playwright-stealth). No external URLs or archive downloads were specified in the install metadata.
Credentials
The skill declares no required environment variables, which is consistent. However the runtime supports and uses optional env vars (OK_CDP_URL, OK_NO_AUTO_LAUNCH, OK_HEADLESS, etc.) and will create ~/.ok-agent and a persistent Chrome profile. The extension and bridge can read cookies for ok.com and the CLI can call get_cookies — access to local browser data is proportional to login/automation features but is sensitive and not highlighted in the top-level SKILL.md.
Persistence & Privilege
always:false (good). But the code will create ~/.ok-agent, write a PID file, may auto-launch and later kill Chrome instances, and attempts to reuse or manage a persistent Chrome profile. The Chrome extension requires 'cookies', 'debugger', 'scripting' and can execute arbitrary code in page MAIN world and set file input values via CDP — these are high-privilege browser capabilities and represent a meaningful persistence/privilege footprint on the user's machine.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ok-core-skills
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ok-core-skills 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.5
- Improved search functionality in scripts/ok/full_search.py - Updated route handling in scripts/ok/urls.py
v0.0.4
- Expanded and clarified the skill description in SKILL.md, adding English explanations, feature summaries, supported use-cases, and alias names. - Listed all 10 supported countries, key feature highlights, and typical user prompts in the description for improved discoverability and clarity. - No changes to technical constraints, interface, or subskill logic.
v0.0.3
- Added a new file: skills/ok-account/SKILL.md. - 收藏管理和我的帖子相关操作统一改为先读取 ok-account 子技能文档并按步骤执行,需检查登录。 - 输入判断流程中,收藏和我的帖子操作调整为需依赖 skills/ok-account/SKILL.md。 - Favorites 和 My Posts 子技能说明已合并为 ok-account,原有相关命令从主文档移除。 - 增强子技能职责边界,使账户相关操作更集中、更易于维护。
v0.0.2
Initial implementation of core skills for ok-core-skills: - Added 32 core files supporting automation logic (Python .pyc cache files) for command execution. - Core modules cover country/city management, category browsing, search, login, favorites, and post management. - Prepared CLI interface and logic to enable skill routing, favorites, locale switch, and feed handling. - Supports both Bridge (Chrome extension) and Playwright (headless browser) modes for flexibility.
v0.0.1
- Initial release of the OK.com automation skill collection. - Supports multi-country/city/language switching, post search, category browsing, detail retrieval, favorites management, and personal post management. - Unified CLI operations using uv and ok-cli, with detailed execution and input routing rules. - Two operation modes: Bridge (with Chrome extension) and Playwright (headless browser fallback). - Comprehensive input intent parsing and strict routing to sub-skills based on user requests. - Structured JSON output for all CLI operations and enforced execution constraints.
元数据
Slug ok-core-skills
版本 0.0.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Ok Core Skill 是什么?

OK Skills — automate OK.com, a global classifieds and marketplace platform. Search listings, browse categories, view listing details, manage favorites, and m... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 204 次。

如何安装 Ok Core Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ok-core-skills」即可一键安装,无需额外配置。

Ok Core Skill 是免费的吗?

是的,Ok Core Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ok Core Skill 支持哪些平台?

Ok Core Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。

谁开发了 Ok Core Skill?

由 WinterW(@winterw)开发并维护,当前版本 v0.0.5。

💬 留言讨论