跳到正文
cccskills
免费在 GitHub 公开

create-external-bot-integration

Build and test two-way integrations between Paperclip and external bots such as Dot. Cover invitations, identity, permissions, task delivery, recovery, and Cloud deployment, with evidence from real provider accounts and deployed environments.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Build and qualify external bots such as Dot in Paperclip. Use for two-way work, invitation, identity, wakeup, Runner lifecycle, native tools, recovery, and Cloud delivery. CLI adapters and app-only connectors use their existing skills.

查看安装方法

适用场景

  • Connect an external bot for two-way work
  • Build invitation and connection setup screens
  • Test recovery after restarts or duplicate events
  • Verify bot workflows in a deployed Cloud tenant

包含的文件(8)

  • SKILL.md8.8 KB
  • agents/openai.yaml305 B
  • references/conformance-tests.md13.3 KB
  • references/dot-case-study.md14.6 KB
  • references/onboarding-and-prompts.md11.5 KB
  • references/release-contract.md8.3 KB
  • references/runner-architecture.md13.2 KB
  • references/troubleshooting-and-deployment.md14.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Create an External Bot Integration

Make an existing external agent a useful Paperclip participant: Paperclip can assign work to it, and it can initiate governed work from its own conversation. It uses its relevant native capabilities, returns inspectable results to Paperclip, and participates in normal admission, authority, and finalization.

This workflow incorporates the September 30–October 9, 2026 Dot integration. Provider facts and code paths in the references are dated evidence, not a claim that every future bot supports the same APIs. Verify the current implementation and official provider documentation before choosing a transport or changing code.

1. Establish the release contract before narrowing the implementation

Read release-contract.md. Infer already-stated requirements and authorization from the conversation. Ask only about consequential unknowns; do not ask the user to repeat “two way,” Cloud, or use of Runner.

Record the target environment, acting identity, capabilities, allowed human setup steps, delivery/stop expectations, and checkable finish line. Keep one compact matrix in the existing plan or task. Follow repository conventions if creating a plan file. “Works” must name its level: prototype, real provider, real Runner, managed sandbox, deployed tenant, or unattended first-time onboarding.

Reuse the current implementation and qualification evidence. Inspect the relevant checkout, instructions, app/Cloud PRs, and Runner artifact. Do not recreate work already merged or apply an old plan to a different deployed revision.

2. Prove the uncertain provider boundary first

Identify supported ways to authenticate, wake the agent, load tools, correlate work, return results, and stop or revoke authority. Check events/subscriptions as well as direct APIs and chat channels. Do not assume that a bot mention wakes another bot, that MCP notifications wake an offline agent, or that a plugin listed in settings is callable in the agent's current conversation.

Use a synthetic company and stable public HTTPS endpoint. Start with a scripted client for deterministic protocol tests, then the actual provider account:

  1. Fresh connection → callable read tool → verified event round trip.
  2. Paperclip assignment → autonomous acceptance → persisted result → finalization.
  3. Idle bot request → one governed intake → useful action → finalization.

If idle autonomy is in scope, the third journey is a first milestone, not an optional expansion. Do not make the user create a placeholder task for the bot. Label every nudge, operator repair, simulated dependency, and manual tool call. A successful assisted run does not prove prompt-only first-time setup.

3. Reuse Runner while keeping placement and capability separate

Read runner-architecture.md before changing execution or authority. For Paperclip, prefer the existing Runner infrastructure: shared lifecycle, receipts, recovery, and a future sandbox boundary for workspace tools. The bot's model and native tools can remain entirely at its provider.

Use the ordinary configured managed execution environment on Cloud. One admitted assignment reuses its Runner across messages and tool calls; idle connection traffic does not allocate compute. A sandbox hosting Runner does not grant the bot filesystem or shell access. Never add a fallback to the control-plane host.

Implement dedicated agent identity, durable assignment/operation state, current authority checks, and normal finalization. Treat a proposed alternative backend as an explicit architecture decision with preserved invariants and evidence of benefit, not as a reaction to the latest question about overhead.

4. Build onboarding as a watched, resumable workflow

Read onboarding-and-prompts.md. Start at the natural UI entry: invite an external agent, select the provider, copy a setup prompt, give it to the bot, and watch real connection checks. Reuse the product's copy-prompt component and provider-independent invitation flow.

Distinguish OAuth grant, runtime tool availability, subscription verification, event confirmation, and agent readiness. Generate or renew pending prompts automatically where safe; preserve connected agents. Finish with an explicit Done action. Use stories for waiting, expiry, errors, pause, readiness, and recovery, then verify the real rendered transitions and persistence.

The prompt must tell the bot to use its own relevant tools/apps/skills and return results. The Paperclip catalog governs Paperclip calls, not the bot's entire runtime. Limit qualification restrictions to the specific test and Paperclip destination. Never turn “use this test connection” into “use no other tools.”

5. Qualify both correctness and the ordinary user experience

Read conformance-tests.md and select the rows required by the release contract. Reuse existing Runner and Product E2E fixtures; add regression cases for uncovered contracts instead of building a parallel test system. Keep simulated protocol, actual provider, and actual deployment evidence separate. A provider saying “done” is not proof of task disposition or cleanup.

Test a lost response, duplicate wake, follow-up at completion, real controller restart, authority loss, and cleanup. For recovery, compare the original run, assignment, session, process identity, and lease. A restart test in which the controller never restarted is invalid. Unknown mutation outcomes require reconciliation, not a new request ID and a second execution.

If setup needs a reboot, app reattachment, or manual inbox nudge, record the functional success and the remaining onboarding defect separately. Do not quietly teach the tester to navigate around a product defect and then call it self-serve.

6. Deliver one identifiable candidate and verify the deployed path

Read troubleshooting-and-deployment.md when setting up a test drive, diagnosing a failure, or deploying. Preserve one environment manifest: checkout/revision, origin, local port, data directory, tenant, image/Runner artifact, active task, and owned resources. Keep secrets out. Retain the environment while the user/provider is testing; do not expire it silently or reset the OAuth database behind a cached client registration.

Use the repository's adapter, eval, PR, and release workflows when available. The Paperclip create-agent-adapter skill covers shared configuration surfaces; paperclip-runner-release coordinates a release; test-it-for-real validates the actual experience. Discover their installed locations rather than assuming they are siblings of this skill. This skill adds external-bot-specific contracts.

Carry authorized merge and rollout through the app, ingress, and Runner artifact dependencies. Verify the serving revision and repeat the main journeys on the real tenant with ordinary defaults. Distinguish implementation defects, provider behavior, infrastructure failures, and test/evidence defects. Bound retries by the operation and observed cause; preserve the same resumable deployment request.

Report supported capabilities, exact live evidence, interventions, unsupported provider controls, remaining gates, and resource disposition. Never equate unknown cost with zero cost, or revoked Paperclip access with confirmed global bot stop. This skill supplies procedure, not new permission to message, grant access, spend, publish, or deploy. Apply the current user's authorization and host policies.

References

  • Release contract: scope, capability matrix, provider research, architecture decision, and finish-line template.
  • Runner architecture: identity, state, admission, receipts, follow-ups, recovery, files, and concrete Paperclip anchors.
  • Onboarding and prompts: UI states, consent, lifetime, tool loading, native capabilities, and reusable prompt text.
  • Conformance tests: runnable journey recipes, failure matrix, evidence schema, and release gates.
  • Troubleshooting and deployment: network planes, specific symptom-to-action diagnostics, stable environments, managed execution, and release provenance.
  • Dot case study: dated incidents, exact historical protocol/tool names, observed limitations, and source trail. Read when comparing a new provider to Dot or checking why a rule exists.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Add or extend Paperclip end-to-end evaluations that exercise real browser workflows across the server, database, and runner. Define expected outcomes, check independent evidence, and connect results to the existing reporting pipeline for local or Daytona execution.

中文简介正在准备中。当前显示英语简介。

  • Adding an evaluation for a complete user workflow
  • Updating test data and outcome checks
  • Including screenshots and artifacts in evaluation reports
paperclipai/paperclip10.4万2026年10月18日 更新

Add or extend Paperclip Runner evaluations that test real sessions against a mock control service. Define observable pass conditions, validate cases and run selections, and retain source revisions, evidence, and costs for authorized live runs.

中文简介正在准备中。当前显示英语简介。

  • Adding a focused Runner protocol evaluation
  • Testing grading rules with valid and invalid evidence
  • Updating evaluation selections and campaign membership
paperclipai/paperclip10.4万2026年10月18日 更新

Use a real browser to verify web pages and apps through short, supervised interactions. Capture screenshots, inspect errors and network requests, and document reproducible steps for UI bugs or expected behavior checks.

中文简介正在准备中。当前显示英语简介。

  • Capture screenshots to verify UI changes
  • Read content rendered by JavaScript
  • Reproduce UI bugs and record errors
paperclipai/paperclip10.4万2026年10月18日 更新

agentmail

免费

Read email linked to assigned Paperclip tasks, send new messages or replies through an assigned AgentMail inbox, and check delivery outcomes. Follow task permissions and preserve retry identifiers to avoid duplicate sends.

中文简介正在准备中。当前显示英语简介。

  • Reading email context attached to an assigned task
  • Sending a new email from an assigned inbox
  • Replying to a specific message in a conversation
paperclipai/paperclip10.4万2026年10月18日 更新

check-pr

免费

Inspect proposed changes in GitHub, GitLab, or Perforce for review feedback, failed automated checks, and incomplete descriptions. It separates actionable findings from informational or resolved comments, then helps fix issues and close addressed review threads when requested.

中文简介正在准备中。当前显示英语简介。

  • Inspect a change before submission
  • Identify failed checks and required fixes
  • Organize human and bot review feedback
paperclipai/paperclip10.4万2026年10月18日 更新

Create an AI agent company or team package from an idea or an existing repository. Define roles, reporting lines, skills, and work handoffs, then generate structured files that follow the Agent Companies specification.

中文简介正在准备中。当前显示英语简介。

  • Build an agent company from an idea
  • Turn a repository into an agent team package
  • Define agent roles and work handoffs
paperclipai/paperclip10.4万2026年10月18日 更新

查看 paperclipai 的全部技能

报告此技能的问题