Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

cody

FreeNo executable scriptsNot checked

Cody integration. Manage data, records, and automate workflows. Use when the user wants to interact with Cody data.

membranedevby membranedev★ 275 GitHub stars

About this skill

Cody

Cody is an AI coding assistant that helps developers write and understand code faster. It integrates directly into your IDE and provides features like code completion, code generation, and code explanation. Developers of all skill levels use Cody to improve their productivity and code quality.

Official docs: https://www.sourcegraph.com/cody/docs

Cody Overview

  • Conversation
    • Message
  • Source
  • Setting

Use action names and parameters as needed.

Working with Cody

This skill uses the Membrane CLI to interact with Cody. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.

Install the CLI

Install the Membrane CLI so you can run membrane from the terminal:

npm install -g @membranehq/cli@latest

Authentication

membrane login --tenant --clientName=<agentType>

This will either open a browser for authentication or print an authorization URL to the console, depending on whether interactive mode is available.

Headless environments: The command will print an authorization URL. Ask the user to open it in a browser. When they see a code after completing login, finish with:

membrane login complete <code>

Add --json to any command for machine-readable JSON output.

Agent Types : claude, openclaw, codex, warp, windsurf, etc. Those will be used to adjust tooling to be used best with your harness

Connecting to Cody

Use membrane connection ensure to find or create a connection by app URL or domain:

membrane connection ensure "https://meetcody.ai/" --json

The user completes authentication in the browser. The output contains the new connection id.

This is the fastest way to get a connection. The URL is normalized to a domain and matched against known apps. If no app is found, one is created and a connector is built automatically.

If the returned connection has state: "READY", skip to Step 2.

1b. Wait for the connection to be ready

If the connection is in BUILDING state, poll until it's ready:

npx @membranehq/cli connection get <id> --wait --json

The --wait flag long-polls (up to --timeout seconds, default 30) until the state changes. Keep polling until state is no longer BUILDING.

The resulting state tells you what to do next:

  • READY — connection is fully set up. Skip to Step 2.

  • CLIENT_ACTION_REQUIRED — the user or agent needs to do something. The clientAction object describes the required action:

    • clientAction.type — the kind of action needed:
      • "connect" — user needs to authenticate (OAuth, API key, etc.). This covers initial authentication and re-authentication for disconnected connections.
      • "provide-input" — more information is needed (e.g. which app to connect to).
    • clientAction.description — human-readable explanation of what's needed.
    • clientAction.uiUrl (optional) — URL to a pre-built UI where the user can complete the action. Show this to the user when present.
    • clientAction.agentInstructions (optional) — instructions for the AI agent on how to proceed programmatically.

    After the user completes the action (e.g. authenticates in the browser), poll again with membrane connection get <id> --json to check if the state moved to READY.

  • CONFIGURATION_ERROR or SETUP_FAILED — something went wrong. Check the error field for details.

Searching for actions

Search using a natural language description of what you want to do:

membrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --json

You should always search for actions in the context of a specific connection.

Each result includes id, name, description, inputSchema (what parameters the action accepts), and outputSchema (what it returns).

Popular actions

Name Key Description
Update Folder update-folder Update an existing folder.
Get Folder get-folder Get details of a specific folder by ID.
Create Folder create-folder Create a new folder to organize documents.
List Folders list-folders List all folders.
Create Document from Webpage create-document-from-webpage Create a document by importing content from a public webpage URL.
Delete Document delete-document Delete a document by ID.
Get Document get-document Get details of a specific document by ID.
Create Document create-document Create a new document with text or HTML content.
List Documents list-documents List documents.
Get Message get-message Get details of a specific message by ID.
Send Message send-message Send a message in a conversation.
List Messages list-messages List messages in a conversation.
Delete Conversation delete-conversation Delete a conversation by ID.
Update Conversation update-conversation Updat
Full SKILL.md on GitHub

Install cody in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the cody skill do?

Cody integration. Manage data, records, and automate workflows. Use when the user wants to interact with Cody data.

How do I install the cody skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the cody skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare cody with