← 返回
未分类 Key 中文

Aicoo Share Agent

Use this skill when the user wants to share their AI agent with someone, generate a shareable link, require sign-in, allow anonymous access, let others talk...
用于分享AI代理、生成可共享链接、需要登录、允许匿名访问、让他人聊天的场景。
xisen-w
未分类 clawhub v1.1.0 1 版本 99551.6 Key: 需要
★ 0
Stars
📥 222
下载
💾 0
安装
1
版本
#agents#latest

概述

Share Agent

Create and manage secure, shareable links to a user's agent.

Prerequisites

  • AICOO_API_KEY must be set; legacy PULSE_API_KEY is also accepted
  • Base URL: https://www.aicoo.io/api/v1
  • User should sync context first
  • Command examples use ${AICOO_API_KEY:-$PULSE_API_KEY} for backward compatibility

Core Workflow

1) Check context exists

curl -s -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  "https://www.aicoo.io/api/v1/os/status" | jq .

If contextCount is 0, run context-sync first.

2) Create a share link (OS endpoint)

curl -s -X POST "https://www.aicoo.io/api/v1/os/share" \
  -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "scope":"all",
    "access":"read",
    "notesAccess":"read",
    "label":"For investors",
    "expiresIn":"7d",
    "requireSignIn":true
  }' | jq .

3) Confirm to user

Always report:

  1. URL to share
  2. Scope and notes/calendar permissions
  3. Expiration
  4. Sign-in requirement
  5. Access is sandboxed

Default behavior: new links require sign-in (requireSignIn:true). Only set requireSignIn:false when the user explicitly asks for an anonymous public link.

Parameters

ParameterValuesDescription
--------------------------------
scopeall \foldersfolders requires folderIds
folderIdsnumber[]folder scope ids
accessread \read_calendar \read_calendar_writecalendar access
notesAccessread \write \editnotes permission
labelstringlink label
expiresIn1h \24h \7d \30d \90d \neverexpiration
requireSignInbooleanDefaults to true. If true, /a/ and /shared/ require a signed-in Aicoo user. Signed-in guest sessions can track guestUserId, guestName, guestUsername, and guestEmail. Set false only for anonymous public links.

Notes Access Matrix

Operationreadwriteedit
------------------------------
Search/read notesyesyesyes
Create notesnoyesyes
Edit notesnonoyes
Snapshotsnonoyes

Manage Existing Links

List links + visitors + contacts

curl -s -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  "https://www.aicoo.io/api/v1/os/network" | jq .

Update/revoke link (canonical OS endpoints)

# update
curl -s -X PATCH "https://www.aicoo.io/api/v1/os/share/{linkId}" \
  -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"notesAccess":"write","expiresIn":"30d","requireSignIn":true}' | jq .

# revoke
curl -s -X DELETE "https://www.aicoo.io/api/v1/os/share/{linkId}" \
  -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" | jq .

List links with analytics

curl -s -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  "https://www.aicoo.io/api/v1/os/share/list?status=active&limit=20" | jq .

Folder-Scoped Share Example

# inspect folders first
curl -s -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  "https://www.aicoo.io/api/v1/os/folders" | jq .

# create folder-scoped link
curl -s -X POST "https://www.aicoo.io/api/v1/os/share" \
  -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"scope":"folders","folderIds":[5,12],"access":"read","notesAccess":"write","label":"Team collaborator","requireSignIn":true}' | jq .

Per-Link Policy Editing

Link notes are stored in links/ folder. Edit policy by searching notes then patching note content:

# find link policy note
curl -s -X POST "https://www.aicoo.io/api/v1/os/notes/search" \
  -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"query":"For-Investors"}' | jq .

# edit policy note content
curl -s -X PATCH "https://www.aicoo.io/api/v1/os/notes/123" \
  -H "Authorization: Bearer ${AICOO_API_KEY:-$PULSE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"content":"...\n\n## Policy\n\nBe professional, concise, and do not disclose confidential numbers."}' | jq .

Security Notes

  • Every link runs inside isolated scope
  • New links require sign-in by default unless requireSignIn:false is explicitly set
  • Signed-in visitors can appear in analytics with name, username, email, and user id; anonymous links only have guest-session/fingerprint metadata
  • Revoked/expired links lose access immediately
  • Default expiration is 30 days unless overridden
  • Use notesAccess: "edit" carefully

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-05-21 23:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Context Sync

xisen-w
Use this skill when the user wants to upload files to Aicoo, sync context, add knowledge to their agent, update what the
★ 0 📥 455

Inbox Monitoring

xisen-w
在用户想要监控 Pulse 收件箱活动、查看新对话/消息、跟踪待处理请求或执行定期收件箱检查时使用此技能。
★ 0 📥 415

Autonomous Sync

xisen-w
使用此技能,当用户希望保持Aicoo代理自动更新、设置定时同步、配置知识更新触发器以及使用CRO...
★ 0 📥 445