# Actor

> Guide the user through implementing an ActivityPub actor with Fedify. Use when the user needs to add or configure an actor dispatcher, set up key pairs, configure aliases, or handle actor-related requests.

- Skill: `fedify-dev/actor` (Agent Skill)
- Install (CLI): `npx skillmds@latest add fedify-dev/actor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fedify-dev/actor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: fedify-dev (https://skillmd.com/u/fedify-dev)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/fedify-dev/actor

---


Help the user implement an ActivityPub actor using Fedify.

Walk through:

1.  Registering `setActorDispatcher(path, handler)` on the `Federation`
    object or `FederationBuilder`, including the `{identifier}` path
    parameter.
2.  Returning a `Person`, `Service`, or other `Actor` vocabulary object
    with the required fields (`id`, `inbox`, `publicKey`, etc.).
3.  Chaining `.setKeyPairsDispatcher()` to supply RSA and Ed25519 keys.
4.  Optionally configuring `mapActorAlias()` for handle-based or
    fixed-path aliases.
5.  Making the actor discoverable via WebFinger. Fedify handles
    `/.well-known/webfinger` automatically once the actor dispatcher
    is registered.

Reference: <https://fedify.dev/manual/actor>

