π¦ ClawHub
Mastodon Scout
by @patelhiren
Read-only Mastodon skill. Outputs human-readable timeline summaries or raw JSON.
π‘ Examples
python3 ./scripts/mastodon_scout.py home
python3 ./scripts/mastodon_scout.py mentions --limit 10
python3 ./scripts/mastodon_scout.py search "golang"
python3 ./scripts/mastodon_scout.py home --json
python3 ./scripts/mastodon_scout.py home --instance https://fosstodon.org
βοΈ Configuration
--instance Mastodon instance base URL (default: $MASTODON_INSTANCE or https://mastodon.social)
--limit Number of items to return (default: $LIMIT or 20)
--json Output raw JSON instead of human-readable text
Environment Variables
MASTODON_TOKEN Required. OAuth bearer token.
MASTODON_INSTANCE Optional. Instance base URL (default: https://mastodon.social).
Examples
python3 ./scripts/mastodon_scout.py home
python3 ./scripts/mastodon_scout.py mentions --limit 10
python3 ./scripts/mastodon_scout.py search "golang"
python3 ./scripts/mastodon_scout.py home --json
python3 ./scripts/mastodon_scout.py home --instance https://fosstodon.org
π Tips & Best Practices
scripts/mastodon_scout.py uses stdlib only β no pip install requiredTERMINAL
clawhub install mastodon-scout