Artifacts Done Properly (ADP: ArtifactDataProtocol)
Great work deserves a second life.
The iteration ends. The value stays.
Your next project starts further ahead.
Try it: ADP: Catalog v2.3.0 · ADP: Assistant v2.3.0 (claude.ai artifacts).
KnowledgeBase: ADP: KnowledgeBase v2.1.1 · codex version.
Get it now!: Install the plugin, your AI agent will take care of it.
Add our marketplace if you haven't already:
/plugin marketplace add fblgit/artifacts-done-properly
Install the plugin:
/plugin install artifacts-done-properly@fblgit-adp
And finish the simple setup:
/adp setup
Once is setup, we suggest that you publish the catalog under your own account. After that, a good starting point is the assistant template. It includes agent capabilities that allow you to build your app or artifact from the inside, adopt existing artifacts or websites. It is the ideal starting point for a web-application and is the reccomended path.
What ADP is
ADP is a framework and shared library for reusable claude.ai Artifacts. It installs as a Claude skill.
Good work gets a home in a project. Its reusable pieces go into a catalog as kits, each with an interface, declared dependencies and examples. The next page takes them by reference and starts from your best version.
Underneath, every piece of a page is a part with a stable id and a content hash, and one database layout records every change. adp.py prints the exact Artifact and ArtifactData calls to make, so nothing is retyped by hand.
- 4 road skills: new, edit, adopt, catalog
- 3 templates: starter, assistant, default
- 140 entries in the base catalog
- optional any extra kit
Bring it in: give good work a home
Bring interfaces, records, and artifacts into a project with your agents. Make the useful parts discoverable instead of burying them in a chat.
Every piece gets an address. On ADP, every piece of a page is a part: a block with a stable id, such as triage.keys-table, and a hash of its content. The id never changes once the page is published, so anything that points at it keeps pointing at the right place. That is what makes the page a place to work in rather than a file to replace. A comment anchors to a part id, not to a position on the screen. A change shows up on the part it touched and on every part that contains it.
Every change goes on the record. One ArtifactData layout records every change under an export, edit, propose loop. Before anyone edits, they export the latest version, because a copy from an earlier session may predate other people's work. The page's inbox applies the proposal and records it with who made it, the parts it touched and a summary. The page shows the newest of those in its What changed panel.
Your agents work in it with you. The assistant template adds a Work with Claude pane. Pick a block, say what you want (a change, a fix, a design note or a question) and send it. The request is a record on the page, so you can follow it on Requests: queued, seen, working, done. A line in the header says whether a Claude Code session is watching. Without one, Ask now still answers straight away, and anything you send waits in the queue.
Start new, or bring in what you have. A new page starts from a template:
python3 -I <adp skill folder>/scripts/adp.py new assistant my-page
An artifact you already have goes through the adp-adopt road. It wraps each view and section in part markers, checks them, and seeds the record, without changing how the page looks or behaves. That first step alone gives the page part ids and comment anchors.
Make it reusable: keep the mechanics
A kit carries more than pixels: an interface, declared dependencies, and examples another agent can inspect and compose.
More than pixels. Copying a component's look is easy. What gets lost is how it works: what you call, what it needs and how it is meant to be used. On ADP, a kit keeps all three:
- An interface: the functions it provides and how to configure them.
- Declared dependencies: the other entries it requires, plus the design tokens and data it reads.
- Examples: sample files that show it in use.
Every entry describes itself. Each catalog entry carries one comment at the top of its main file. The first line is its name, the next paragraph says what it is, and tags give the facts. This is the real header of the data table kit, trimmed (kit/table.js):