Guides engineers through adding Personal Agent Protocol (Poppy) support to a company's systems, covering discovery, sessions, sign-in, and API access. Includes surveying, designing, building milestones, and validation.
Ships in personal-agent-protocol. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are working with an engineer at a Company to add Personal Agent Protocol ("Poppy" for short) support to the Company's systems. You survey what exists, write a design for the engineer to approve, build it one milestone at a time, check each milestone with the validator, and draft an implementation report. The engineer makes the decisions this skill marks as theirs. You recommend.
Always call it "Personal Agent Protocol" or "Poppy". Use the spec's capitalized terms as the spec does: Personal Agent, Company, User, User ID, Session, Session header, Delegated key, Direct Sign-In, Device Sign-In, Mediated Sign-In, Company Agent, Direct Conversation. Tokens keep their OAuth names: access token and refresh token.
Done means the validator passes for everything in the approved design, you have gone through
checklist.md for what the validator can't see, and the engineer has a report draft to file.
<skill-dir> below is the folder that holds this file. Read the other files when a step calls for
them, not all at once. If you're reading this file from a URL rather than an installed copy,
download and unzip https://personalagentprotocol.org/kit/implement-personal-agent-protocol.zip outside the Company's
repository first, and use the implement-personal-agent-protocol folder in it as <skill-dir>.
| File | Read it when |
|---|---|
survey.md | Step 1. What to look for, and the template for plan/survey.md. |
design.md | Step 2. The decisions, and the template for plan/design.md. |
patterns/*.md | Step 2, to choose how to build each component, and again in step 3. |
milestones/*.md | Step 3, one milestone at a time. |
checklist.md | At the end of each milestone, and in step 4. Every Company MUST and SHOULD from the spec, grouped by milestone. |
feedback.md | Before you write the first entry in plan/feedback.md. |
report.md | Step 5. |
reference/*.md | Whenever you need the exact rule. reference/spec.md is the spec. |
schemas/*.schema.json | When you build a document or message, to check its shape. |
validate/ | The validator. Run it, don't edit it. |
The spec on the site is the same text as reference/spec.md. Links in this skill point to the site,
such as 5.6. Read the local copy when
you can't fetch the site.
The validator acts as a Personal Agent against the Company's servers and reports each check as pass, fail, warn (a SHOULD), or skip. It needs Node 22.18 or later and has no dependencies.
node <skill-dir>/validate/index.ts survey https://example.com
node <skill-dir>/validate/index.ts check https://staging.example.com --milestone foundation
node <skill-dir>/validate/index.ts check https://staging.example.com --milestone interfaces
node <skill-dir>/validate/index.ts check https://staging.example.com --milestone sign-in
node <skill-dir>/validate/index.ts check https://staging.example.com --milestone all
node <skill-dir>/validate/index.ts check https://staging.example.com --design plan/design.md
node <skill-dir>/validate/index.ts check --file ./poppy.json
node <skill-dir>/validate/index.ts keygen --base-url https://static.example.com/poppy-test
node <skill-dir>/validate/index.ts report
--json to any command for structured output. The exit code is non-zero when a MUST fails.check --file checks a poppy.json offline, before you deploy it.plan/feedback.md (label Kit) and tell the engineer about the dispute link.check works against production too, but there it
starts real Sessions and sends test messages to the company agent, so ask the engineer first.The test identity. The validator signs requests as a Personal Agent, so the Company's servers
must be able to fetch its client metadata and keys over HTTPS, as for any Personal Agent
(4.1). In the foundation milestone you
run keygen with a base URL the Company controls. It writes .poppy/ with a private key,
agent.json, and jwks.json, and adds .poppy/ to .gitignore. The engineer hosts agent.json
and jwks.json at that base URL, for example in a staging static bucket. check then uses
.poppy/ automatically. The private key never leaves .poppy/: never print it, commit it, or copy
it elsewhere. This is a test identity whose key sits on a developer's machine. Don't add it to a production
allowlist.
Read survey.md, then:
node <skill-dir>/validate/index.ts survey https://<domain> for what's live.plan/survey.md from the template in survey.md.Read design.md and the patterns that fit what the survey found. Write plan/design.md from the
template. It starts with a poppy-design block the validator reads.
Stop and wait for the engineer's approval before building anything. Scope (which interfaces,
which sign-in types, which scopes, and the registration or allowlist policy) is the engineer's
decision. Present your recommendation with the trade-offs, and record their decisions in the design.
If the design changes later, update plan/design.md and get approval again.
For each milestone in the design's plan, in order:
milestones/<milestone>.md and the spec sections it lists.checklist.md and do the manual tests the milestone file
lists.| Milestone | Builds | Spec |
|---|---|---|
milestones/foundation.md | poppy.json, protected resource and OAuth server metadata, verifying Personal Agents and the Session header, signed-out Sessions, errors | 3, 4.1, 5.1–5.3, 5.6 |
milestones/interfaces.md | What the design chose: OpenAPI, MCP, conversations, web browsing, feedback. Signed out first. | 6–9 |
milestones/sign-in.md | The chosen sign-in types, refresh and access tokens, sign-out, scope enforcement on every channel, account settings | 4.2–4.7, 5.4–5.5, 8.11, Mediated Sign-In |
milestones/extensions.md | Optional. Extensions the design chose. | 3.3 |
A Company that offers only its website stops after publishing poppy.json without auth and
without web.browser_session_endpoint (3.1).
node <skill-dir>/validate/index.ts check https://<staging-domain> --design plan/design.md.
It runs every check and reports progress against the design. Fix every failure.checklist.md for what the validator can't see, such as logging and secret
redaction, consent page wording, rate limits, and token lifetimes. Mark each item done, not
applicable (with why), or open.Read report.md. Run node <skill-dir>/validate/index.ts report, review the draft with the
engineer, and let the engineer file it. You never file an issue or post anything yourself.
From the survey on, whenever something in the spec is unclear, missing, contradictory, risky, or
harder than it needs to be, or something in this kit is wrong or confusing, add an entry to
plan/feedback.md right away, in the format in feedback.md. Don't save it for the end. The report
in step 5 is built from it.
checklist.md (opens in a new tab)design.md (opens in a new tab)feedback.md (opens in a new tab)milestones/extensions.md (opens in a new tab)milestones/foundation.md (opens in a new tab)milestones/interfaces.md (opens in a new tab)milestones/sign-in.md (opens in a new tab)patterns/conversations.md (opens in a new tab)patterns/mcp.md (opens in a new tab)patterns/openapi.md (opens in a new tab)patterns/poppy-json.md (opens in a new tab)patterns/scopes.md (opens in a new tab)patterns/session-header.md (opens in a new tab)patterns/session-records.md (opens in a new tab)patterns/sign-in.md (opens in a new tab)patterns/token-endpoint.md (opens in a new tab)patterns/web-browsing.md (opens in a new tab)reference/browser-control.md (opens in a new tab)reference/changelog.md (opens in a new tab)reference/disclosures.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/personal-agent-protocol:implement-personal-agent-protocolfrom personal-agent-protocol
npx claudepluginhub personal-agent-protocol/personal-agent-protocol --plugin personal-agent-protocolOther plugins' skills for the same job