Community이미지github.com

getedgehq/linkedin-media-prep

이미지와 동영상을 LinkedIn 업로드에 최적화된 크기와 품질로 변환, 자르기, 크기 조정, 압축합니다. 사용자가 LinkedIn 프로필 사진, 커버 사진, 게시물 이미지, 동영상 등을 준비할 때 사용합니다.

linkedin-media-prep란 무엇인가요?

이 스킬은 이미지와 동영상을 LinkedIn 플랫폼에 최적화된 형식과 크기로 변환하는 전문 AI 어시스턴트입니다. 명확한 규격표를 제공하여 '기본 선택'인 4:5 비율(1080×1350)의 게시물 이미지부터 프로필 사진(800×800 권장), 커버 사진(1584×396), 동영상(정사각형 1080×1080, 가로 1920×1080, 세로 1080×1920)까지 모든 사용 사례를 다룹니다. 이미지는 ImageMagick(magick/convert)이나 macOS 기본 도구인 sips를 사용하여 HEIC/RAW 등에서 JPEG 또는 PNG로 변환하고, EXIF 방향을 자동으로 보정한 후 사용자와 반복적으로 자르기 작업을 수행합니다. 동영상은 ffmpeg/ffprobe를 사용하여 iPhone 등 모바일 기기의 회전 메타데이터를 처리하고, 올바른 필터 체인(transpose + crop/scale/pad)을 구성하여 LinkedIn이 요구하는 yuv420p 픽셀 포맷, H.264 + AAC 코덱, 30fps 프레임률로 인코딩합니다. 각 단계별로 구체적인 명령어 예시와 파라미터 설명(예: -crf 23, -movflags +faststart)을 포함하여 개발자나 AI 에이전트가 명령어 기반으로 정확하게 작업을 수행할 수 있도록 돕습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/getedgehq/skills/tree/main/linkedin-media-prep

Installed? Explore more 이미지 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

LinkedIn 미디어 준비

모든 이미지나 동영상을 LinkedIn에 맞는 올바른 크기, 자르기, 압축으로 준비합니다.


이미지 규격

사용 사례크기비율참고 사항
게시물(세로, 최대 피드 공간)1080 × 13504:5기본 선택 (사진용)
게시물(가로)1200 × 6271.91:1배너, 스크린샷에 적합
게시물(정사각형)1080 × 10801:1안전한 범용 선택
게시물(4:3)1440 × 10804:3카메라 원본 사진에 적합
프로필 사진400 × 400 최소1:1800 × 800 권장
커버 사진1584 × 3964:1
아티클 대표 이미지1200 × 6271.91:1
최대 파일 크기8 MB—빠른 업로드를 위해 < 1 MB 목표
형식JPEG, PNG, GIF—사진에는 JPEG 권장

동영상 규격

사용 사례크기비율참고 사항
게시물(정사각형)1080 × 10801:1안전한 범용 선택
게시물(가로)1920 × 108016:9표준 피드 동영상
게시물(세로)1080 × 19209:16모바일/릴스 스타일; 원본이 9:16이 아니면 패딩
최대 파일 크기5 GB—빠른 업로드를 위해 < 200 MB 목표
최대 길이30분—최소 3초
형식MP4 (H.264 + AAC)—MP4 필수 (최고 호환성)
프레임 속도30 fps—원본과 일치하거나 30fps로 표준화
픽셀 형식yuv420p—광범위한 재생 지원에 필수

이미지 작업 흐름

1. 원본 확인

sips -g pixelWidth -g pixelHeight "<input>"
ls -lh "<input>"

2. EXIF 방향 수정 (필요 시)

iPhone 및 모바일 사진은 종종 세로 이미지를 회전된 픽셀 대신 EXIF 방향 태그로 저장합니다. ImageMagick은 일반적으로 이를 자동으로 처리하지만, 변환 후 이미지가 옆으로 보이면 자르기 전에 강제로 바로 세울 수 있습니다.

magick "<input>" -auto-orient "<input>-upright.png"

수정된 버전을 자르기 작업 파일로 사용합니다.

3. 편집 가능한 형식으로 변환

원본이 HEIC 또는 PNG가 아닌 다른 형식인 경우:

sips -s format png "<input>" --out "<input>.png"

PNG를 자르기 작업 파일로 사용합니다.

4. 자르기 (사용자와 반복)

첫 번째 자르기: 중앙 기준, 대상 비율에 따라 크기 선택.

세로 사진을 4:5 세로 게시물로 만들 경우:

  • 자르기 너비 = 이미지 전체 너비
  • 자르기 높이 = 너비 × 5 / 4
  • Y-오프셋 = (원본_높이 − 자르기_높이) / 2

3024 × 4032 원본의 예:

magick "source.png" -crop 3024x3780+0+126 "cropped.png"

반복 조정:

  • "더 확대" → 자르기 WxH 줄이기 (예: 3024×3780 대신 2000×2500). 비율 유지.
  • "위 공간이 너무 많음" → Y-오프셋 증가 (자르기 아래로 이동).
  • "아래 공간이 너무 많음" → Y-오프셋 감소 (자르기 위로 이동).
  • "더 넓게/좁게 필요" → 비율 유지하며 W와 H 조정.

자르기 공식:

magick "source.png" -crop <W>x<H>+<X>+<Y> "cropped.png"
# X = (원본_너비 − W) / 2  (중앙 정렬)
# Y = 피사체 위치에 따라 조정

5. LinkedIn용 크기 조정 및 압축

magick "cropped.png" -resize 1080x1350 -quality 85 "<name>-linkedin.jpg"

프로필 사진:

magick "cropped.png" -resize 800x800 -quality 85 "<name>-linkedin-profile.jpg"

커버 사진:

magick "cropped.png" -resize 1584x396 -quality 85 "<name>-linkedin-cover.jpg"

4:3 게시물:

magick "source.png" -resize 1440x1080 -quality 85 "<name>-linkedin-4by3.jpg"

6. 출력 확인

ls -lh "<output>.jpg"
sips -g pixelWidth -g pixelHeight "<output>.jpg"

확인 사항:

  • 크기가 대상과 일치
  • 파일 크기 < 8 MB (가급적 < 1 MB)
  • 품질이 허용 가능한 수준

어떤 동영상 형식을 선택해야 하나요?

원본 방향목표권장 대상
세로 (휴대폰 동영상)최대 모바일 피드 공간세로 1080×1920 (원본이 3:4 또는 4:5면 검은색 패딩 추가)
세로 (휴대폰 동영상)안전한 범용 호환성정사각형 1080×1080 (중앙 자르기)
가로 (화면 녹화, 카메라)표준 피드 동영상가로 1920×1080
가로안전한 범용 호환성정사각형 1080×1080 (중앙 자르기)
잘 모르겠음—정사각형 1080×1080

경험 법칙: 정사각형은 어디서나 작동합니다. 세로는 모바일 화면 공간을 최대한 활용하지만 데스크톱에서는 레터박스가 생길 수 있습니다. 가로는 데모, 인터뷰, 영화 콘텐츠에 가장 적합합니다.


동영상 작업 흐름

1. 원본 확인

ffprobe -v error -select_streams v:0 \
  -show_entries stream=width,height,avg_frame_rate,duration,bit_rate \
  -show_entries format=duration,size,bit_rate \
  -of csv=p=0 "<input>"

회전 메타데이터도 확인:

ffprobe -v error -select_streams v:0 -show_entries stream_side_data=display_matrix \
  -of default=nk=1:nw=1 "<input>"

2. 회전 처리 (iPhone / 모바일 소스)

모바일 동영상은 종종 회전 태그와 함께 가로 방향으로 프레임을 저장합니다. 자르기/크기 조정 전에 필터 체인에 transpose를 적용합니다.

디스플레이 행렬Transpose 값의미
-90° (270°)1시계 방향 90°
+90°2반시계 방향 90°
180°3180°
회전 없음생략—

3. 대상 선택 및 필터 체인 구성

정사각형 (1080×1080) — 회전 후 중앙 자르기:

transpose=1,crop=1080:1080:(in_w-1080)/2:(in_h-1080)/2,format=yuv420p

가로 (1920×1080) — 크기 맞춘 후 패딩 또는 중앙 자르기:

transpose=1,scale=1920:-2,pad=1920:1080:(ow-iw)/2:(oh-ih)/2:black,format=yuv420p

세로 (1080×1920) — 너비에 맞춘 후 위/아래 패딩:

transpose=1,scale=1080:-2,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black,format=yuv420p

원본 종횡비가 이미 대상과 일치하면 pad를 생략하고 scale=1080:1080 또는 scale=1920:1080만 사용합니다.

4. 일반적인 한 줄 명령어 (세로 iPhone → 정사각형)

가장 빈번한 요청: 세로 iPhone 동영상을 LinkedIn 준비된 정사각형 MP4로 변환합니다.

ffmpeg -y -i "IMG_xxxx.MOV" \
  -vf "transpose=1,crop=1080:1080:(in_w-1080)/2:(in_h-1080)/2,format=yuv420p" \
  -c:v libx264 -profile:v main -level 4.2 -preset medium -crf 23 -r 30 \
  -c:a aac -b:a 128k -movflags +faststart \
  "output_linkedin_square.mp4"

transpose=1을 2단계의 올바른 회전 값으로 바꾸거나, 원본에 회전 메타데이터가 없으면 transpose=1,을 생략합니다.

5. 트랜스코딩

ffmpeg -y -i "<input>" \
  -vf "<filter_chain>" \
  -c:v libx264 -profile:v main -level 4.2 -preset medium -crf 23 -r 30 \
  -c:a aac -b:a 128k \
  -movflags +faststart \
  "<output>.mp4"

파라미터 참고:

  • -profile:v main -level 4.2 — 광범위한 장치 호환성
  • -crf 23 — 좋은 품질/크기 균형 (낮을수록 고품질)
  • -r 30 — 프레임 속도 표준화
  • -movflags +faststart — 웹 스트리밍을 위해 moov atom을 파일 앞부분에 배치

6. 출력 확인

ls -lh "<output>.mp4"
ffprobe -v error -select_streams v:0 \
  -show_entries stream=width,height,avg_frame_rate,duration,bit_rate \
  -show_entries format=duration,size,bit_rate \
  -of csv=p=0 "<output>.mp4"

확인 사항:

  • 크기가 대상과 일치
  • 업로드에 적합한 파일 크기 (이상적으로 < 200 MB)
  • 회전 메타데이터가 남아 있지 않음 (플레이어가 다시 회전하지 않아야 함)

도구

  • 이미지: magick (ImageMagick 7) 또는 convert (ImageMagick 6) 권장. macOS에서 기본 형식 변환은 sips로 대체 가능. 설치: brew install imagemagick.
  • 동영상: ffmpeg + ffprobe. 설치: brew install ffmpeg.

Individual skills in this repo

This repo contains 18 individual skills — each has its own dedicated page.

getedgehq/agent-evals

Build evals for an AI agent that already does real work. Use when someone asks "how do I know my agent is right", wants to test an agent before trusting it, compare models on cost versus quality, or turn production failures into tests. Walks from first tasks and yes/no verifiers, to isolated environments, to a trace-driven improvement loop.

getedgehq/cli-ux-review

Audit a command-line tool for user-friendliness — clear situation / next-step / options in every output, colour-highlighted runnable commands, no raw jargon, no silent hangs. Invoke for "CLI UX audit", "review my CLI", "is this CLI intuitive", or before any CLI release.

getedgehq/generate-image

Generate images with OpenAI GPT Image 2 via the Codex CLI, billed through the user's ChatGPT Plus subscription (no OpenAI API key, no per-image API cost). Use when the user asks to create, generate, or make an image, picture, illustration, icon, hero graphic, or concept art from a text prompt.

getedgehq/harness-first

Diagnose and fix an unreliable, expensive, or unsafe LLM agent by auditing its harness (golden set, judge, cost caps, data layer, action approvals, tracing) before blaming or swapping the model. Use when someone says an agent is "burning tokens", "hallucinating", "brittle", gives inconsistent answers, asks whether to switch to a cheaper/better model, or wants to ship an agent or prompt change to customers.

getedgehq/http-error-triage

Run before concluding anything from an HTTP error on a third-party API. Separates a real credential/entitlement problem from a CDN or WAF block, a wrong endpoint, or a client-signature ban. Use whenever an API returns 401/403/402/429 and you are about to say "the key is dead", "credits are exhausted", "the plan lacks access", or "we are rate limited".

getedgehq/monid

>-

getedgehq/opendraft

An 18-agent pipeline that turns one topic line into a drafted

getedgehq/people-search

Find and rank professional people for recruiting, partnerships, sales, or research from user-provided data, public web sources, an authenticated search session, or a connected provider. Use for people discovery, LinkedIn or Sales Navigator search design, profile-list ranking, or provider filter translation.

getedgehq/rocketlist

Turn a CV into a shortlist of live startup roles from Rocketlist's public job board, including adjacent job titles the person would never have searched for, each with its published salary, the evidence for the fit, and a direct apply link. Use for "find roles I would be a strong fit for", career pivots, remote or VC-backed job hunts, and salary-visible role discovery.

getedgehq/security-audit-checklist

Run a comprehensive security audit across application code, cloud infrastructure, containers, CI/CD pipelines, and infrastructure-as-code. Covers privacy compliance, OWASP basics, secret leakage, API security, IAM misconfigurations, storage exposure, Kubernetes hardening, and network security. Use when the user asks to audit, review, or harden app or cloud security, check for secrets, scan for XSS/SQLi, verify security headers, review Terraform/CloudFormation, audit AWS/GCP/Azure configs, or perform any security-focused review.

getedgehq/shadcn-first

>-

getedgehq/skills

Develop or review a branded long-form YouTube channel using Simon Kaiser's public creator-led approach: audience fit, recurring formats, natural brand integration, Time with Brand, and an organic, paid, and Shorts strategy. Use for channel strategy, format briefs, and pilots.

getedgehq/skills

Build a YouTube strategy, evidence-backed idea slate, and title plus thumbnail package using Paddy Galloway's public method. Use when planning a channel, choosing concepts, or preparing a video before filming.

getedgehq/skills

Build or review a buyer-centered strategic narrative using Andy Raskin's public method. Use for sales or investor deck stories, homepage positioning, keynotes, launch narratives, and why-now messaging.

getedgehq/skills

Turn a product URL, launch brief, or approved script into a production-ready launch video. Use for product reveals, feature announcements, SaaS launches, and narrated product films; not for generic explainers or editing existing footage.

getedgehq/strip-image-ai-metadata

Strip C2PA and AI-generation metadata from images (PNG, JPEG, WebP) to remove "Generated by AI" / "ChatGPT" / "DALL-E" labels that platforms like LinkedIn, Instagram, and X display. Use when the user wants to clean AI-generated images before posting, remove AI attribution from photos, strip C2PA manifests, sanitize image metadata for professional use, or verify whether an image contains C2PA data.

getedgehq/top-down-comms

>-

getedgehq/workplan

Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects

관련 스킬