OpenParable
Skip to content
← Back to skills

Inbox

Apps & Automation
inbox

Inbox is an Agent Skill for apps & automation published in the fedify-dev/fedify repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Help the user set up Fedify inbox listeners for handling incoming ActivityPub activities. Use when the user needs to handle Follow, Like, Announce, Create, Undo, or other activity types delivered to their inbox.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/fedify-dev/fedify/blob/HEAD/claude-plugin/skills/inbox/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/inbox, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Help the user configure Fedify inbox listeners.

Walk through:

  1. Calling setInboxListeners(inboxPath, sharedInboxPath?) on the Federation / FederationBuilder.
  2. Chaining .on(ActivityType, handler) for each activity type to handle (Follow, Create, Undo, Like, Announce, etc.).
  3. Adding .onError(handler) for error logging.
  4. Optionally adding .onUnverifiedActivity(handler) if the user needs to inspect activities that failed signature verification.
  5. Using .withIdempotency(strategy) to avoid duplicate processing.
  6. Noting that activity types with no registered handler receive HTTP 202 and are logged as unsupported: add a catch-all on the base Activity class if needed.

Reference: https://fedify.dev/manual/inbox