For agents
Agent quickstart
The whole contract is small: one POST to publish, one stable URL to
share, one PUT to update in place. Three ways to give an agent that habit.
All need one thing first: an API key. Generate one at
dashboard/api-keys — it looks like df_sk_....
- Install the hosted skill — one
curldrops a REST-first skill into your agent's skill dir. Fastest path, works in any agent with zero tools. - Have the agent write its own skill — paste one prompt and the agent reads the docs, stores the key, and writes a persistent skill/instructions file tuned for your harness.
- Connect over MCP — a hosted MCP server is live for clients that support remote MCP servers (first-party setup packages are coming soon).
Just want to publish by hand from a terminal? The
Quickstart has the one-line curl to publish your
first site.
Install the hosted skill
One line fetches a REST-first skill file (dropfast.SKILL.md) into your agent's skill directory. No MCP, no install package — the agent reads it and publishes over plain HTTP.
# Claude Code
mkdir -p ~/.claude/skills/dropfast && \
curl -fsSL https://dropfast.dev/dropfast.SKILL.md -o ~/.claude/skills/dropfast/SKILL.md
# Codex
mkdir -p ~/.codex/skills/dropfast && \
curl -fsSL https://dropfast.dev/dropfast.SKILL.md -o ~/.codex/skills/dropfast/SKILL.mdThe skill ends by asking you one question — when it should publish (every artifact / only shareable deliverables / only when you ask) — and records your answer so the habit persists.
Self-generate a skill
Paste this prompt into your agent. It reads the API from
/llms.txt, stores the key the way your
harness stores secrets, and writes itself a skill/instructions file so the
DropFast habit survives across sessions.
You're going to set yourself up to publish HTML artifacts to DropFast, so
you can hand me stable URLs instead of pasting code into chat.
1. Read https://dropfast.dev/llms.txt and the pages it links to learn the
API (publish, update-in-place, access modes, comments, metadata).
2. Ask me for a DropFast API key — I'll create one at
https://dropfast.dev/dashboard/api-keys. Store it the way this harness
stores secrets (env var / secret store). Never inline it in a committed
file.
3. Write yourself a persistent skill/instructions file for THIS harness so
the workflow survives across sessions. Use the right location:
- Claude Code: .claude/skills/dropfast/SKILL.md
(with `name:` + `description:` YAML frontmatter)
- Cursor: a rule file under .cursor/rules/
- Codex/Gemini: AGENTS.md (or the harness's instruction file)
The file should instruct you to:
- Publish any HTML artifact (plan, prototype, report, review) with
POST https://dropfast.dev/api/v1/sites (multipart `file=@index.html`,
`name=...`) and return the URL in your reply.
- Update in place with PUT /api/v1/sites/{slug} so the URL stays stable
across turns. One slug per artifact, not per turn.
- Default new artifacts to accessMode "private". Flip to "public" or
"password" only when I ask.
- When I want inline review, publish with `commentsEnabled=true`, then
read feedback with GET /api/v1/sites/{slug}/comments and resolve each
with PATCH /api/v1/comments/{id} after you address it.
- Authenticate every request with `Authorization: Bearer df_sk_...`.
4. If this harness supports MCP, also wire the DropFast MCP server
(https://dropfast.dev/api/mcp, Bearer auth) and prefer its tools
(publish_html, update_site, get_comments, resolve_comment, ...).
5. Ask me exactly one question, and record my answer in the skill file:
When should I publish artifacts to DropFast?
1. Every HTML/Markdown artifact I generate.
2. Only shareable deliverables — plans, prototypes, reports, reviews.
3. Only when I explicitly ask.
6. Confirm by publishing a one-line test page and showing me the URL.Shorter version
If your agent already has the docs in context (or you just want the instructions file written), this is enough:
Write yourself a DropFast skill for this harness. Read
https://dropfast.dev/llms.txt for the API. The skill should: publish HTML
artifacts to POST /api/v1/sites and return the URL, update in place with
PUT /api/v1/sites/{slug} (stable URL, one slug per artifact), default to
accessMode "private", and use commentsEnabled=true + get/resolve comments
when I want inline review. Auth is `Authorization: Bearer df_sk_...` — ask
me for the key and store it as a secret, never in a committed file.What to put in the skill
Whichever path you take, the durable habits are the same:
- One slug per artifact, not per turn. Publish once,
PUTon every later turn. The link the human holds always points at the latest version. - Private by default. Agents are noisy — don't leak every intermediate
plan. Flip to
public/passwordon request. - Echo the URL. Put it on its own line in the reply so a human (or the next tool) can pick it out.
- Close the review loop. Publish with
commentsEnabled=true, read feedback, address it, resolve each comment.
Connect over MCP
A hosted MCP server is live at https://dropfast.dev/api/mcp (Streamable
HTTP, Bearer auth). If your client supports remote MCP servers, point it
there and every DropFast tool (publish_html, update_site,
get_comments, resolve_comment, …) appears. The registry manifest lives
at https://dropfast.dev/.well-known/mcp.json.
First-party setup packages that wire this into stdio-only clients with one command are coming soon. Until they ship, the self-setup prompt above works in every agent today — it publishes over the REST API, no install required.
Next
- Prompts → — ready-made tool definitions
(
dropfast_publish,dropfast_update, the comment tools) to paste into a hand-rolled harness. - Handoff → — agent-to-human and agent-to-agent patterns on a shared URL.
- REST API → — the full endpoint surface and error taxonomy.