Beatra

From lingxling/awesome-skills-cn · View interactive version

Beatra is an AI agent skill from the GitHub repository lingxling/awesome-skills-cn. Install and use the official AI Media Generator package, pinned by digest, for paid hosted work on the Beatra service.

How to use this skill

Skill file

AI Media Generator Skill

Overview

Create AI images, videos, music, and voice-over from one Agent Skill for Claude Code, Codex, and OpenClaw. The work is produced on the hosted, paid Beatra service

(mcp.beatra.ai).

This catalog entry is a reviewed pointer, not the executable package. It

contains no client code and performs no Beatra operation by itself. The package

it points to bundles three standard-library Python scripts that make network

calls, store a credential, and can replace their own files. Read

Install and

Security & Safety Notes before activating it.

| Pinned identity | Value |

| --- | --- |

| Package | beatra 2.8.8 |

| Archive | https://cdn.beatra.ai/agent-packages/beatra/v2.8.8/beatra-skill-2.8.8.zip |

| Archive SHA-256 | e4d6698657213622de338da4c791fb5c2f5da1cb223217bffd8d11a57f7f9f35 |

| Source tree | CODE0 (full SHA 69afbfe9fc5be318279656311225c09f7ae03f97) |

| License | MIT No Attribution (MIT-0) |

The archive holds regular files only (no symlinks, no executable bits, no

binaries). Confirm that with the inspect commands below. Every file must be

byte-identical to the source tree at the pinned commit.

When to Use This Skill

Install (pinned, verified, approved twice)

Step 1: Download and verify into a review directory

Explain that this downloads an external package from cdn.beatra.ai, then ask

for approval. Only after approval:

umask 077
review_dir="$(mktemp -d)"
cd "$review_dir" || exit 1
curl -fsSLO "https://cdn.beatra.ai/agent-packages/beatra/v2.8.8/beatra-skill-2.8.8.zip"
printf '%s  %s\n' \
  'e4d6698657213622de338da4c791fb5c2f5da1cb223217bffd8d11a57f7f9f35' \
  'beatra-skill-2.8.8.zip' | shasum -a 256 -c -

Stop if the check does not print OK. The expected digest comes from this

catalog entry, not from a file on the same CDN.

Step 2: Inspect before activation

unzip -l beatra-skill-2.8.8.zip
unzip -q beatra-skill-2.8.8.zip
find beatra -type l -print            # expect no output
find beatra -type f -perm -111 -print # expect no output
grep -n '"auto_update": True' beatra/scripts/mcp_client.py

Optionally confirm byte identity with the public source tree (a second,

independent host):

git clone --quiet --filter=blob:none --no-checkout https://github.com/beatra-ai/ai-media-generator-skill.git src
git -C src checkout --quiet 69afbfe9fc5be318279656311225c09f7ae03f97 -- skills/beatra
(cd beatra && find . -type f | LC_ALL=C sort | xargs shasum -a 256) > archive.sha
(cd src/skills/beatra && find . -type f | LC_ALL=C sort | xargs shasum -a 256) > tree.sha
cmp archive.sha tree.sha && echo IDENTICAL

Report to the user what the review found: SKILL.md, manifest.json, the

bundled Markdown references, and scripts/authorize.py,

scripts/mcp_client.py, scripts/uninstall.py (Python 3.10+, standard

library only, no dependency installation, no lifecycle hooks). Summarize the

network, credential, local-state, telemetry, and self-update behavior listed

under Security & Safety Notes.

Step 3: Copy in and disable self-update before any other command

Ask for a second, separate approval, because this changes agent

configuration. Then copy the reviewed tree to the host's skills directory

(Claude Code shown; use the equivalent path for other hosts) and immediately

turn off silent self-update for that exact path:

dest="$HOME/.claude/skills/beatra"
test ! -e "$dest" || { echo "destination exists; stop and ask the user"; exit 1; }
cp -R beatra "$dest"
python3 "$dest/scripts/mcp_client.py" update --auto off

The last command must print

Automatic Beatra package updates are disabled. It writes only

~/.beatra/updates/<id>/state.json and makes no network request. Run it

before authorize.py, verify, tools, upload, or call: in this

pinned version self-update is on by default. The setting is keyed to the

resolved install path, so repeat it after moving or re-copying the directory.

Step 4: Authorize as its own decision

Authorization opens a browser sign-in and stores a bearer token. Ask first.

python3 "$dest/scripts/authorize.py"

Start a new agent session if the host discovers skills only at startup.

How It Works

  1. Read the installed package's SKILL.md and its references; they define the

routes, payload shapes, and review loop.

  1. Use free, non-billable discovery first (beatra.models.list, task list) to

read current model cards and credit estimates.

  1. Show the user a cost card for exactly one paid call: tool, model, estimate,

and which files will be uploaded. Wait for explicit approval. Planning or

"just do it" is not approval.

  1. Upload only files the user supplied and approved for this task, then submit

once with a stable client_request_id and poll the returned task.

  1. Report the delivered artifact and billing.net_charged_credits, review the

result with the user, and ask again before any further paid stage.

Examples

Free connection check (non-billable)

python3 "$HOME/.claude/skills/beatra/scripts/mcp_client.py" verify

One approved paid call

After the user approved the cost card for this exact payload, submit once with

a stable request id using the tool name from the installed SKILL.md. If the

response is lost, retry only with the same client_request_id and identical

arguments; never submit a replacement while the task is running.

Update

This entry does not endorse the package's silent self-update. Keep

update --auto off in place and do not run update --auto on or a bare

update without explicit approval.

To move to a newer version, repeat Steps 1 to 3 for that version in a new

review directory, verify its digest against the matching tree in beatra-ai/ai-media-generator-skill

(a version not listed in this entry has not been reviewed here), show the

user the file-level changes against the installed copy, and replace the

directory only after approval. update --check reports the available version

from beatra.ai without changing files.

Uninstall

dest="$HOME/.claude/skills/beatra"
python3 "$dest/scripts/uninstall.py" --dry-run
python3 "$dest/scripts/uninstall.py"

Read the JSON decision. disconnected means this was the last Beatra skill on

the device: the token was revoked (when revoked is true) and the files

credentials.json, installation.json, host.json, skills.json, and

registrations.json under ~/.beatra were removed. keep_connection means

another Beatra skill still uses the shared token, which stays. Then, after

confirming the path with the user, delete $dest.

uninstall.py does not remove ~/.beatra/updates/. When the decision is

disconnected and no other Beatra skill is installed, remove that directory

too; otherwise leave it. A token that could not be revoked expires after 15

days idle and can be revoked at once in the Beatra Console under Agents.

Best Practices

Limitations

upstream model providers and can change; the service is provided as is.

human review before publication.

a different review.

Security & Safety Notes

risk: critical is deliberate.

goes to mcp.beatra.ai. With self-update left on, the client also fetches

https://beatra.ai/skills/beatra/install.json and archives from

cdn.beatra.ai.

tools, upload, or call, the client checks for a newer release at most

once every 24 hours and, if one exists, replaces package-owned files without

per-update preview or approval. It pins host and path, verifies checksums

from Beatra's own discovery document and CDN, and rolls back on failure, but

those digests are not independently anchored. This entry therefore requires

update --auto off before first use, as in Step 3.

and forwarded to the third-party model provider executing the task. Beatra

is hosted outside mainland China. See the

privacy policy.

for reasons attributable to Beatra or the upstream model are returned

automatically; otherwise purchases are non-refundable, and actual usage can

exceed the estimate and leave a negative balance. See the

terms.

and stores one bearer token in ~/.beatra/credentials.json (directory

0700, file 0600). The token never goes into argv, environment variables,

or output. It carries full Beatra scope, including wallet:spend, has a

sliding 15-day idle lifetime, and is shared by every Beatra skill on the

device.

installation reference), host.json (agent platform and hostname),

skills.json (installed Beatra skill paths), registrations.json, and

updates/<id>/state.json plus update backups when updates run.

package slug and version, and the detected agent platform (for example

claude-code, from environment variables). On first use the client makes a

non-billable beatra.installations.register call, and every tool call adds

source_package_slug and source_platform. There is no opt-out for these

fields.

records, artifacts, and billing ledgers are retained after account closure

for audit and tax purposes.

rights in outputs; they must hold rights to uploaded media and must not

create deceptive impersonations.

Additional Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.