Get the FREE Ultimate OpenClaw Setup Guide →

add-social-media-header

Scanned
npx machina-cli add skill 0GiS0/ghcp-agent-skills/add-social-media-header --openclaw
Files (1)
SKILL.md
4.9 KB

Add Social Media Header

Add a professional social media header with styled badges and links to enhance your content's visibility and engagement.

How to use

When asked to add a social media header to your README or documentation:

  1. Gather your profile information: Get your YouTube channel ID, GitHub username, LinkedIn URL, and X/Twitter URL
  2. Identify insertion point: The header should go at the top of your README, right after the main title
  3. Customize the template: Replace all placeholder values with your actual profile information
  4. Insert into file: Add the complete block to your README

Template

<div align="center">

[![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/YOUR_CHANNEL_ID?style=for-the-badge&logo=youtube&logoColor=white&color=red)](YOUR_YOUTUBE_URL) [![GitHub followers](https://img.shields.io/github/followers/YOUR_USERNAME?style=for-the-badge&logo=github&logoColor=white)](YOUR_GITHUB_URL) [![LinkedIn Follow](https://img.shields.io/badge/LinkedIn-Follow-blue?style=for-the-badge&logo=linkedin&logoColor=white)](YOUR_LINKEDIN_URL) [![X Follow](https://img.shields.io/badge/X-Follow-black?style=for-the-badge&logo=x&logoColor=white)](YOUR_X_URL)

</div>

Important: Keep all badges on a single line (no line breaks between them) for proper horizontal alignment.

Replace the following placeholders with your actual information:

Example with Real URLs

Here's a complete example with actual URLs that you can adapt (all badges on one line):

<div align="center">

[![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UC140iBrEZbOtvxWsJ-Tb0lQ?style=for-the-badge&logo=youtube&logoColor=white&color=red)](https://www.youtube.com/c/GiselaTorres?sub_confirmation=1) [![GitHub followers](https://img.shields.io/github/followers/0GiS0?style=for-the-badge&logo=github&logoColor=white)](https://github.com/0GiS0) [![LinkedIn Follow](https://img.shields.io/badge/LinkedIn-Follow-blue?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/giselatorresbuitrago/) [![X Follow](https://img.shields.io/badge/X-Follow-black?style=for-the-badge&logo=x&logoColor=white)](https://twitter.com/0GiS0)

</div>

Important Notes

Why badges might not render

If you only see the <div align="center"> and not the badges:

  1. GitHub might not be rendering shields.io badges: Refresh your browser
  2. Internet connection required: Badge images are fetched from shields.io, so internet is needed
  3. Network blocked: Some corporate networks block external image sources

Troubleshooting

If badges don't appear:

  • Verify your YouTube channel ID is correct
  • Check that all URLs are complete and valid (start with https://)
  • Ensure all badges are on a single line (this is important for proper alignment)
  • Try accessing the badge URLs directly in your browser:
    • YouTube: https://img.shields.io/youtube/channel/subscribers/YOUR_CHANNEL_ID?style=for-the-badge&logo=youtube
  • Make sure there are blank lines between the <div> tag and the badges line

Customization options

Style variations

  • style=for-the-badge - Modern, rectangular badges (recommended)
  • style=flat - Flat design
  • style=plastic - Glossy appearance
  • style=flat-square - Square badges

Colors

Add custom colors to badges using the color= parameter (hex without #):

  • YouTube: color=FF0000 (red)
  • GitHub: color=000000 (black) or color=FFFFFF (white)
  • LinkedIn: color=0077b5 (official LinkedIn blue)
  • X: color=000000 (black)

Badge text

Update the badge labels (e.g., "Follow", "Subscribe", "Connect") to match your preference.

Pro Tips

  1. Keep badges on one line: Don't add line breaks between badges for proper horizontal alignment
  2. Keep it simple: Don't add more than 4-5 badges to avoid clutter
  3. Test locally: Use GitHub's markdown preview or VS Code to verify rendering
  4. Update regularly: If your follower count changes significantly, update the label if needed

Source

git clone https://github.com/0GiS0/ghcp-agent-skills/blob/main/.github/skills/add-social-media-header/SKILL.mdView on GitHub

Overview

This skill adds a polished social media header to READMEs and documentation. It creates a single-line block of badge links for YouTube, GitHub, LinkedIn, and X, boosting engagement and visibility of your profiles.

How This Skill Works

You gather your profile data, choose the insertion point at the top of the README after the main title, and apply the Markdown template by replacing the placeholders with your real URLs and IDs. The resulting block keeps all badges on one line for proper horizontal alignment and clickable navigation.

When to Use It

  • When creating a new README for a project to surface your social profiles from the start
  • When updating an existing README or documentation to include current social profiles
  • For personal or company docs that require consistent branding across YouTube, GitHub, LinkedIn, and X
  • When setting up multiple repositories that should share the same branded header
  • When you want clickable badges that drive profile visits from documentation pages

Quick Start

  1. Step 1: Gather your YouTube channel ID, GitHub username, and profile URLs
  2. Step 2: Insert the header block at the top of your README right after the main title, keeping all badges on one line
  3. Step 3: Replace placeholders with your data and save

Best Practices

  • Keep all badges on a single line to ensure horizontal alignment
  • Replace all placeholders with your real profile information
  • Use HTTPS URLs for reliability
  • Verify badge links and channel IDs after insertion
  • Test the rendered header by viewing the README in your repository

Example Use Cases

  • README for an open-source project with YouTube channel, GitHub profile, LinkedIn, and X
  • Personal portfolio repository header linking to all social profiles
  • Company tech docs with leadership LinkedIn and brand channels
  • Developer blog docs page with social badges at the top
  • Multi-repo guide where every repository shares a consistent header

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers