agentleFS
SaintChrisSaintChris/hermes-skills/skills/devops/platform-picker/SKILL.md

platform-picker

Skill0 starsChanged 5 months agoMITView on GitHub

Publish and share content across multiple platforms (Dev.to, GitHub, LinkedIn, HermesHub) from one place. Pick your platform, provide API key/token once, then publish anywhere.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the setup command for each platform you want to use:

    line 29
  2. Distinctive:

    Never hardcode credentials in skills or scripts

    line 120
  3. Very specific:

    Use config.yaml or environment variables

    line 121

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Platform Picker — Publish Anywhere

Purpose

Publish and share content across multiple platforms from one place. Store API keys/tokens once, then pick where to publish each time.

Supported platforms:

  • Dev.to — articles, blog posts (API key)
  • GitHub — repos, gists, README updates (PAT / OAuth)
  • LinkedIn — articles, posts (OAuth token)
  • HermesHub — skill publishing (GitHub OAuth)

Setup: Store Your Credentials

Run the setup command for each platform you want to use:

# Dev.to
python3 ~/.hermes/scripts/platform_picker.py setup devto --api-key YOUR_API_KEY

# GitHub
python3 ~/.hermes/scripts/platform_picker.py setup github --token YOUR_PAT

# LinkedIn
python3 ~/.hermes/scripts/platform_picker.py setup linkedin --token YOUR_OAUTH_TOKEN

# HermesHub (uses GitHub OAuth — no separate key needed)
python3 ~/.hermes/scripts/platform_picker.py setup hermeshub

Credentials are stored in ~/.hermes/config.yaml under platforms: section.


Usage: Publish Content

Publish an article

# Pick platform interactively
python3 ~/.hermes/scripts/platform_picker.py publish --file article.md

# Publish to specific platform
python3 ~/.hermes/scripts/platform_picker.py publish --file article.md --platform devto

# Publish to multiple platforms
python3 ~/.hermes/scripts/platform_picker.py publish --file article.md --platform devto --platform linkedin

Publish a skill to HermesHub

python3 ~/.hermes/scripts/platform_picker.py publish-skill --skill-path ~/.hermes/skills/devops/open-source-contribution/

Check which platforms are configured

python3 ~/.hermes/scripts/platform_picker.py status

Platform Details

Dev.to

GitHub

  • Auth: Personal Access Token (PAT) or OAuth
  • Supports: repos, gists, README updates, file commits
  • Scopes needed: repo, gist, read:user
  • Get token: https://github.com/settings/tokens

LinkedIn

HermesHub

  • Auth: GitHub OAuth (no separate key)
  • Supports: skill publishing with security scanning
  • Site: https://hermeshub.xyz
  • Process: GitHub OAuth → submit skill → automated scan → publish

Credential Storage

Credentials are stored in ~/.hermes/config.yaml:

platforms:
  devto:
    api_key: "your-api-key"
  github:
    token: "your-pat"
  linkedin:
    token: "your-oauth-token"
  hermeshub:
    enabled: true

Security notes:

  • Never hardcode credentials in skills or scripts
  • Use config.yaml or environment variables
  • Tokens are never logged or displayed in output
  • Each platform uses its own auth method — no shared secrets

Pitfalls

  1. Dev.to rate limits — max 10 articles/hour for new accounts
  2. LinkedIn token expiry — OAuth tokens expire, need refresh
  3. GitHub PAT scope — make sure token has the right scopes for what you need
  4. HermesHub security scan — skills with hardcoded secrets or suspicious patterns get rejected
  5. Markdown differences — each platform handles markdown slightly differently. Dev.to supports full markdown, LinkedIn is limited, GitHub has its own flavor.

Sources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.