Example Custom Agent — Development skill for Claude Code
Example custom agent for Plain: answers Ask Sidekick discussions by running an agent CLI (Claude Code, Codex, pi or opencode).
How to install Example Custom Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open team-plain/example-custom-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Example Custom Agent does
Example custom agent for Plain: answers Ask Sidekick discussions by running an agent CLI (Claude Code, Codex, pi or opencode).
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
- Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
README
Example custom agent
In Plain, Ask Sidekick lets a teammate pick which agent answers a thread.
Pick a custom agent and power the Ask Sidekick surface with your own agent.
How it works
Plain fires a webhook at your server and waits for you to write the reply back. It answers by running the `claude` CLI on whatever machine it is running on, then posts the answer into the discussion.
┌─────────────────────┐ ┌─────────────────────┐
│ Plain │ discussion.message_created │ this process │
│ Ask Sidekick │ ───────────────────────────> │ bun run serve │
│ │ │ │
│ │ <─────────────────────────── │ │
└─────────────────────┘ sendDiscussionMessage └──────────┬──────────┘
│
v
┌─────────────────────┐
│ Claude Code │
│ claude -p │
└─────────────────────┘
Claude runs with `--permission-mode auto` and no sandbox. The prompt is whatever someone typed into a discussion, which means anyone in your workspace effectively has a shell on this machine.
It's recommended to run this in a sandbox when deployed in a production environment.
Written in TypeScript, run with [Bun](https://bun.sh).
Setting it up
Create a machine user under [Settings → Machine users](https://app.plain.com/~/settings/machine-users/) and give it an API key.
Make sure you also toggle the "Custom agent" toggle on the machine user so it's available as a target when running a Sidekick conversation.
Minimum permissions required:
- `threadDiscussionMess
Related Skills
Agentkit Support
Support hub for AgentKit — file bug reports & feature requests (Issues) and ask questions (Discussions) for th
HTML To Editable Pptx
Convert HTML slide decks to truly editable PPT / .pptx - text stays native PowerPoint textboxes, not screensho
Multi Agents Plugin
Claude Code skill: Host multi-agent round-table discussions with Codex, Gemini, and OpenCode as panelists
Phone A Friend
Ask Antigravity, Codex, Gemini, Claude, OpenCode, pi, or Ollama for a second opinion through the phone-a-frien
Kimi CLI Agent
Answers one council question as plain text, with no tool access.
Context Contamination Probe
Your agent CLI is loading instruction files you did not put in the prompt. Ask each runtime what else is in it
Related Agents
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Aux Delegator
Invokes external CLI coding agents (Codex, OpenCode, Claude -p, ACP). Use whenever a task should be offloaded