create-connector

Scaffold @narai agent connector workspaces with templates, tests, and CLI surfaces.

10|Updated Apr 28, 2026
One-click install
npx skills add https://github.com/narailabs/narai-primitives --skill create-connector-narailabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-connector
Source: https://github.com/narailabs/narai-primitives/tree/main/plugin/skills/create-connector
Command: npx skills add https://github.com/narailabs/narai-primitives --skill create-connector-narailabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Creates a complete, plugin-ready @narai agent connector when you want to wrap an external service (SaaS, internal REST/GraphQL API, SDK-backed library, or CLI tool) into the canonical connector shape.

Core Features & Use Cases

  • Guided connector interview: collects identity, auth, API basics, action surface, and approval-mode needs in a short conversational flow.
  • Template-based scaffolding: generates the connector workspace package, library client, action dispatcher, CLI, tests, and Claude Code plugin layer from canonical templates.
  • Correct routing / safety guardrails: refuses scaffolding for unsupported abstractions (MCP) and redirects database requests to db-agent-connector instead of duplicating policy engines.

Quick Start

Tell the AI: “Create a read-only connector for Stripe that can list customers and list charges using the bearer token in STRIPE_API_KEY at https://api.stripe.com.”

Frequently Asked Questions about create-connector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a connector for a SaaS API and generate a testable action dispatcher?

To scaffold a connector for a SaaS API, you provide the service details and authentication requirements. This generates a complete workspace package including a library client, action dispatcher, CLI, tests, and a Claude Code plugin layer.

What is the best way to wrap an internal REST endpoint into a Claude Code plugin?

Wrapping an internal REST endpoint into a Claude Code plugin involves a guided interview to collect identity, auth, and API basics. It then automatically populates canonical templates to create a policy-gated action dispatcher.

Does this connector scaffolding tool support generating TypeScript templates for GraphQL endpoints?

Yes, connector scaffolding supports wrapping GraphQL endpoints by generating TypeScript templates. It applies the correct policy-gated action classifications and produces a verification-ready structure for your API integration.

Can I use this to create a connector for an MCP server or a direct database connection?

You cannot use this for MCP abstractions as it refuses unsupported scaffolding, and it redirects database requests to a dedicated db-agent-connector. It is designed specifically for SaaS, REST, GraphQL, SDK, and CLI tool integrations.

How do I configure authentication and policy gating when creating an agent connector?

You configure authentication and policy gating through a short conversational interview that collects identity and approval-mode needs. This ensures the generated action dispatcher includes correct policy-gated action classifications.

What do I need to start generating a connector workspace package for a CLI tool?

To generate a connector workspace package for a CLI tool, you need the service intent and API basics. The scaffolding process then uses canonical templates to create the library client, tests, and plugin surfaces automatically.