From 9d5c9cdd3de32c35ede5ab10df009b72bf822988 Mon Sep 17 00:00:00 2001 From: Michael Brooks Date: Wed, 25 Nov 2026 10:05:09 -0700 Subject: [PATCH] docs: point coding agents to the pre-installed Slack skills --- claude-agent-sdk/AGENTS.md | 4 ++++ openai-agents-sdk/AGENTS.md | 4 ++++ pydantic-ai/AGENTS.md | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/claude-agent-sdk/AGENTS.md b/claude-agent-sdk/AGENTS.md index fcbb7ec..9a8d9a7 100644 --- a/claude-agent-sdk/AGENTS.md +++ b/claude-agent-sdk/AGENTS.md @@ -6,6 +6,10 @@ Guidance for coding agents working in this directory. Refer to the root `../AGEN To install the Slack plugin for your coding agent, follow [Claude Code, Codex, Cursor, and Other Coding Agents](./README.md#claude-code-codex-cursor-and-other-coding-agents) in the README. +## Slack skills + +Slack skills are pre-installed in `.agents/skills` (and `.claude/skills` for Claude Code). Use them for Slack work. If the Slack plugin is installed, prefer its `slack:` skills, such as `slack:block-kit`, which may be newer. + ## Claude Agent SDK specifics **Agents (`agent/agent.py`)** are two sets of `ClaudeAgentOptions` with pinned models: a routing agent (`claude-haiku-4-5`) whose only tool is `create_code_channel`, and the coding agent (`claude-sonnet-5-5`) with every other tool. Tools are async `@tool` functions, one per file under `agent/tools/`, each with a JSON Schema for its arguments. They're served in-process by `create_sdk_mcp_server()`, so the model sees each as `mcp__coding-agent__`. Both agents set `tools=[]`, `setting_sources=[]`, and `strict_mcp_config=True`, so they get none of Claude Code's built-in tools and none of the settings, `CLAUDE.md` files, or MCP servers on the machine. `verbatim_prompts=True` keeps an `@path` in a Slack message from reading a local file. diff --git a/openai-agents-sdk/AGENTS.md b/openai-agents-sdk/AGENTS.md index 806427a..779c0e7 100644 --- a/openai-agents-sdk/AGENTS.md +++ b/openai-agents-sdk/AGENTS.md @@ -6,6 +6,10 @@ Guidance for coding agents working in this directory. Refer to the root `../AGEN To install the Slack plugin for your coding agent, follow [Claude Code, Codex, Cursor, and Other Coding Agents](./README.md#claude-code-codex-cursor-and-other-coding-agents) in the README. +## Slack skills + +Slack skills are pre-installed in `.agents/skills` (and `.claude/skills` for Claude Code). Use them for Slack work. If the Slack plugin is installed, prefer its `slack:` skills, such as `slack:block-kit`, which may be newer. + ## OpenAI Agents SDK specifics **Agents (`agent/agent.py`)** are two `Agent`s with pinned models: a routing `request_agent` (`gpt-6-luna`) whose only tool is `create_code_channel`, and the coding `agent` (`gpt-6.1-sol`) with every other tool. Tools are async `@function_tool` functions, one per file under `agent/tools/`, that read `RunContextWrapper[AgentDeps]` (or `RequestDeps`, both in `agent/sessions.py`) for the Slack client and session. Both agents set `ModelSettings(truncation="auto")`, so a long session drops its oldest conversation instead of outgrowing the context window. diff --git a/pydantic-ai/AGENTS.md b/pydantic-ai/AGENTS.md index aae7061..b698566 100644 --- a/pydantic-ai/AGENTS.md +++ b/pydantic-ai/AGENTS.md @@ -6,6 +6,10 @@ Guidance for coding agents working in this directory. Refer to the root `../AGEN To install the Slack plugin for your coding agent, follow [Claude Code, Codex, Cursor, and Other Coding Agents](./README.md#claude-code-codex-cursor-and-other-coding-agents) in the README. +## Slack skills + +Slack skills are pre-installed in `.agents/skills` (and `.claude/skills` for Claude Code). Use them for Slack work. If the Slack plugin is installed, prefer its `slack:` skills, such as `slack:block-kit`, which may be newer. + ## Pydantic AI specifics **Agents (`agent/agent.py`)** are two Pydantic AI `Agent`s: a routing `request_agent` whose only tool is `create_code_channel`, and the coding `agent` with every other tool. Neither sets a model. A `SelectModel` capability picks one when a run starts, by which API key is set: Anthropic (`claude-haiku-4-5` to route, `claude-sonnet-5-5` to code) when `ANTHROPIC_API_KEY` is set, else OpenAI (`gpt-6-luna` and `gpt-6.1-sol`). So no model client is created at import. Tools are async functions, one per file under `agent/tools/`, passed with `tools=[...]`. Each takes `RunContext[AgentDeps]` (or `RequestDeps`, both in `agent/sessions.py`) for the Slack client and session, and Pydantic AI reads its docstring for the description the model sees. The coding agent lists `AnthropicCompaction` and `OpenAICompaction`, so a long session compacts its oldest conversation instead of outgrowing the context window. Each only applies to its own provider's models.