Facebook Upload logo

Facebook Upload

CommunityPopular
dreammis
facebook-upload

使用 sau CLI 登录 Facebook 个人主页,立即发布视频或图文,查询原作品、移至垃圾箱或永久删除。

Overview

Publisherdreammis
Repositorysocial-auto-upload
Skill namefacebook-upload
Stars
15.7K
Forks
2.7K
Bundled files
3
LicenseMIT-0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by dreammis on GitHub. Read the source before you install it.

Installation

Install the Facebook Upload AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/dreammis/social-auto-upload/tree/main/skills/facebook-upload
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dreammis/social-auto-upload.git /tmp/social-auto-upload
mkdir -p .claude/skills
cp -r /tmp/social-auto-upload/skills/facebook-upload .claude/skills/facebook-upload
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Facebook Upload in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Facebook Upload on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Facebook Upload is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Facebook 个人主页发布与删除

本 Skill 调用现有 CLI。默认不配置代理,浏览器按系统网络直连;网络环境需要代理时显式传 --proxy 或设置 SAU_FACEBOOK_PROXY。传 --proxy "" 可忽略环境变量并直连。

powershell
sau facebook login --account creator
sau facebook check --account creator
sau facebook upload-video --account creator --file videos/demo.mp4 --title "标题" --desc "正文" --tags 生活,分享
sau facebook upload-note --account creator --images images/1.jpg images/2.jpg --title "图文标题" --note "正文"

登录时在可见 Chrome 完成登录,账号保存为 cookies/facebook_creator.json。check 验证个人主页登录态,不代表 Page 权限或作品发布结果。标题、正文、标签合并为一段配文。当前支持立即发布,未接入个人主页定时;Page 使用独立 facebook-page 命令。

取得原作品链接后管理作品:

powershell
sau facebook verify --account creator --post-url "原作品链接" --owner-id "作者数字ID" --expected-text "原作品正文"
sau facebook delete --account creator --post-url "原作品链接" --owner-id "作者数字ID" --expected-text "原作品正文" --result .local/trash-result.json
sau facebook delete --account creator --post-url "原作品链接" --owner-id "作者数字ID" --expected-text "原作品正文" --from-trash --permanent --result .local/delete-result.json

删除前同时核对登录用户、作者、原作品编号和正文。默认移至垃圾箱,30 天后由平台删除,返回 trashed;加 --permanent 立即永久删除,已经在垃圾箱时再加 --from-trash。永久删除不可恢复。

verify --from-trash 查询垃圾箱原记录;verify --deleted 仅确认编号不在垃圾箱,返回 absent_from_trash,不能单凭缺席证明过去发生过永久删除。当前仅检索有限滚动范围的近期作品;没有找到或同文案无法唯一定位时明确失败。

只有平台出现本次提交的成功提示才认为发表已确认。点击后超时或浏览器断开应视为结果未知:先在同一账号个人主页或垃圾箱核对原作品,不重复上传或重复删除。本地素材不会被删除。完整参数以 sau facebook upload-video --help、upload-note --help、verify --help 和 delete --help 为准。

示例脚本

scripts/examples/ 下的文件是复制用示例,不是运行时依赖。执行前先查看当前 CLI 的 --help,替换账号、素材和正文;这些命令可能创建真实作品。

  • facebook_commands.ps1:PowerShell
  • facebook_commands.sh:Bash
  • facebook_cli_template.py:Python subprocess

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Facebook Upload AI skill do?

使用 sau CLI 登录 Facebook 个人主页,立即发布视频或图文,查询原作品、移至垃圾箱或永久删除。

Why use Facebook Upload on TypingMind?

Because you install it once and use it with any model. Facebook Upload is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Facebook Upload in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/dreammis/social-auto-upload/tree/main/skills/facebook-upload. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Facebook Upload?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Facebook Upload?

As many as you like. As long as a model supports skills, you can use Facebook Upload with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Facebook Upload AI skill free?

Yes. It is published on GitHub by dreammis under the MIT-0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇