# Send Mastodon Scout to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mastodon-scout",
    "name": "Mastodon Scout",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/patelhiren/mastodon-scout",
    "canonicalUrl": "https://clawhub.ai/patelhiren/mastodon-scout",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/mastodon-scout",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mastodon-scout",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/mastodon_scout.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mastodon-scout"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mastodon-scout",
    "downloadUrl": "https://openagent3.xyz/downloads/mastodon-scout",
    "agentUrl": "https://openagent3.xyz/skills/mastodon-scout/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mastodon-scout/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mastodon-scout/agent.md"
  }
}
```
## Documentation

### Purpose

Read-only Mastodon skill. Fetches data from the Mastodon API via a bundled Python script (scripts/mastodon_scout.py). Returns human-readable summaries by default, or raw JSON with --json.

### Invocation Rules (MANDATORY)

python3 ./scripts/mastodon_scout.py <command> [options]

### Commands

CommandWhat it fetcheshomeAuthenticated user's home timelineuser-tweetsAuthenticated user's own postsmentionsMentions of the authenticated usersearch <query>Posts matching the query

### Options

--instance <url>   Mastodon instance base URL (default: $MASTODON_INSTANCE or https://mastodon.social)
--limit <int>      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

### Text Mode (Default)

The script formats each post as:

[N] Display Name (@user@instance) · <timestamp>
<content>
↩ <replies>  🔁 <reblogs>  ⭐ <favourites>
<url>

The agent MAY add a brief summary after the list.

### JSON Mode (--json)

Returns raw Mastodon API JSON. Return it verbatim — no interpretation.

### Error Handling

The script prints a human-readable error to stderr and exits non-zero:

ConditionMessageToken missingError: MASTODON_TOKEN is not set401Mastodon API error: 401 Unauthorized — check MASTODON_TOKEN403Mastodon API error: 403 Forbidden422Mastodon API error: 422 Unprocessable Entity429Mastodon API error: 429 Rate Limited — try again later

Do not retry on error. Guide the user to Authentication Setup if the token is missing or invalid.

### Examples That Trigger This Skill

mastodon-scout home
show my mastodon timeline
check mastodon mentions
search mastodon for "golang"
get my mastodon posts

### Notes

This skill is read-only (no posting, following, or other mutations)
scripts/mastodon_scout.py uses stdlib only — no pip install required
In JSON mode: output verbatim, no interpretation

### Authentication Setup (Agent MAY Help)

EXCEPTION TO STRICT MODE: If the user needs help obtaining a token, the agent may provide guidance before executing the skill.

### How to Obtain a Token:

Step 1: Access Development Settings

Log into your Mastodon instance (e.g., mastodon.social, fosstodon.org)
Navigate to: Settings → Development (or Preferences → Development)
Direct URL: https://[instance-domain]/settings/applications

Step 2: Create Application

Click "New Application"

Application name: mastodon-scout (or any name)
Redirect URI: urn:ietf:wg:oauth:2.0:oob
Scopes: CRITICAL — only select read (uncheck write, follow, push)

Step 3: Get Access Token

Click Submit, then open the created application
Copy the "Your access token" value

Step 4: Set Environment Variable

export MASTODON_TOKEN="paste_token_here"

Step 5: Verify

python3 ./scripts/mastodon_scout.py home --limit 5

### Common Mastodon Instances:

mastodon.social — General purpose (default)
fosstodon.org — FOSS/tech community
mas.to — Tech focused
hachyderm.io — Tech/infosec community

### Security Notes:

Token is read-only (cannot post, follow, or delete)
Keep token secret (don't commit to git)
Can be revoked anytime in Development settings
Each Mastodon instance requires its own token
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: patelhiren
- Version: 2.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/mastodon-scout)
- [Send to Agent page](https://openagent3.xyz/skills/mastodon-scout/agent)
- [JSON manifest](https://openagent3.xyz/skills/mastodon-scout/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/mastodon-scout/agent.md)
- [Download page](https://openagent3.xyz/downloads/mastodon-scout)