Loading...
Loading...
Read and publish on Medium (medium.com) with the user's own login cookies (BYOC) — list their posts with clap/response stats, inspect one post, and publish a new story. Use when the user mentions Medium, "my Medium posts", reading their post stats (claps/reads), or publishing a story to Medium.
npx skill4agent add acedatacloud/skills mediumurllibMEDIUM_COOKIESsiduidxsrfxsrfx-xsrf-tokenxsrfscripts/medium.pyMED=$SKILL_DIR/scripts/medium.py
python3 $MED whoami # who is logged in
python3 $MED articles --limit 20 # my posts + clap/response stats
python3 $MED article <post-id> # one post's detailspython3 $MED whoami
# → {"user_id": "...", "name": "...", "username": "..."}--confirmpublish######>```-*1.code[links](url)https://…--confirm--confirmpython3 $MED publish --title "Title" --content-file a.md # dry-run
python3 $MED publish --title "Title" --content-file a.md --draft-only --confirm # private draft
python3 $MED publish --title "Title" --content-file a.md --confirm # PUBLIC story--draft-only/me/stories/drafts--draft-onlypublish--no-rehost-imagesheader: valueMEDIUM_COOKIESpublish_artifactpublish_artifact(kind="article", channel="medium", title="<title>", url="<the REAL returned URL>", status="delivered")status="failed"_shared/artifacts.md