@acedatacloud/skills 2026.621.6 → 2026.621.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acedatacloud/skills",
|
|
3
|
-
"version": "2026.621.
|
|
3
|
+
"version": "2026.621.7",
|
|
4
4
|
"description": "Agent Skills for AceDataCloud AI services — music, image, video generation, LLM chat, web search. Compatible with Claude Code, GitHub Copilot, Gemini CLI, OpenAI Codex, and 30+ AI coding agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-skills",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description: Read and publish on
|
|
2
|
+
name: zhihu
|
|
3
|
+
description: Read and publish on Zhihu (知乎) with the user's own login cookies (BYOC) — list their published articles with vote/comment stats, inspect one article, and publish a new article. Use when the user mentions 知乎 / Zhihu, "我的知乎文章", reading their article stats (点赞/评论), or publishing/发文 to Zhihu.
|
|
4
4
|
when_to_use: |
|
|
5
5
|
Trigger for anything on the user's Zhihu (知乎) account driven by their own
|
|
6
6
|
login cookie: show who they are, list their published articles with
|
|
@@ -15,7 +15,7 @@ metadata:
|
|
|
15
15
|
version: "1.0"
|
|
16
16
|
---
|
|
17
17
|
|
|
18
|
-
#
|
|
18
|
+
# zhihu — read & publish on Zhihu via your own cookies
|
|
19
19
|
|
|
20
20
|
Drives the user's **real** Zhihu account through the same web APIs the site's
|
|
21
21
|
own editor uses, authenticated by the login cookie they captured with the ACE
|
|
@@ -93,5 +93,6 @@ python3 $BLOG publish --title "标题" --content-file article.html --confirm
|
|
|
93
93
|
acts on the user's own account with their own captured cookie; the user owns
|
|
94
94
|
that risk. Never use it to scrape other people's content at scale.
|
|
95
95
|
- **Never print `ZHIHU_COOKIES`** — it is full account access.
|
|
96
|
-
- **Scope
|
|
97
|
-
|
|
96
|
+
- **Scope**: Zhihu only. Other Chinese platforms (掘金 / CSDN / …) ship as their
|
|
97
|
+
own per-platform skills (e.g. `csdn`, `juejin`), each with its own connector —
|
|
98
|
+
not a `--platform` switch here.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
"""
|
|
3
|
-
|
|
3
|
+
zhihu — read & publish on Zhihu (知乎) with the user's own
|
|
4
4
|
login cookies (BYOC). Standard-library only (urllib), no third-party deps,
|
|
5
5
|
so it runs in the bare sandbox without an image change.
|
|
6
6
|
|
|
@@ -319,7 +319,7 @@ COMMANDS = {
|
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
def main() -> None:
|
|
322
|
-
p = argparse.ArgumentParser(prog="blog.py", description="
|
|
322
|
+
p = argparse.ArgumentParser(prog="blog.py", description="zhihu cookie CLI")
|
|
323
323
|
p.add_argument("--platform", default="zhihu", choices=["zhihu"],
|
|
324
324
|
help="content platform (only zhihu is implemented today)")
|
|
325
325
|
sub = p.add_subparsers(dest="command", required=True)
|