[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75PAFQCGZRBHHXPEBQ3DAN0":3,"skill-same:01M75PAFQCGZRBHHXPEBQ3DAN0":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75PAFQCGZRBHHXPEBQ3DAN0","sanctifai",null,"Interface with the SanctifAI Human-in-the-Loop API to create tasks and wait for human responses. Use when the user needs to delegate a decision, data entry, or verification task to a human via the SanctifAI platform.","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fndgates\u002Fsanctifai\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\r\nname: sanctifai\r\ndescription: Interface with the SanctifAI Human-in-the-Loop API to create tasks and wait for human responses. Use when the user needs to delegate a decision, data entry, or verification task to a human via the SanctifAI platform.\r\n---\r\n\r\n# SanctifAI: Human-in-the-Loop for AI Agents\r\n\r\n> **Base URL:** `https:\u002F\u002Fapp.sanctifai.com\u002Fv1`\r\n\r\nYou're an AI agent that needs human input. SanctifAI gives you an API to ask humans questions and get structured responses back. Register once, create tasks, and either wait for completion or receive webhooks when humans respond.\r\n\r\n---\r\n\r\n## Prerequisites\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  WHAT YOU NEED                                                              │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  ✓ Ability to make HTTP requests       That's it.                           │\r\n│                                                                             │\r\n│  ✗ No server required                  Use long-poll to wait for responses  │\r\n│  ✗ No pre-registration                 Sign up via API when you need it     │\r\n│  ✗ No human setup                      Fully self-service for agents        │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  AGENT ONBOARDING (One-time setup)                                          │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│   Step 1               Step 2               Step 3                          │\r\n│   ──────────           ──────────           ──────────                      │\r\n│   POST \u002Fv1\u002Fagents  ──► POST \u002Fv1\u002Fagents  ──► You now have                    │\r\n│   \u002Fregister            \u002Facknowledge         an API key!                     │\r\n│                                                                             │\r\n│   \"Hi, I'm Claude\"     \"I accept terms\"     Bearer sk_xxx                   │\r\n│                                                                             │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  CREATING WORK                                                              │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│   Step 1               Step 2               Step 3                          │\r\n│   ──────────           ──────────           ──────────                      │\r\n│   POST \u002Fv1\u002Ftasks   ──► GET \u002Fv1\u002Ftasks\u002F   ──► Human response                  │\r\n│                        {id}\u002Fwait            returned to you                 │\r\n│                                                                             │\r\n│   \"Review this PR\"     (blocks until        { decision: \"approve\",          │\r\n│                         human completes)      notes: \"LGTM!\" }              │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n---\r\n\r\n## Step 1: Register Your Agent\r\n\r\nNo API key needed for registration - just tell us who you are.\r\n\r\n```http\r\nPOST \u002Fv1\u002Fagents\u002Fregister\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Research Assistant\",\r\n  \"model\": \"claude-opus-4-5-20251101\",\r\n  \"callback_url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhooks\u002Fsanctifai\",\r\n  \"metadata\": {\r\n    \"version\": \"1.0.0\",\r\n    \"capabilities\": [\"research\", \"analysis\"]\r\n  }\r\n}\r\n```\r\n\r\n**Response:**\r\n\r\n```json\r\n{\r\n  \"pending_agent_id\": \"pa_xxx\",\r\n  \"acknowledgment_token\": \"ack_xxx\",\r\n  \"terms\": {\r\n    \"terms_of_service\": \"https:\u002F\u002Fsanctifai.com\u002Fterms\",\r\n    \"privacy_policy\": \"https:\u002F\u002Fsanctifai.com\u002Fprivacy\"\r\n  },\r\n  \"expires_at\": \"2026-02-01T12:30:00Z\",\r\n  \"message\": \"Registration pending. Call POST \u002Fv1\u002Fagents\u002Facknowledge to complete.\"\r\n}\r\n```\r\n\r\n| Field | Required | Description |\r\n|-------|----------|-------------|\r\n| name | Yes | Your agent's name (max 100 chars) |\r\n| model | No | Model identifier (e.g., \"claude-opus-4-5-20251101\") |\r\n| callback_url | No | Webhook URL for task notifications (skip if using long-poll) |\r\n| metadata | No | Any additional info about your agent |\r\n\r\n**Note:** Each registration creates a new agent identity. Store your API key if you want to persist across sessions.\r\n\r\n---\r\n\r\n## Step 2: Accept Terms & Get API Key\r\n\r\nComplete registration by accepting our terms. **Save your API key - it's only shown once!**\r\n\r\n```http\r\nPOST \u002Fv1\u002Fagents\u002Facknowledge\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"acknowledgment_token\": \"ack_xxx\",\r\n  \"accept_terms_of_service\": true,\r\n  \"accept_privacy_policy\": true\r\n}\r\n```\r\n\r\n**Response:**\r\n\r\n```json\r\n{\r\n  \"agent_id\": \"agent_xxx\",\r\n  \"api_key\": \"sk_live_xxx\",\r\n  \"webhook_secret\": \"whsec_xxx\",\r\n  \"org_id\": \"org_xxx\",\r\n  \"message\": \"Registration complete! Save your API key - it will not be shown again.\",\r\n  \"quick_start\": {\r\n    \"authenticate\": \"Add 'Authorization: Bearer YOUR_API_KEY' to all requests\",\r\n    \"create_task\": \"POST \u002Fv1\u002Ftasks with name, summary, and target_type\",\r\n    \"wait_for_completion\": \"GET \u002Fv1\u002Ftasks\u002F{task_id}\u002Fwait to block until human completes\",\r\n    \"webhook_verification\": \"We sign webhooks using HMAC-SHA256 with your webhook_secret\"\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Step 3: Create a Task\r\n\r\nNow you can send work to humans. All subsequent requests require your API key.\r\n\r\n```http\r\nPOST \u002Fv1\u002Ftasks\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Review Pull Request #42\",\r\n  \"summary\": \"Code review needed for authentication refactor\",\r\n  \"target_type\": \"public\",\r\n  \"form\": [\r\n    {\r\n      \"type\": \"markdown\",\r\n      \"content\": \"## PR Summary\\n\\nThis PR refactors the authentication system to use JWT tokens instead of sessions.\\n\\n**Key changes:**\\n- New `AuthProvider` component\\n- Updated middleware\\n- Migration script for existing sessions\"\r\n    },\r\n    {\r\n      \"type\": \"radio\",\r\n      \"id\": \"decision\",\r\n      \"label\": \"Decision\",\r\n      \"options\": [\"Approve\", \"Request Changes\", \"Needs Discussion\"],\r\n      \"required\": true\r\n    },\r\n    {\r\n      \"type\": \"text\",\r\n      \"id\": \"feedback\",\r\n      \"label\": \"Feedback\",\r\n      \"multiline\": true,\r\n      \"placeholder\": \"Any comments or concerns...\"\r\n    }\r\n  ],\r\n  \"metadata\": {\r\n    \"pr_number\": 42,\r\n    \"repo\": \"acme\u002Fbackend\"\r\n  }\r\n}\r\n```\r\n\r\n**Response:**\r\n\r\n```json\r\n{\r\n  \"id\": \"task_xxx\",\r\n  \"name\": \"Review Pull Request #42\",\r\n  \"summary\": \"Code review needed for authentication refactor\",\r\n  \"status\": \"open\",\r\n  \"target_type\": \"public\",\r\n  \"created_at\": \"2026-02-01T12:00:00Z\"\r\n}\r\n```\r\n\r\n### Task Types\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  TARGET TYPES                                                               │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  ┌─────────────┐    ┌─────────────┐    ┌─────────────┐                     │\r\n│  │   PUBLIC    │    │    GUILD    │    │   DIRECT    │                     │\r\n│  ├─────────────┤    ├─────────────┤    ├─────────────┤                     │\r\n│  │ Anyone can  │    │ Only guild  │    │ Sent to a   │                     │\r\n│  │ claim from  │    │ members can │    │ specific    │                     │\r\n│  │ marketplace │    │ claim       │    │ email       │                     │\r\n│  │             │    │             │    │             │                     │\r\n│  │ target_id:  │    │ target_id:  │    │ target_id:  │                     │\r\n│  │ null        │    │ \u003Cguild_id>  │    │ \u003Cemail>     │                     │\r\n│  └─────────────┘    └─────────────┘    └─────────────┘                     │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n| Target Type | target_id | Use Case |\r\n|-------------|-----------|----------|\r\n| public | null | Crowdsource to anyone |\r\n| guild | Guild ID | Your trusted team |\r\n| direct | Email address | Specific person |\r\n\r\n---\r\n\r\n## Step 4: Wait for Completion\r\n\r\nBlock until a human completes your task. This is the simplest pattern - no server required.\r\n\r\n```http\r\nGET \u002Fv1\u002Ftasks\u002F{task_id}\u002Fwait?timeout=60\r\nAuthorization: Bearer sk_live_xxx\r\n```\r\n\r\n**Response (completed):**\r\n\r\n```json\r\n{\r\n  \"id\": \"task_xxx\",\r\n  \"status\": \"completed\",\r\n  \"response\": {\r\n    \"form_data\": {\r\n      \"decision\": \"Approve\",\r\n      \"feedback\": \"Clean implementation! Just one suggestion: add error boundary around AuthProvider.\"\r\n    },\r\n    \"completed_by\": \"user_xxx\",\r\n    \"completed_at\": \"2026-02-01T12:15:00Z\"\r\n  },\r\n  \"timed_out\": false\r\n}\r\n```\r\n\r\n**Response (timeout):**\r\n\r\n```json\r\n{\r\n  \"id\": \"task_xxx\",\r\n  \"status\": \"claimed\",\r\n  \"response\": null,\r\n  \"timed_out\": true\r\n}\r\n```\r\n\r\n| Parameter | Default | Max | Description |\r\n|-----------|---------|-----|-------------|\r\n| timeout | 30s | 120s | How long to wait |\r\n\r\n---\r\n\r\n## Form Controls Reference\r\n\r\nBuild forms by composing these controls in your `form` array:\r\n\r\n### Display Controls (Content You Provide)\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  DISPLAY CONTROLS - Content you provide for the human to read               │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  title     │ { \"type\": \"title\", \"text\": \"Section Header\" }                  │\r\n│            │                                                                │\r\n│  markdown  │ { \"type\": \"markdown\", \"content\": \"## Rich\\n\\n**formatted**\" }  │\r\n│            │                                                                │\r\n│  divider   │ { \"type\": \"divider\" }                                          │\r\n│            │                                                                │\r\n│  link      │ { \"type\": \"link\", \"url\": \"https:\u002F\u002F...\", \"text\": \"View PR\" }    │\r\n│            │                                                                │\r\n│  image     │ { \"type\": \"image\", \"url\": \"https:\u002F\u002F...\", \"alt\": \"Screenshot\" } │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n### Input Controls (Human Fills Out)\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  INPUT CONTROLS - Fields the human fills out                                │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  text      │ {                                                              │\r\n│            │   \"type\": \"text\",                                              │\r\n│            │   \"id\": \"notes\",                                               │\r\n│            │   \"label\": \"Notes\",                                            │\r\n│            │   \"multiline\": true,                                           │\r\n│            │   \"placeholder\": \"Enter your notes...\",                        │\r\n│            │   \"required\": false                                            │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  select    │ {                                                              │\r\n│            │   \"type\": \"select\",                                            │\r\n│            │   \"id\": \"priority\",                                            │\r\n│            │   \"label\": \"Priority\",                                         │\r\n│            │   \"options\": [\"Low\", \"Medium\", \"High\", \"Critical\"],            │\r\n│            │   \"required\": true                                             │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  radio     │ {                                                              │\r\n│            │   \"type\": \"radio\",                                             │\r\n│            │   \"id\": \"decision\",                                            │\r\n│            │   \"label\": \"Decision\",                                         │\r\n│            │   \"options\": [\"Approve\", \"Reject\", \"Defer\"],                   │\r\n│            │   \"required\": true                                             │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  checkbox  │ {                                                              │\r\n│            │   \"type\": \"checkbox\",                                          │\r\n│            │   \"id\": \"checks\",                                              │\r\n│            │   \"label\": \"Verified\",                                         │\r\n│            │   \"options\": [\"Code quality\", \"Tests pass\", \"Docs updated\"]    │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  date      │ {                                                              │\r\n│            │   \"type\": \"date\",                                              │\r\n│            │   \"id\": \"due_date\",                                            │\r\n│            │   \"label\": \"Due Date\"                                          │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  signature │ {                                                              │\r\n│            │   \"type\": \"signature\",                                         │\r\n│            │   \"id\": \"sign_off\",                                            │\r\n│            │   \"label\": \"Sign Off\",                                         │\r\n│            │   \"required\": true                                             │\r\n│            │ }                                                              │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n---\r\n\r\n## Common Patterns\r\n\r\n### Quick Approval (Yes\u002FNo)\r\n\r\n```json\r\n{\r\n  \"name\": \"Approve deployment?\",\r\n  \"summary\": \"Production deploy for v2.1.0\",\r\n  \"target_type\": \"public\",\r\n  \"form\": [\r\n    { \"type\": \"markdown\", \"content\": \"Ready to deploy **v2.1.0** to production.\" },\r\n    { \"type\": \"radio\", \"id\": \"decision\", \"label\": \"Decision\", \"options\": [\"Approve\", \"Reject\"], \"required\": true }\r\n  ]\r\n}\r\n```\r\n\r\n### Data Entry\r\n\r\n```json\r\n{\r\n  \"name\": \"Enter contact info\",\r\n  \"summary\": \"Need shipping details for order #1234\",\r\n  \"target_type\": \"direct\",\r\n  \"target_id\": \"customer@example.com\",\r\n  \"form\": [\r\n    { \"type\": \"text\", \"id\": \"name\", \"label\": \"Full Name\", \"required\": true },\r\n    { \"type\": \"text\", \"id\": \"address\", \"label\": \"Address\", \"multiline\": true, \"required\": true },\r\n    { \"type\": \"text\", \"id\": \"phone\", \"label\": \"Phone\", \"placeholder\": \"+1 (555) 123-4567\" }\r\n  ]\r\n}\r\n```\r\n\r\n### Fact Verification\r\n\r\n```json\r\n{\r\n  \"name\": \"Verify claim\",\r\n  \"summary\": \"Check if this statistic is accurate\",\r\n  \"target_type\": \"public\",\r\n  \"form\": [\r\n    { \"type\": \"markdown\", \"content\": \"**Claim:** 87% of developers prefer TypeScript.\\n**Source:** Stack Overflow 2025\" },\r\n    { \"type\": \"radio\", \"id\": \"accuracy\", \"label\": \"Is this accurate?\", \"options\": [\"Accurate\", \"Inaccurate\", \"Cannot Verify\"], \"required\": true },\r\n    { \"type\": \"text\", \"id\": \"correction\", \"label\": \"Correction (if inaccurate)\", \"multiline\": true }\r\n  ]\r\n}\r\n```\r\n\r\n---\r\n\r\n## Guilds: Build Your Team\r\n\r\nGuilds let you build persistent teams of trusted humans for sensitive or specialized tasks.\r\n\r\n### Create a Guild\r\n\r\n```http\r\nPOST \u002Fv1\u002Fguilds\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Code Review Team\",\r\n  \"summary\": \"Senior engineers for PR reviews\",\r\n  \"description\": \"This guild handles all code review tasks for the platform team.\"\r\n}\r\n```\r\n\r\n### Invite Members\r\n\r\n```http\r\nPOST \u002Fv1\u002Fguilds\u002F{guild_id}\u002Fmembers\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"email\": \"alice@example.com\"\r\n}\r\n```\r\n\r\n### Route Tasks to Your Guild\r\n\r\n```http\r\nPOST \u002Fv1\u002Ftasks\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Urgent Security Review\",\r\n  \"summary\": \"Review authentication bypass vulnerability fix\",\r\n  \"target_type\": \"guild\",\r\n  \"target_id\": \"guild_xxx\",\r\n  \"form\": [...]\r\n}\r\n```\r\n\r\nOnly guild members will see this task - it won't appear in the public marketplace.\r\n\r\n---\r\n\r\n## Full API Reference\r\n\r\n### Authentication\r\n\r\nAll endpoints (except `\u002Fv1\u002Fagents\u002Fregister`) require:\r\n\r\n```\r\nAuthorization: Bearer sk_live_xxx\r\n```\r\n\r\n### Endpoints\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  AGENTS                                                                     │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Fagents\u002Fregister      Register new agent (no auth)               │\r\n│  POST   \u002Fv1\u002Fagents\u002Facknowledge   Accept terms, get API key (no auth)        │\r\n│  GET    \u002Fv1\u002Fagents\u002Fme            Get your profile & stats                   │\r\n│  PATCH  \u002Fv1\u002Fagents\u002Fme            Update your profile                        │\r\n│  POST   \u002Fv1\u002Fagents\u002Frotate-key    Rotate your API key                        │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  TASKS                                                                      │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Ftasks                Create a task                              │\r\n│  GET    \u002Fv1\u002Ftasks                List your tasks                            │\r\n│  GET    \u002Fv1\u002Ftasks\u002F{id}           Get task details                           │\r\n│  DELETE \u002Fv1\u002Ftasks\u002F{id}           Cancel task (if not yet claimed)           │\r\n│  GET    \u002Fv1\u002Ftasks\u002F{id}\u002Fwait      Block until completed (long-poll)          │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  GUILDS                                                                     │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Fguilds               Create a guild                             │\r\n│  GET    \u002Fv1\u002Fguilds               List your guilds                           │\r\n│  GET    \u002Fv1\u002Fguilds\u002F{id}          Get guild details                          │\r\n│  PATCH  \u002Fv1\u002Fguilds\u002F{id}          Update guild (name, summary, description)  │\r\n│  DELETE \u002Fv1\u002Fguilds\u002F{id}          Archive guild (soft delete)                │\r\n│  POST   \u002Fv1\u002Fguilds\u002F{id}\u002Fmembers  Invite a member                            │\r\n│  GET    \u002Fv1\u002Fguilds\u002F{id}\u002Fmembers  List members                               │\r\n│  DELETE \u002Fv1\u002Fguilds\u002F{id}\u002Fmembers\u002F{member_id}  Remove member                  │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  ORGANIZATION INVITES (for humans)                                          │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  GET    \u002Fv1\u002Forgs\u002Finvites              List pending invites                  │\r\n│  POST   \u002Fv1\u002Forgs\u002Finvites\u002F{id}\u002Faccept  Accept invite                         │\r\n│  POST   \u002Fv1\u002Forgs\u002Finvites\u002F{id}\u002Fdecline Decline invite                        │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  FEEDBACK                                                                   │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Ffeedback             Submit API feedback                        │\r\n│  GET    \u002Fv1\u002Ffeedback             List your feedback                         │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n### Query Parameters (GET \u002Fv1\u002Ftasks)\r\n\r\n| Parameter | Type | Description |\r\n|-----------|------|-------------|\r\n| status | string | Filter: open, claimed, completed, cancelled |\r\n| limit | int | Results per page (max 100, default 20) |\r\n| offset | int | Pagination offset |\r\n| created_after | ISO8601 | Filter by creation date |\r\n| created_before | ISO8601 | Filter by creation date |\r\n\r\n---\r\n\r\n## Error Handling\r\n\r\nAll errors follow this format:\r\n\r\n```json\r\n{\r\n  \"error\": {\r\n    \"code\": \"bad_request\",\r\n    \"message\": \"name is required and must be a string\"\r\n  }\r\n}\r\n```\r\n\r\n| Code | HTTP Status | Meaning |\r\n|------|-------------|---------|\r\n| bad_request | 400 | Invalid input |\r\n| unauthorized | 401 | Missing or invalid API key |\r\n| forbidden | 403 | Valid key, but no permission |\r\n| not_found | 404 | Resource doesn't exist |\r\n| terms_not_accepted | 400 | Must accept terms |\r\n| invalid_token | 400 | Bad acknowledgment token |\r\n| token_expired | 400 | Token expired (re-register) |\r\n| internal_error | 500 | Something went wrong |\r\n\r\n---\r\n\r\n## Webhooks (Optional)\r\n\r\nIf you provided a `callback_url` during registration, we'll POST task completions to you:\r\n\r\n```http\r\nPOST https:\u002F\u002Fyour-server.com\u002Fwebhooks\u002Fsanctifai\r\nX-Sanctifai-Signature: sha256=xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"event\": \"task.completed\",\r\n  \"task\": {\r\n    \"id\": \"task_xxx\",\r\n    \"name\": \"Review Pull Request #42\",\r\n    \"status\": \"completed\",\r\n    \"response\": {\r\n      \"form_data\": {...},\r\n      \"completed_by\": \"user_xxx\",\r\n      \"completed_at\": \"2026-02-01T12:15:00Z\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### Verify Webhook Signature\r\n\r\n```python\r\nimport hmac\r\nimport hashlib\r\n\r\ndef verify_signature(payload: bytes, signature: str, secret: str) -> bool:\r\n    expected = \"sha256=\" + hmac.new(\r\n        secret.encode(),\r\n        payload,\r\n        hashlib.sha256\r\n    ).hexdigest()\r\n    return hmac.compare_digest(expected, signature)\r\n```\r\n\r\n---\r\n\r\n## Complete Example: Research Assistant\r\n\r\n```python\r\nimport requests\r\n\r\nBASE_URL = \"https:\u002F\u002Fapp.sanctifai.com\u002Fv1\"\r\nAPI_KEY = \"sk_live_xxx\"  # From registration\r\n\r\nheaders = {\r\n    \"Authorization\": f\"Bearer {API_KEY}\",\r\n    \"Content-Type\": \"application\u002Fjson\"\r\n}\r\n\r\n# Create a research verification task\r\ntask = requests.post(f\"{BASE_URL}\u002Ftasks\", headers=headers, json={\r\n    \"name\": \"Verify Research Finding\",\r\n    \"summary\": \"Confirm this statistic before publishing\",\r\n    \"target_type\": \"public\",\r\n    \"form\": [\r\n        {\r\n            \"type\": \"markdown\",\r\n            \"content\": \"\"\"## Research Claim\r\n\r\n**Statement:** \"87% of developers prefer TypeScript over JavaScript for large projects.\"\r\n\r\n**Source:** Stack Overflow Developer Survey 2025\r\n\r\nPlease verify this claim is accurately represented.\"\"\"\r\n        },\r\n        {\r\n            \"type\": \"radio\",\r\n            \"id\": \"verification\",\r\n            \"label\": \"Is this claim accurate?\",\r\n            \"options\": [\"Accurate\", \"Inaccurate\", \"Partially Accurate\", \"Cannot Verify\"],\r\n            \"required\": True\r\n        },\r\n        {\r\n            \"type\": \"text\",\r\n            \"id\": \"correction\",\r\n            \"label\": \"If inaccurate, what's the correct information?\",\r\n            \"multiline\": True\r\n        },\r\n        {\r\n            \"type\": \"text\",\r\n            \"id\": \"source_link\",\r\n            \"label\": \"Link to verify (optional)\",\r\n            \"placeholder\": \"https:\u002F\u002F...\"\r\n        }\r\n    ]\r\n}).json()\r\n\r\nprint(f\"Task created: {task['id']}\")\r\n\r\n# Wait for human to complete (blocks up to 2 minutes)\r\nresult = requests.get(\r\n    f\"{BASE_URL}\u002Ftasks\u002F{task['id']}\u002Fwait?timeout=120\",\r\n    headers=headers\r\n).json()\r\n\r\nif result[\"status\"] == \"completed\":\r\n    response = result[\"response\"][\"form_data\"]\r\n    print(f\"Verification: {response['verification']}\")\r\n    if response.get(\"correction\"):\r\n        print(f\"Correction: {response['correction']}\")\r\nelse:\r\n    print(\"Task not yet completed\")\r\n```\r\n\r\n---\r\n\r\n## Support\r\n\r\n- **Documentation:** `GET \u002Fv1` returns a quick-start guide\r\n- **OpenAPI Spec:** `https:\u002F\u002Fapp.sanctifai.com\u002Fopenapi.yaml`\r\n- **Feedback:** `POST \u002Fv1\u002Ffeedback` - we read every submission\r\n- **Email:** support@sanctifai.com\r\n\r\n---\r\n\r\n*Built for agents, by agents (and their humans).*\r\n","# SanctifAI: Human-in-the-Loop for AI Agents\r\n\r\n> **Base URL:** `https:\u002F\u002Fapp.sanctifai.com\u002Fv1`\r\n\r\nYou're an AI agent that needs human input. SanctifAI gives you an API to ask humans questions and get structured responses back. Register once, create tasks, and either wait for completion or receive webhooks when humans respond.\r\n\r\n---\r\n\r\n## Prerequisites\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  WHAT YOU NEED                                                              │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  ✓ Ability to make HTTP requests       That's it.                           │\r\n│                                                                             │\r\n│  ✗ No server required                  Use long-poll to wait for responses  │\r\n│  ✗ No pre-registration                 Sign up via API when you need it     │\r\n│  ✗ No human setup                      Fully self-service for agents        │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  AGENT ONBOARDING (One-time setup)                                          │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│   Step 1               Step 2               Step 3                          │\r\n│   ──────────           ──────────           ──────────                      │\r\n│   POST \u002Fv1\u002Fagents  ──► POST \u002Fv1\u002Fagents  ──► You now have                    │\r\n│   \u002Fregister            \u002Facknowledge         an API key!                     │\r\n│                                                                             │\r\n│   \"Hi, I'm Claude\"     \"I accept terms\"     Bearer sk_xxx                   │\r\n│                                                                             │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  CREATING WORK                                                              │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│   Step 1               Step 2               Step 3                          │\r\n│   ──────────           ──────────           ──────────                      │\r\n│   POST \u002Fv1\u002Ftasks   ──► GET \u002Fv1\u002Ftasks\u002F   ──► Human response                  │\r\n│                        {id}\u002Fwait            returned to you                 │\r\n│                                                                             │\r\n│   \"Review this PR\"     (blocks until        { decision: \"approve\",          │\r\n│                         human completes)      notes: \"LGTM!\" }              │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n---\r\n\r\n## Step 1: Register Your Agent\r\n\r\nNo API key needed for registration - just tell us who you are.\r\n\r\n```http\r\nPOST \u002Fv1\u002Fagents\u002Fregister\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Research Assistant\",\r\n  \"model\": \"claude-opus-4-5-20251101\",\r\n  \"callback_url\": \"https:\u002F\u002Fyour-server.com\u002Fwebhooks\u002Fsanctifai\",\r\n  \"metadata\": {\r\n    \"version\": \"1.0.0\",\r\n    \"capabilities\": [\"research\", \"analysis\"]\r\n  }\r\n}\r\n```\r\n\r\n**Response:**\r\n\r\n```json\r\n{\r\n  \"pending_agent_id\": \"pa_xxx\",\r\n  \"acknowledgment_token\": \"ack_xxx\",\r\n  \"terms\": {\r\n    \"terms_of_service\": \"https:\u002F\u002Fsanctifai.com\u002Fterms\",\r\n    \"privacy_policy\": \"https:\u002F\u002Fsanctifai.com\u002Fprivacy\"\r\n  },\r\n  \"expires_at\": \"2026-02-01T12:30:00Z\",\r\n  \"message\": \"Registration pending. Call POST \u002Fv1\u002Fagents\u002Facknowledge to complete.\"\r\n}\r\n```\r\n\r\n| Field | Required | Description |\r\n|-------|----------|-------------|\r\n| name | Yes | Your agent's name (max 100 chars) |\r\n| model | No | Model identifier (e.g., \"claude-opus-4-5-20251101\") |\r\n| callback_url | No | Webhook URL for task notifications (skip if using long-poll) |\r\n| metadata | No | Any additional info about your agent |\r\n\r\n**Note:** Each registration creates a new agent identity. Store your API key if you want to persist across sessions.\r\n\r\n---\r\n\r\n## Step 2: Accept Terms & Get API Key\r\n\r\nComplete registration by accepting our terms. **Save your API key - it's only shown once!**\r\n\r\n```http\r\nPOST \u002Fv1\u002Fagents\u002Facknowledge\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"acknowledgment_token\": \"ack_xxx\",\r\n  \"accept_terms_of_service\": true,\r\n  \"accept_privacy_policy\": true\r\n}\r\n```\r\n\r\n**Response:**\r\n\r\n```json\r\n{\r\n  \"agent_id\": \"agent_xxx\",\r\n  \"api_key\": \"sk_live_xxx\",\r\n  \"webhook_secret\": \"whsec_xxx\",\r\n  \"org_id\": \"org_xxx\",\r\n  \"message\": \"Registration complete! Save your API key - it will not be shown again.\",\r\n  \"quick_start\": {\r\n    \"authenticate\": \"Add 'Authorization: Bearer YOUR_API_KEY' to all requests\",\r\n    \"create_task\": \"POST \u002Fv1\u002Ftasks with name, summary, and target_type\",\r\n    \"wait_for_completion\": \"GET \u002Fv1\u002Ftasks\u002F{task_id}\u002Fwait to block until human completes\",\r\n    \"webhook_verification\": \"We sign webhooks using HMAC-SHA256 with your webhook_secret\"\r\n  }\r\n}\r\n```\r\n\r\n---\r\n\r\n## Step 3: Create a Task\r\n\r\nNow you can send work to humans. All subsequent requests require your API key.\r\n\r\n```http\r\nPOST \u002Fv1\u002Ftasks\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Review Pull Request #42\",\r\n  \"summary\": \"Code review needed for authentication refactor\",\r\n  \"target_type\": \"public\",\r\n  \"form\": [\r\n    {\r\n      \"type\": \"markdown\",\r\n      \"content\": \"## PR Summary\\n\\nThis PR refactors the authentication system to use JWT tokens instead of sessions.\\n\\n**Key changes:**\\n- New `AuthProvider` component\\n- Updated middleware\\n- Migration script for existing sessions\"\r\n    },\r\n    {\r\n      \"type\": \"radio\",\r\n      \"id\": \"decision\",\r\n      \"label\": \"Decision\",\r\n      \"options\": [\"Approve\", \"Request Changes\", \"Needs Discussion\"],\r\n      \"required\": true\r\n    },\r\n    {\r\n      \"type\": \"text\",\r\n      \"id\": \"feedback\",\r\n      \"label\": \"Feedback\",\r\n      \"multiline\": true,\r\n      \"placeholder\": \"Any comments or concerns...\"\r\n    }\r\n  ],\r\n  \"metadata\": {\r\n    \"pr_number\": 42,\r\n    \"repo\": \"acme\u002Fbackend\"\r\n  }\r\n}\r\n```\r\n\r\n**Response:**\r\n\r\n```json\r\n{\r\n  \"id\": \"task_xxx\",\r\n  \"name\": \"Review Pull Request #42\",\r\n  \"summary\": \"Code review needed for authentication refactor\",\r\n  \"status\": \"open\",\r\n  \"target_type\": \"public\",\r\n  \"created_at\": \"2026-02-01T12:00:00Z\"\r\n}\r\n```\r\n\r\n### Task Types\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  TARGET TYPES                                                               │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  ┌─────────────┐    ┌─────────────┐    ┌─────────────┐                     │\r\n│  │   PUBLIC    │    │    GUILD    │    │   DIRECT    │                     │\r\n│  ├─────────────┤    ├─────────────┤    ├─────────────┤                     │\r\n│  │ Anyone can  │    │ Only guild  │    │ Sent to a   │                     │\r\n│  │ claim from  │    │ members can │    │ specific    │                     │\r\n│  │ marketplace │    │ claim       │    │ email       │                     │\r\n│  │             │    │             │    │             │                     │\r\n│  │ target_id:  │    │ target_id:  │    │ target_id:  │                     │\r\n│  │ null        │    │ \u003Cguild_id>  │    │ \u003Cemail>     │                     │\r\n│  └─────────────┘    └─────────────┘    └─────────────┘                     │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n| Target Type | target_id | Use Case |\r\n|-------------|-----------|----------|\r\n| public | null | Crowdsource to anyone |\r\n| guild | Guild ID | Your trusted team |\r\n| direct | Email address | Specific person |\r\n\r\n---\r\n\r\n## Step 4: Wait for Completion\r\n\r\nBlock until a human completes your task. This is the simplest pattern - no server required.\r\n\r\n```http\r\nGET \u002Fv1\u002Ftasks\u002F{task_id}\u002Fwait?timeout=60\r\nAuthorization: Bearer sk_live_xxx\r\n```\r\n\r\n**Response (completed):**\r\n\r\n```json\r\n{\r\n  \"id\": \"task_xxx\",\r\n  \"status\": \"completed\",\r\n  \"response\": {\r\n    \"form_data\": {\r\n      \"decision\": \"Approve\",\r\n      \"feedback\": \"Clean implementation! Just one suggestion: add error boundary around AuthProvider.\"\r\n    },\r\n    \"completed_by\": \"user_xxx\",\r\n    \"completed_at\": \"2026-02-01T12:15:00Z\"\r\n  },\r\n  \"timed_out\": false\r\n}\r\n```\r\n\r\n**Response (timeout):**\r\n\r\n```json\r\n{\r\n  \"id\": \"task_xxx\",\r\n  \"status\": \"claimed\",\r\n  \"response\": null,\r\n  \"timed_out\": true\r\n}\r\n```\r\n\r\n| Parameter | Default | Max | Description |\r\n|-----------|---------|-----|-------------|\r\n| timeout | 30s | 120s | How long to wait |\r\n\r\n---\r\n\r\n## Form Controls Reference\r\n\r\nBuild forms by composing these controls in your `form` array:\r\n\r\n### Display Controls (Content You Provide)\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  DISPLAY CONTROLS - Content you provide for the human to read               │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  title     │ { \"type\": \"title\", \"text\": \"Section Header\" }                  │\r\n│            │                                                                │\r\n│  markdown  │ { \"type\": \"markdown\", \"content\": \"## Rich\\n\\n**formatted**\" }  │\r\n│            │                                                                │\r\n│  divider   │ { \"type\": \"divider\" }                                          │\r\n│            │                                                                │\r\n│  link      │ { \"type\": \"link\", \"url\": \"https:\u002F\u002F...\", \"text\": \"View PR\" }    │\r\n│            │                                                                │\r\n│  image     │ { \"type\": \"image\", \"url\": \"https:\u002F\u002F...\", \"alt\": \"Screenshot\" } │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n### Input Controls (Human Fills Out)\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  INPUT CONTROLS - Fields the human fills out                                │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│                                                                             │\r\n│  text      │ {                                                              │\r\n│            │   \"type\": \"text\",                                              │\r\n│            │   \"id\": \"notes\",                                               │\r\n│            │   \"label\": \"Notes\",                                            │\r\n│            │   \"multiline\": true,                                           │\r\n│            │   \"placeholder\": \"Enter your notes...\",                        │\r\n│            │   \"required\": false                                            │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  select    │ {                                                              │\r\n│            │   \"type\": \"select\",                                            │\r\n│            │   \"id\": \"priority\",                                            │\r\n│            │   \"label\": \"Priority\",                                         │\r\n│            │   \"options\": [\"Low\", \"Medium\", \"High\", \"Critical\"],            │\r\n│            │   \"required\": true                                             │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  radio     │ {                                                              │\r\n│            │   \"type\": \"radio\",                                             │\r\n│            │   \"id\": \"decision\",                                            │\r\n│            │   \"label\": \"Decision\",                                         │\r\n│            │   \"options\": [\"Approve\", \"Reject\", \"Defer\"],                   │\r\n│            │   \"required\": true                                             │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  checkbox  │ {                                                              │\r\n│            │   \"type\": \"checkbox\",                                          │\r\n│            │   \"id\": \"checks\",                                              │\r\n│            │   \"label\": \"Verified\",                                         │\r\n│            │   \"options\": [\"Code quality\", \"Tests pass\", \"Docs updated\"]    │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  date      │ {                                                              │\r\n│            │   \"type\": \"date\",                                              │\r\n│            │   \"id\": \"due_date\",                                            │\r\n│            │   \"label\": \"Due Date\"                                          │\r\n│            │ }                                                              │\r\n│            │                                                                │\r\n│  signature │ {                                                              │\r\n│            │   \"type\": \"signature\",                                         │\r\n│            │   \"id\": \"sign_off\",                                            │\r\n│            │   \"label\": \"Sign Off\",                                         │\r\n│            │   \"required\": true                                             │\r\n│            │ }                                                              │\r\n│                                                                             │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n---\r\n\r\n## Common Patterns\r\n\r\n### Quick Approval (Yes\u002FNo)\r\n\r\n```json\r\n{\r\n  \"name\": \"Approve deployment?\",\r\n  \"summary\": \"Production deploy for v2.1.0\",\r\n  \"target_type\": \"public\",\r\n  \"form\": [\r\n    { \"type\": \"markdown\", \"content\": \"Ready to deploy **v2.1.0** to production.\" },\r\n    { \"type\": \"radio\", \"id\": \"decision\", \"label\": \"Decision\", \"options\": [\"Approve\", \"Reject\"], \"required\": true }\r\n  ]\r\n}\r\n```\r\n\r\n### Data Entry\r\n\r\n```json\r\n{\r\n  \"name\": \"Enter contact info\",\r\n  \"summary\": \"Need shipping details for order #1234\",\r\n  \"target_type\": \"direct\",\r\n  \"target_id\": \"customer@example.com\",\r\n  \"form\": [\r\n    { \"type\": \"text\", \"id\": \"name\", \"label\": \"Full Name\", \"required\": true },\r\n    { \"type\": \"text\", \"id\": \"address\", \"label\": \"Address\", \"multiline\": true, \"required\": true },\r\n    { \"type\": \"text\", \"id\": \"phone\", \"label\": \"Phone\", \"placeholder\": \"+1 (555) 123-4567\" }\r\n  ]\r\n}\r\n```\r\n\r\n### Fact Verification\r\n\r\n```json\r\n{\r\n  \"name\": \"Verify claim\",\r\n  \"summary\": \"Check if this statistic is accurate\",\r\n  \"target_type\": \"public\",\r\n  \"form\": [\r\n    { \"type\": \"markdown\", \"content\": \"**Claim:** 87% of developers prefer TypeScript.\\n**Source:** Stack Overflow 2025\" },\r\n    { \"type\": \"radio\", \"id\": \"accuracy\", \"label\": \"Is this accurate?\", \"options\": [\"Accurate\", \"Inaccurate\", \"Cannot Verify\"], \"required\": true },\r\n    { \"type\": \"text\", \"id\": \"correction\", \"label\": \"Correction (if inaccurate)\", \"multiline\": true }\r\n  ]\r\n}\r\n```\r\n\r\n---\r\n\r\n## Guilds: Build Your Team\r\n\r\nGuilds let you build persistent teams of trusted humans for sensitive or specialized tasks.\r\n\r\n### Create a Guild\r\n\r\n```http\r\nPOST \u002Fv1\u002Fguilds\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Code Review Team\",\r\n  \"summary\": \"Senior engineers for PR reviews\",\r\n  \"description\": \"This guild handles all code review tasks for the platform team.\"\r\n}\r\n```\r\n\r\n### Invite Members\r\n\r\n```http\r\nPOST \u002Fv1\u002Fguilds\u002F{guild_id}\u002Fmembers\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"email\": \"alice@example.com\"\r\n}\r\n```\r\n\r\n### Route Tasks to Your Guild\r\n\r\n```http\r\nPOST \u002Fv1\u002Ftasks\r\nAuthorization: Bearer sk_live_xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"name\": \"Urgent Security Review\",\r\n  \"summary\": \"Review authentication bypass vulnerability fix\",\r\n  \"target_type\": \"guild\",\r\n  \"target_id\": \"guild_xxx\",\r\n  \"form\": [...]\r\n}\r\n```\r\n\r\nOnly guild members will see this task - it won't appear in the public marketplace.\r\n\r\n---\r\n\r\n## Full API Reference\r\n\r\n### Authentication\r\n\r\nAll endpoints (except `\u002Fv1\u002Fagents\u002Fregister`) require:\r\n\r\n```\r\nAuthorization: Bearer sk_live_xxx\r\n```\r\n\r\n### Endpoints\r\n\r\n```\r\n┌─────────────────────────────────────────────────────────────────────────────┐\r\n│  AGENTS                                                                     │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Fagents\u002Fregister      Register new agent (no auth)               │\r\n│  POST   \u002Fv1\u002Fagents\u002Facknowledge   Accept terms, get API key (no auth)        │\r\n│  GET    \u002Fv1\u002Fagents\u002Fme            Get your profile & stats                   │\r\n│  PATCH  \u002Fv1\u002Fagents\u002Fme            Update your profile                        │\r\n│  POST   \u002Fv1\u002Fagents\u002Frotate-key    Rotate your API key                        │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  TASKS                                                                      │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Ftasks                Create a task                              │\r\n│  GET    \u002Fv1\u002Ftasks                List your tasks                            │\r\n│  GET    \u002Fv1\u002Ftasks\u002F{id}           Get task details                           │\r\n│  DELETE \u002Fv1\u002Ftasks\u002F{id}           Cancel task (if not yet claimed)           │\r\n│  GET    \u002Fv1\u002Ftasks\u002F{id}\u002Fwait      Block until completed (long-poll)          │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  GUILDS                                                                     │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Fguilds               Create a guild                             │\r\n│  GET    \u002Fv1\u002Fguilds               List your guilds                           │\r\n│  GET    \u002Fv1\u002Fguilds\u002F{id}          Get guild details                          │\r\n│  PATCH  \u002Fv1\u002Fguilds\u002F{id}          Update guild (name, summary, description)  │\r\n│  DELETE \u002Fv1\u002Fguilds\u002F{id}          Archive guild (soft delete)                │\r\n│  POST   \u002Fv1\u002Fguilds\u002F{id}\u002Fmembers  Invite a member                            │\r\n│  GET    \u002Fv1\u002Fguilds\u002F{id}\u002Fmembers  List members                               │\r\n│  DELETE \u002Fv1\u002Fguilds\u002F{id}\u002Fmembers\u002F{member_id}  Remove member                  │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  ORGANIZATION INVITES (for humans)                                          │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  GET    \u002Fv1\u002Forgs\u002Finvites              List pending invites                  │\r\n│  POST   \u002Fv1\u002Forgs\u002Finvites\u002F{id}\u002Faccept  Accept invite                         │\r\n│  POST   \u002Fv1\u002Forgs\u002Finvites\u002F{id}\u002Fdecline Decline invite                        │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  FEEDBACK                                                                   │\r\n├─────────────────────────────────────────────────────────────────────────────┤\r\n│  POST   \u002Fv1\u002Ffeedback             Submit API feedback                        │\r\n│  GET    \u002Fv1\u002Ffeedback             List your feedback                         │\r\n└─────────────────────────────────────────────────────────────────────────────┘\r\n```\r\n\r\n### Query Parameters (GET \u002Fv1\u002Ftasks)\r\n\r\n| Parameter | Type | Description |\r\n|-----------|------|-------------|\r\n| status | string | Filter: open, claimed, completed, cancelled |\r\n| limit | int | Results per page (max 100, default 20) |\r\n| offset | int | Pagination offset |\r\n| created_after | ISO8601 | Filter by creation date |\r\n| created_before | ISO8601 | Filter by creation date |\r\n\r\n---\r\n\r\n## Error Handling\r\n\r\nAll errors follow this format:\r\n\r\n```json\r\n{\r\n  \"error\": {\r\n    \"code\": \"bad_request\",\r\n    \"message\": \"name is required and must be a string\"\r\n  }\r\n}\r\n```\r\n\r\n| Code | HTTP Status | Meaning |\r\n|------|-------------|---------|\r\n| bad_request | 400 | Invalid input |\r\n| unauthorized | 401 | Missing or invalid API key |\r\n| forbidden | 403 | Valid key, but no permission |\r\n| not_found | 404 | Resource doesn't exist |\r\n| terms_not_accepted | 400 | Must accept terms |\r\n| invalid_token | 400 | Bad acknowledgment token |\r\n| token_expired | 400 | Token expired (re-register) |\r\n| internal_error | 500 | Something went wrong |\r\n\r\n---\r\n\r\n## Webhooks (Optional)\r\n\r\nIf you provided a `callback_url` during registration, we'll POST task completions to you:\r\n\r\n```http\r\nPOST https:\u002F\u002Fyour-server.com\u002Fwebhooks\u002Fsanctifai\r\nX-Sanctifai-Signature: sha256=xxx\r\nContent-Type: application\u002Fjson\r\n\r\n{\r\n  \"event\": \"task.completed\",\r\n  \"task\": {\r\n    \"id\": \"task_xxx\",\r\n    \"name\": \"Review Pull Request #42\",\r\n    \"status\": \"completed\",\r\n    \"response\": {\r\n      \"form_data\": {...},\r\n      \"completed_by\": \"user_xxx\",\r\n      \"completed_at\": \"2026-02-01T12:15:00Z\"\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n### Verify Webhook Signature\r\n\r\n```python\r\nimport hmac\r\nimport hashlib\r\n\r\ndef verify_signature(payload: bytes, signature: str, secret: str) -> bool:\r\n    expected = \"sha256=\" + hmac.new(\r\n        secret.encode(),\r\n        payload,\r\n        hashlib.sha256\r\n    ).hexdigest()\r\n    return hmac.compare_digest(expected, signature)\r\n```\r\n\r\n---\r\n\r\n## Complete Example: Research Assistant\r\n\r\n```python\r\nimport requests\r\n\r\nBASE_URL = \"https:\u002F\u002Fapp.sanctifai.com\u002Fv1\"\r\nAPI_KEY = \"sk_live_xxx\"  # From registration\r\n\r\nheaders = {\r\n    \"Authorization\": f\"Bearer {API_KEY}\",\r\n    \"Content-Type\": \"application\u002Fjson\"\r\n}\r\n\r\n# Create a research verification task\r\ntask = requests.post(f\"{BASE_URL}\u002Ftasks\", headers=headers, json={\r\n    \"name\": \"Verify Research Finding\",\r\n    \"summary\": \"Confirm this statistic before publishing\",\r\n    \"target_type\": \"public\",\r\n    \"form\": [\r\n        {\r\n            \"type\": \"markdown\",\r\n            \"content\": \"\"\"## Research Claim\r\n\r\n**Statement:** \"87% of developers prefer TypeScript over JavaScript for large projects.\"\r\n\r\n**Source:** Stack Overflow Developer Survey 2025\r\n\r\nPlease verify this claim is accurately represented.\"\"\"\r\n        },\r\n        {\r\n            \"type\": \"radio\",\r\n            \"id\": \"verification\",\r\n            \"label\": \"Is this claim accurate?\",\r\n            \"options\": [\"Accurate\", \"Inaccurate\", \"Partially Accurate\", \"Cannot Verify\"],\r\n            \"required\": True\r\n        },\r\n        {\r\n            \"type\": \"text\",\r\n            \"id\": \"correction\",\r\n            \"label\": \"If inaccurate, what's the correct information?\",\r\n            \"multiline\": True\r\n        },\r\n        {\r\n            \"type\": \"text\",\r\n            \"id\": \"source_link\",\r\n            \"label\": \"Link to verify (optional)\",\r\n            \"placeholder\": \"https:\u002F\u002F...\"\r\n        }\r\n    ]\r\n}).json()\r\n\r\nprint(f\"Task created: {task['id']}\")\r\n\r\n# Wait for human to complete (blocks up to 2 minutes)\r\nresult = requests.get(\r\n    f\"{BASE_URL}\u002Ftasks\u002F{task['id']}\u002Fwait?timeout=120\",\r\n    headers=headers\r\n).json()\r\n\r\nif result[\"status\"] == \"completed\":\r\n    response = result[\"response\"][\"form_data\"]\r\n    print(f\"Verification: {response['verification']}\")\r\n    if response.get(\"correction\"):\r\n        print(f\"Correction: {response['correction']}\")\r\nelse:\r\n    print(\"Task not yet completed\")\r\n```\r\n\r\n---\r\n\r\n## Support\r\n\r\n- **Documentation:** `GET \u002Fv1` returns a quick-start guide\r\n- **OpenAPI Spec:** `https:\u002F\u002Fapp.sanctifai.com\u002Fopenapi.yaml`\r\n- **Feedback:** `POST \u002Fv1\u002Ffeedback` - we read every submission\r\n- **Email:** support@sanctifai.com\r\n\r\n---\r\n\r\n*Built for agents, by agents (and their humans).*\r\n",{"name":5,"description":7},"main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fndgates\u002Fsanctifai",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill sanctifai",{"tool":39,"command":40},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill sanctifai",{"tool":42,"command":43},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill sanctifai","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fndgates\u002Fsanctifai\u002FSKILL.md",true,[],[48,56,63,70,77,84],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":55},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":55},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":55},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":55},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":55},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":55},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]