Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

modelscope

FreeRuns bundled scriptsNot checked

Use direct HTTP with the user's 魔搭社区 login cookies to inspect the account and save article drafts. Use for 魔搭社区 article preparation; no paired browser is…

AceDataCloudby AceDataCloud★ 17 GitHub stars

About this skill

魔搭社区 over HTTP

The connector injects MODELSCOPE_COOKIES as a JSON cookie array. Never print it. Use this bundled Python standard-library client. It talks directly to the platform's web endpoints; no local browser or browser fallback runs during execution. Login cookies are initially captured by the ACE extension and encrypted in the connection vault.

python3 "$SKILL_DIR/scripts/modelscope.py" whoami
python3 "$SKILL_DIR/scripts/modelscope.py" draft --title "标题" --content-file /tmp/article.txt
python3 "$SKILL_DIR/scripts/modelscope.py" draft --title "标题" --content-file /tmp/article.txt --confirm

SKILL_DIR belongs to the most recently loaded skill. When switching back to this platform after loading another skill, load this skill again and immediately invoke its client through SKILL_DIR. Do not search shared cache directories for a script: they can contain older bundles. Without trailing --confirm, writes only build a local preview: no cookies or network are accessed. Use --confirm only when the user's request authorizes that exact content, account and action. The script does not infer public-publication permission from a draft request.

Platform contract

The available create endpoint accepts ContentDraft only. It saves the body; it does not save the article title. Results explicitly return title_saved=false and the requested title for completion in the editor. Default text input creates literal paragraphs; for formatting use native content with --format native. This is not a model/dataset/Spaces upload skill.

Content and outcomes

  • Preserve the complete article. The client does not re-host images or fetch external media. Use already hosted images and verify them in the editor; do not silently strip an image or change the content to make a request pass.
  • The default input format is text. Plain text does not render Markdown. Native editor JSON must be prepared explicitly and checked against the source before submission.
  • Account lookup must succeed before a write. A timeout, non-JSON/WAF page, missing result ID or business error stops the flow. Never retry a write through another route/browser automatically; inspect the original item first.
  • Responses expose only selected account/result fields. Raw errors, CSRF tokens and cookies are never printed. HTTP 403 can mean WAF or account restrictions, not necessarily expiry. Reconnect at https://studio.acedata.cloud/console/connectors when login is invalid.
  • A successful save response is not independent readback. Results include readback_verified=false; inspect/reopen the returned item before claiming the complete text persisted. No HTTP public publication is implemented.
  • Do not call publish_artifact as delivered for a draft or private post.

Protocol evidence

Request/response contracts inspected in MediaSync. The Python implementation is independent; no GPL source is bundled. Offline tests verify the wire contract and failure handling, not current live-account publishing access.

Full SKILL.md on GitHub

Install modelscope in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/native-content.mdscripts/modelscope.pyscripts/publishing_http.py

FAQ

What does the modelscope skill do?

Use direct HTTP with the user's 魔搭社区 login cookies to inspect the account and save article drafts. Use for 魔搭社区 article preparation; no paired browser is required for execution.

How do I install the modelscope skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the modelscope skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare modelscope with