feat: add initial skill authoring workspace
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
22
skills/zhihu-navigate/SKILL.toml
Normal file
22
skills/zhihu-navigate/SKILL.toml
Normal file
@@ -0,0 +1,22 @@
|
||||
[skill]
|
||||
name = "zhihu-navigate"
|
||||
description = "Use when the user wants to open, switch, or navigate to a Zhihu page, tab, menu, profile area, notification area, message area, or creator area through browser actions."
|
||||
version = "0.1.0"
|
||||
author = "sgclaw"
|
||||
tags = ["zhihu", "browser", "navigation"]
|
||||
|
||||
prompts = [
|
||||
"For Zhihu creator-center or write-article navigation inside the SuperRPA browser host, call zhihu-navigate.open_creator_entry before any generic browser getText, click, or selector probing.",
|
||||
"zhihu-navigate.open_creator_entry is the deterministic path for detecting login blocks, creator-home state, and editor-ready state on www.zhihu.com.",
|
||||
"Do not use zhuanlan.zhihu.com inside this BrowserAttached host unless the host policy explicitly allows it. Prefer canonical www.zhihu.com creator routes.",
|
||||
"Never generate jQuery-style :contains() selectors. If the packaged browser script is available, use it before any generic browser probing."
|
||||
]
|
||||
|
||||
[[tools]]
|
||||
name = "open_creator_entry"
|
||||
description = "Inspect the current Zhihu page, detect login or creator/editor state, and resolve the stable creator/article-entry path on www.zhihu.com before generic probing."
|
||||
kind = "browser_script"
|
||||
command = "scripts/open_creator_entry.js"
|
||||
|
||||
[tools.args]
|
||||
desired_target = "Requested target such as creator_home or article_editor."
|
||||
Reference in New Issue
Block a user