suno-ai

Generate music via Suno with the local browser-backed flow. Use when the user wants Suno songs, instrumental tracks, lyric-based songs, Suno credit checks, or Suno session recovery.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "suno-ai" with this command: npx skills add mysebbe/suno-ai

Suno AI

Use this skill directly from the chat agent when the user wants music generation or a Suno credit check. Do not delegate ordinary Suno generation to a coding agent.

Default flow

Run the skill from its own directory:

cd /home/sebbe/.openclaw/workspace-chat/skills/suno-ai
./run_generate_song.sh ...

The generator uses:

  • the runtime Python environment in ~/.suno/venv
  • the persistent browser profile in ~/.suno/chrome_gui_profile
  • the normalized cookie header in ~/.suno/suno_cookie.txt
  • raw cookies in ~/.suno/cookies.json
  • the browser-backed v2-web Suno flow with hCaptcha solving
  • output files in /home/sebbe/.openclaw/workspace-chat/output_mp3
  • debug logs and screenshots in ~/.suno/debug

Common commands

Simple prompt:

./run_generate_song.sh \
  --prompt "short synthwave instrumental with bright arpeggios" \
  --instrumental \
  --json

Lyrics + style:

./run_generate_song.sh \
  --lyrics "In the wires, in the code..." \
  --tags "cyberpunk, dark synth" \
  --title "Digital Soul" \
  --json

Credits only:

./run_generate_song.sh --credits-only --json

Validate imported cookies:

./run_generate_song.sh \
  --import-cookies /path/to/export.txt \
  --validate-session \
  --json

Session recovery

If generation fails because the Suno browser session is stale:

  1. Make sure the local cookie receiver service is running at http://127.0.0.1:8765/suno/cookies.
  2. Export fresh cookies from the local Suno extension while logged in.
  3. Retry the generation command.

Do not rebuild the login flow unless the user explicitly asks to repair the skill.

Runtime cookies, logs, screenshots, and other session artifacts must stay under ~/.suno, not inside the skill folder.

Reply format

When generation succeeds, report:

  • track title
  • clip ids
  • saved MP3 paths
  • remaining Suno credits

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Tsconfig Validator

Validate and lint tsconfig.json files for common mistakes, conflicting compiler options, strictness gaps, and best practices. Use when asked to lint, validat...

Registry SourceRecently Updated
General

API Diff

Compare two OpenAPI 3.x or Swagger 2.0 specs and generate a changelog of breaking and non-breaking changes. Detect removed endpoints, new required parameters...

Registry SourceRecently Updated
General

Eslint Flat Config Validator

Validate ESLint v9+ flat config files (JSON-exported) for structural correctness, language options, rules configuration, plugin hygiene, file patterns, and b...

Registry SourceRecently Updated
General

Migration Safety Checker

Check database migrations for safety — detect data loss risks, locking operations, backward compatibility issues, and deployment ordering problems across SQL...

Registry SourceRecently Updated