/add-pattern
Use this skill when you learn one or more design pattern(s) in the
Claude Code
$ npx -y skills add langroid/langroid --skill add-pattern --agent claude-code
Codex
$ npx skills add langroid/langroid --skill add-pattern -a codex -y
Cursor
$ npx skills add langroid/langroid --skill add-pattern -a cursor -y
Gemini CLI
$ npx skills add langroid/langroid --skill add-pattern -a gemini-cli -y
GitHub Copilot
$ npx skills add langroid/langroid --skill add-pattern -a github-copilot -y
OpenCode
$ npx skills add langroid/langroid --skill add-pattern -a opencode -y
Windsurf
$ npx skills add langroid/langroid --skill add-pattern -a windsurf -y
SKILL.md
add-pattern.SKILL.mdname: add-pattern description: Use this skill when you learn one or more design pattern(s) in the Langroid (multi) agent framework, and want to make a note for future reference for yourself. Use this either autonomously, or when asked by the user to record a new pattern.
add-pattern
Instructions
When you learn a new Langroid design pattern, do the following:
1. Add an entry in the sibling `patterns/SKILL.md` file in the appropriate category section, containing a DESCRIPTION of the goal of the pattern (i.e. what it enables you to implement), accompanied by a `- Reference:` pointer to a markdown DOCUMENT in the `patterns/` directory.
IMPORTANT - The DESCRIPTION should be clear enough that future YOU can effectively use it to MATCH design problems you may encounter in future.
2. In that DOCUMENT, describe the idea of the implementation along with code examples. Follow the format of existing pattern files (Problem, Solution, Complete Code Example, Key Points, When to Use).
This is just a teaser; there's much more, like function-calling/tools, Multi-Agent Collaboration, Structured Information Extraction, DocChatAgent (RAG), SQLChatAgent, non-OpenAI local/remote LLMs, etc. Scroll down or see docs for more.
Other skills on langroid.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about add-pattern.
- Which coding agents can use add-pattern?
- add-pattern installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

