Agent Contract: Direct Markdown Sharing — Development agent for Claude Code
This contract defines the public Proof SDK flow for creating and operating on shared documents over HTTP.
How to install Agent Contract: Direct Markdown Sharing
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open EveryInc/proof-sdk and copy the folder into
~/.claude/agents/.
What Agent Contract: Direct Markdown Sharing does
This contract defines the public Proof SDK flow for creating and operating on shared documents over HTTP.
Alternatives in Development
- CORS Hunter — CORS Misconfiguration specialist (H1 #58) 812 ★
- SDK API Documenter — Ensure the babysitter SDK has complete, accurate documentation for all public interfaces 487 ★
- Composer — Formalizes the selected relationship, needed components and full-scope expansion after direction and type proo 190 ★
README
Agent Contract: Direct Markdown Sharing
This contract defines the public Proof SDK flow for creating and operating on shared documents over HTTP.
Endpoints
Canonical route:
`POST /documents`
Compatibility alias:
`POST /share/markdown`
Legacy internal route:
`POST /api/documents`
Request Formats
JSON
POST /documents HTTP/1.1
Content-Type: application/json
Authorization: Bearer # when API-key auth is enabled
{
"markdown": "# Plan\n\nShip the rewrite.",
"title": "Rewrite Plan",
"role": "commenter",
"ownerId": "agent:claude"
}
Raw markdown
POST /documents?title=Rewrite%20Plan&role=commenter HTTP/1.1
Content-Type: text/markdown
Authorization: Bearer # when API-key auth is enabled
# Plan
Ship the rewrite.
Response
{
"success": true,
"slug": "abc123xy",
"docId": "b9d9f8e8-5a4e-4af8-a9d4-5e0ecf7ff4ab",
"url": "/d/abc123xy",
"shareUrl": "https://your-proof.example/d/abc123xy",
"tokenPath": "/d/abc123xy?token=...",
"tokenUrl": "https://your-proof.example/d/abc123xy?token=...",
"ownerSecret": "8b5f...owner secret...",
"accessToken": "4d53...link token...",
"accessRole": "commenter",
"active": true,
"shareState": "ACTIVE",
"snapshotUrl": "https://your-proof.example/snapshots/abc123xy.html",
"createdAt": "2026-02-12T16:10:00.000Z",
"_links": {
"view": "/d/abc123xy",
"state": "/documents/abc123xy/state",
"ops": { "method": "POST", "href": "/documents/abc123xy/ops" },
"events": "/documents/abc123xy/events/pending?after=0",
"docs": "/agent-docs"
}
}
Token Semantics
ownerSecret- Full-owner credential for that document
- Can pause, resume, revoke, delete, and perform owner-level agent actions
- Store securely and do not expose in user-facing UI
accessToken- Scoped link credential for
viewer,commenter, oreditor - Use this token for non-owner operations where possible
- If you need a tokenized share URL, use
tokenUrl
- Scoped link credential for
Authentication Model
`PROOF_SHARE_MARKDOWN_AUTH_MODE` controls direct-share auth:
none: open route, good for local/devapi_key: requirePROOF_SHARE_MARKDOWN_API_KEYauto: resolve tononeby default in Proof SDK
`/api/documents` is governed separately by `PROOF_LEGACY_CREATE_MODE`:
allowwarndisabledauto
Minimal Agent Flow
POST /documents- Persist
ownerSecretsecurely - Return
shareUrlto the user - Use
accessTokenorownerSecretfor follow-up operations
Read + Operate Contract
Read state
GET /documents/:slug/stateGET /api/documents/:slug/open-contextGET /api/documents/:slug/collab-sessionGET /api/documents/:slug/info
Mutation endpoint
Use `POST /documents/:slug/ops` with:
type: "comment.add"type: "comment.reply"type: "comment.resolve"type: "suggestion.add"type: "suggestion.accept"type: "suggestion.reject"- `
Related Agents
Evaluator Evm Agent
EVM smart-contract vulnerability evaluator — spawned per smart_contract surface, scaffolds and runs Foundry te
Evaluator Svm Agent
SVM (Solana) smart-contract vulnerability evaluator — spawned per smart_contract surface with chain_family=svm
Selfish Proof Of Work
Identify, organize, and connect visible evidence that demonstrates capability and supports public claims.
Java API Compat Reviewer
easy-extension SDK 公共 API 兼容性审查专家。在改动可能涉及 public 类/方法/接口/异常时使用,仅审查 git diff 中的公共 API 变更。
Funnelfox API
FunnelFox API specialist: Public API, Billing API, web SDK and webhooks, authentication, funnels, sessions, pr
Sub Coder
Surgical code implementer operating on a disjoint file allowlist under strict contract enclave specifications.
Related Skills
Awesome Docs
Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers fou
Chat Shared Conversation To File
CLI tool that converts public share links from ChatGPT, Gemini, Grok, and Claude into clean Markdown and stati
Data Contract
This document defines which files belong to the system (auto-updatable) and which belong to the user (never to