# AiToEarn: create and publish social posts from your assistant (yikart/AiToEarn) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-13 against commit 4b59b10 (version 0.0.5).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/yikart/aitoearn/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
Your assistant becomes a front end for the AiToEarn online service. It writes posts, makes images, videos and voice-overs, edits video in the cloud, and publishes the result to your linked social accounts. All the work happens on AiToEarn's servers with your AiToEarn key, and it costs AiToEarn credits.

## Who it is for
- You run social accounts (TikTok, YouTube, Instagram, Douyin, Xiaohongshu and others) and want your assistant to post for you
- You want images, short videos, subtitles or voice-overs made and published in one chat
- You already have, or are happy to create, an AiToEarn account and key
- Not for: You want everything to stay on your own computer: every step runs on AiToEarn's servers
- Not for: You don't want an assistant that can post on your accounts: publishing is a core part of the pack

## What it is
- Kind: knowledge, scripts
- License: MIT
- Repository: https://github.com/yikart/AiToEarn

## What it does
- One entry skill (aitoearn) routes each request to one of 13 task skills: publishing, image making, image editing, video making, cloud video editing, subtitles, voice and sound, media analysis, and a cloud browser
- Every task skill calls tools on AiToEarn's hosted service; the skills forbid other image or video services and local scripts
- Publishing reads each platform's current limits from the service, writes the post text itself, and publishes at once unless you set a time
- With several linked accounts on one platform it asks which one to post to; failed or cancelled posts are not retried
- Video defaults to the cheapest model (Seedance 2.0 Mini, 480p, 4 seconds) and asks before switching to a bigger one
- Content rules: no children or minors in generated media, even if you ask

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| aitoearn | plain language (entry skill, loads the others) | no | The front door that picks the right task skill for your request |
| channel-publish | plain language ("Publish this to my TikTok") | no | Posts, schedules, cancels or updates posts on your linked social accounts |
| image-creation | plain language ("Make a cover image for ...") | no | Makes or restyles pictures for posts, covers, posters and product shots |
| image-edit | plain language ("Crop this to a square") | no | Exact picture edits such as crop, rotate, resize, blur, watermark |
| video-generation | plain language ("Make a 4-second product video") | no | Makes, edits or extends short videos with Seedance models |
| byted-mediakit-cloudedit-planner | plain language ("Cut these clips into a 30-second video") | no | Plans a video edit from your clips before anything is cut |
| byted-mediakit-cloudedit-basic | loaded by the planner or for simple edits | no | Does the edit in a cloud video editor: trim, join, subtitles, transitions, export |
| byted-mediakit-asr | plain language ("Get subtitles for this video") | no | Turns speech in a video or recording into subtitles or a transcript |
| byted-mediakit-audiogen | plain language ("Add a voice-over") | no | Makes narration, dialogue, sound effects and background sound |
| byted-mediakit-media-understand | plain language ("What happens in this video?") | no | Summarises videos |
| byted-audio-continuity | loaded during edits | no | Fixes clicks, gaps and music balance at cuts |
| byted-asset-preparation | loaded during edits | no | Decides how to prepare media: split voice from music, remove burned-in captions, change format |
| byted-basic-working-principles | loaded first for any video task | no | Shared working rules for video jobs: follow the brief, check results, report honestly |
| browser-operations | plain language ("Open this site and ...") | no | Drives a browser in AiToEarn's cloud to open sites, click, type and read pages |

### channel-publish
- Asks for: The media to post (links to images or videos)
- Asks for: Which platform, and which account if you have several
- Asks for: A publish time, if not now
- Asks for: Topics or hashtags, if you want them
- Gives: A post on the platform with title and text written for you
- Gives: AI label set on AI-made media unless you say no
- Gives: For Douyin, a link or QR code to finish the post in the Douyin app
- Gives: For Xiaohongshu and WeChat Channels, a guided publish through AiToEarn's browser extension
- Say: "Publish this video to my TikTok account with a short caption"

### image-creation
- Asks for: What the image is for
- Asks for: Reference images, if any
- Asks for: Size or shape, if it matters
- Gives: Image links
- Gives: The final prompt, model and size used
- Say: "Make a 9:16 cover image for a video about home pour-over coffee"

### video-generation
- Asks for: What should happen in the video
- Asks for: Reference images, video or audio, if any
- Asks for: Length, quality or shape, if you need more than the default
- Gives: Video links for every finished clip
- Gives: Failed clips listed with the error
- Gives: The final prompt, model and settings
- Say: "Make a 4-second video of a coffee being poured, vertical"

## Know before installing
- Nothing works without an AiToEarn account and key; the skills alone do nothing.
- It can post on your social accounts without asking you to approve the text: it writes the copy itself and publishes at once unless you give a time.
- Several steps cost AiToEarn credits, including small checks on media files.
- In the Codex, Qwen, Trae and DeepSeek Harness packages a small Node script saves your key to ~/.aitoearn/config.json in your home folder.
- License is unclear: the repository license is MIT, but the plugin files call themselves proprietary.

## Install (official commands)
- Any listed assistant (install prompt): `Install the plugin package from https://github.com/yikart/AiToEarn/tree/main/skills for me` — Paste as a chat message. The assistant asks for your key, writes the config files in your home folder and checks the connection. Fully quit and reopen the assistant afterwards.
- Claude Code: `claude plugin marketplace add <plugin-folder>` && `claude plugin install aitoearn@<marketplace-name>` — <plugin-folder> stands for the package folder (the README writes this placeholder in Chinese). First copy .mcp.json.tpl to .mcp.json in skills/claude-plugin-aitoearn and fill in the server name, URL and your key. Or copy the folder into ~/.claude/plugins/. Remove: `claude plugin uninstall aitoearn, then delete .mcp.json with your key`.
- Codex: `codex plugin add aitoearn@aitoearn-local` — Needs a local marketplace folder and two entries in ~/.codex/config.toml first; the package README lists them. The repository root also ships .agents/plugins/marketplace.json pointing at skills/codex-plugin-aitoearn.
- Any client that speaks MCP (Claude Desktop, Cursor): Connects only the AiToEarn server, without these skills: add the server URL with an x-api-key header.

## What runs on the user's machine
- Code on the machine: yes (Codex, Qwen, Qwen Work, Trae and DeepSeek Harness packages (the Claude Code and Kimi packages are text plus a server config))
- Network: yes
- Every tool call, all packages: Prompts, media links and publish requests go to AiToEarn's server (aitoearn.cn or aitoearn.ai) with your key. Generation, editing, the cloud browser and publishing all run there.
- Setup when tools are missing (Codex and similar packages): aitoearn-mcp-setup.mjs writes your key to ~/.aitoearn/config.json (mode 600) and calls the server once to list its tools.
- Every session (Codex and similar packages): aitoearn-bridge.mjs runs as a local relay between the assistant and AiToEarn's server, reading the key from the environment or ~/.aitoearn/config.json.
- DeepSeek Harness: lib/index.js only reads the bundled SKILL.md files and registers them; no network.
- Install prompt: The assistant writes config into your home folder (for Codex, ~/.codex/config.toml and a marketplace folder) and saves your key in .mcp.json inside the package.

## Settings
- `AITOEARN_API_KEY`: Key for aitoearn.ai, read by the local relay (Codex and similar packages)
- `AITOEARN_CN_API_KEY`: Key for aitoearn.cn
- `AITOEARN_CONFIG`: Other path for the shared key file (default ~/.aitoearn/config.json)

## Examples (from the pack's own files)
- What an image job hands back: output format defined in skills/claude-plugin-aitoearn/skills/image-creation/SKILL.md
- Sample image prompts: output format defined in skills/claude-plugin-aitoearn/skills/image-creation/references/sample-prompts.md

## Steps only the person can do
- Sign up at aitoearn.cn or aitoearn.ai and create a key under Settings, API Key (https://docs.aitoearn.ai/en/use/api-key) Then: The assistant writes the key into the server config and checks the connection
- Link and authorize your social accounts in the AiToEarn app (and re-authorize when a login expires) (aitoearn.cn or aitoearn.ai) Then: channel-publish can post to those accounts
- Confirm credit costs when the service asks (In the chat) Then: The generation or browser task runs
- For Douyin posts, scan the QR code or open the link in the Douyin app before it expires (Douyin app) Then: The assistant checks until the post is published or failed
- Fully quit and reopen the assistant after install (Your assistant app) Then: The skills and server connection load in a new session

## Mistakes to avoid
- Not: Install only the skill folders and expect them to work. Instead: Also set up the AiToEarn server connection with your key, then restart the assistant. Why: Every skill calls tools on AiToEarn's server; without them the assistant can only report that tools are missing
- Not: Use an aitoearn.cn key with the aitoearn.ai server, or the other way round. Instead: Match the key to the site; aitoearn.cn for Chinese platforms, aitoearn.ai for international ones. Why: The two sites' keys do not work on each other's server
- Not: Expect the assistant to show you the post text before publishing. Instead: Ask for a draft first, or give the text and a publish time yourself. Why: The publish skill writes title and body itself and posts at once by default
- Not: Expect HD or long video by default. Instead: Ask for the resolution and length you need; it confirms before switching model. Why: The default is Seedance 2.0 Mini at 480p and 4 seconds
- Not: Ask it to retry a failed post. Instead: Ask for a new post; fix the account login first if the error was about it. Why: Failed or cancelled publish tasks are never retried

## What leaves the machine
- Your prompts, media links, edit and publish requests, and your AiToEarn key → AiToEarn's server (aitoearn.cn or aitoearn.ai), Every tool call. Opt out: No opt-out; the pack does nothing without it
- Posts (text, images, videos) on your linked social accounts → The social platforms you publish to, through AiToEarn, When you ask to publish. Opt out: Don't link accounts or don't ask it to publish
- Pages you ask the cloud browser to open and the actions it takes there → A browser running in AiToEarn's cloud, Only with browser-operations. Opt out: Don't ask for browser tasks

## Lines in the pack aimed at agents (ask the person first)
- "Write `title` and `body` yourself based on the content being published — never ask the user for copy." (skills/claude-plugin-aitoearn/skills/channel-publish/SKILL.md): Posting on someone's real accounts is a public action; show the text and target account and get a clear yes before publishing.
- "Run `node <this-skill-root>/scripts/aitoearn-mcp-setup.mjs <API_KEY> [cn|ai]`." (skills/codex-plugin-aitoearn/skills/aitoearn/SKILL.md): This asks for the key in chat and passes it on the command line, then writes it to the home folder; let the person place the key themselves (environment variable or config file) and ask before running the script.
- "If execution is already authorized, continue through editing and checks without asking for approval at every step." (skills/claude-plugin-aitoearn/skills/byted-basic-working-principles/SKILL.md): Steps cost credits; tell the person what will be spent before long video jobs.

## May I use it like this?
- commercial-app: conditions (Repository LICENSE is MIT, but the plugin manifests and entry SKILL.md say Proprietary; ask AiToEarn before reusing the skill files. Using the service follows AiToEarn's own terms.)
- redistribute-files: conditions (MIT at the repository root conflicts with Proprietary in the packages; treat the skill files as not cleared for redistribution until the vendor confirms)
- client-work: conditions (Fine to use the installed pack with your own AiToEarn account; posting for clients means linking their accounts to your AiToEarn account)

## Which one to pick
- If You want one hosted service to make images and videos and publish them to many platforms, and are fine paying its credits: skill:yikart/AiToEarn
- If You want uploads to Douyin, Xiaohongshu, TikTok, YouTube and others from a browser on your own computer, without a hosted service: skill:dreammis/social-auto-upload
- If You only need Xiaohongshu posting, comments and search: skill:white0dew/XiaohongshuSkills
- If You want to edit videos and Shorts on your own machine with Codex or Claude Code: skill:nateherkai/herk-edit-kit

## Works well with
- agent:claude-code: A Claude Code plugin package with all 14 skills ships in skills/claude-plugin-aitoearn
- agent:openai-codex: A Codex plugin package with a key setup script and local relay ships in skills/codex-plugin-aitoearn
- agent:trae: A Trae skill package ships in skills/trae-skill-aitoearn

## Works in and needs
- Works in Claude Code: plugin
- Works in Codex: plugin
- Works in Trae, Doubao, Qwen, Qwen Work, Kimi Work, DeepSeek Harness: skills folder or plugin per assistant, via the install prompt
- Works in Claude Desktop, Cursor and other MCP clients: MCP server only (no skills)
- Needs AiToEarn account and API key: Every skill calls AiToEarn's hosted server
- Needs AiToEarn credits: Generation
- Needs Node.js: Key setup and the local relay in the Codex, Qwen, Trae and DeepSeek Harness packages
- Needs Linked social accounts: Publishing needs an authorized account on each platform

## How to tell it works
After setup and a full restart, ask "List the available publishing channels". A list of platforms means the skills and the AiToEarn connection both work; a "no tools" answer means the key or server config is missing.

## Safety
Your key ends up in plain files: .mcp.json inside the package folder and ~/.aitoearn/config.json. Don't share or commit them. The publish skill posts on your real accounts; ask to see the text first if that matters to you.
