proofeditor-docs
Skill2 starsChanged 4 months agoApache-2.0View on GitHub
Reads and edits collaborative documents in Proof (proofeditor.ai) through its web API, with presence, tracked AI authorship and default modes for which new docs live there. Use when the user shares a Proof URL, asks to create or edit a collaborative doc in Proof, or a saved preference says new docs go to Proof. Not for repo-tracked markdown files, which stay local.
- Sends data out
In this repository297 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/founder-productivity/salim/AGENTS.mdAGENTS.md
- skills/investments/ada/AGENTS.mdAGENTS.md
- skills/investments/khalil/AGENTS.mdAGENTS.md
- skills/product/vercel-composition-patterns/AGENTS.mdAGENTS.md
- skills/product/vercel-react-best-practices/AGENTS.mdAGENTS.md
- skills/product/vercel-react-native-skills/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/ceramic-design-system.mdcCursor rule
- agent-persona-builderSkill
- agent-prdSkill
- alignment-values-north-starSkill
- defuddle-web-extractSkill
- draft-ndaSkill
- find-skillsSkill
- full-output-enforcementSkill
- grammar-checkSkill
- json-canvasSkill
- last30daysSkill
- market-segmentsSkill
- market-sizingSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-company-mapSkill
- obsidian-markdownSkill
- pestel-analysisSkill
- porters-five-forcesSkill
- privacy-policySkill
- role-switchSkill
- salimSkill
- skill-evalSkill
- skillshareSkill
- stakeholder-mapSkill
- swot-analysisSkill
- workshop-facilitationSkill
- 3-statement-modelSkill
- adaSkill
- auction-sealed-bid-pricingSkill
- audit-xlsSkill
- bayesian-reasoning-calibrationSkill
- causal-inference-root-causeSkill
- clean-data-xlsSkill
- competitive-analysisSkill
- comps-analysisSkill
- cost-of-capital-estimatorSkill
- datapack-builderSkill
- dcf-modelSkill
- decision-matrixSkill
- deck-refreshSkill
- deliberation-debate-red-teamingSkill
- estimation-fermiSkill
- expected-valueSkill
- forecast-premortemSkill
- funding-digestSkill
- ib-check-deckSkill
- ib-pitch-deckSkill
- investor-deal-sheetSkill
- investor-doc-systemSkill
- investor-fact-ledgerSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 14 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Every write must include by: "ai:<agent-name>" so Proof can track who wrote what.
- Distinctive: line 20
If the user shares a Proof URL:
- Distinctive: line 23
Read the current state before editing.
- Distinctive: line 26
When creating new docs, follow this priority order:
- Distinctive: line 27
If persistent instructions already define a Proof default mode, use it.
- Distinctive: line 37
Do not silently replace local project docs with Proof links.
- Distinctive: line 38
If the task is code-adjacent local documentation, keep it local unless the user asks for Proof.
- Distinctive: line 57
Use one reporting tool call:
- Very specific: line 78
If the response returns status: "needs_more_info", ask the suggested questions and call the same endpoint again.
- Distinctive: line 80
If you want reference code while debugging or preparing the report, you can optionally inspect:
- Distinctive: line 85
When a Proof URL is provided:
- Distinctive: line 92
Read state and show presence on read:
- Distinctive: line 126
Read comment threads from:
- Very specific: line 134
Read state.marks for comment text and thread metadata.
- Very specific: line 135
Use /snapshot for block refs and edit/v2 only.
- Very specific: line 136
Use /queue/pending as the primary "what changed?" feed and /events/pending as raw activity.
- Distinctive: line 140
Create a shared document:
- Distinctive: line 155
When Proof is the default for the task:
- Very specific: line 223
Use baseToken from /state or /snapshot on every ops request.
- Very specific: line 256
Use the comment mark's markId when calling comment.reply.
- Very specific: line 259
Use ops when you want the human to review changes in track changes.
- Distinctive: line 286
If you are staying in the loop while a human reviews changes, keep presence updated so the doc shows what you are doing.
- Very specific: line 302
If the behavior still looks wrong after a normal retry, call POST /api/bridge/report_bug with the request/response, request ID, slug, and a …
- Very specific: line 304
Prefer content and markdown payloads as canonical text input.
- Very specific: line 305
Use Idempotency-Key on edit/v2 requests so retries stay safe.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Proof
Proof is a collaborative markdown editor for agents and humans. Use the hosted web API at https://www.proofeditor.ai.
Every write must include by: "ai:<agent-name>" so Proof can track who wrote what.
This skill is web-only. Do not use a local Mac app bridge or localhost:9847 from this skill.
Default Behavior
If the user shares a Proof URL:
- Join the doc immediately.
- Show presence right away.
- Read the current state before editing.
- Work in the Proof doc unless the user explicitly asks you to move elsewhere.
When creating new docs, follow this priority order:
- If persistent instructions already define a Proof default mode, use it.
- Otherwise default to
collaborative_docs.
Supported default modes:
all_new_markdown: new markdown artifacts you create go to Proof by default.collaborative_docs: plans, specs, bug writeups, reports, memos, proposals, drafts, and similar iterative docs go to Proof by default.explicit_only: only use Proof when the user explicitly asks.
Boundary rules:
- Existing repo-tracked markdown files stay local unless the user explicitly asks to move or share them in Proof.
- Do not silently replace local project docs with Proof links.
- If the task is code-adjacent local documentation, keep it local unless the user asks for Proof.
Shared URLs And Auth
Shared URL format:
https://www.proofeditor.ai/d/<slug>?token=<token>Use one of:
Authorization: Bearer <token>(preferred)x-share-token: <token>?token=<token>
by controls authorship. X-Agent-Id controls presence identity.
If Proof Looks Wrong
Use one reporting tool call:
curl -sS -X POST "https://www.proofeditor.ai/api/bridge/report_bug" \
-H "Content-Type: application/json" \
-d '{
"summary":"Short bug summary",
"context":"What you were trying to do and what looked wrong.",
"slug":"<slug-if-you-have-it>",
"evidence":[
{
"kind":"http_response",
"method":"POST",
"url":"https://www.proofeditor.ai/api/agent/<slug>/edit/v2",
"status":500,
"requestId":"<x-request-id>"
}
]
}'If the response returns status: "needs_more_info", ask the suggested questions and call the same endpoint again.
If you want reference code while debugging or preparing the report, you can optionally inspect:
https://github.com/EveryInc/proof-sdk
Existing Proof Docs
When a Proof URL is provided:
- Extract
slugandtoken. - Join immediately by reading state with
X-Agent-Idor by posting presence. - Read the doc.
- Reply with a short confirmation like
Connected in Proof and ready. - Then keep working inside Proof.
Read state and show presence on read:
Preferred presence identity: X-Agent-Id.
Compatibility: /presence also accepts agentId or agent.id in the JSON body.
by controls authorship on mutations, not presence identity.
curl -sS "https://www.proofeditor.ai/api/agent/<slug>/state" \
-H "Authorization: Bearer <token>" \
-H "X-Agent-Id: <your-agent-id>"Update presence explicitly:
POST /api/agent/<slug>/presence requires explicit agent identity.
Preferred: X-Agent-Id: <your-agent-id>.
Also accepted: agentId or agent.id in the JSON body.
curl -sS -X POST "https://www.proofeditor.ai/api/agent/<slug>/presence" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-H "X-Agent-Id: <your-agent-id>" \
-d '{
"agentId":"<your-agent-id>",
"status":"reading",
"summary":"Joining the doc"
}'Common statuses: reading, thinking, acting, waiting, completed, error.
Reading Comments
Read comment threads from:
GET /api/agent/<slug>/stateComment bodies, replies, and resolved state live in marks on the state response.
- Read
state.marksfor comment text and thread metadata. - Use
/snapshotfor block refs andedit/v2only. It does not include comment thread bodies. - Use
/queue/pendingas the primary "what changed?" feed and/events/pendingas raw activity. Do not treat either as the source of comment text.
Creating A New Proof Doc
Create a shared document:
curl -sS -X POST https://www.proofeditor.ai/share/markdown \
-H "Content-Type: application/json" \
-d '{"title":"My Document","markdown":"# Hello\n\nFirst draft."}'Save:
slugaccessTokenshareUrltokenUrl_links
When Proof is the default for the task:
- Create the doc.
- Return the live Proof link to the user.
- Join the doc immediately.
- Keep working there.
Choosing An Edit Strategy
| Task | Recommended API | Why |
| Precise paragraph or section rewrite | edit/v2 | Block refs plus authoritative token locking |
| Simple append, replace, or insert | edit/v2 | Stable block operations; legacy /edit is removed |
| Human-reviewed edits | ops | Suggestions and comments in track changes |
| Large rewrite proposal | ops + rewrite.apply | Produces reviewable changes |
Snapshot And Edit V2
Get a snapshot:
curl -sS "https://www.proofeditor.ai/api/agent/<slug>/snapshot" \
-H "Authorization: Bearer <token>"Apply block operations:
curl -sS -X POST "https://www.proofeditor.ai/api/agent/<slug>/edit/v2" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-H "Idempotency-Key: <unique-key>" \
-d '{
"by":"ai:codex",
"baseToken":"mt1:<token-from-state-or-snapshot>",
"operations":[
{"op":"replace_block","ref":"b3","block":{"markdown":"Updated paragraph."}},
{"op":"insert_after","ref":"b3","blocks":[{"markdown":"## New section"}]}
]
}'Supported ops:
replace_blockinsert_beforeinsert_afterdelete_blockreplace_rangefind_replace_in_block
Schema reminder:
/opsuses a top-leveltype./edit/v2uses top-leveloperations, and each entry usesop.replace_rangeusesfromRefandtoRef.
Legacy /edit
POST /api/agent/<slug>/edit has been removed.
Older callers receive 410 LEGACY_EDIT_REMOVED with guidance to re-read /state and switch to /edit/v2.
Comments, Suggestions, And Rewrites
Primary endpoint:
POST /api/agent/<slug>/opsUse baseToken from /state or /snapshot on every ops request.
Legacy compatibility alias for older callers only:
POST /api/documents/<slug>/opsSupported op types:
comment.addcomment.replycomment.resolvecomment.unresolvesuggestion.addwithkind: "insert" | "delete" | "replace"suggestion.acceptsuggestion.rejectrewrite.apply
suggestion.resolve is not supported. Use suggestion.accept or suggestion.reject instead.
For comments, the public API supports resolve/unresolve, not delete.
Examples:
{"type":"comment.add","by":"ai:codex","baseToken":"mt1:<token-from-state-or-snapshot>","quote":"anchor text","text":"Comment body"}
{"type":"comment.reply","by":"ai:codex","baseToken":"mt1:<token-from-state-or-snapshot>","markId":"comment-123","text":"Reply text"}
{"type":"suggestion.add","by":"ai:codex","baseToken":"mt1:<token-from-state-or-snapshot>","kind":"replace","quote":"old text","content":"new text"}
{"type":"suggestion.accept","by":"ai:codex","baseToken":"mt1:<token-from-state-or-snapshot>","markId":"mark-123"}
{"type":"suggestion.reject","by":"ai:codex","baseToken":"mt1:<token-from-state-or-snapshot>","markId":"mark-123"}
{"type":"suggestion.add","by":"ai:codex","baseToken":"mt1:<token-from-state-or-snapshot>","kind":"replace","quote":"old text","content":"new text","status":"accepted"}
{"type":"rewrite.apply","by":"ai:codex","baseToken":"mt1:<token-from-state-or-snapshot>","content":"# Rewritten markdown"}Use the comment mark's markId when calling comment.reply.
comment.resolve keeps the comment in marks metadata and flips resolved: true; it does not delete the comment.
Use ops when you want the human to review changes in track changes.
Events And Presence
Poll summarized queue items:
curl -sS "https://www.proofeditor.ai/api/agent/<slug>/queue/pending?after=0" \
-H "Authorization: Bearer <token>"Poll for pending events:
curl -sS "https://www.proofeditor.ai/api/agent/<slug>/events/pending?after=0" \
-H "Authorization: Bearer <token>"Ack processed events:
curl -sS -X POST "https://www.proofeditor.ai/api/agent/<slug>/events/ack" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <token>" \
-d '{"upToId":123,"by":"ai:codex"}'If you are staying in the loop while a human reviews changes, keep presence updated so the doc shows what you are doing.
Error Handling
| Error | Meaning | Action |
401/403 | Bad or missing auth | Re-read token from URL and retry with bearer token |
404 | Slug not found | Verify slug and environment |
409 PROJECTION_STALE | Metadata catching up | Re-read state or snapshot, then retry |
409 BASE_TOKEN_REQUIRED | Route requires baseToken | Re-read state or snapshot and send mutationBase.token |
409 ANCHOR_NOT_FOUND | V1 search anchor missing | Re-read state and choose a tighter anchor |
422 | Invalid payload | Fix required fields and schema |
429 | Rate limit | Back off and retry with jitter |
Guidelines:
- Re-read state before retries that depend on anchors or revisions.
- If the behavior still looks wrong after a normal retry, call
POST /api/bridge/report_bugwith the request/response, request ID, slug, and a short context note. - Include
byon every write. - Prefer
contentand markdown payloads as canonical text input. - Use
Idempotency-Keyonedit/v2requests so retries stay safe.
Discovery
- Discovery JSON:
https://www.proofeditor.ai/.well-known/agent.json - Docs:
https://www.proofeditor.ai/agent-docs - Setup:
https://www.proofeditor.ai/agent-setup - Report bug tool:
https://www.proofeditor.ai/api/bridge/report_bug - Open-source reference:
https://github.com/EveryInc/proof-sdk
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

