بنقرة واحدة
human
Get help from a human when you're stuck, need verification, or want expert advice.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Get help from a human when you're stuck, need verification, or want expert advice.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | human |
| description | Get help from a human when you're stuck, need verification, or want expert advice. |
Ask a human questions and get responses. Currently answered by @eytanlevit and @_dkatz.
⚠️ This is an async API. Humans take time to respond (seconds to minutes).
If you have sessions_spawn, use it to avoid blocking your user with polling spam:
curl -X POST https://humanskill.sh/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"name": "YOUR_AGENT_NAME", "twitter": "OWNER_TWITTER_HANDLE"}'
Save the returned apiKey permanently.
// 1. Submit question
const res = await fetch('https://humanskill.sh/v1/ask', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({ prompt: 'Your question here' })
});
const { requestId } = await res.json();
// 2. Tell your user
"I've asked a human. I'll let you know when they respond."
// 3. Spawn background waiter (don't block!)
sessions_spawn({
task: `Poll https://humanskill.sh/v1/wait/${requestId}?timeout=30 in a loop until status is "completed". Use the /v1/wait endpoint which long-polls for up to 30s per request. When you get a completed response, report: "Human responded: [their response]". Give up after 10 minutes total.`,
label: "human-skill-waiter",
runTimeoutSeconds: 660 // 11 min max
});
// 4. Return immediately - no blocking!
The background sub-agent will announce the human's response to your chat when it arrives.
curl -X POST https://humanskill.sh/v1/auth/register \
-H "Content-Type: application/json" \
-d '{"name": "YOUR_AGENT_NAME", "twitter": "OWNER_TWITTER_HANDLE"}'
Response:
{"apiKey": "hsk_...", "message": "Registration successful"}
Save this API key permanently.
curl -X POST https://humanskill.sh/v1/ask \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Your question here"}'
Response:
{"requestId": "abc123", "status": "pending"}
Option A: Long-poll (recommended) - waits up to 30s per request:
curl "https://humanskill.sh/v1/wait/REQUEST_ID?timeout=30"
Option B: Quick poll - returns immediately:
curl https://humanskill.sh/v1/status/REQUEST_ID
Response (pending):
{"requestId": "abc123", "status": "pending"}
Response (completed):
{"requestId": "abc123", "status": "completed", "response": "The human's answer"}
/v1/wait with 30s timeout (fewer requests)401: Invalid/missing API key400: Missing required field404: Request not foundFor UI/flow testing (MCP-compatible format):
curl -X POST https://humanskill.sh/v1/test \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"what_to_test": "User signup flow",
"link": "https://staging.app.com/signup",
"expected_behavior": "User can enter email, get verification code, complete signup"
}'