Agent Skills
› fedify-dev/fedify
› inbox
inbox
GitHub指导用户配置 Fedify 收件箱监听器,处理 Follow、Like 等 ActivityPub 活动。涵盖设置路径、绑定处理器、错误处理、未验证活动检查及幂等性策略。
Trigger Scenarios
需要处理 ActivityPub 活动
配置 Fedify 收件箱
Install
npx skills add fedify-dev/fedify --skill inbox -g -y
SKILL.md
Frontmatter
{
"name": "inbox",
"description": "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."
}
Help the user configure Fedify inbox listeners.
Walk through:
- Calling
setInboxListeners(inboxPath, sharedInboxPath?)on theFederation/FederationBuilder. - Chaining
.on(ActivityType, handler)for each activity type to handle (Follow,Create,Undo,Like,Announce, etc.). - Adding
.onError(handler)for error logging. - Optionally adding
.onUnverifiedActivity(handler)if the user needs to inspect activities that failed signature verification. - Using
.withIdempotency(strategy)to avoid duplicate processing. - Noting that activity types with no registered handler receive HTTP 202
and are logged as unsupported: add a catch-all on the base
Activityclass if needed.
Reference: https://fedify.dev/manual/inbox
Version History
- 2.3.4 Current 2026-08-20 14:19


