claw-integration-design
Installation
SKILL.md
Bot/Agent Integration Design (Claw)
This skill provides guidelines and patterns for integrating web applications (SaaS/internal tools/products) with external bots and agent systems (e.g., OpenAI tool-calling, LangChain, OpenClaw). The goal is to allow agents to securely connect, read, and write data without turning the application itself into a bot.
Phase 1: Host Application Analysis
Adapt the integration to the project's existing domain model.
- Analyze the Application: Review
schema.prisma,models/, OpenAPI specs, or route definitions to understand the core resources (e.g.,orders,products,leads). - Select Exposure Targets: Decide which specific entities the agent actually needs access to for the task at hand.
Core Architectural Concepts
When building agent integrations based on your discovery, implement these foundational concepts:
1. Multi-Tenant Context
All read/write operations MUST be scoped to a specific tenant/workspace: