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
In this repositoryOne other file it gives its agents.
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
- Distinctive: line 29
Run the setup command for each platform you want to use:
- Distinctive: line 120
Never hardcode credentials in skills or scripts
- Very specific: line 121
Use config.yaml or environment variables
≈ “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.
Files
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 hermeshubCredentials 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 linkedinPublish 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 statusPlatform Details
Dev.to
- Auth: API key (stored in config)
- Endpoint:
POST /api/articles - Supports: title, body_markdown, tags, published, series
- Get key: https://dev.to/settings/extended
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
- Auth: OAuth 2.0 token
- Supports: articles, text posts, image posts
- Endpoint:
POST /v2/ugcPosts - Get token: https://www.linkedin.com/developers/apps
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: trueSecurity notes:
- Never hardcode credentials in skills or scripts
- Use
config.yamlor environment variables - Tokens are never logged or displayed in output
- Each platform uses its own auth method — no shared secrets
Pitfalls
- Dev.to rate limits — max 10 articles/hour for new accounts
- LinkedIn token expiry — OAuth tokens expire, need refresh
- GitHub PAT scope — make sure token has the right scopes for what you need
- HermesHub security scan — skills with hardcoded secrets or suspicious patterns get rejected
- Markdown differences — each platform handles markdown slightly differently. Dev.to supports full markdown, LinkedIn is limited, GitHub has its own flavor.
Sources
- Dev.to API docs: https://developers.forem.com/api
- GitHub API docs: https://docs.github.com/en/rest
- LinkedIn API docs: https://learn.microsoft.com/en-us/linkedin/
- HermesHub: https://hermeshub.xyz
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
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.

