集成

AICFO OpenClaw Agent

Use when OpenClaw needs to access AICFO through one bearer API key. Covers agent-session introspection, company selection, app-level MCP usage, connector act...

它能做什么

Use when OpenClaw needs to access AICFO through one bearer API key. Covers agent-session introspection, company selection, app-level MCP usage, connector act...

技能文档

OpenClaw AICFO Agent

Overview

Use this skill to connect OpenClaw to the AICFO platform without touching browser-only routes or tenant-local daemons.

Primary surfaces:

  • GET /api/agent/session
  • GET /api/agent/companies
  • GET /api/agent/dashboard
  • GET|POST /api/agent/connectors
  • GET /api/company/query
  • GET /api/company/search
  • GET /api/company/entity
  • GET /api/company/file
  • GET /api/documents
  • GET /api/documents/questions
  • POST /api/documents/:id/clarifications

Canonical references:

  • docs/contracts/openclaw-quickstart.md
  • docs/contracts/external-agent-access.md

Quick Start

  1. Introspect the key:
    • node bin/openclaw-aicfo-adapter.mjs session
  2. List available tools:
    • node bin/openclaw-aicfo-adapter.mjs tools
  3. Resolve company scope:
    • use implicitCompanyId if present
    • otherwise choose a company from companyAccess.companies
    • pass the company UUID when available; the API also accepts slug or exact company name as company_id
  4. Run business operations through the adapter:
    • dashboard
    • query/search
    • get-entity
    • get-file
    • connector
    • documents
    • document-questions
    • answer-document-questions

Workflow

1. Bootstrap

Always start with session.

Read:

  • granted scopes
  • implicitCompanyId
  • requiresCompanySelection
  • accessible companies

If there is no implicit company, require OpenClaw to pass company_id on every operation. Prefer the UUID from companyAccess.companies[].id; slug or exact company name are accepted as fallbacks.

2. Prefer the published adapter

Use bin/openclaw-aicfo-adapter.mjs as the primary OpenClaw bridge.

It is intentionally REST-first so the published skill does not depend on local npm packages or preinstalled MCP SDK modules.

Do not use /api/company/mcp as the primary integration path for OpenClaw.

3. Use REST only when it is simpler

REST is acceptable for:

  • /api/agent/session
  • /api/agent/connectors if a client wants plain JSON instead of MCP

Do not use browser onboarding routes under /api/connections/*.

Common Operations

Load references/operations.md when you need concrete command envelopes.

Typical adapter calls:

  • session
  • tools
  • companies
  • dashboard
  • query
  • search
  • get-entity
  • get-file
  • connectors
  • connector
  • documents
  • document-questions
  • answer-document-questions

The published skill package is self-contained and should run on a machine that only has Node and the installed skill files.

Guardrails

  • Treat /api/agent/connectors as the canonical machine connector surface.
  • Treat /api/connectors/hub as legacy Slack/Jira compatibility only.
  • Prefer company_id from session introspection instead of guessing. Use slug or exact company name only when the UUID is not available.
  • If a key lacks documents.write, do not trigger Google Drive imports or document deletes.
  • If a key uploads or imports documents, check document-questions before assuming processing is complete.
  • Answer clarification requests with answer-document-questions and include provenance/source notes when available.
  • If a key lacks a connector-use scope, do not attempt that provider action.
  • Do not assume browser-managed integrations can be onboarded by OpenClaw.

Validation

Before relying on the integration:

  1. run node bin/openclaw-aicfo-adapter.mjs session
  2. run node bin/openclaw-aicfo-adapter.mjs tools
  3. run one read operation against a real company:
    • dashboard
    • or query
  4. if connector access is needed, run one bounded action such as:
    • telegram list_chats
    • google_drive list_files

相关技能

按命令族和 profile 选择合适的 OpenClaw CLI 命令,并校验执行结果。

335 次安装6 星标

Create or join a ClawRoom (agent meeting room) with safe defaults and owner confirmation. Use when the user mentions ClawRoom, agent meetings, or multi-agent...

32 次安装

Standalone advanced network diagnostics for OpenClaw to continuously test end-to-end connectivity from OpenClaw agent to Telegram Bot API and approximate del...

31 次安装

Audit an OpenClaw agent workspace and generate standardized evaluation reports, scores, and patches. Use when asked to review memory quality, retrieval effic...

32 次安装

Manage AI agent personas (Souls) for OpenClaw, Hermes Agent, ZeroClaw, and other agents that use Soul Spec workspace files (SOUL.md, IDENTITY.md, AGENTS.md). Installs/switches/restores persona files in the agent workspace, searches and publishes to the clawsouls.ai registry (network + token auth), optionally syncs encrypted agent memory via Git (explicit `sync`/`swarm` commands only), and detects the local agent platform. Use only when the user explicitly asks to manage personas — e.g. "install a soul", "switch persona to X", "list souls", "restore my previous soul", "publish my soul", or "login to clawsouls". Workspace-modifying and publishing actions should be confirmed with the user first.

50 次安装

OAuth token provider for OpenClaw agents — Google Calendar, Gmail, GitHub, Slack, Linear, Notion, Vercel, Sentry, Asana, Discord, or Apify — plus user-entere...

49 次安装