Skip to content
cccskills
FreePublished on GitHub

skill-short-link

Add UTM tags, parameters that identify traffic sources and campaigns, to content or advertising links and shorten them through public services. Create separate links for each channel or creative variant to support traffic analysis.

OriginalShow the original description

短链 + UTM 追踪:给内容/投放链接拼接 UTM 追踪参数(来源/媒介/活动)并缩短, 便于在小红书/抖音/公众号等追踪流量来源与活动效果。当用户说"短链""生成短链""缩短链接" "UTM""追踪链接""投放链接""带参数的链接""统计来源""tinyurl"时使用。用免 key 公共短链服务。

See how to install

Good for

  • Create separate tracking links for each social platform
  • Shorten long product or form links
  • Distinguish creative variants within one campaign
  • Add UTM tags without shortening the URL

Files included (3)

  • SKILL.md2.4 KB
  • EASEL-META.md520 B
  • scripts/shortlink.py7.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

短链 + UTM 追踪

给链接拼 UTM 追踪参数并缩短,追踪各平台引流效果。走 scripts/shortlink.py(纯标准库无依赖, 短链用免 key 公共服务 TinyURL / is.gd / v.gd)。

输入

字段必填说明
URL是落地页/商品/表单链接
sourceUTM 时必填来源平台,如 xiaohongshu/douyin/wechat
mediumUTM 时必填媒介,如 social/video/cpc
campaignUTM 时必填活动名,如 618/newproduct

执行

脚本路径(相对项目根):skills/builtin/skill-short-link/scripts/shortlink.py(各子命令 -h)。

# 一步到位:拼 UTM + 缩短(最常用)
python <skill>/scripts/shortlink.py both --url "https://shop.example.com/item/123" \
  --source xiaohongshu --medium social --campaign 618

# 只拼 UTM 参数
python <skill>/scripts/shortlink.py utm --url "https://a.com/p" \
  --source douyin --medium video --campaign summer --content 视频A

# 只缩短
python <skill>/scripts/shortlink.py short --url "https://a.com/very/long/url" --provider tinyurl
  • 默认短链服务 tinyurl(最稳、任意 URL 均可);也可 --provider isgd/vgd(支持 --alias 自定义短码, 但对部分域名有黑名单)。
  • 多平台投放建议每个平台一条短链(source 不同),这样后台能分平台看流量。

规则

  1. 每个投放渠道生成独立短链(utm_source 区分),否则无法分平台归因。
  2. campaign 用统一命名规范(如 618、产品名-月份),方便后续聚合。
  3. --content 用于同活动多素材 A/B(如"视频A"/"图文B")。
  4. 短链服务为第三方公共服务,重要投放建议自建短链域名(本 SKILL 便于快速出链)。

参考来源

UTM 是 GA/各分析平台通用的来源追踪参数标准(utm_source/medium/campaign/term/content)。 短链用 TinyURL / is.gd / v.gd 的免 key 公共 API。纯 urllib 实现。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

ai-image-gen

FreeSummary

Generate images from written descriptions, transform existing images with editing instructions, or create several variations. Choose image dimensions and quantity, then save the results using an OpenAI-compatible service or apimart with your own API key.

  • Generating an illustration from a written description
  • Changing an image's background using instructions
  • Creating several variations of an existing image
ZJU-REAL/Easel4KUpdated Oct 21, 2026

ai-music

FreeSummary

Generate background music for short videos, vlogs, and social posts from descriptions of mood, style, and instruments. Download MP3 audio, optionally include sung lyrics, and use shared scripts to trim tracks, adjust loudness, or add music to videos.

  • Generating background music for a vlog intro
  • Creating instrumental music to match a social post
  • Generating a sung track from supplied lyrics
ZJU-REAL/Easel4KUpdated Oct 21, 2026

ai-video-gen

FreeSummary

Create new videos from written scene descriptions or still images using external AI services. Set the aspect ratio and duration, animate a character image, and request generated audio when the selected model supports it.

  • Generate a short video from a scene description
  • Animate a still image
  • Create character motion from a starting image
ZJU-REAL/Easel4KUpdated Oct 21, 2026

asset-manager

FreeSummary

Organize generated images, videos, and text in outputs/ by date, platform, and type. Add tags, search filenames and content, produce asset lists and reports, and preview archive moves before applying them to make past work easier to reuse.

  • Organizing generated assets by date, platform, and type
  • Finding past content through keywords and tags
  • Listing assets for a specific account or platform
ZJU-REAL/Easel4KUpdated Oct 21, 2026

audio-denoise

FreeSummary

Reduce background noise in audio recordings or video soundtracks with three processing levels. Keep the original file, create a cleaned version, and receive a report of the settings used and file details before and after processing.

  • Reducing fan or air conditioner noise in recordings
  • Cleaning speech in podcasts and interviews
  • Reducing noise in a video's audio track
ZJU-REAL/Easel4KUpdated Oct 21, 2026

audio-editing

FreeSummary

Edit audio files by trimming sections, converting formats, matching loudness, or extracting sound from videos. You can also join recordings, add fades, and change playback speed while keeping the original pitch.

  • Trim a recording to the section you need
  • Convert audio formats and match loudness
  • Extract audio from a video
ZJU-REAL/Easel4KUpdated Oct 21, 2026

See all skills by ZJU-REAL

Report a problem with this skill