Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add PicsArt/gen-ai-skills --skill gen-ai-usegit clone --depth 1 https://github.com/PicsArt/gen-ai-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/picsart/gen-ai-skills/gen-ai-use)<a href="https://agentmods.dev/skills/picsart/gen-ai-skills/gen-ai-use"><img src="https://agentmods.dev/badge/skills/picsart/gen-ai-skills/gen-ai-use/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/picsart/gen-ai-skills/gen-ai-use"><img src="https://agentmods.dev/badge/skills/picsart/gen-ai-skills/gen-ai-use.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00018 | $0.01750 |
| Opus 5 | $0.00009 | $0.00875 |
| Sonnet 5 | $0.00004 | $0.00350 |
| Haiku 4.5 | $0.00002 | $0.00175 |
Grade C, and why
gen-ai-use scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -fsSL https://picsart.com/gen-ai-cli/install.sh | bash Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -fsSL https://picsart.com/gen-ai-cli/install.sh | bash How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gen-ai CLI — Usage Guide
The gen-ai CLI generates AI images, videos, and audio from the terminal via the Picsart API.
When to Use
See the description above.
Prerequisites
Picsart gen-ai CLI installed and authenticated (gen-ai login). Note that gen-ai whoami only reads cached credentials from disk and reports "✓ Authenticated" if a token file exists with the right shape — it doesn't check expiry and makes no network call, so it succeeding is not proof that a subsequent network-dependent command will succeed.
How to Run
Use the agent's terminal tool to invoke gen-ai commands as described in the Procedure below.
Quick Reference
- Auth:
login,logout,whoami - Generation:
generate,remove-bg,change-bg,enhance,vectorize,redo,extend - Models / pricing:
models,models info,models compare,pricing,credits,validate - Batch:
batch run,batch status,batch resume - Drive:
upload,upload-to-drive,download,list - Config:
config get | set | list | keys | unset - History:
history,history last,history files,history clear - Utilities:
completion,update
Run gen-ai <command> --help for full flag details, or see references/FLAGS.md.
Procedure
See sections below for the detailed walkthrough.
Pitfalls
- Stale model ID — using a name from memory that's been renamed/removed → run
gen-ai modelsfirst orgen-ai validate -m <id>. - Passing
--imageto a non-i2v video model — it's silently ignored, not auto-mapped. Confirm withgen-ai models info <id>. - Forgetting
--no-inputin CI — the CLI sits waiting for an interactive prompt and the job times out. Always pair--script(or--no-input) with non-TTY contexts. - Mixing
--multiand--batch— they're mutually exclusive--input-dirmodes; pick one.
Verification
Run gen-ai whoami to confirm authentication, then re-run the failed command with --debug. If the command still fails, check the error type before assuming it's a login problem: AuthError ("Not authenticated...") means credentials are genuinely bad and gen-ai login is the fix; NetworkError (message names a transport failure like "fetch failed", or a proxy/connectivity hint) means the CLI's process can't reach the network — re-running login won't help, restoring/escalating network access will.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 147 lines · 18 tokens per session scan C 14d29044f251
gen-ai-use is a skill published in the GitHub repository PicsArt/gen-ai-skills (4 stars, last pushed 15d ago), licensed MIT. It adds 18 tokens to every session and 1,750 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
compact-manual
Claude Code skill for deterministic context compaction. Compresses the current Claude Code session to the clipboard for a manual rewind+paste workflow. A deterministic alternative to /compact that extracts literal dialog and truncates only tool outputs — no LLM summarization. Use when the user says 'compact the…
musicbrainz
Interroge l'API publique MusicBrainz pour récupérer des métadonnées musicales fiables : recherche d'artistes, discographies complètes (release-groups : albums, EPs, singles, lives, compilations), détails de releases (labels, formats, dates, pays), recordings, œuvres, relations entre entités (membres de groupe…
lastfm
Access Last.fm listening history, music stats, and discovery. Query recent tracks, top artists/albums/tracks, loved tracks, similar artists, and global charts.
tidal-playlist
Manage Tidal playlists — list, create, rename, delete, set public/private visibility, add or remove albums and tracks, and list tracks in a playlist. Use when the user wants to work with playlists or share one.
metalorgie-weekly-releases
Récupère et filtre les sorties d'albums de la semaine publiées sur metalorgie.com ("Les sorties de la semaine"). Affiche les albums correspondant aux genres favoris de l'utilisateur (Metalcore, Post Hardcore, Hardcore, Neo metal) ainsi que les albums de groupes reconnus/notables, même hors genres favoris. Utilise ce…
tidal-library
Add or remove artists, albums, or tracks from your Tidal favorites library. Use when the user wants to save music, like a song, follow an artist, or remove items from their library.